Quantcast
Channel: Configuration and Deployment
Viewing all articles
Browse latest Browse all 3561

Provide a webservice via https

$
0
0
<div>

Hello all

I'm new in this forum. I will describe you my problem so good is possible. If you don'tunderstand something, or must have more information, let me know.

I will develope a new webservice for our customers, which can call over https. For testing I created a simply Webservice with one function HelloWorld. The webside works with IIS and with the certificate from our System Engineer, with the InternetExplorer I can access to this webservice succsessful.

Also my colleague can call the method "GetHelloWorld" with a test webside in PHP successful. But if I will create a new ServiceReference(VisualStudio 2010) in a WindowsForms Application for client side, I  receive following error:

Fehler beim Downloaden von 'https://webservice-staging.wka.ch/WkaWebservice.asmx'.
Die Anfrage wurde abgebrochen: Es konnte kein geschützter SSL/TLS-Kanal erstellt werden..
Metadaten enthalten einen Verweis, der nicht aufgelöst werden kann: "https://webservice-staging.wka.ch/WkaWebservice.asmx".
Es konnte kein sicherer Kanal für SSL/TLS mit Autorität "webservice-staging.wka.ch" eingerichtet werden.
Die Anfrage wurde abgebrochen: Es konnte kein geschützter SSL/TLS-Kanal erstellt werden..
Wenn der Dienst in der aktuellen Projektmappe definiert ist, erstellen Sie die Projektmappe, und fügen Sie den Dienstverweis erneut hinzu.

Have anyone an idea where the problem can be.

Maybe a misteak with the certificate(But in PHP works with the same certificate)?

Or did I must configure something in the web.config on server side to allow https?

Or can it be, that we have a misteak on the IIS configuration?

Thank you for your answers or links to further informations to create a webservice correctly with https.

</div>

Viewing all articles
Browse latest Browse all 3561

Trending Articles



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