Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 26, 2012 01:41 AM by Peter pi - MSFT
Mar 22, 2012 09:18 PM|LINK
How can I capture an HTTP Post with a web service method? I also need to send back an XML response. I have added "HttpPost" and "HttpSoap" to the <protocols> section of my web config, but still
receive 500 server errors. I'm trying to send the XML post to an endpoint like this:
and have tried to capture the post a couple of different ways:
public XmlDocument GetMessage(XmlDocument myDoc)
public XmlDocument GetMessage(string myDoc)
...or is there a better way to do this with an .aspx page?
Thank you for any direction or help with this!
Mar 26, 2012 01:41 AM|LINK
If you want to capture the raw message, you could use SoapExtensions, please focus on the example in the following article.
and here is a similar post to which you can refer.