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]>

Reply via email to