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