- From the %Composerdir% directory, open Composer.Studio.exe.config with a text editor that supports UTF-8.
-
Search for the lines that begin as follows:
<endpoint name=
- Duplicate one of the existing endpoint elements.
- Set the name attribute to the name of the process.
-
In the
address attribute, set the port number to a port
that is not already used by another endpoint.
<endpoint name="CoCoProcess_SVC" address="http://localhost:4724/RemoteControlService" binding="wsDualHttpBinding" bindingConfiguration="Binding1" contract="ComposerSuite.Runtime.RemoteControlContract.IRuntimeControlService" />
- Save and close the file.
- From the %Composerdir% directory, open RemoteControl.config with a text editor that supports UTF-8.
-
Search for the lines that begin as follows:
<service name=
- Duplicate one of the existing service elements.
- Set the name attribute to the name of the endpoint you have just created in the Composer.Studio.exe.config in the steps above.
-
Set the
display attribute within the
service element to a meaningful name.
<service name="CoCoProcess_SVC" display="Composer Process Service" runtime="TRUE" endpoint="RemoteControlService"/>
The following example monitors a local computer with five services.
<remotecontrol> <computers> <computer name="." display="cocal computer"> <services> <service name="Composer.Core.SVC" display="Core" runtime="true" endpoint="RemoteControlServiceCore"/> <service name="Composer.MWS.SVC" display="MWS" runtime="true" endpoint="RemoteControlServiceMWS"/> <service name="Composer.XWS.SVC" display="XWS" runtime="true" endpoint="RemoteControlServiceXWS"/> <service name="Composer.OWS.SVC" display="OWS" runtime="true" endpoint="RemoteControlServiceOWS"/> <service name="CoCoProcess_SVC" display="Composer Process Service" runtime="true" endpoint="RemoteControlService"/> </services> </computer> </computers> </remotecontrol>
Attribute Description name
Display name of the service in Windows Services.
display
The text displayed in Windows Services.
runtime
Possible Values:
True: Runtime service
False: Windows service
You can also configure a runtime service with the setting FALSE if the process run in it do not need to be shown.
This is for example useful when a runtime hosts only web services and does not have to execute processes.
endpoint
The endpoint for WCF communication for a runtime service.
- Save and close the file.
- Open the new CONFIG file created in Copying the Required Files with a text editor that supports UTF-8.
-
Search for the lines that begin as follows:
<remotecontrol address="http:
-
Specify the port number of the endpoint address that you defined
in
Composer.Studio.exe.config.
<remotecontrol address="http://127.0.0.1:4724/RemoteControlService" />
-
Find the following line.
<service name="ComposerSuite.Runtime.RemoteControlService">
-
Set the port number to the same port number as in the previous
step.
<services> <service name="ComposerSuite.Runtime.RemoteControlService"> <endpoint address="http://127.0.0.1:4724/RemoteControlService" binding="wsDualHttpBinding" bindingConfiguration ="RemoteControlBinding" contract="ComposerSuite.Runtime.RemoteControlContract.IRuntimeControlService"/>
- Save and close the file.
To complete the configuration, complete the following
steps.