Asp.net 我可以向SOAP消息添加自定义http头吗

Asp.net 我可以向SOAP消息添加自定义http头吗,asp.net,soap,Asp.net,Soap,我可以向以下标题添加自定义标题吗 POST /InStock HTTP/1.1 Host: www.example.org Content-Type: application/soap+xml; charset=utf-8 Content-Length: nnn <?xml version="1.0"?> ..... POST/InStock HTTP/1.1 主持人:www.example.org 内容类型:应用程序/soap+xml;字符集=utf-8 内容长度:nnn .

我可以向以下标题添加自定义标题吗

POST /InStock HTTP/1.1
Host: www.example.org
Content-Type: application/soap+xml; charset=utf-8
Content-Length: nnn

<?xml version="1.0"?>
 .....
POST/InStock HTTP/1.1
主持人:www.example.org
内容类型:应用程序/soap+xml;字符集=utf-8
内容长度:nnn
.....

请提供帮助?

编写一个HttpModule截取WebService响应,并在截取的响应流中添加您的自定义头。

是的,请参阅此错误报告,答案为2010-07-23 05:59 UTC


您是如何构建SOAP消息的?你能告诉我们密码吗?