繁体   English   中英

通过WCF客户端调用Java SOAP Web服务

[英]Calling a Java SOAP Web Service by WCF Client

我正在使用WCF客户端(和服务引用方法)调用Java SOAP Web服务-在尝试创建服务客户端实例时遇到以下异常:

Could not find default endpoint element that references contract 'name of the service' 
in the ServiceModel client configuration section. This might be because no configuration 
file was found for your application, or because no endpoint element matching this contract 
could be found in the client element.

Web配置中生成的很少:

 <system.serviceModel>
        <bindings>
            <basicHttpBinding>
                <binding name="***SOAP" />
            </basicHttpBinding>
        </bindings>
    </system.serviceModel>

我还尝试了Service Reference => Adnanced => Web Reference,但失败了:

{"Unable to connect to the remote server"}

调用非WCF Web服务时,服务参考是cul-de-sac路由吗?否则,如何使它工作?

您可以在浏览器中调用WSDL( http:// ....?wsdl )吗? WSDL文件是合同的描述方式,Web服务提供的内容(带有参数和返回值的方法)以及以哪种方式访问​​服务。 -http://www.w3.org/TR/wsdl

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM