I am trying to post the SOAP data using the SOAPHttp. Here are the steps i followed.
1.Created SoapData object
2.pub.soap.utils:addBodyEntry
3.Finally posting the soap data using soapHTTP.
Before calling the soapHTTP,i am able to see the soapData with body with all contents in the resultpanel.But after the soapHTTP step,its failing to create the soapbody.
its giving the messege like this,
The pub.client:soapHTTP works well. Be sure that you are mapping the soapData object that contains your message to the soapRequestData input of the soapHTTP service.
HI Mark,
yes…i am sure that,i have mapped the data from soapData to the soapRequestData.In that step soapHTTP only i am getting the error.Before this step,i am able to see the soapData in the body element.
After the soapHTTP step,i am getting the Error with soapStatus as 1.
I am using webMethods 6.5 SP2 under windows 2003. We are trying to migrate from UNIX to Windows and I am testing a SOAP request with pub.client:soapHTTP which is working fine in development which is under HP-UX. But under windows, we are getting this error: java.lang.NullPointerException
Do you know what could cause the problem?
Are there any settings which must be done on the server before starting use SOAP?
I have seen null pointer exceptions from the pub.client:soapHTTP service when invoking web service operations provided by .Net server over HTTPS. The trick was to upgrade to IS 6.5 SP2 (which you already have), populate the SOAPAction parameter and set the loadAs parameter to “ByteArrayStream”.
had the same situation on 6.1 which we fixed by applying patch which enabled the loadas paramater. And once we used the ByteArrayStream as loadAs, we were going good…So most probably this should work for you aswell
hope it helps