Hy,
i am using Apache Soap 2.3 and, based on the sample "GetQuote", i can't
succeed sending a SOAP message with a SOAPAction field filled. is it normal
?
My code looks like the following:
...
Call call = new Call ();
call.setTargetObjectURI ("urn:xmethods-CATraffic");
call.setMethodName ("getTraffic");
call.setEncodingStyleURI("http://schemas.xmlsoap.org/soap/encoding/");
Vector params = new Vector ();
params.addElement (new Parameter("hwynums",
Class.forName("java.lang.String"), "101", null));
call.setParams (params);
Response resp = call.invoke (new
URL("http://services.xmethods.net:80/soap/servlet/rpcrouter"), "" );
...
Hopefully, this webservice is not expecting a SOAPAction field to be filled,
but with any other webservice, my call failed with an error (Incorrect HTTP
Header SOAPAction...)
Do you have any idea why?
Many thanks for you help!
Jean-Baptiste
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
- Re: HTTP Header: SOAP Action field Jean-Baptiste g
- Re: HTTP Header: SOAP Action field Scott Nichol