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
Expand all | Collapse all

JDBC Adapter StoredProcedureWithSignature template REF_CURSOR as input.

  • 1.  JDBC Adapter StoredProcedureWithSignature template REF_CURSOR as input.

    Posted Tue August 13, 2013 05:24 AM

    Hi All,

    We have a requirement like in webMethods through JDBC Adapter we need to invoke a Stored procedure which has input has a REF_CURSOR to it wherein the input is of format Header & Detail list of columns to be provided from webMethods.

    In the Stored procedure with signature as REF_CURSOR input we are not able to assign header & detail list of values as input no such option to provide in template.

    How we can achieve this through webMethods.

    Please help asap

    Regards
    Aparna


    #webMethods
    #Integration-Server-and-ESB
    #Adapters-and-E-Standards


  • 2.  RE: JDBC Adapter StoredProcedureWithSignature template REF_CURSOR as input.

    Posted Tue August 13, 2013 12:17 PM

    Try using the customSQL or DynamicSQL template and get the SP code from the DB team and you can customize the inputs/args the way you want.

    Did you try this route and will this work for you?

    HTH,
    RMG


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: JDBC Adapter StoredProcedureWithSignature template REF_CURSOR as input.

    Posted Wed August 14, 2013 03:00 AM

    Hi Sir,

    Thanks for the response.

    We have used the Dynamic SQL for this but it accepts only linear records that is single row data.
    Here the Detail part is a list and the header linear + details has to be passed at single time to Procedure.

    How can this be achieved?

    Regards,
    Aparna


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: JDBC Adapter StoredProcedureWithSignature template REF_CURSOR as input.

    Posted Wed August 14, 2013 11:43 AM

    No possible that way as far I know…but you may need to customize the SP inputs (take help from ur SQL person) such a way that wM can handle it via SP script or check with SAG support if they can suggest any alternate way handling via templates.


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards