Using Integration Broker to HTTP POST a csv file to web service
I am trying to find out how I can post just a plain CSV file to a web service (that uses WebMethods FlatFile processing). The integration needs to be HTTP POST and not FTP. I am able to HTTP POST an XML Doc that I create in PeopleCode, but am stumpped on reading in the CSV file and getting it to POST.
Here is the basic code example that I can make work just fine, but it's not a File.
=====================================
&msg = CreateMessage(Operation.UT_CNTC_SCIQUEST_RQST);
&xmldata = "<?xml version='1.0'?><ConnectorTest/>";
/* create an XmlDoc */
&xmlDoc = CreateXmlDoc(&xmldata);