How to post SOAP Request from .NET?

前端 未结 7 2011
暖寄归人
暖寄归人 2020-12-08 02:28

I have the SOAP request in an XML file. I want to post the request to the web service in .net How to implement?

7条回答
  •  爱一瞬间的悲伤
    2020-12-08 03:12

    You need to post the data over HTTP. Use the WebRequest class to post the data. You will need to send other data with the post request to ensure you have a valid SOAP envelope. Read the SOAP spec for all of the details.

提交回复
热议问题