ConfigurationPublish Web Service for HTTPS

Publish Web Service for HTTPS

Configure Publish Web Service for HTTPS

If the webshop works through HTTPS you should change some settings in 'PublishWebService' configuration:

  • In the backoffice 'web.config' file locate the <binding> configuration section for 'PublishWebService':
<binding name="PublishWebServiceSoap" closeTimeout="00:01:00"
  openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
  allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
  maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
  messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
   <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
   <security mode="None">
     <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
     <message clientCredentialType="UserName" algorithmSuite="Default" />
   </security>
</binding>
  • Change
    <security mode="None">
    
    to
    <security mode="Transport">
    
  • Change
    <message clientCredentialType="UserName" algorithmSuite="Default" />
    
    to
    <message clientCredentialType="Certificate" algorithmSuite="Default"/>
    

After the changes in the <binding> configuration section for 'PublishWebService' are made the webshop will work through HTTPS.

ConfigurationPublish Web Service for HTTPS