Deployer 10.7 | Using Project Automator | Setting Up Aliases for Source and Target Servers | Setting Up Aliases for Source and Target My webMethods Servers
 
Setting Up Aliases for Source and Target My webMethods Servers
The following example illustrates how to set up aliases for source and target My webMethods Servers.
<MWS>

<mwsalias name="alias name">
<host>My webMethods Server host</host>
<port>My webMethods Server port</port>
<user>user name</user>
<pwd>password</pwd>
OR <pwdHandle>handle</pwdHandle>
<excludeCoreTaskEngineDependencies>true/false
</excludeCoreTaskEngineDependencies>
<cacheTimeOut>time</cacheTimeOut>
<includeSecurityDependencies>true/false</includeSecurityDependencies>
<rootFolderAliases>folder,folder,folder...</rootFolderAliases>
<maximumFolderObjectCount>count</maximumFolderObjectCount>
<enableAddtionalLogging>true/false</enableAddtionalLogging>
<maxFolderDepth>number_of_assets</maxFolderDepth>
<useSSL>true/false</useSSL>
<version>version_number</version>
<Test>true/false</Test>
</mwsalias>
</MWS>
For information on the values to supply for the following tags, see Connecting to My webMethods Server.
Attribute
Description
mwsalias name
Name to assign to the server. This attribute corresponds to the Name field.
host
Host name or IP address of the server. This attribute corresponds to the Host field.
port
Port for the server. This attribute corresponds to the Port field.
user
Optional. User name for a user account with Administrator authority that Deployer can use to access the server. This attribute corresponds to the User field.
pwd
Password associated with the user name. This attribute corresponds to the Password field. You must specify either pwd or pwdHandle.
Note:
Project Automator encrypts passwords the first time it runs. If you must change the passwords in the future, change the passwords in the XML file and run Project Automator to encrypt the passwords again.
pwdHandle
The password handle. You must specify either pwd or pwdHandle. For more information about creating a password handle, see Using Handles Instead of Passwords.
excludeCore TaskEngine Dependencies
Specifies whether to exclude Task Engine portlets from the dependencies list for task application assets. Set to:
*true to exclude the portlets.
*false to include the portlets.
This attribute corresponds to the Exclude Core Task Engine Dependencies field.
cacheTimeOut
Length of time queries should remain in the cache unless the cache capacity is exceeded. This attribute corresponds to the Cache Timeout field.
include Security Dependencies
Specifies whether to include the following in the dependencies list for My webMethods Server assets when creating an MWS deployment set:
*Security realms that contain the assets.
*User/group/role references in the assets' security ACLs.
Set to:
*true to include the assets.
*false to exclude the assets.
This attribute corresponds to the Include security dependencies field.
rootFolder Aliases
My webMethods Server aliases to use as root folders when selecting pages to deploy. Separate the folders using commas. This attribute corresponds to the Root folder aliases field.
maximumFolder ObjectCount
Maximum number of assets to display within My webMethods Server folders when you are defining and choosing assets to include in an MWS deployment set. This attribute corresponds to the Maximum Folder Object Count field.
enable Addtional Logging
Specifies whether to log debug information about selected assets to source My webMethods Server logs, and assets that Deployer deploys to target My webMethods Server logs. Set to:
*true to use SSL to connect to the server.
*false to connect to the without any client authentication.
This attribute corresponds to the Enable additional MWS logging field.
maxFolderDepth
Maximum number of assets to display within My webMethods Server folders when you are defining and choosing assets to include in an MWS deployment set. This attribute corresponds to the Maximum Folder Depth field.
useSSL
Specifies whether Deployer should use SSL to connect to the server. Set to:
*true to use SSL to connect to the server.
*false to connect to the without any client authentication.
This attribute corresponds to the Use SSL field.
version
Version of the server. This attribute corresponds to the Version field.
Test
Specifies whether Deployer should test the connection to the servers. Set to:
*true to test the connection to the target server. If Project Automator cannot ping the target server, it registers an error and handles the error according to the exitOnError attribute of the <DeployerSpec> tag. For more information, see Root Tag.
*false to create the source alias without testing the connection to the target server.