起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 14743|回复: 23

[处理中3] 我想实现BeX5系统的微信企业号集成,要求能够显示待办消息

[复制链接]

84

主题

260

帖子

941

积分

高级会员

Rank: 4

积分
941
QQ
发表于 2018-3-19 14:39:37 | 显示全部楼层 |阅读模式
我想实现BeX5系统的微信企业号集成,要求能够显示待办消息,并且点击点击消息可以跳转到对应的审批页面进行流程的处理,可以实现,有实现案例吗

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36185
发表于 2018-3-19 15:06:57 | 显示全部楼层
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

84

主题

260

帖子

941

积分

高级会员

Rank: 4

积分
941
QQ
 楼主| 发表于 2018-3-20 09:52:27 | 显示全部楼层
jishuang 发表于 2018-3-19 15:06
http://docs.wex5.com/bex5-weixin-enterprise-integration/

http://docs.wex5.com/bex5-push-server/

这些我看过了,我还想问下,通过平台自带的那个微信企业号配置功能就可以实现和微信的集成,并且在微信点击代办可以打开移动端的处理页面是吧?
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36185
发表于 2018-3-20 11:07:51 | 显示全部楼层
可以
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复

使用道具 举报

84

主题

260

帖子

941

积分

高级会员

Rank: 4

积分
941
QQ
 楼主| 发表于 2018-3-20 11:19:31 | 显示全部楼层
jishuang 发表于 2018-3-19 15:06
http://docs.wex5.com/bex5-weixin-enterprise-integration/

http://docs.wex5.com/bex5-push-server/

现在配置好第一步信息后后台包登录错误的信息,是什么问题引起的。
微信截图_20180320111534.png
发论坛截图.png
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36185
发表于 2018-3-20 11:40:11 | 显示全部楼层
跟一下java代码看看具体执行到什么地方错误的
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

84

主题

260

帖子

941

积分

高级会员

Rank: 4

积分
941
QQ
 楼主| 发表于 2018-3-20 14:35:41 | 显示全部楼层
jishuang 发表于 2018-3-20 11:40
跟一下java代码看看具体执行到什么地方错误的

能提供下远程协助吗,这个地方不知道怎么跟
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36185
发表于 2018-3-20 15:19:57 | 显示全部楼层
java代码已经提示了啊,找到java代码打断了看具体是用户名不不对还是密码不对
java.png

确认model同级的conf\server.xml中配置的用户名和密码是否正确

前端相关的代码都在/UI2/SA/weixin下
后端的在/BIZ/SA/weixin下

报错的是/UI2/SA/weixin/src/com/justep/weixin/cp/WxHelper.java
java调试参考
http://bbs.wex5.com/forum.php?mo ... 33524&pid=164929261


远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

84

主题

260

帖子

941

积分

高级会员

Rank: 4

积分
941
QQ
 楼主| 发表于 2018-3-20 16:00:03 | 显示全部楼层
jishuang 发表于 2018-3-20 15:19
java代码已经提示了啊,找到java代码打断了看具体是用户名不不对还是密码不对

报了一个新的错误
encoding="UTF-8"?>
<action process="/SA/weixin/process/weixin/weixinProcess" activity="mainActivity" name="doWeixinRequest" execute-context="configKey=wxa83120f6ea9e60fb22;" content-type="application/xml"><parameters><parameter name="inputStr"><xbiz:simple xmlns:xbiz="http://www.justep.com/xbiz#" type="http://www.w3.org/2001/XMLSchema#String"></xbiz:simple></parameter><parameter name="msgSignature"/><parameter name="nonce"/><parameter name="echostr"/><parameter name="timestamp"/></parameters></action>
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at com.justep.system.action.Engine.invokeActions(Native Method)
        at com.justep.system.action.Engine.invokeActions(Unknown Source)
        at com.justep.business.server.BusinessServer.doAction(Unknown Source)
        at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
        at com.justep.business.server.BusinessServer.excute(Unknown Source)
        at com.justep.business.server.BusinessServer.excute(Unknown Source)
        at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
        at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; 文件提前结束。
        at me.chanjar.weixin.common.util.crypto.WxCryptUtil.extractEncryptPart(WxCryptUtil.java:299)
        at me.chanjar.weixin.common.util.crypto.WxCryptUtil.decrypt(WxCryptUtil.java:160)
        at me.chanjar.weixin.cp.bean.WxCpXmlMessage.fromEncryptedXml(WxCpXmlMessage.java:423)
        at com.justep.weixin.cp.WxCpServiceInstance.doRequest(WxCpServiceInstance.java:91)
        at Weixin.doWeixinRequest(Weixin.java:12)
        ... 27 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; 文件提前结束。
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
        at me.chanjar.weixin.common.util.crypto.WxCryptUtil.extractEncryptPart(WxCryptUtil.java:294)
        ... 31 more
2018-03-20 15:54:31 [http-8080-24] [com.justep.business.server.BusinessServer] ERROR: action:<?xml version="1.0" encoding="UTF-8"?>
<action process="/SA/weixin/process/weixin/weixinProcess" activity="mainActivity" name="doWeixinRequest" execute-context="configKey=wxa83120f6ea9e60fb22;" content-type="application/xml"><parameters><parameter name="inputStr"><xbiz:simple xmlns:xbiz="http://www.justep.com/xbiz#" type="http://www.w3.org/2001/XMLSchema#String"></xbiz:simple></parameter><parameter name="msgSignature"/><parameter name="nonce"/><parameter name="echostr"/><parameter name="timestamp"/></parameters></action>
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at com.justep.system.action.Engine.invokeActions(Native Method)
        at com.justep.system.action.Engine.invokeActions(Unknown Source)
        at com.justep.business.server.BusinessServer.doAction(Unknown Source)
        at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
        at com.justep.business.server.BusinessServer.excute(Unknown Source)
        at com.justep.business.server.BusinessServer.excute(Unknown Source)
        at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
        at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; 文件提前结束。
        at me.chanjar.weixin.common.util.crypto.WxCryptUtil.extractEncryptPart(WxCryptUtil.java:299)
        at me.chanjar.weixin.common.util.crypto.WxCryptUtil.decrypt(WxCryptUtil.java:160)
        at me.chanjar.weixin.cp.bean.WxCpXmlMessage.fromEncryptedXml(WxCpXmlMessage.java:423)
        at com.justep.weixin.cp.WxCpServiceInstance.doRequest(WxCpServiceInstance.java:91)
        at Weixin.doWeixinRequest(Weixin.java:12)
        ... 27 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; 文件提前结束。
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
        at me.chanjar.weixin.common.util.crypto.WxCryptUtil.extractEncryptPart(WxCryptUtil.java:294)
        ... 31 more
回复 支持 反对

使用道具 举报

84

主题

260

帖子

941

积分

高级会员

Rank: 4

积分
941
QQ
 楼主| 发表于 2018-3-20 16:02:43 | 显示全部楼层
jishuang 发表于 2018-3-20 15:19
java代码已经提示了啊,找到java代码打断了看具体是用户名不不对还是密码不对

model同级的conf\server.xml中配置的用户名和密码是system的,这个账号我们正在用着,微信登录时这个账号不能在线吗
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2025-7-8 00:49 , Processed in 0.079870 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表