B
basic
I have a web service that has moved to another server, but clients
still use the old server.
What i need to do is simply redirect their requests to the new server,
and keep all data in the redirect process. simple http redirect looses
data, and the servlet dispatcher mechanism works only for redirecting
to local resources.
Is there anything i can do to redirect the request?
Here is the POST request:
POST http://oldserver/service HTTP/1.1
Host: xxx.xxx.xxx.xxx
Proxy-Connection: Keep-Alive
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: RPT-HTTPClient/0.3-3
SOAPAction: ""
Accept-Encoding: gzip, x-gzip, compress, x-compress
Content-type: text/xml; charset=utf-8
Content-length: 606
<?xml version = '1.0' encoding = 'UTF-8'?>
<SOAP_XML>...</SOAP_XML>
Thanks!
still use the old server.
What i need to do is simply redirect their requests to the new server,
and keep all data in the redirect process. simple http redirect looses
data, and the servlet dispatcher mechanism works only for redirecting
to local resources.
Is there anything i can do to redirect the request?
Here is the POST request:
POST http://oldserver/service HTTP/1.1
Host: xxx.xxx.xxx.xxx
Proxy-Connection: Keep-Alive
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: RPT-HTTPClient/0.3-3
SOAPAction: ""
Accept-Encoding: gzip, x-gzip, compress, x-compress
Content-type: text/xml; charset=utf-8
Content-length: 606
<?xml version = '1.0' encoding = 'UTF-8'?>
<SOAP_XML>...</SOAP_XML>
Thanks!