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.  How to convert BLOB to xml...

    Posted Sun March 13, 2011 09:06 PM

    Hi All,

    Anyone please let me know how to convert BLOB data that we are pulling from a oracle table into a xml file or data.

    Thanks in Advance,

    Mouli.


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


  • 2.  RE: How to convert BLOB to xml...

    Posted Mon April 18, 2011 12:56 PM


  • 3.  RE: How to convert BLOB to xml...

    Posted Fri May 06, 2011 07:44 AM

    Use SQL developer like tools, save the blob object locally in the file system and rename with .xml extension. You can see the XML version of it… If you are working with Process models, change the extension to .process and import into Designer. You will be able to see the process… Process is nothing but behind the scenes a XML…

    HTH
    Senthil


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


  • 4.  RE: How to convert BLOB to xml...

    Posted Fri May 06, 2011 11:05 AM

    Hi Senthil .

    Thank you for the reply.

    What I need to do is store a excel file into de DB for historic purposes.
    I then need to be able to get the file from the DB and in the InternetExplorer give it to the client.

    Any thoughts?


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


  • 5.  RE: How to convert BLOB to xml...

    Posted Mon September 19, 2011 05:49 AM

    Hi All,

    You can try toad for ORacle or DB2 based on the DB you are using. IT gives you the flexibility to pull the Blob as XML data .

    Also if you want you can overtide the existing data from a old backup. Depends on which version of toad you are using.

    Warm Regards
    :idea: S M :idea:


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


  • 6.  RE: How to convert BLOB to xml...

    Posted Fri October 07, 2011 10:11 AM

    wM 6.5 onwards,

    Oracle-Specific Enhancements
    Support for the Oracle CLOB and BLOB Data Types
    The adapter now supports the Oracle-specific CLOB and BLOB data types (java.sql.Clob and java.sql.Blob) as input parameter data types for use in adapter services.

    Streaming Support of BLOB and CLOB Data with Oracle Databases
    In earlier versions of the adapter, the adapter only supported the byte array and String data types when retrieving BLOB or CLOB fields. However, users sometimes encountered out of memory errors when converting large BLOB data into bytes. This version of the adapter introduces two new data types, java.io.Reader for CLOB and java.io.InputStream for BLOB, to support the streaming of byte data when working with Oracle databases.

    So try AdapterService templates built-in and you shoud be able to get to what you need!!!


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