Enabling HTTP for MWS SOAP API Communication Channel - Installation - Foundation 23.2 - Foundation 23.2 - Ready - Content Composer - external

Content Composer Installation

Platform
Content Composer
Product
Installation
Release
Foundation 23.2
License
To enable HTTP, complete the following steps on the Content Composer server:
Note: For security reasons, we recommend the use of HTTPS.
  1. From the Content Composer installation directory, open Composer.MWS.exe.config with a text editor that supports UTF-8.
  2. Find the following lines and comment them out.
    <service name="ModusSuite.MWS.MWSProcessServiceBasic" behaviorConfiguration ="BasicBehaviour_SSL">
    ...
    </service>

    Example

    <!-- 
    <service name="ModusSuite.MWS.MWSProcessServiceBasic" behaviorConfiguration ="BasicBehaviour_SSL">
    ...
    </service>
    -->
  3. Find the following line.
    <service name="ModusSuite.MWS.MWSProcessServiceBasic" behaviorConfiguration ="BasicBehaviour" >
  4. Uncomment the Insecure HTTP Protocol part and comment out the Secure HTTPS Protocol part as shown in the following example.

    Example

    <!-- Insecure HTTP Protocol -->
    <service name="ModusSuite.MWS.MWSProcessServiceBasic" behaviorConfiguration="BasicBehaviour">
    <host>
      <baseAddresses>
        <add baseAddress="http://localhost:8011/mwsbasic" />
      </baseAddresses>
    </host>
    <endpoint address="mwsprocess"
              binding="basicHttpBinding"
              bindingConfiguration="BasicBinding"
              contract="ModusSuite.MWS.Types.IMWSProcessServiceBasic" />
    </service> 
    <!-- Secure HTTPS Protocol
    <service name="ModusSuite.MWS.MWSProcessServiceBasic" behaviorConfiguration ="BasicBehaviour_SSL" >
    <host>
      <baseAddresses>
        <add baseAddress="https://localhost:8111/mwsbasic" />
      </baseAddresses>
    </host>
    <endpoint address="mwsprocess"
              binding="basicHttpBinding"
              bindingConfiguration="BasicBinding_SSL"
              contract="ModusSuite.MWS.Types.IMWSProcessServiceBasic" />
    </service> -->
  5. Find the following line.
    <service name="ModusSuite.MWS.MWSProcessServiceRest" behaviorConfiguration ="RestBehaviour">
  6. Uncomment the Insecure HTTP Protocol part and comment out the Secure HTTPS Protocol part as shown in the following example.

    Example

    <!-- Insecure HTTP Protocol -->
    <service name="ModusSuite.MWS.MWSProcessServiceRest" behaviorConfiguration ="RestBehaviour" >
    <host>
      <baseAddresses>
        <add baseAddress ="http://localhost:8011/mwsrest" />
      </baseAddresses>
    </host>
    <endpoint address="mwsprocess"
              binding="webHttpBinding"
              contract="ModusSuite.MWS.Types.IMWSProcessServiceBasic"
              bindingConfiguration=""
              behaviorConfiguration="WebBehavior"/>
    </service>
    <!-- Secure HTTPS Protocol
    <service name="ModusSuite.MWS.MWSProcessServiceRest" behaviorConfiguration ="RestBehaviour" >
    <host>
      <baseAddresses>
        <add baseAddress ="https://localhost:8111/mwsrest" />
      </baseAddresses>
    </host>
    <endpoint address="mwsprocess"
              binding="webHttpBinding"
              contract="ModusSuite.MWS.Types.IMWSProcessServiceBasic"
              bindingConfiguration="REST_SSL"
              behaviorConfiguration="WebBehavior"/>
    </service>
  7. Save and close the file.
  8. To reserve the URL endpoint for non-administrator users and accounts, complete the following substeps:
    1. Identify the Windows user account that is configured to execute the Windows service Composer.MWS.
    2. Open a Command Prompt window with Administrator rights.
    3. To reserve the MWS URL, run the following command. Replace Windows-user-account before with the user account used to run the Windows Composer.MWS service.
      netsh http add urlacl url=http://+:8011/ user=Windows-user-account
  9. Restart all Content Composer services.