Originally posted by: SystemAdmin
This has been resolved now.
The way is to pass parameters as shown below:-
GET("HTTP",
"-URL
http://128.30.112.95:9080/echoRequest.jsp?field1='hi1' -METHOD POST -TV -TYPE application/x-www-form-urlencoded", "Hello,hi")
This issues a parameter 'hi' and a payload 'Hello.hi' to the url '
http://128.30.112.95:9080/echoRequest.jsp'. The server responds as:-
Input URL /echoRequest.jsp
Input method POST
Input content length 8
Input content type application/x-www-form-urlencoded
Input protocol HTTP/1.1
Secure ? false
Server name 128.30.112.95
Remote address 128.30.80.129
Requested URI /echoRequest.jsp
Scheme http
Input Stream com.ibm.ws.webcontainer.srt.http.HttpInputStream@73aae1cb
Parameter Names List:
field1 = 'hi1'
In order to send complex data, an XML file could be agreed upon as a payload between DSTX and the webserver so that the latter bases its processing based on the data within the XML payload.
#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender#DataExchange