Hi Group,
I'm doing some developing and need to consume a third-party webservice. As I'm not a real SOAP-Webservice expert as of now, I'm interessted in informations on how to debug this in Railo.
What I'm doing is
<cfscript>
ws.GetWeather("Berlin","Germany");
req=getSOAPResponse(ws);
</cfscript>
<cfdump eval="ws">
<cfdump eval="req">
And this works!
However, in production I need to consume another webservice, and this fails in Railo (and OpenBD and Adobe CF10).
Railo throws an error like this when trying to invoke the webservice (creating the webservice object works fine):
Railo 4.0.1.004 Error (org.apache.axis.AxisFault) |
Message |
; nested exception is: java.lang.NullPointerException
|
; nested exception is:
java.lang.NullPointerException
at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:325):325
at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035):1035
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165):165
at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141):1141
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236):236
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384):384
at org.apache.axis.client.Call.invoke(Call.java:2467):2467
at org.apache.axis.client.Call.invoke(Call.java:2366):2366
at org.apache.axis.client.Call.invoke(Call.java:1812):1812
As I have working PHP examples, I must agree that the webservice itself seems to work somehow.
I also tested the webservice with soapUI, and can also have a look at it with SOAPMonitor.
In SOAPMonitor I can see, that Railo does a request and also gets the expected response. However Railo seems to fail in parsing whatever comes back from that Webservice.
So, is there any chance of debugging this deeply on Railo-side?
Thanks & Best Regards
Michael