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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Multiple Transactions in single Web service

  • 1.  Multiple Transactions in single Web service

    Posted Wed July 21, 2010 08:31 AM

    Hi,

    I need to expose a java webservice. scenario is we need to persist some data into database and pull the data and send to external system. here we are using jdbc statments to insert and oracle toplink to read the data (this is existing functionality which cant be changed). am facing problem in inserting the data into db, as its inserting up on completion of the transaction(exit of method) but not on completion of jdbc statement query.execute(), due to this when i am trying to read the data, its throwing exception

    Please help in resolving the issue


    #API-Management
    #webMethods
    #soa


  • 2.  RE: Multiple Transactions in single Web service

    Posted Wed July 21, 2010 03:54 PM

    Use explicit transaction management. Refer to the JDBC Adapter User’s Guide for information.


    #webMethods
    #soa
    #API-Management