Receive XML via POST with ASP.NET

Posted by Mark Hurd on Stack Overflow See other posts from Stack Overflow or by Mark Hurd
Published on 2010-05-12T04:58:59Z Indexed on 2010/05/12 5:04 UTC
Read the original article Hit count: 578

Filed under:
|
|
|
|

I have to set up an XML "web service" that receives a POST where the 'Content-type header will specify “text/xml”.'

What is the simplest way to get the XML into an XDocument for access by VB.NET's axis queries?

I don't believe the web service is guaranteed to follow any protocol (e.g. SOAP, etc); just specific tags and sub-tags for various requests, and it will use Basic Authentication, so I will have to process the headers.

(If it matters:
* the live version will use HTTPS, and
* the response will also be XML.)

© Stack Overflow or respective owner

Related posts about .NET

Related posts about .net-3.5