Hi,

I have written an Apache Axis web service which works fine through an invocation via web browser.

On accessing the webservice through a client written according to the web service WSDL-client manual at apache.org [1] I get the error printed below.

My observation is that the web service invocation through the client seems to work correctly though the web service creates a file at the "/htdocs" directory as it should do. But on returning the file's loction as a string it fails giving a response which sounds as if the client was unable to understand the returned SOAP message.

What do I have to do to help the client understand the SOAP-response?


Thanks,

- Markus

[1] http://ws.apache.org/axis/java/user-guide.html#UsingWSDLWithAxis


=============================================================================================
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
   {http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
   at java.util.Hashtable.put(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Source) at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
   at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
   at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
   at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
   at org.apache.axis.client.Call.invoke(Call.java:2553)
   at org.apache.axis.client.Call.invoke(Call.java:2248)
   at org.apache.axis.client.Call.invoke(Call.java:2171)
   at org.apache.axis.client.Call.invoke(Call.java:1691)
at clientWSDL2Java.DecoderWebserviceSoapBindingStub.decode(DecoderWebserviceSoapBindingStub.java:100)
   at client.Client.decode(Client.java:17)
   at client.Client.main(Client.java:27)


java.lang.NullPointerException
   at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
   at org.apache.axis.client.Call.invoke(Call.java:2251)
   at org.apache.axis.client.Call.invoke(Call.java:2171)
   at org.apache.axis.client.Call.invoke(Call.java:1691)
at clientWSDL2Java.DecoderWebserviceSoapBindingStub.decode(DecoderWebserviceSoapBindingStub.java:100)
   at client.Client.decode(Client.java:17)
   at client.Client.main(Client.java:27)
Caused by: java.lang.NullPointerException
   at java.util.Hashtable.put(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Source) at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
   at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
   at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
   at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
   at org.apache.axis.client.Call.invoke(Call.java:2553)
   at org.apache.axis.client.Call.invoke(Call.java:2248)
   ... 5 more

=============================================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to