You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by "Ching, Vivian M, ALABS" <vm...@att.com> on 2005/04/07 08:34:38 UTC
http redirects
Hi-
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="http://smrs102/aot002rp/cbus-sim.html">http://smrs102/aot002rp/cbus-sim.html</a>.</p>
</body></html>
]
Vivian Ching
AT&T
MT A2-2E04
200 S Laurel Avenue
Middletown, NJ 07748
732.420.2452
Re: http redirects
Posted by Scott Nichol <sn...@scottnichol.com>.
The 2.3.1 release does not follow re-directs. The current source does follow them.
Scott Nichol
Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message -----
From: "Ching, Vivian M, ALABS" <vm...@att.com>
To: <so...@ws.apache.org>
Sent: Thursday, April 07, 2005 2:34 AM
Subject: http redirects
Hi-
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="http://smrs102/aot002rp/cbus-sim.html">http://smrs102/aot002rp/cbus-sim.html</a>.</p>
</body></html>
]
Vivian Ching
AT&T
MT A2-2E04
200 S Laurel Avenue
Middletown, NJ 07748
732.420.2452