This is the first time I’m doing this, so bare with me (hope I don’t sound stupid):
I need to transmit an XML request to an ASP page for that page to kick back an XML answer. The file (REQLTR.XML) needs to be submitted to http://www.test.com/getxml.asp and should return back a ANSWER.XML file.
After asking the company which is receiving the XML file about how to do this, their response was:
We use VB5 to post XML via: Inet1.Execute "http://www.test.com/getxml.asp" & “”, “POST”, sXML & ""
I don’t have VB5 and nor do I understand the above. Is there another way of doing this something? I am lost.
ps - I tried one method without success: I created a form with an upload input…and just did this:
<form action="http://www.test.com/getxml.asp" method="post" name="TRNXML" enctype="multipart/form-data"> File name: <input name="ourxml" type="file"> <input type="submit"> </form>
This did not work as the company responded saying that they got the following:
[FONT=Courier New]**[COLOR=#ff0000]Invalid at the top level of the document.
Content-Disposition: form-data; name=“ourxml”; filename=“C:\Documents and Settings\IT\Desktop\REQLTR.xml”