generally this means they want a form post with one form field
containing the xml. in this case your post data is:
string postdata = "fieldname=" + HttpUtility.UrlEncode(doc.OuterXml);
note: you should set the content-type to:
application/x-www-form-urlencoded
-- bruce (sqlwork.com)
> Hi
>
[quoted text clipped - 14 lines]
> Thanks,
> Cindy
Cindy H - 09 May 2008 12:26 GMT
That makes sense - I'll check it out and get back to you on this.
Thanks a lot - I think you got me on the right road.
> generally this means they want a form post with one form field containing
> the xml. in this case your post data is:
[quoted text clipped - 25 lines]
>> Thanks,
>> Cindy
CindyH - 09 May 2008 13:55 GMT
Hi
I'm wondering how I go about reading this for sending a reponse back.
Currently, I'm using:
Stream = New System.IO.StreamReader(Page.Request.InputStream)
Reader = New System.Xml.XmlTextReader(Stream)
Do While Reader.Read()
This of course doesn't work with httputility.urlencode(doc.outerxml) as a
post
Thanks,
Cindy
> generally this means they want a form post with one form field containing
> the xml. in this case your post data is:
[quoted text clipped - 25 lines]
>> Thanks,
>> Cindy
Martin Honnen - 09 May 2008 15:32 GMT
> This of course doesn't work with httputility.urlencode(doc.outerxml) as a
> post
If the data is posted as application/x-www-form-urlencoded then you can
access it with
Request.Form("fieldname")
so
Using reader As XmlReader = XmlReader.Create(new
StringReader(Request.Form("fieldname")))
While reader.Read()
'...
End While
End Using

Signature
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Cindy H - 10 May 2008 11:59 GMT
Yea - this is what he was asking for - thanks for everyones help!!!!
>> This of course doesn't work with httputility.urlencode(doc.outerxml) as a
>> post
[quoted text clipped - 9 lines]
> End While
> End Using