Differences Between SOAP and Binary Encoding

It’s worth examining the differences between SOAP and binary encoding using tcpTrace now.

The example folder contains two configuration file pairs (Binary*.Config.xml and SOAP*.Config.xml).

You can instruct the server and client application to load either one by specifying the command-line argument "SOAP" or "Binary".

These files will instruct the client to send messages via HTTP using port 8001 and the server to listen on ports 8099 as usual.

Configure tcpTrace to use the options shown in Figure 30.14 and launch the applications to see the exchanged data.

Figure 30.14. tcpTrace settings dialog box.

Figure 30.15 is a screenshot of a SOAP data exchange.

Figure 30.15. SOAP data exchange screenshot. ...

Get Delphi for .NET Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.