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

RE: Which API ?



The data you provided is being sent? It kind of looks like something you would receive as client.

http_url_post_stmf_xml will certainly work but I would skip the stmf unless you need to see the data you are sending for some reason.

If you haven't been through the examples yet, please do spend an hour or two trying to get them to run or at least doing a desk check of the program. Do them in numerical order as EXAMPLE2 follows EXAMPLE1. If you do 1 then 10, you will miss a few steps in between.  I think you will find that this stuff is not as mysterious as it first seems.

Most web services are pretty simple. Mostly, you send some data (usually pretty minimal) to a provider and they send back a bunch of data. Sometimes it is reversed if you are updating something on their system (you send large data and get back small data).

In your case, the example data is not very large. I would build in a variable. It should work using EXAMPLE14 as base. I hope the return data is better than what you have but I doubt it. Whoever set up that XML totally blew it in my book. Calling everything VALUE is not the "right way" but you can work with it. It is just a little more work.



-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Max Buda
Sent: Thursday, January 8, 2015 10:42 AM
To: HTTPAPI and FTPAPI Projects
Subject: Which API ?

I am new to web services and need some help / direction.

I need to consume a web service provided by our customer.
The xml data we need to provide is large enough that I'm wondering whether to use a variable to pass the data (http_url_post_xml) or whether to create an IFS file and send it through a different API.
Is "http_url_post_stmf_xml" appropriate for this ?
If so, what are the steps required to use it ?  An example would really be appreciated.

I have attached a sample of the data required by the web service.


Thanks

Max Buda
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------