I am attempting to post xml to an affiliate and am having some
issues. The affiliate will only accept the xml as a string in the
name-value pair called "XML" on a classic asp page.
Here is the
code file I have, which works fine and gets the response "Invalid XML".
I.T. on the other end explained to me that is the message that gets
echoed if they get no data on their end from this one statement: XML =
Request("xml")
I cant see anything here which would make me think
nothing is getting transmitted.
Dim uri As New Uri("http://www.affiliatesite.com?xml=")
Dim packet As XmlDocument = New XmlDocument
packet.Load(Server.MapPath("../XML/TestDoc.xml"))
packet.GetElementsByTagName("id")(0).innerXml = "123"
packet.GetElementsByTagName("value1")(0).innerXml = "Val1"
packet.GetEle ...
Go to the complete details ...