To enable HTTP, complete the following
steps on the Content Composer server:
Note: For security
reasons, we recommend the use of HTTPS.
- From the Content Composer installation directory, open Composer.MWS.exe.config with a text editor that supports UTF-8.
-
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> -->
-
Find the following line.
<service name="ModusSuite.MWS.MWSProcessServiceBasic" behaviorConfiguration ="BasicBehaviour" >
-
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> -->
-
Find the following line.
<service name="ModusSuite.MWS.MWSProcessServiceRest" behaviorConfiguration ="RestBehaviour">
-
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>
- Save and close the file.
-
To reserve the URL endpoint for non-administrator users and accounts, complete the following substeps:
- Identify the Windows user account that is configured to execute the Windows service Composer.MWS.
- Open a Command Prompt window with Administrator rights.
-
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
- Restart all Content Composer services.