Yes, client is a servlet using
msg.send.
try {
msg.send(new URL(sURL), soapAction,
requestEnvelope); env =
msg.receiveEnvelope(); }
"POST
/aot002rp/OutageNotifyWS HTTP/1.1" 302 784
<html><head><title>302 Moved
Temporarily</title></head> <body
bgcolor="#FFFFFF"> <p>This document you requested has moved
temporarily.</p> <p>It's now at <a href="">http://ip:port/OrderBasketWS.asmx.http://ip:port/OrderBasketWS.asmx">http://ip:port/OrderBasketWS.asmx</a>.</p> </body></html>
How are
you structuring your call, msg.send? Is the receiver a servlet (I think it has
to be to handle the getPut). If so, what is the syntax of the redirect?
Regards,
Mark
-----Original
Message----- From: Ching,
Vivian M, ALABS [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 2:52
AM To:
[email protected] Subject: http redirects
Can anyone
tell me how I can get HTTP redirects to work in Apache
Soap?
Currently my
client is getting back a soap exception instead of being
redirected.
Is there a
way to setFollowRedirects to true in the underlying http
connection?
Thank you in
advance for any help!
[SOAPException:
faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type
"text/plain", must be: "text/xml".
Response
was: <html><head><title>302 Moved
Temporarily</title></head> <body
bgcolor="#FFFFFF"> <p>This document
you requested has moved
temporarily.</p> <p>It's now at
<a
href=""></body></html> ]
|