Avatar of ChrisMDrew
ChrisMDrew

asked on 

WebClient sending an XDocument

I have an application which is sent an XML Document from a web page.  The idea is to act on this XML file, update it as necessary and then send the file back.  Now the initial send is done from a web page using Response.Write and is read by a C# WebClient object.  All good so far.

However I'm not sure how best to send the resultant XML file back to the web service.  I am working in a Windows Mobile 7 application and would prefer to use the WebClient object.  

I have constructed the XML file (including some embedded images as CData sections) and effectively just want to call a URL passing the XML in some form.  Obviously not as a query string but how?
.NET Programming

Avatar of undefined
Last Comment
Bob Learned

8/22/2022 - Mon