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

Delphi7调用.net的webservice 传进去的参数为空解决办法

2012-03-09 
Delphi7调用.net的webservice 传进去的参数为空/// summary /// 快速通道 webservice接口 /// /summary

Delphi7调用.net的webservice 传进去的参数为空
/// <summary> /// 快速通道 webservice接口 /// </summary>  
[WebService(Namespace = "http://tempuri.org/")]  
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]  
[System.ComponentModel.ToolboxItem(false)]  
public class FastChannelServices : System.Web.Services.WebService  
{ [WebMethod]  
[SoapDocumentMethod(Action = "",RequestNamespace ="http://soapServer.FastChannel.fsti.com")]

public string FastChannelInterface(string requestData)  

上面是.net部分

http://125.77.107.174:8090/FastChannelServices.asmx?wsdl
这个是访问的地址
请大家帮忙

[解决办法]
把wsdl文件导入delphi就可以了
但delphi7对跨语言的webservice支持的不是很好
[解决办法]
建议使用 RemObject 这一套控件,网上有非常详细的介绍,支持 .net 及 delphi ,非常非常强大。 delphi 本身对 WebService 的支持是最基本及最简单的,如果想做商业化应用,学习 RemObject 是最快的途径。

热点排行