任何人都可以帮助我了解这项服务是如何运作的 [英] Can any one help me that how this service is working

查看:112
本文介绍了任何人都可以帮助我了解这项服务是如何运作的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

public partial class LookupUK : System.Web.Services.Protocols.SoapHttpClientProtocol



以上是使用的类,下面是通过pincode查找地址的服务/>


above is the class used and below is the service of finding a address via pincode

[System.Web.Services.Protocols.SoapDocumentMethodAttribute("PostcodeAnywhere2/ByPostcode", RequestNamespace="PostcodeAnywhere2", ResponseNamespace="PostcodeAnywhere2", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
    public InterimResults ByPostcode(string Postcode, string AccountCode, string LicenseKey, string MachineId) {
        object[] results = this.Invoke("ByPostcode", new object[] {
                        Postcode,
                        AccountCode,
                        LicenseKey,
                        MachineId});
        return ((InterimResults)(results[0]));
    }

推荐答案

你好阿莫尔,



也许是您共享的代码正在尝试调用在 PostcodeAnywhere [ ^ ]。请访问该网站并尝试从其网站获取API文档。链接共享还显示了API的演示。您可以在此处找到DotNet示例[ ^ ]。



问候,
Hello Amol,

Perhaps the code you shared is trying to call a web service hosted at PostcodeAnywhere[^]. Please visit the site and try to get the API documentation from their site. The link shared also shows a demo of the API. You can find the DotNet samples here[^].

Regards,


这篇关于任何人都可以帮助我了解这项服务是如何运作的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆