Webservice and https WSDL client
|July 18, 2014||Posted by forumadmin under TechQns||
I have a web service that uses https (SSL). It’s functioning and has been. But I have a client on a different machine that needs to consume it. They have the certs installed on their machine. They can access the site and get the svcutil page and all.
MEX is on the server side config as well.
They have the wsdl but in .net VS2010 they need to add the service reference for their client app. When they attempt to use the file like c:\temp\test.wsdl that they for from the svcutil. It returns back a message that contains something to the affect of:
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 ‘https://my.testsite.com/testwebservice/testwebservice?xsd=xsd0‘.
– The request failed with HTTP status 403: Forbidden.
If the service is defined in the current solution, try building the solution and adding the service reference again.
I was getting that in the browser as well but when I installed the cert as a .pfx that went away and am able to get the svcutil page now on the web service.
However, I’m getting this when I try to add the Service Reference when I use the file on the address.
I get a very similar thing if I try to use the URL on the Service Reference page.
It seems like even though I have the certificate under the CurrentUser->Personal Store and am running VS under the same user, it’s not using it. I tried to change to LocalMachine->Personal store and the same results.
Any ideas on how to get this going?
|Asked By – user2887486||Read Answers|