Decode (-DECODE)

Use the Decode adapter command (-DECODE) to instruct the adapter to decode the SOAP message, which involves stripping the envelope and SOAP envelope header, and handling SOAP faults.


-DECODE

For example, to decode a message received over HTTP:


GET("SOAP","-DECODE -TRANSPORT 'HTTP(-URL http:/myurl/)'")

The -DECODE option is optional since it is implied by the invocation of the SOAP Adapter in an input card or GET function.

For more information on encoding and decoding data, see Encoding and Decoding Data in the Resource Adapters documentation.