[jboss-user] [JBoss Web Services] - Re: Call web service in JBoss server A which call another web service in JBoss server B
Jin Xu
do-not-reply at jboss.com
Thu Jun 7 20:33:36 EDT 2012
Jin Xu [https://community.jboss.org/people/xujin_helen] created the discussion
"Re: Call web service in JBoss server A which call another web service in JBoss server B"
To view the discussion, visit: https://community.jboss.org/message/740555#740555
--------------------------------------------------------------
Thanks for the tip.
I manually deployed war and started JBoss. When I invoke our web service, it throws below error, which means it is already inside our web service. It looks like vendor's proxy failed to invoke its web service. But when in standalone mode, it worked.
2012-06-07 17:00:20,895 ERROR [STDERR] (http-0.0.0.0-8080-1) java.lang.LinkageError: loader constraint violation: when resolving method "org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(Ljava/net/URL;Ljavax/xml/namespace/QName;Ljava/net/URL;)Ljavax/xml/rpc/Service;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, com/datasweep/plantops/proxies/jboss/soapImpl/SecuritySOAPImpl, and the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) for resolved class, org/jboss/ws/jaxrpc/ServiceFactoryImpl, have different Class objects for the type javax/xml/namespace/QName used in the signature
2012-06-07 17:00:20,895 ERROR [STDERR] (http-0.0.0.0-8080-1) at com.datasweep.plantops.proxies.jboss.soapImpl.SecuritySOAPImpl._login(Unknown Source)
2012-06-07 17:00:20,895 ERROR [STDERR] (http-0.0.0.0-8080-1) at com.datasweep.plantops.proxies.ProxyFactory.getSecurityProxy(Unknown Source)
2012-06-07 17:00:20,895 ERROR [STDERR] (http-0.0.0.0-8080-1) at com.datasweep.plantops.proxies.ProxyFactory.login(Unknown Source)
2012-06-07 17:00:20,895 ERROR [STDERR] (http-0.0.0.0-8080-1) at com.aligntech.service.MyService.connectFTPC90(MyService.java:77)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at java.lang.reflect.Method.invoke(Method.java:597)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.jboss.wsf.container.jboss50.invocation.InvocationHandlerJSE.invoke(InvocationHandlerJSE.java:108)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:221)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:468)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:293)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:203)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:129)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1) at java.lang.Thread.run(Thread.java:619)
2012-06-07 17:00:20,942 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] (http-0.0.0.0-8080-1) SOAP request exception
Thanks,
Jin
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/740555#740555]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120607/796f65b2/attachment.html
More information about the jboss-user
mailing list