[ardoHTTP] XML over HTTP

Forge Component
Published on 20 Jan by Ricardo Silva
19 votes
Published on 20 Jan by Ricardo Silva

I'm looking at this extension to integrate with a legacy system that uses XML over HTTP.   Our other applications appear to be making a socket connection to the IP/port of our integration layer server and then sending the information below.

POST /IntegrationLayerServlet/invoke HTTP/1.1
Connection: Keep-Alive
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://{IP}/IntegrationLayerServlet/test.html
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322)
Host: {IP:Port}
Pragma: no-cache


However whenever I try to send the same data using Ardo

HTTP I get the following response.   I get status OK and code 200 but then this message.

<IntLayer><Error><Message>No XML request specified in input parameters</Message><Detail></Detail></Error></IntLayer>

In the HTTPPost module I have the URL set as the IP and port.   The Data is set as the information in bold above.  I don't see where our current applications send any header information but the data is returned, so I left the headers blank.   Any suggestions?


Everything above the XML=... line should be added to the headers, not the data. There's an HTTPHeader structure in arloHTTP, so you would want to create a local variable as a list of HTTPHeader, then add an item to that list for every line above XML=...  

I got it working yesterday, I just forgot to come back and update the ticket.   Very, very useful HTTP tool!