Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

Unable to add WCF as service reference

$
0
0

WCF Service svc?wsdl

I cannot add this WCF as Service Reference to my project.

enter image description here

Here's the details of error occured.

The document was understood, but it could not be processed.
- The WSDL document contains links that could not be resolved.
- There was an error downloading 'http://localhost/xxxxxx/Service1.svc?xsd=xsd0'.
- The request was aborted: The operation has timed out.
Metadata contains a reference that cannot be resolved: 'http://localhost/xxxxxx/Service1.svc?wsdl'.
Content Type application/soap+xml; charset=utf-8 was not supported by service http://localhost/xxxxxx/Service1.svc?wsdl. 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.


Viewing all articles
Browse latest Browse all 555

Trending Articles



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