SOAP or REST as a client

I see a few questions that are better asked, SOAP or REST from the web service development itself. However, there is not much discussion of the pros and cons from the point of view of the client. If you have to write an application and choose one of two web services APIs that are similar to each other, except for one, is SOAP and the other is REST, which would you choose and why? REST has the added benefit of using XML or JSON, is there another significant difference between the two?

+3
source share
2 answers

Wow, 10 hours and no answer to this question yet. Usually these questions are asked instantly.

, . :

  • API.
  • API.
  • .
  • REST api Urls XML/JSON?

API , API. , . , SOAP , REST, , - , .

API, , , , , , , REST api. SOAP apis - - .

1001 , -, - . IDE WSDL . , , - .

, , REST. , REST, , . , REST , SOAP.

- , REST API REST . http, , , REST, .

+6

.

:

- API, , , SOAP, REST, ?

, SOAP API, , REST, .

REST - , . SOAP - , . , , REST SOAP, SOAP REST.

SOAP, , RPC, REST . , .

SOAP XML/JSON HTTP ( REST), SOAP , .

IDE - SOAP.

Java, SOAP- , "@WebService" . - , IDE WSDL ( -), -, .

XML/JSON HTTP , , , , SOAP "". Javascript, , JSON, , , -, .

, , XML/JSON HTTP , REST .

RPC , SOAP - .

+6

Source: https://habr.com/ru/post/1720796/


All Articles