Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all!
I hope you can help me, I'm pretty much in the dark here.

I've created a WCF service for my WP8 app. It works just fine without the cert on the website, hosting the service. But when I try accessing the service using https (I've imported the cert, and created the binding in the IIS) I get this error:

Error: Cannot obtain Metadata from https://mattercontrol.testserver.com:8079/Service1.svc If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled metadata publishing at the specified address. For help enabling metadata publishing, please refer to the MSDN documentation at http://go.microsoft.com/fwlink/?LinkId=65455.WS-Metadata Exchange Error URI: https://mattercontrol.testserver.com:8079/Service1.svc Metadata contains a reference that cannot be resolved: 'https://mattercontrol.testserver.com:8079/Service1.svc'. There was no endpoint listening at https://mattercontrol.testserver.com:8079/Service1.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. The remote server returned an error: (403) Forbidden.HTTP GET Error URI: https://mattercontrol.testserver.com:8079/Service1.svc There was an error downloading 'https://mattercontrol.testserver.com:8079/Service1.svc'. The request failed with HTTP status 403: Forbidden.

I've tried looking at a lot of resources, explaining TLS for WCF services, but the web config sections described in these don't exist in the web.config in my project :(

I'm totally new to exposing Services to the internet, so please bear with me :)

Regards,
Morten
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900