I need some help for a problem that should be simple to solve but the current level of information on webMethods documentation is preventing me to move forward.
The issue is as follows:
I need to have an Optimize WSAction calling an Integration Server service to restart a JDBC connection when the connection goes off line.
I’m using the default rule “ART Connection Failure Status” to trigger the configured action.
Everything is working fine (configuration is ok and the service is invoked in the destination IS) but I do not have the necessary information to restart the connection.
I realy just need to have the connection alias but there is no information on the manual on how to achieve this.
I’ve been doing trial-and-error, using parameter names that “could” have this information, but so far no luck.
My configuration for the WSAction is passing the fllowing elemnt list:
RuleName
RuleDefinition
RuleEvaluation
RuleSla
RuleCustomer
RuleSeverity
RuleStatus
Attributes
Time
From the list, the only ones that retutn values are:
-RuleName
-RuleDefinition
-RuleEvaluation
-RuleSla
-RuleStatus
-Time
None of this has information that can be usefull for my case.
I’m using Optimize For Infrastructure 7.1.2 whit fix 4.
You have to add whatever parameters you want to the wsaction settings at Define Environments–>Configure Servers–>WSAction Settings in my webMethods server.
example:
<?xml version="1.0" encoding="UTF-8"?>
RESTART ART Connections
http://myhost:5555/ws/folder.Provider:myWSActionRestartAdapterConnection?WSDL
wsActionRestartARTConnection
RuleName
RuleStatus
RuleDefinition
RuleEvaluation
RuleSla
RuleCustomer
RuleSeverity
Attributes
Time
Object Status
Contains Resource Message
Message Severity
Error Message
Busy Connections
ART Connection
Completion Count
Free Connections
Total Connections
Adapter Type
Display Name
Failure Count
Connection Type
Product Patch Level
Last Status Change
you will get all the information about attributes below given at
Analytics-->KPIs-->systemdata-->artConnection in my webMethods Server UI.
Attributes need to include in ws action settings:
Object Status, Contains Resource Message,Message SeverityError ,Busy Connections,ART Connection,Completion Count,Free Connections,Total Connections,Adapter Type,Display Name,Failure Count etc…
Hi,
Invoking the WS action from the default rule: IS HTTP Port Failure Status
I have the same signature in the webService and in the WS Action Settings, webService is getting invoked but with null values and getting the below error in AE logs,