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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

Configuring ExecuteService in webMethods JDBC Adapter

  • 1.  Configuring ExecuteService in webMethods JDBC Adapter

    Posted 06/05/14 05:07 PM

    Hi All,

    Can anyone of you share the working sample of ExecuteService Services?

    When do we use this in real time scenario?

    Has anyone implemented this in their past experience?

    Kindly share your responses :slight_smile:


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


  • 2.  RE: Configuring ExecuteService in webMethods JDBC Adapter

    Posted 06/06/14 02:36 PM

    Dear wM Experts,

    Any updates on my query… ??? :roll:


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


  • 3.  RE: Configuring ExecuteService in webMethods JDBC Adapter

    Posted 06/17/14 05:49 AM

    you can follow the below steps.

    1. write your java/flow service as usual
    2. create a adapter service with Execute as Service template, use the name of the java/flow service to invoke.
    3. map all the input parameters for the java/flow service in a document (IData) and map that to Adapter service …Input/targetServiceInput while invoking the adapter.

    in java service the connection can be retrieved from pipeline using builtin variable $db_service_connection
    java.sql.Connection conn = (java.sql.Connection)IDataUtil.get(pipelinecursor, “$db_service_connection”);
    this connection object can be used further with java.sql.PreparedStatement etc. to build your logic.


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


  • 4.  RE: Configuring ExecuteService in webMethods JDBC Adapter

    Posted 06/17/14 06:21 AM

    Thanks D.C.

    I have this information but when do we use this in real time scenarios and do we have any specific reason to use the execute service.


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


  • 5.  RE: Configuring ExecuteService in webMethods JDBC Adapter

    Posted 06/17/14 10:09 AM

    Every real-time database operation scenario is possible with java service as well, but use it with caution. For example i use java service to upload large files to database.


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


  • 6.  RE: Configuring ExecuteService in webMethods JDBC Adapter

    Posted 09/18/14 08:09 AM

    Hi DC,

    Hope you are doing good.

    Can you share the java service (at-least the logic/wM API) to upload large files to DB? What is the maximum file size this java service can handle.


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


  • 7.  RE: Configuring ExecuteService in webMethods JDBC Adapter

    Posted 09/18/14 11:48 AM

    Upload large files to DB you mean inserting it as a BLOB or CBLOB (whole XMLdata object) or read/parse XML and batch insert?

    What options have you tried so far?

    HTH,
    RMG


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


  • 8.  RE: Configuring ExecuteService in webMethods JDBC Adapter

    Posted 09/18/14 12:11 PM

    I can insert xml data in the DB through insert adapter service template (via CLOB/BLOB)

    I want to insert the large data (xml) using ExecuteService template.


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


  • 9.  RE: Configuring ExecuteService in webMethods JDBC Adapter

    Posted 09/18/14 05:13 PM

    What is Execute Service template any insight to it?

    HTH,
    RMG


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


  • 10.  RE: Configuring ExecuteService in webMethods JDBC Adapter

    Posted 09/19/14 11:39 AM

    Refer JDBC adapter guide. :slight_smile:


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


  • 11.  RE: Configuring ExecuteService in webMethods JDBC Adapter

    Posted 09/23/14 11:24 AM


  • 12.  RE: Configuring ExecuteService in webMethods JDBC Adapter

    Posted 09/25/14 05:08 AM

    I did not get you???


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


  • 13.  RE: Configuring ExecuteService in webMethods JDBC Adapter

    Posted 09/25/14 11:24 AM

    It means that I never used that template specific and no situation arised/got it focused.


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