i am trying to use the ynot biling interface with asp scripts. i have figured out how to post and wait fro the http replay using this:

set httpObj = Server.CreateObject("Msxml2.ServerXMLHTTP.3.0")
httpObj.setTimeouts 0,2000,2000,2000
httpObj.setoption 2, 13056
Do
Err.Clear
httpObj.open "POST",gateway, false
httpObj.setRequestHeader "Content-Type", "text/html; charset=windows-1252"
httpObj.send xmlstring
Loop Until Err.Number = 0
aqresponse = httpObj.responseText
Set httpObj = nothing

however it comes back from the server saying the contents of the xmlstring are not formed correctly. if i post it manually it works. the only differnce i can see is this line.....

<input type="hidden" name="xml" value="<%=xmlstring%>">


so how do i use the httpobj command to post this input nasmed XML ?



here is the manual methord that works but of course i cant act on the results



<form method="POST" action="https://p-p-g.net/gateway_v2.php" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1"> <p>click submit to test</p>
<input type="hidden" name="xml" value="<%=xmlstring%>">


<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>