Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/314.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# WCF客户端调用JavaSOAPWeb服务_C#_Web Services_Wcf_Soap - Fatal编程技术网

C# WCF客户端调用JavaSOAPWeb服务

C# WCF客户端调用JavaSOAPWeb服务,c#,web-services,wcf,soap,C#,Web Services,Wcf,Soap,我正在使用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

我正在使用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>
调用非WCF web服务时,服务引用是一条死胡同吗?或者如何使其工作?

您可以在浏览器中调用WSDL吗?WSDL文件是如何描述、web服务为方法提供了什么参数和返回值以及您以何种方式访问服务的契约。-

{"Unable to connect to the remote server"}