Data Transformation Engine Resource Adapter Reference Guide

Chapter 1 - Resource Adapters Transport Encode/Decode Examples
Resource Adapters Reference Guide
19
Transport Encode/Decode Examples
The following examples show how the transport adapter encodes or decodes the
data when used in an input card, an output card, or in a
GET function.
SOAP Input card
Adapter SOAP
Command
-ENV –TRANSPORT 'HTTP(-URL
http://www.mysite.com
)'
Meaning The HTTP adapter is called for the transport, then the data is
passed to the SOAP adapter to decode.
SOAP Output card
Adapter SOAP
Command
-ENV –TRANSPORT 'HTTP(-URL
http://www.mysite.com
)'
Meaning The SOAP adapter is called to encode the data, then the data is
passed to the HTTP adapter to transport.
SOAP Request/Reply in a GET function
Function
call
Response
= GET("
SOAP
", "-ENV –TRANSPORT '
HTTP
(-URL
http://www.mysite.com
,
Request
)'
Meaning The SOAP adapter is called to encode the data. The data is then
passed to the HTTP adapter to send the request and pick up the
response. The SOAP adapter is called again to decode the
response.