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.

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.: DevCentral - An F5 Technical Community