B
Bryan Avery
I am posting XML to a ASP web page, but it is not picking up the pure XML
messages, why not?
We have to use ENCTYPE="text/plain", otherwise the XML code is changed by
Microsoft.
Here is the listening page
'Get the requesting information
XMLString = Trim(Request.Form("XML"))
If len(XMLString) = 0 Then XMLString = trim(Request.Form())
If len(XMLString) = 0 Then XMLString = trim(Request.QueryString("XML"))
Nothing is coming back when posting the following page.
Here is the post page
<form name="form1" method="post" action="ServerRequest.asp"
ENCTYPE="text/plain">
<p>
<textarea name="XML" cols="100" rows="20" id="XML">
<Server_Requests>
<Server_Request>
<Login>
<ID>10</ID>
<Password/>
</Login>
<Action>
<ActionID>2000</ActionID>
<Message>help</Message>
</Action>
</Server_Request>
</Server_Requests>
</textarea>
</p>
<p>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
messages, why not?
We have to use ENCTYPE="text/plain", otherwise the XML code is changed by
Microsoft.
Here is the listening page
'Get the requesting information
XMLString = Trim(Request.Form("XML"))
If len(XMLString) = 0 Then XMLString = trim(Request.Form())
If len(XMLString) = 0 Then XMLString = trim(Request.QueryString("XML"))
Nothing is coming back when posting the following page.
Here is the post page
<form name="form1" method="post" action="ServerRequest.asp"
ENCTYPE="text/plain">
<p>
<textarea name="XML" cols="100" rows="20" id="XML">
<Server_Requests>
<Server_Request>
<Login>
<ID>10</ID>
<Password/>
</Login>
<Action>
<ActionID>2000</ActionID>
<Message>help</Message>
</Action>
</Server_Request>
</Server_Requests>
</textarea>
</p>
<p>
<input type="submit" name="Submit" value="Submit">
</p>
</form>