[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: One quick Info on using HTTPAPI while consuming a webservice
Sakthivel,
Here is a response I received from Scott regarding a similar question I had
last week. I haven't had the chance to try this out yet but it looks like
this should help you out.
http://www.scottklement.com/archives/ftpapi/201004/msg00032.html
Brian
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
Sakthivel-Viswanathan
Sent: Thursday, May 06, 2010 8:22 AM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: One quick Info on using HTTPAPI while consuming a webservice
Hello All & Scott,
I am using Scott's HTTPAPI to consume an internal webservice. It's
working for me, but I am looking to get the entire (unparsed) response
from the server and send it to a calling program. Here the MapXmlData
procedure returns me only with specific XML element. But I am looking to
capture the entire (unparsed) XML response.
Kindly suggest me a way to do this.....
I am using it as follows:
rc = http_post_xmltf( 'http://archenemy.europe.odcorp.net/' +
'SMB/Services/SMB.asmx'
: %addr(SOAP) + VARYINGDATAOFFSET
: %len(SOAP)
: *NULL
: %paddr(MapXmlData)
: %addr(ReturnMsg)
: HTTP_TIMEOUT
: HTTP_USERAGENT
: 'text/xml; charset=UTF-8'
: '"http://officedepot.cz/UploadAddressPL"');
OR.....
rc = http_post_xml( 'http://archenemy.europe.odcorp.net/' +
'SMB/Services/SMB.asmx'
: %addr(SOAP) + VARYINGDATAOFFSET
: %len(SOAP)
: *NULL
: %paddr(MapXmlData)
: %addr(ReturnMsg)
: HTTP_TIMEOUT
: HTTP_USERAGENT
: 'text/xml; charset=UTF-8'
: '"http://officedepot.cz/UploadAddressPL"');
Regards,
Sakthivel
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------