How to make a Webservice request follow a redirect?

Posted by frappuccino on Stack Overflow See other posts from Stack Overflow or by frappuccino
Published on 2010-04-04T07:52:24Z Indexed on 2010/04/04 7:53 UTC
Read the original article Hit count: 372

Filed under:
|
|

My application neeeds to access a third part web service. Of late, they have introduced a load balancer, which redirects to the server. Because of this the webservice gets a 302 - Redirect error as response.

In the SOAPUI, I was able to enable a property called "Follow Redirect", and because of this service followed the redirect and served by the server.

Now is there a similar propety that can be turned on in the code, which would make the webservice follow the request?

(The calling code is java and the webservice is in .net)

© Stack Overflow or respective owner

Related posts about webservice

Related posts about redirect