Modifying Composer.MWS.exe.config to use one IP Port - Advanced Design and Setup - Foundation 23.2 - Foundation 23.2 - Ready - Content Composer - external

Content Composer Advanced Design and Setup

Platform
Content Composer
Product
Advanced Design and Setup
Release
Foundation 23.2
License
To modify Composer.MWS.exe.config:
  1. From the %Composerdir% directory, open Composer.MWS.exe.config with a text editor that supports UTF-8.
  2. Within the <appSettings> element, change all IP ports to the same number, in the following example 8100.
    <appSettings>    
        ...
        <add key="rws" value="http://localhost:8100/rws" />
        <add key="ows" value="http://localhost:8100/ows/owsrepository" />
        <add key="sts" value="http://localhost:8100/sts" />
        <add key="login" value="http://localhost:8100/mur/login" />
        <add key="mur" value="http://localhost:8100/mur/data" />
        <add key="license" value="http://localhost:8100/mur/license" />
        ...  
    </appSettings>
  3. Below the line <service name="MWSRepositoryService" behaviorConfiguration="ModusSuiteServiceBehaviour">:
    • Change localhost to the DNS name of the load balancer server.
    • Change the IP port to 8100.
    • Add mwsrepository.
    • Change <endpoint address="mwsrepository" to <endpoint address=""
    <service name="MWSRepositoryService" behaviorConfiguration="ModusSuiteServiceBehaviour">
       <host>
          <baseAddresses>
       	     <add baseAddress=http://[DNS name of the load balancer server]:8100/mws/mwsrepository />
    	     </baseAddresses>
       </host>
       <endpoint address="" binding="wsHttpBinding" bindingConfiguration="TokenBinding" contract="IMWSRepositoryService" />
    </service>
  4. In the <add baseAddress element below the line service name="ModusSuite.MWS.MWSProcessService" behaviorConfiguration="ModusSuiteServiceBehaviour">:
    • Change localhost to the DNS name of the load balancer server.
    • Change the IP port to 8100.
    <service name="ModusSuite.MWS.MWSProcessService" behaviorConfiguration="ModusSuiteServiceBehaviour">
       <host>
          <baseAddresses>
             <add baseAddress="http://[DNS name of the load balancer server]:8100/mws" />
          </baseAddresses>
       </host>
    
  5. In the <add baseAddress element below the line <service name="ModusSuite.MWS.MWSProcessServiceBasic" behaviorConfiguration="BasicBehaviour_SSL">:
    • Change https to http.
    • Change localhost to the DNS name of the load balancer server.
    • Change the IP port to 8100.
    <service name="ModusSuite.MWS.MWSProcessServiceBasic" behaviorConfiguration="BasicBehaviour_SSL">
       <host>
          <baseAddresses>
    	        <add baseAddress="http://[DNS name of the load balancer server]:8100/mwsbasic" />
          </baseAddresses>
       </host>
       <endpoint address="mwsprocess" binding="basicHttpBinding" bindingConfiguration="BasicBinding_SSL" contract="ModusSuite.MWS.Types.IMWSProcessServiceBasic" />
    </service>
  6. In the <add baseAddress element below the line <service name="ModusSuite.MWS.MWSProcessServiceRest" behaviorConfiguration="RestBehaviour">:
    • Change localhost to the DNS name of the load balancer server.
    • Change the IP port to 8100.
    <service name="ModusSuite.MWS.MWSProcessServiceRest" behaviorConfiguration="RestBehaviour">
       <host>
          <baseAddresses>
    	     <add baseAddress="http://[DNS name of the load balancer server]:8100/mwsrest" />
          </baseAddresses>
       </host>
  7. Save and close the file.