WebSphere Enterprise Service Bus, Version 6.2.0 Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows


modifyWSRRDefinition command

Use the modifyWSRRDefinition command to modify the details of a WSRR definition, given its name.

The modifyWSRRDefinition command is a multi-step command, where the steps define the type of connection definition and the specific properties. You can specify only one step, because a WSRR definition can only have one connection definition. You specify the object to be modified, either as a target object or by a name parameter. If there is a conflict between the target object and the name parameter, or a definition cannot be found, an exception is thrown.

Before you begin

The modifyWSRRDefinition command is run using the AdminTask object of the wsadmin scripting client.
  • Locate the command that starts the wsadmin scripting client: this is found in the install_root\bin directory.
  • Run the wsadmin command.
    • If the server is not running, use the -conntype none option.
    • If you are not connecting to the default profile, use the -profileName profile_name option.
Use the following command to list all the WSRR administrative commands.
wsadmin> $AdminTask help SIBXWSRRAdminCommands
Use the following command to get detailed help on a particular command.
wsadmin> $AdminTask help command_name

Syntax

$AdminTask modifyWSRRDefinition {-paramName paramValue ...}

Purpose

The modifyWSRRDefinition command changes the details of a WSRR definition.

Command name
modifyWSRRDefinition.
Target
javax.management.ObjectName RegistryDefinition – the WSRR definition to be modified.
Result
javax.management.ObjectName RegistryDefinition – the WSRR definition modified.

Parameters

-name definitionName
The name of the WSRR definition, as a string.
-newName newdefName
The new name of the WSRR definition, as a string, if required.
-description defDescription
Brief description of the definition.
-defaultCacheExpiryTimeout timeout
Timeout of the cache, in seconds. A value of "0" indicates that query results are never cached.

Steps

Only one step can be specified or an exception will be thrown. Select the step that matches the definition's connection.
To modify the properties for a web service connection associated with the WSRR definition, you can specify values for the registry URL and the authentication alias as follows:
-WSConnection {{ registryURL authAlias repertoire }}
If you do not want to specify one of these values, use ".
The default connection has a default registry URL, and no authentication alias or repertoire (SSL configuration).

Examples

wsadmin>$AdminTask modifyWSRRDefinition {-name MydefName -newName newdefName 
    -description my new description -defaultCacheExpiryTimeout 300 
    -WSConnection {{ http://localhost:9084 NEW_AUTH_ALIAS NEW_SSL_CONFIG }}}

reference Reference topic

Terms of use | Feedback


Timestamp icon Last updated: 21 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wesb620.doc/ref/rwesb_modifyWSRRdefinition.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).