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

Re: Need some examples to start



Henry,

Scott's examples are the best you're going to find.  Giving you more
source isn't going to help.

I suggest you take a look at some of Scott's articles on using HTTPAPI.
http://systeminetwork.com/article/rpg-consuming-web-services-httpapi-and-soapui
http://systeminetwork.com/article/report-weather-your-sign-screen
http://systeminetwork.com/article/look-bank-routing-number-rpg
http://systeminetwork.com/article/rpg-can-consume-web-services
http://systeminetwork.com/article/rpg-web-service-consumer
http://systeminetwork.com/article/rpg-web-service-consumer-part-2

Lastly, you may want to look into a companion tool for HTTPAPI called
WSDL2RPG.  With it, you don't need to understand XML or web
services...
http://systeminetwork.com/article/call-web-service-wdsl2rpg

HTH,
Charles


On Tue, May 3, 2011 at 1:35 PM, Kwong, Henry <Henry.Kwong@xxxxxxxxxx> wrote:
> I have gone thru the examples. I want to find the one which is close to my application. My application is to pass a input XML string  and getting one output in XML format.
>
> Appreciate If anyone can let me know or share the source code.
>
> On May 2, 2011, at 8:55 PM, "Ron" <ron@xxxxxxxxxxxx> wrote:
>
>>
>> Check out example programs EXAMPLE1-EXAMPLE20. It's a good place to start.
>> Keep in mind HTTPAPI is NOT an XML web services utility. It's a HTTP
>> communications data exchange tool that lets you write programs that use web
>> services. You'll need to learn a lot about web services (ie: HTTP headers,
>> SOAP, XML) outside the constructs of HTTPAPI.
>>
>>
>> -----Original Message-----
>> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
>> [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Kwong, Henry
>> Sent: Monday, May 02, 2011 7:27 PM
>> To: HTTPAPI and FTPAPI Projects
>> Subject: Need some examples to start
>>
>> Hi, I am very new of using iseries to consume a web service. I have been
>> looking through some of the examples from the HTTPAPI downloads, but still
>> not fully understand.
>>
>> Can anyone have a simple example with the source code, I just want to see
>> how the coding look like if we are going to consume a web service with an
>> input parameter and output result set in xml format.
>>
>> Thanks in advance for your help.
>>
>>
>> Henry Kwong | Lead System Analyst
>> Mattel Global IT - Managed Services
>> Mattel, Inc. | 333 Continental Blvd. | El Segundo, CA 90245
>> * 310-252-3205 | *  Henry.Kwong@xxxxxxxxxx
>>
>>
>>
>> -----------------------------------------------------------------------
>> This is the FTPAPI mailing list.  To unsubscribe, please go to:
>> http://www.scottklement.com/mailman/listinfo/ftpapi
>> -----------------------------------------------------------------------
>>
>> -----------------------------------------------------------------------
>> This is the FTPAPI mailing list.  To unsubscribe, please go to:
>> http://www.scottklement.com/mailman/listinfo/ftpapi
>> -----------------------------------------------------------------------
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------