Thanks for your response but I don't think you understood my question.
I already know how to use a SOAP Call. Unfortunately I can't use it
because I need to pass a cookie in the HTTP header and version 2.3.1
doesn't provide methods to do that. (And unfortunately it is a requirement
that I use that version of SOAP). My workaround for this is to use the
send() method in the SOAPHTTPConnection. But as I stated in my original
question, I don't know how to retrieve the response after executing the
send().
"Dave Searle"
<dave@davesearle To: <[EMAIL PROTECTED]>
.co.uk> cc:
Subject: RE: how to get response after
SOAPHTTPConnection.send() ?
11/21/2002 04:07
PM
Please respond
to soap-user
URL url = new URL("http://localhost:8080/soap/servlet/rpcrouter");
SOAPHTTPConnection shc = new SOAPHTTPConnection ();
shc.setMaintainSession (true);
Call myCall = new Call();
myCall.setSOAPTransport(shc);
myCall.setTargetObjectURI("urn:SimpleStorage");
myCall.setMethodName("whatever");
myCall.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
Response resp = myCall.invoke(url, "" );
-----Original Message-----
From: David Q Levitt [mailto:[EMAIL PROTECTED]]
Sent: 21 November 2002 20:54
To: [EMAIL PROTECTED]
Subject: how to get response after SOAPHTTPConnection.send() ?
2 questions:
1. How do I get the response from the web service after executing
SOAPHTTPConnection.send()?
2. I'm expecting the web service response to contain a DOM Element.
When
I was calling the web service via a Call I had set this up by:
soapCall.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML). How do I
do
the equivalent of that if I'm using
SOAPHTTPConnection.send() instead of Call.invoke() ??
Thanks for your help.
- Dave Levitt
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>