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.  Stored Procedures in Sybase

    Posted Fri October 01, 2004 05:46 PM

    Hi,

    I’m trying to call a stored procedure from a webMethods flow but I’m getting this error:

    java.sql.SQLException: JZ0SG: A CallableStatement did not return as many output parameters as the application had registered for it

    The return of the stored procedure is just on field as it’s set in the webMethods flow. I’m using a Sybase 12.5.

    Does anyone know how to solve this problem?

    Thanks in advance


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


  • 2.  RE: Stored Procedures in Sybase

    Posted Fri October 01, 2004 07:28 PM

    Tropico,

    Before doing a call to SP from webMethods,Please cross check the same using any SQL client to validate whether that SP is properly working as expected.Sometimes we cannot judge whether it is webMethods related problem of DB related based on the webMethods thrown error.

    Since you SP returns only one field as OUT then i believe you have created the same in webMethods SP adapter service.

    HTH,
    RMG.


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


  • 3.  RE: Stored Procedures in Sybase

    Posted Mon October 04, 2004 02:10 PM

    I call the SP from the database client and it works fine, so the problem is not in the SP.

    And i also created the same output in the webMethods, that’s why i don’t know i’m getting this error.

    Any other tips?

    Thanks!


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


  • 4.  RE: Stored Procedures in Sybase

    Posted Fri February 15, 2008 04:17 PM

    hi
    I am also getting the same exception can any one help me to sort this out…thanks


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