SOAP web service client communicates with xfire

I created a wsdl using wsimport from JDK 1.6. Then I wrote to the client to call a web service, I got the following error.

    java.lang.IllegalStateException: Could not initialize Service.
    at org.codehaus.xfire.jaxws.ServiceDelegate.<init>(ServiceDelegate.java:77)
    at org.codehaus.xfire.jaxws.Provider.createServiceDelegate(Provider.java:32)
    at javax.xml.ws.Service.<init>(Service.java:56)

      

Then I removed the xfire-all 1.2.6 jar used in my application and found that it works, but only if the class was called from the command line and not from the functionality of the application, which is a real need as removing the xfire jar does not is an option for me. Please help me to read the number of yyy posts but haven't gotten any helpful results yet.

Thank you in advance

+3
soap xfire


source to share


No one has answered this question yet

Check out similar questions:

4353
How do I pass "Null" (real last name!) To a SOAP web service in ActionScript 3?
1198
SOAP vs REST (differences)
708
Representative State Transfer (REST) ​​and Simple Object Access Protocol (SOAP)
511
How to call SOAP web service on Android
394
REST / SOAP Endpoints for WCF Service
377
SOAP or REST for web services?
3
Soap web service schema location could not be found in wsdl
2
Tomcat 6 XFire MTOM web service issue
0
JAXB error by stubbing SOAP client generated by wsimport command with JDK 1.6
0
Axis2 web service call from xfire client: endpoint reference (EPR) for operation not found



All Articles
Loading...
X
Show
Funny
Dev
Pics