Hi Folks,
I have searched but can't find a (simple) answer...
My (Java) client can connect and web services work fine using HTTP or HTTPS.
However, we would like to make our production servers HTTPS-only.
When in IIS configuration I tick the "require SSL" tick-box I then get the following error on web service calls:
Could not find a base address that matches scheme http for the endpoint with binding BasicHttpBinding. Registered base address schemes are [https].
I searched and tried some tweaks to Web.Config, like adding the following in each binding
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
</security>
However then I get another error:
The HttpGetEnabled property of ServiceMetadataBehavior is set to true and the HttpGetUrl property is a relative address, but there is no http base address. Either supply an http base address or set HttpGetUrl to an absolute address.
Has anyone got an example of Web.Config that works OK when HTTPS/SSL is required (not just optional)?
Note that I am not a .NET developer so I'm trying these Web.Config options by trial-and-error and wasting my time.
Thanks in advance for any assistance.
Rex.
Alberta Sustainable Resources.
P.S The forum posting text editor on this forum is really annoying. Cursor keeps jumping to the top of this input text area.