Hi,
I am using Apache soap for my java client and i have a c++
server.In my client I took an xml file that contains the soap envelope and
body details. I parsed it through my code and sent the envelope to the
required url using Message.send method but it is giving me a null pointer
exception. The envelope that is sent is correct as i checked it in
TcpTunnelGui and even the server is sending the correct envelope as
response. Here is the exception details that i got
Exception in thread "main" java.lang.NullPointerException at
org.apache.soap.transport.TrasnportMessage.read(TransportMessage.java: 206)
at org.apache.soap.util.net.HTTPutils.post<HTTPutils.java: 333)
at
org.apache.soap.trasnport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.ja
va:282)
at org.apache.soap.Messaging.message.send(Message.java:123)
Thanks,
Jyothi