Hi there.
I have spent some days trying to consume a Web service written on PHP using
NuSOAP. I have defined the WSDL both using rpc/literal and document/literal
and I finally get the same exception.
Exception in thread "main" javax.xml.ws.WebServiceException
at
com.sun.xml.ws.encoding.soap.client.SOAPXMLDecoder.toInternalMessage(
SOAPXMLDecoder.java:274)
at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive
(SOAPMessageDispatcher.java:534)
at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(
SOAPMessageDispatcher.java:258)
at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(
SOAPMessageDispatcher.java:137)
at com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(
DelegateBase.java:84)
at
com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(
EndpointIFInvocationHandler.java:172)
at com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(
EndpointIFInvocationHandler.java:106)
at $Proxy9.hello(Unknown Source)
at prueba.Cliente.main(Cliente.java:27)
This exception occurs at the line where I invocate a method of the web
service; the method I am using receives a string and returns a string.
I am using Netbeans 5.5 with JAX-WS 2.0
I would thank any hint you can give me.
Thanks in advance for your help.
Kind regards.