Web Service: Server did not recognize the value of HTTP Header SOAPAction 一点理论依据

本文探讨了SOAPAction HTTP头部在ASP.NET及Apache SOAP Web服务中的作用差异。对于ASP.NET Web服务而言,该头部包含有关被调用Web服务的信息,包括命名空间和方法名;而Apache Web服务则不需要这些信息。此外,文章还指出了不同实现方式可能导致的互操作性问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

SOAPAction HTTP header

Problem

The SOAPAction HTTP header is a special HTTP header found in SOAP request messages that contains information about the Web service being called. ASP.NET Web services require this header, and it must contain the namespace and (if applicable) the name of the method being called. If you are using a .NET Framework-based client, this header is automatically generated for you and you do not need to worry about it.

Apache SOAP Web services, however, do not require any information from the SOAPAction header. An Apache Web service will be perfectly happy receiving a message with an empty SOAPAction header (although the header itself must still be included in every SOAP message). In the example earlier in this white paper, we did not provide any SOAPAction in the Apache SOAP client we created; consequently, that client would not work with a .NET Framework-based Web service, even if the location and namespace of the service were the same.

From: http://msdn2.microsoft.com/en-us/library/Aa478995.aspx

只是在找到症结所在之后,才去找到的一点理论依据
具体错误请见前一篇

转载于:https://www.cnblogs.com/forward/archive/2007/09/13/891913.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值