开发者

How to make a Webservice request follow a redirect?

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 c开发者_StackOverflow社区an 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)


This needs to be supported by the library implementing the actual call to the web service, and there is not a generic way of setting this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜