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
"bruce barker" <no****@nospam.comwrote in message
news:e4**************@TK2MSFTNGP04.phx.gbl...
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)
CindyH wrote:
>Hi
I'm working on a http xml post (request/response).
In my testing - I have been able to create and post xml string/stream and
send response
back.
But now I've been told that I should "code the whole xml payload string
as a
single key"
I'm not sure what this means and haven't been able to find anything about
it.
Can anyone help me with this?
Thanks,
Cindy