调用CSDN的RegService出故障的原因我找到了

julyclyde 2001-11-15 09:03:35
看WSDL里边有这样一段:
- <binding name="RegServiceSoap" type="s0:RegServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
- <operation name="Register">
<soap:operation soapAction="http://tempuri.org/Register" style="document" />
...全文
1665 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
verybigbug 2001-11-18
  • 打赏
  • 举报
回复
对。
soapAction是标志,Server用的,你只要设定他就行。
不设定可不行。
SOAPAction在不同的Server有不同的用法,由Server决定。
有的Server中SOAPAction都相同,也有可能不同。

verybigbug 2001-11-17
  • 打赏
  • 举报
回复
SOAPLoaction
julyclyde 2001-11-17
  • 打赏
  • 举报
回复
<soap:address location='http://localhost/DocSample1/DocSample1.wsdl' />
是这个吗?

那前边那几个soapAction是干什么的?
verybigbug 2001-11-16
  • 打赏
  • 举报
回复
这有什么问题吗?一点问题也没有呀?
soapAction里的东西是个标志,只要server知道是什么用处就可以。
在我的WSDL中连http没有都没关系。
soapAction="mytest.soapAction.funA"也没问题的。
.NET的问题很多,如果在IE的Proxy中设置了Proxy就连本地的IP都不认的。
(如果Proxy要用户认证的话)
julyclyde 2001-11-16
  • 打赏
  • 举报
回复
哦?那你告诉我SOAP CLIENT怎么知道该调用哪个地址?
verybigbug 2001-11-16
  • 打赏
  • 举报
回复
可以,一点问题都没有。你看SoapToolKit生成的WSDL的soapAction都是
这种没有实际意义的东西,只是一个标记而已。
julyclyde 2001-11-16
  • 打赏
  • 举报
回复
soapAction设置的地址不存在难道也可以调用吗?

12,165

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 Web Services
社区管理员
  • Web Services社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧