EOS6.3 逻辑构件发布的wsdl调用webservice异常java.lang.NoS...

22天前

EOS版本: 6.3

问题描述:逻辑构件发布的wsdl,通过浏览器访问和本地逻辑流调用webservice正常,其他应用导入wsdl后,通过逻辑流调用webservice异常

异常日志:

---创建了一个session,id是:F35A2365C457047B7967AA6B869ECDFD---
Retrieving document at '/e:/zjrcb/puyuan/apache-tomcat-5.5.20/webapps/default/WEB-INF/_srv/work/user/com.hoyi.backMgr/testws/TestMgrService.wsdl'.
Retrieving document at 'TestMgrService_import1.wsdl', relative to 'file:/e:/zjrcb/puyuan/apache-tomcat-5.5.20/webapps/default/WEB-INF/_srv/work/user/com.hoyi.backMgr/testws/TestMgrService.wsdl'.
Retrieving schema at 'TestMgrService_import1.xsd', relative to 'file:/e:/zjrcb/puyuan/apache-tomcat-5.5.20/webapps/default/WEB-INF/_srv/work/user/com.hoyi.backMgr/testws/TestMgrService_import1.wsdl'.
[FlowName=testws.cptTestws.addTestws.biz][activity name=addTest][activity id=webService0][exception=java.lang.NoSuchMethodError: javax.wsdl.Definition.getAllPortTypes()Ljava/util/Map;]
[default][2018-01-29 15:41:27,159][ERROR][com.primeton.access.client.impl.skeleton.ServiceEngine:38] 
java.lang.NoSuchMethodError: javax.wsdl.Definition.getAllPortTypes()Ljava/util/Map;
at com.primeton.infra.wsclient.impl.WSDLParser.parsePortTypes(WSDLParser.java:165)
at com.primeton.infra.wsclient.impl.WSDLParser.parse(WSDLParser.java:136)
at com.primeton.ext.infra.wsclient.WSDLCache.getWSDL(WSDLCache.java:55)
at com.primeton.infra.wsclient.impl.WebServiceCaller.call(WebServiceCaller.java:190)
at com.primeton.infra.wsclient.impl.CallerImpl.call(CallerImpl.java:46)
at testws.cptTestws.addTestws_biz.webService0(addTestws_biz.java:183)
at testws.cptTestws.addTestws_biz.__choicewebService0(addTestws_biz.java:370)
at testws.cptTestws.addTestws_biz.__invokeBiz(addTestws_biz.java:329)
at testws.cptTestws.addTestws_biz._invoke(addTestws_biz.java:250)
at testws.cptTestws.addTestws_biz.invoke(addTestws_biz.java:280)
at com.primeton.engine.core.impl.process.BLProxy.invoke(BLProxy.java:223)
at com.primeton.engine.component.impl.OperationAccessor.invoke(OperationAccessor.java:112)
at com.primeton.engine.component.impl.OperationAccessor.invoke(OperationAccessor.java:80)
at com.primeton.ext.engine.component.Operation.invoke(Operation.java:100)
at com.primeton.engine.component.impl.LogicCompoment.invoke(LogicCompoment.java:183)
at com.primeton.engine.component.impl.LogicCompoment.invoke(LogicCompoment.java:170)
at com.primeton.access.client.impl.skeleton.BizLogicReceiveTarget.invoke(BizLogicReceiveTarget.java:52)
at com.primeton.access.client.impl.skeleton.ServiceEngine.receive(ServiceEngine.java:36)
at com.primeton.access.client.impl.skeleton.DefaultServiceSkeleton.invokeService(DefaultServiceSkeleton.java:130)
at com.primeton.access.client.impl.skeleton.DefaultServiceSkeleton.invoke(DefaultServiceSkeleton.java:32)
at com.primeton.access.client.impl.ClientMessageInterceptor.invoke(ClientMessageInterceptor.java:57)
at com.primeton.system.aop.impl.HandlerInvoker.invoke(HandlerInvoker.java:60)
at com.primeton.system.aop.impl.JdkProxyUtil$JdkInvocationHandlerWrapper.invoke(JdkProxyUtil.java:48)
at com.sun.proxy.$Proxy29.invoke(Unknown Source)
at com.primeton.ext.engine.component.LogicflowInvokerHelper.invokeLogicflow(LogicflowInvokerHelper.java:62)
at sun.reflect.GeneratedMethodAccessor524.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.eos.system.utility.ClassUtil.invokeMethod(ClassUtil.java:650)
at com.primeton.ext.engine.core.processor.AbstractBizProcessor.invokeBiz(AbstractBizProcessor.java:166)
at com.primeton.ext.engine.core.processor.AbstractBizProcessor.access$000(AbstractBizProcessor.java:49)
at com.primeton.ext.engine.core.processor.AbstractBizProcessor$1.run(AbstractBizProcessor.java:82)
at com.primeton.ext.common.muo.MUOTemplate.execute(MUOTemplate.java:40)
at com.primeton.ext.engine.core.processor.AbstractBizProcessor.doProcess(AbstractBizProcessor.java:80)
at com.primeton.ext.engine.core.processor.AbstractProcessor.process(AbstractProcessor.java:102)
at com.primeton.access.http.impl.ProcessorWebInterceptor.doIntercept(ProcessorWebInterceptor.java:111)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.primeton.access.authorization.impl.AccessedHttpResourceFilter.doIntercept(AccessedHttpResourceFilter.java:131)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.eos.access.http.UserLoginCheckedFilter.doIntercept(UserLoginCheckedFilter.java:147)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.primeton.access.http.impl.WebI18NInterceptor.doIntercept(WebI18NInterceptor.java:64)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.primeton.sca.host.webapp.SCAWebServiceServletFilter.doIntercept(SCAWebServiceServletFilter.java:120)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.eos.access.http.InterceptorFilter.doFilter(InterceptorFilter.java:120)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:662)
[default][2018-01-29 15:41:27,163][ERROR][com.primeton.ext.engine.core.processor.AbstractBizProcessor:87] 
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor524.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.eos.system.utility.ClassUtil.invokeMethod(ClassUtil.java:650)
at com.primeton.ext.engine.core.processor.AbstractBizProcessor.invokeBiz(AbstractBizProcessor.java:166)
at com.primeton.ext.engine.core.processor.AbstractBizProcessor.access$000(AbstractBizProcessor.java:49)
at com.primeton.ext.engine.core.processor.AbstractBizProcessor$1.run(AbstractBizProcessor.java:82)
at com.primeton.ext.common.muo.MUOTemplate.execute(MUOTemplate.java:40)
at com.primeton.ext.engine.core.processor.AbstractBizProcessor.doProcess(AbstractBizProcessor.java:80)
at com.primeton.ext.engine.core.processor.AbstractProcessor.process(AbstractProcessor.java:102)
at com.primeton.access.http.impl.ProcessorWebInterceptor.doIntercept(ProcessorWebInterceptor.java:111)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.primeton.access.authorization.impl.AccessedHttpResourceFilter.doIntercept(AccessedHttpResourceFilter.java:131)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.eos.access.http.UserLoginCheckedFilter.doIntercept(UserLoginCheckedFilter.java:147)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.primeton.access.http.impl.WebI18NInterceptor.doIntercept(WebI18NInterceptor.java:64)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.primeton.sca.host.webapp.SCAWebServiceServletFilter.doIntercept(SCAWebServiceServletFilter.java:120)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.eos.access.http.InterceptorFilter.doFilter(InterceptorFilter.java:120)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoSuchMethodError: javax.wsdl.Definition.getAllPortTypes()Ljava/util/Map;
at com.primeton.infra.wsclient.impl.WSDLParser.parsePortTypes(WSDLParser.java:165)
at com.primeton.infra.wsclient.impl.WSDLParser.parse(WSDLParser.java:136)
at com.primeton.ext.infra.wsclient.WSDLCache.getWSDL(WSDLCache.java:55)
at com.primeton.infra.wsclient.impl.WebServiceCaller.call(WebServiceCaller.java:190)
at com.primeton.infra.wsclient.impl.CallerImpl.call(CallerImpl.java:46)
at testws.cptTestws.addTestws_biz.webService0(addTestws_biz.java:183)
at testws.cptTestws.addTestws_biz.__choicewebService0(addTestws_biz.java:370)
at testws.cptTestws.addTestws_biz.__invokeBiz(addTestws_biz.java:329)
at testws.cptTestws.addTestws_biz._invoke(addTestws_biz.java:250)
at testws.cptTestws.addTestws_biz.invoke(addTestws_biz.java:280)
at com.primeton.engine.core.impl.process.BLProxy.invoke(BLProxy.java:223)
at com.primeton.engine.component.impl.OperationAccessor.invoke(OperationAccessor.java:112)
at com.primeton.engine.component.impl.OperationAccessor.invoke(OperationAccessor.java:80)
at com.primeton.ext.engine.component.Operation.invoke(Operation.java:100)
at com.primeton.engine.component.impl.LogicCompoment.invoke(LogicCompoment.java:183)
at com.primeton.engine.component.impl.LogicCompoment.invoke(LogicCompoment.java:170)
at com.primeton.access.client.impl.skeleton.BizLogicReceiveTarget.invoke(BizLogicReceiveTarget.java:52)
at com.primeton.access.client.impl.skeleton.ServiceEngine.receive(ServiceEngine.java:36)
at com.primeton.access.client.impl.skeleton.DefaultServiceSkeleton.invokeService(DefaultServiceSkeleton.java:130)
at com.primeton.access.client.impl.skeleton.DefaultServiceSkeleton.invoke(DefaultServiceSkeleton.java:32)
at com.primeton.access.client.impl.ClientMessageInterceptor.invoke(ClientMessageInterceptor.java:57)
at com.primeton.system.aop.impl.HandlerInvoker.invoke(HandlerInvoker.java:60)
at com.primeton.system.aop.impl.JdkProxyUtil$JdkInvocationHandlerWrapper.invoke(JdkProxyUtil.java:48)
at com.sun.proxy.$Proxy29.invoke(Unknown Source)
at com.primeton.ext.engine.component.LogicflowInvokerHelper.invokeLogicflow(LogicflowInvokerHelper.java:62)
... 35 more

调试结束,调试的返回信息如下所示:
<root>
    <exceptions>
        <invalid>false</invalid>
        <loginPage/>
        <exception className="java.lang.NoSuchMethodError">
            <code/>
            <message><![CDATA[javax.wsdl.Definition.getAllPortTypes()Ljava/util/Map;]]></message>
        </exception>
    </exceptions>
</root>


COMMENTS

需要 后方可回复
如果没有账号可以 一个帐号。