<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Re: Call web service in JBoss server A which call another web service in JBoss server B
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/xujin_helen">Jin Xu</a> in <i>JBoss Web Services</i> - <a href="https://community.jboss.org/message/740555#740555">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Thanks for the tip. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>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. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>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<br/>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)<br/>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)<br/>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)<br/>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)<br/>2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1)  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/>2012-06-07 17:00:20,911 ERROR [STDERR] (http-0.0.0.0-8080-1)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>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)<br/>2012-06-07 17:00:20,926 ERROR [STDERR] (http-0.0.0.0-8080-1)  at java.lang.Thread.run(Thread.java:619)<br/>2012-06-07 17:00:20,942 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] (http-0.0.0.0-8080-1) SOAP request exception</p><div class="mcePaste" id="_mcePaste" style="position: absolute; top: 0px; left: 0px;"></div><p>Thanks, </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Jin</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/740555#740555">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Web Services at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>