Make REST to communicate with SOAP

I have two systems: one (let it be called S1), which provides a RESTful API (let it be called WS1), and the other (let it be called S2), which provides a SOAP API (let it call WS2).

I am trying to figure out a way to get data from S1 and add it to S2. WS1 provides methods for adding / receiving data (to / from S1), while WS2 only has methods for adding data (to S2).

Can these two web services communicate with each other or should there be some mechanism between them. I suppose that "someone should manage their discussion."

+3
source share
1 answer

Where are the clients located?

REST Server SOAP Server, - - , / , - .

.

- , - REST - SOAP-. .

script, RESTful SOAP- RESTful, REST2SOAP, RESTful SOAP .

.

, REST, , , SOAP . , .

, , .

:

  • REST;
  • () ( , );
  • (serialize, json_encode ..);
  • .

()

  • ;
  • , ;
  • ;
  • SOAP.

, , , , .

+4

All Articles