To modify Composer.MWS.exe.config:
- From the %Composerdir% directory, open Composer.MWS.exe.config with a text editor that supports UTF-8.
-
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>
-
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>
-
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>
-
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>
-
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>
- Save and close the file.