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.  SQL Server Stored procedures

    Posted Mon March 31, 2003 05:27 AM

    Hi , I am using SQL Server 7.0 StoredProcedure in EAI server for the customer transaction. I declared three output parameters in procedure and also in the document type , the mapping also perfect in Enterprise Integrator. procedure is running perfect but always getting null message in all the returned three output parameter though the actual procedure return some values…Please can someone help me out how to overcome this situation…will be great if you could guide me?

    in procedure I declared something like…
    @Type char(1) OUTPUT,
    @EType char(3) OUTPUT,
    @SType char(3) OUTPUT


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


  • 2.  RE: SQL Server Stored procedures

    Posted Thu May 15, 2003 10:11 PM

    did you map out put return by stored procedure to out value of your
    service or IC(integrationComponent?).In IS we specifies out parameters
    in the service by name,sqlType,direction aswell as we specifies
    out value as the value your storedProcedure returns.Actually database
    Message won’t returns actual out Parameter of your storedProcedure.
    Is it correct?

    Thanks,
    Srini


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


  • 3.  RE: SQL Server Stored procedures

    Posted Fri May 16, 2003 12:19 PM

    if @@ERROR = 0
    begin

    select count(*) as ‘@outv – Success’ from CatalogHeader

    end

    Here is how you can output a value from the stored procedure.
    Hope this helps!


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


  • 4.  RE: SQL Server Stored procedures

    Posted Fri May 16, 2003 01:31 PM

    Hi,

    Try JDBC adapter 4.6. it works with stored procedures and allows youto access output fields.


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