I have added https://www.retirementlogin.com/spectrum/RAConnectBasicWcf.svc service URL into our project but it gives following error,
he HTML document does not contain Web service discovery information.
Metadata contains a reference that cannot be resolved: 'https://www.retirementlogin.com/spectrum/RAConnectBasicWcf.svc'.
Content Type application/soap+xml; charset=utf-8 was not supported by service https://www.retirementlogin.com/spectrum/RAConnectBasicWcf.svc. The client and service bindings may be mismatched.
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'..
If the service is defined in the current solution, try building the solution and adding the service reference again.
xml version="1.0"?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="basicHttp" allowCookies="true" messageEncoding="Text" textEncoding="utf-8"
maxReceivedMessageSize="20000000"
maxBufferSize="20000000"
maxBufferPoolSize="20000000">
<readerQuotas maxDepth="32"
maxArrayLength="200000000"
maxStringContentLength="200000000"/>
binding>
basicHttpBinding>
bindings>
<services>
<service name="ReliusConnectClient.RAConnectBasicWcf" behaviorConfiguration="ReturnFaults">
<endpoint address="https://www.retirementlogin.com/spectrum/RAConnectBasicWcf.svc" binding="basicHttpBinding" contract="ReliusConnectClient.IRAConnectBasicWcf">
endpoint>
<endpoint contract="IMetadataExchange" binding="mexHttpBinding" address="mex" />
service>
services>
<behaviors>
<serviceBehaviors>
<behavior name="ReturnFaults">
<serviceMetadata httpsGetEnabled="true" httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true" />
behavior>
serviceBehaviors>
behaviors>
system.serviceModel>
configuration>
n panchalPosted Jun 17, 2015, 2:40 AM
bindingConfiguration="BasicHttpBinding_IService1" contract="Service1.IService1"
name="BasicHttpBinding_IService1" />