Log In    |    Knowledge Base    |    4D Home
Tech Note: Reading a Full SOAP Response
PRODUCT: 4th Dimension | VERSION: 2003.3 | PLATFORM: Mac & Win
Published On: May 20, 2004

4th Dimension 2003 and later include native support for building Web Service clients. Web Service method calls generate SOAP (Simple Object Access Protocol) messages that are sent over HTTP to a SOAP-enabled program. The remote Web Service can be written in .NET, Java, 4th Dimension, or nearly any other contemporary language, environment, or framework. Internally, SOAP messages follow strict XML formatting and data encoding rules defined in a series of lengthy interlocking standards. By default, the 4th Dimension Web Service client system handles all of the complexities of parsing, navigating, and converting values between XML and 4th Dimension’s native data types. There are times, however, when developers may need, want, or prefer to read SOAP responses directly. Fortunately, it is possible to read raw incoming SOAP responses using the complexType parameter of the CALL WEB SERVICE command. This technical note discusses how to capture and extract values from raw SOAP responses.

Download Complete Tech Note & Example: Windows | Mac