Theo Kouwenhoven
asked on
header data in RPGLE WS wsdl2rpg.sh
Hi Experts,
On a Website I found a link to create webservices with a standard tool that is available on the IBMi "/QIBM/ProdData/OS/WebServ ices/V1/cl ient/bin/w sdl2rpg.sh "
The result is a Service program that contains all required info to call the webservice.
I'm able to fill the WS variables, but I can't find where and how I can add header elements like :
How can I add these to the WS-header
Thanks
On a Website I found a link to create webservices with a standard tool that is available on the IBMi "/QIBM/ProdData/OS/WebServ
The result is a Service program that contains all required info to call the webservice.
I'm able to fill the WS variables, but I can't find where and how I can add header elements like :
<httpHeader>
<header name="Accept-Encoding" value="gzip,deflate"/>
<header name="Api-Key" value="123456"/>
<header name="Host" value="api.web123.com "/>
<header name="Connection" value="Keep-Alive"/>
</httpHeader>
(of course, the value data is variable) How can I add these to the WS-header
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.