[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to use a web service



Larry,

Begin by determining which web service you want to call, and then 
determine what sort of web service it is. Most web services are REST, 
POX or SOAP.

EXAMPLE14 is an example of a REST web service.  Of course, the 
parameters will have to changed to be the ones required by your service.

EXAMPLE16 is an example of a POX web service.  The XML documents will 
need to be changed to whatever is required by your service.

EXAMPLE18, 19 and 20 are SOAP.  The XML documents will need to be 
changed (but, can probably be generated by SoapUI or WSDL2RPG),


Larry Kleinman wrote:
>    I am about to write my first RPG app that uses a Web Service and am
>    looking for an example. I see several programs in LIBHTTP that seem to
>    deal with this (EXAMPLEs 14, 18,19,20), but am not sure which one to
>    use. Some refer to SOAP, some do not. Suggestions as to where I should
>    begin?
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------