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


source to share





All Articles