How does SOAP compare to DCOM?

How does SOAP compare to DCOM?
Both SOAP and DCOM support a services-oriented architecture. A service is a piece of application or business logic that can be accessed using a programmable interface. SOAP and DCOM do essentially the same thing, but they use different protocols to communicate. DCOM systems communicate using the Microsoft RPC (based on the DCE RPC) protocol. This protocol encodes data using the Network Data Representation (NDR). MS RPC communicates using TCP/IP using a predefined port to establish an initial handshake, then it dynamically allocates communication ports for each interaction. As you can imagine, dynamic port addresses can be extremely challenging when trying to communicate through firewalls. (Most service-oriented architecture, including CORBA, RMI, and DCE RPC work the same way.) Web services systems communicate using XML messages -- in most cases using the SOAP protocol. SOAP encodes data using XML, and it communicates using HTTP over TCP/IP, using a predefined communication port.
This was first published in February 2002

Dig deeper on Simple Object Access Protocol (SOAP)



Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.



Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: