Client applications may also format messages for DC Gateway using a lightweight alternative to SOAP, known as Name-Value Pairs (NVP.) DC Gateway web services listen for HTTP GET and POST requests made to the addresses of their endpoints using the name of an operation to be invoked. Input parameters are passed as pairs of URL encoded names and values either on the query string of a GET request or in the body of a POST. DC Gateway responses are encoded using XML but without SOAP envelopes or bodies.
- A name-value pair must be provided for both required and also optional input parameters in NVP integrations with DC Gateway. A client application should not include a value for any input parameter whose value is not explicitly specified when it invokes web service operations using NVP-formatted request messages.
- Inspect status code from HTTP header to verify that GET/POST request was successfully received by DC Gateway.
- Inspect Result (or ResultCode) from XML-encoded response to reveal outcome from the DC Gateway Web Service operation that was invoked.