Home Forum Blog Market Events Resources
Showing results for 
Search instead for 
Do you mean 
Highlighted
Super Contributor
Posts: 609
Registered: ‎04-29-2014

Cannot add Endpoint WCF service if the URL is HTTPS

[ Edited ]

Hi,

 

Anyone got any ideas about this plz?

 

Had a previously working Endpoint WCF Service added using HTTP, but the server it runs on has recently been changed and is now running on HTTPS.

 

So i naturally went into the tester tool and edited the instance. I changed the Service Endpoint URL - required to Https, but when i do next and UPDATE, i get an erros saying "Service Endpoint does not exist"....

 

If i browse to the URL is comes up fine, so i know the server and service can be reached.

 

So why is the tester tool not allowing me to use HTTPS?

 

Thanks

 

Moderator
Moderator
Posts: 916
Registered: ‎05-08-2012

Re: Cannot add Endpoint WCF service if the URL is HTTPS

The Endpoints WCF service instance have two required Service Keys:

 

Service Endpoint URL - Required

Service Metadata URL - Required

 

Was the 'Service Metatadata URL - Required' also updated to HTTPS?

K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.
Super Contributor
Posts: 609
Registered: ‎04-29-2014

Re: Cannot add Endpoint WCF service if the URL is HTTPS

Hiya Tin,

 

Yeah i updated both fields to HTTPS. If you update the service, only the Metadata one is accepted.

If i change the top one to HTTPS, then it says invalid and won't update.

Moderator
Moderator
Posts: 916
Registered: ‎05-08-2012

Re: Cannot add Endpoint WCF service if the URL is HTTPS

I believe the protocol (HTTP/HTTPS), can be configured at two layers:

 

1.  The IIS binding

2.   The Web service contract

 

* Perhaps the IIS HTTPS binding exist but the Web service contract is still HTTP, or vise versa

** I believe the WSDL definition may indicated which endpoint is available (HTTP or HTTPS)

 

Perhaps this is also related:

https://stackoverflow.com/questions/3876955/wcf-service-returns-404-over-https-but-not-http

K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.