[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: receive Dynamic XML
Thank you for you response
Here is what I am doing. I getting item info/availability from a
webservice. since it will involve multiple warehouses the xml will
return lists aka arrays of warehouse item availability.[UGHHH]
So I took a bit of EXAMPLE16 & EXAMPLE17 and used it since it was
parsing the return data. In my case it will be a huge chunk of data to
parse especially with the arrays....SO I didn't want to write it to the
IFS [like in EXAMPLE17] but rather parse send the data back into the
program parms.
__________________________________________________________________
From: Mike Krebs <mkrebs@xxxxxxxxxxxxxxxxxx>
To: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, November 6, 2014 12:15 PM
Subject: RE: receive Dynamic XML
I think http_url_post_xml allows you to work with the returned data
directly. EXAMPLE16 is showing this by calling INCOMING for each
element in the returned xml.
-----Original Message-----
From: [1]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:[2]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott
Mildenberger
Sent: Thursday, November 6, 2014 10:29 AM
To: HTTPAPI and FTPAPI Projects
Subject: RE: receive Dynamic XML
I have used both the _raw and _xml procedures for either
http_url_get/post depending on what you are using, they allow you to
specify a procedure that gets called when data is received. They are
used in some of the provided examples if you search for them.
Scott
-----Original Message-----
From: [3]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:[4]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Donnie
Barrow
Sent: Wednesday, November 05, 2014 4:59 PM
To: HTTPAPI and FTPAPI Projects
Subject: receive Dynamic XML
i need some guidanceMy rpgle free program is calling a webservice. I
used Scott Klement's example17 but I do not want to write the response
soap to the IFS. Is there anyway to receiveand parse the response xml
in the program without writing to the IFS Donovan BarrowDBarrow
Consulting
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
[5]http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
[6]http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
References
1. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
2. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
3. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
4. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
5. http://www.scottklement.com/mailman/listinfo/ftpapi
6. 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
-----------------------------------------------------------------------