首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web Service >

C#的WebServices服务怎样传送字符串参数解决方案

2012-01-06 
C#的WebServices服务怎样传送字符串参数C#的WebServices服务怎样传送字符串参数使用string用其它工具delph

C#的WebServices服务怎样传送字符串参数
C#的WebServices服务怎样传送字符串参数

使用string   用其它工具delphi   调用时传入的是null,是怎么一回事?

[解决办法]
dephi调用webservice参考下面的例子
ref:http://www.netbei.com/Article/aspx/aspx12/200505/3769.html
[解决办法]
在WebService的类属性中加入SoapRpcServiceAttribute属性就可以了。比如
[SoapRpcService(RoutingStyle=SoapServiceRoutingStyle.SoapAction)]

热点排行