Forum Discussion
SOAP web service calls redirect
We have a requirement to redirect calls coming on one soap endpoint to another soap end point. Please help in implementing it. Eg : Url 1 : http://oldserver.com/services/sampleWebService Url 2 : http://newserver.com/newendpoing/sampleWebService
We want all SOAP traffic coming up on Url 1 to get routed to Url 2, and the response to go back to the client accordingly. Now the point to note is soap calls are http post. We tried http redirect, and 307 location redirects. None of the two options worked.
1 Reply
how didn't they work?
redirecting a POST with 301 / 302 means it looses the method and data.
for background see: http://programmers.stackexchange.com/questions/99894/why-doesnt-http-have-post-redirect
it does mention the 307 as an alternative but that is browser dependent i believe, did you try different ones?
there are solutions for it on dev central.
i.e.: https://devcentral.f5.com/questions/how-to-preserve-data-in-a-http-302-redirect-of-a-post
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com