Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is SOAP now a legacy technology?

Tags:

soap

rpc

Are people still writing SOAP services or is it a technology that has passed its architectural shelf life? Are people returning to binary formats?

like image 388
John Channing Avatar asked Sep 01 '08 21:09

John Channing


People also ask

Is SOAP as a legacy technology?

SOAP has been around longer than REST and tends to be viewed as a legacy technology. However, there are cases where using SOAP makes more sense than REST.

Is SOAP still relevant?

These days, most public web services provide REST APIs and transfer data in the compact and easy-to-use JSON data interchange format. However, enterprise users still frequently choose SOAP for their web services.

What is meant by legacy technology?

In computing, a legacy system is an old method, technology, computer system, or application program, "of, relating to, or being a previous or outdated computer system", yet still in use. Often referencing a system as "legacy" means that it paved the way for the standards that would follow it.

Why is SOAP protocol still used?

SOAP is still used in many big organisations. With built-in security and reliability functions, SOAP is a great choice for applications where security is more critical than performance. SOAP is highly extensible.


3 Answers

The alternative to SOAP is not binary formats.

I think you're seeing a surge in the desire to leave the complexities of WS-* behind in favor of REST and JSON, because they're much simpler to use and don't require frameworks to be used successfully. The problems that WS-* ostensibly tries to solve aren't problems for most users, but they have to pay for the complexity any way.

like image 193
Brad Wilson Avatar answered Oct 11 '22 13:10

Brad Wilson


I still write WS-*–based services. Somewhat surprisingly, I've had less trouble with them when trying to inter-operate with less capable developers. This is because if I send them a WSDL file, they know how to crank it through their tool and get an API they can call, while being blissfully unaware what is happening under the hood. To give customers a REST-ful service, I have to start talking to them about HTTP and XML, which they really don't understand as well as they think they do, and then I start getting a headache.

In other words, to be successful with REST, both the service provider and consumer have to know what they're doing (and they can keep things simple and come up with a great, non–WS-* solution). With WS-* technologies, it can still succeed even if only one party has a clue.

I think, however, that REST-oriented standards that are much less complicated than current WS standards, will eventually emerge, and when that happens, comparable tools will be available too.

like image 40
erickson Avatar answered Oct 11 '22 14:10

erickson


I think so. RESTful solutions are more and more sensible for the vast majority of use cases; the complexities of SOAP and other RPC technologies just aren't worth the effort anymore.

like image 36
conmulligan Avatar answered Oct 11 '22 14:10

conmulligan