Quantcast
Channel: BizTalk Server General Forum
Viewing all articles
Browse latest Browse all 872

Error During Consume WCF Service

$
0
0

Hi

I need to consume a WCF service hosted remotely from my orchestration.

I can view the wsdl from IE by giving the url http://IPaddress/wcfgenericservice/genericservice.svc?wsdl

But when I try to consume using the WCF Service wizard within Visual studio I get the following error:

"Failed to get metadata from http://IPaddress/wcfgenericservice/genericservice.svc?wsdl 

(Microsoft.BizTalk.Adapter.wcf.consuming.Metadataexchange.metadataexchangeexception) Unable to download metadata from "http://IPaddress/wcfgenericservice/genericservice.svc?wsdl" using WS-metadata exchange.

(System.InvalidOperationException) Metadata contains a reference that cannot be resolved:http://IPaddress/wcfgenericservice/genericservice.svc?wsdl (System.SERvicemodel.ProtocolException) Content TYpe application/soap+xml; charset=utf-8 was not supported by service

http://IPaddress/wcfgenericservice/genericservice.svc?wsdl The client and service bindings may be mismatched.

(System.net.webexception) The remote server returned an error: 415 cannot process the message because the content type' application/soap_xml; charset = utf-8 was not the expected type 'text/xml;charset = utf-8'

Any help is appreciated.

Thanks


Viewing all articles
Browse latest Browse all 872

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>