如何设置SOAPAction的值.(急!!!!)

hb_wxy 2005-08-12 06:33:05
如何设置SOAPAction的值, 因client端的程序只能传空值过来,我如何在server端设置啊.
谢谢!
...全文
1410 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
lovewindy 2005-10-10
  • 打赏
  • 举报
回复
不清楚,帮顶
xivi 2005-10-08
  • 打赏
  • 举报
回复
有代理类吧?在代理类里面指定你的webservice的方法。
hb_wxy 2005-08-14
  • 打赏
  • 举报
回复
这样设置不知道能不能解决问题:
[WebMethod]
[SoapRpcMethod(Action="")]
Tomgus 2005-08-13
  • 打赏
  • 举报
回复
wse2.0
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wseref/html/P_Microsoft_Web_Services2_Messaging_SoapMethodAttribute_SoapAction.asp
Tomgus 2005-08-13
  • 打赏
  • 举报
回复
your problem is probably caused by switching channels:

ChannelServices.UnregisterChannel(chan);
chan = new HttpChannel(int.Parse(Port));
ChannelServices.RegisterChannel(chan);

12,162

社区成员

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

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