请问在调用MSSOAP出现“no soapaction header”错误是啥意思呢,多谢
RT
[解决办法]
no soapaction header
这个已经指出错误了,SOAP行为必须要设置一个MIME头
如果是xmlhttp就模拟一个
xmlHttp.setRequestHeader "SOAPAction ", " " "http://tempuri.org/GetMiscInfo " " "
POST出去的HTTP头就是这样的
POST /[WebServiceAddr] HTTP/1.1
Host: [服务器主机头]
Content-Type: text/xml; charset=utf-8
Content-Length: [xml包的长度]
SOAPAction: "http://tempuri.org/GetMiscInfo "
[解决办法]
http://www.quarksys.net/blojsom/blog/quarksys/?flavor=rdf
好像晚了点 不过很好用啊 呵呵