V
V
Vladimir Soldatov2016-03-15 11:26:14
PHP
Vladimir Soldatov, 2016-03-15 11:26:14

How to redirect a SOAP request to another server in PHP?

The task is to redirect the SOAP request to another server. Is there any possibility to check this?
The meaning is that there are two servers SERVER1 and SERVER2, respectively.
We send a SOAP request from SERVER3 to SERVER1 (specify the address of the SOAP service and blah blah blah), but the service is actually on SERVER2 and the request should go to it and it should also answer.
Having made a simple redirect, as I understand it, the request body and headers will be lost ..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
X-, 2016-03-15
@TPbIHTPABA

Do you have access to apache/nginx configs?
if yes, then you can configure proxypass on SERVER2 on SERVER1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question