IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  WSAction parameters

    Posted Wed December 02, 2009 12:13 PM

    Hi,

    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.

    Thanks for your help,
    Gonçalo Santos


    #webMethods-BPMS
    #BPM
    #webMethods


  • 2.  RE: WSAction parameters

    Posted Thu December 03, 2009 05:49 PM

    Hi ,

    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…

    Thanks,
    -Vikram S Pachica


    #BPM
    #webMethods
    #webMethods-BPMS


  • 3.  RE: WSAction parameters

    Posted Tue May 04, 2010 09:41 AM

    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,

    (OPTIMIZE) [Analytic Engine v7.1.2.0.WebServiceAction.wsActionInvokeAction] 2010-05-04 15:53:54.585 GMT+08:00 ERROR: Error sending context com.dante.analysis.action.template.context.ActionContextImpl@3b873b87
    (OPTIMIZE) [Analytic Engine v7.1.2.0.WebServiceAction.wsActionInvokeAction] 2010-05-04 15:53:54.585 GMT+08:00 ERROR: java.rmi.UnmarshalException: java.io.IOException: no argument constructor is missing. java.lang.NullPointerException

        <list>
    

    RuleName
    RuleDefinition
    RuleEvaluation
    RuleSla
    RuleCustomer
    RuleSeverity
    RuleStatus
    Attributes
    Time

    Any thoughts about the issue.

    Thanks,
    Sathish.


    #BPM
    #webMethods-BPMS
    #webMethods


  • 4.  RE: WSAction parameters

    Posted Fri November 16, 2012 11:45 AM

    Hello Sathish,

    I’m also getting the same ‘Unmarshal Exception’ while calling the webservice actions.

    Did you find the solution for this issue?

    Thanks
    Ram


    #webMethods-BPMS
    #webMethods
    #BPM


  • 5.  RE: WSAction parameters

    Posted Thu December 27, 2012 08:03 AM

    To overcome the ‘Unmarshal Exception’, I had to create new the WSDL file and the web service connector should be of type RPC-Literal.

    Regards
    RamGopal


    #webMethods
    #webMethods-BPMS
    #BPM