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
Expand all | Collapse all

Reading csv or xls files

  • 1.  Reading csv or xls files

    Posted Thu December 09, 2004 08:35 PM

    Dear all,
    one (simple?) question:
    Is there a service in the developer to read csv or xls files?

    thanks for your help.

    Dennis


    #Integration-Server-and-ESB
    #webMethods-Upgrade
    #webMethods-General
    #webMethods


  • 2.  RE: Reading csv or xls files

    Posted Thu December 09, 2004 08:39 PM

    Dennis,

    Have a look in the wmusers shareware section:

    [url=“wmusers.com”]wmusers.com

    Wayne


    #webMethods-Upgrade
    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 3.  RE: Reading csv or xls files

    Posted Thu December 09, 2004 08:51 PM

    Thanks Wayne.
    The problem is, I’m not allowed to download and install shareware.
    That’s sometimes very hindering.

    Is there no other way?

    I tried out “getFile” out of the WMPublic-package. But I don’t know how to get the information. Result is just a byte-info.


    #Integration-Server-and-ESB
    #webMethods-Upgrade
    #webMethods-General
    #webMethods


  • 4.  RE: Reading csv or xls files

    Posted Thu December 09, 2004 08:52 PM

    ItemField also makes a solution that integrates well with webMethods to read excel files (among many others).

    Ray


    #webMethods-Upgrade
    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 5.  RE: Reading csv or xls files

    Posted Thu December 09, 2004 09:02 PM


  • 6.  RE: Reading csv or xls files

    Posted Thu December 09, 2004 09:22 PM


  • 7.  RE: Reading csv or xls files

    Posted Thu December 09, 2004 10:42 PM

    for a csv file, you can just use the WmFlatFile package


    #Integration-Server-and-ESB
    #webMethods-Upgrade
    #webMethods-General
    #webMethods


  • 8.  RE: Reading csv or xls files

    Posted Fri December 10, 2004 06:17 AM

    Hi Dennis,

    You can use Apache’s POI HSSF library to read and write data into Excel sheets.
    If you want to only read data from Excel sheet then you can use Flat file schemas. Create a schema which takes a TAB delimited file. This schema will parse the data for you after you have taken the data using getFile service.

    Sachin


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB
    #webMethods-Upgrade


  • 9.  RE: Reading csv or xls files

    Posted Fri December 10, 2004 09:36 PM

    Hi Dennis,
    At one of mine previous projects, I used JExcelApi; This is pretty easy to use…

    Java Excel API - A Java API to read, write, and modify Excel spreadsheets
    [url=“http://jexcelapi.sourceforge.net/”]http://jexcelapi.sourceforge.net/[/url]

    • Saurabh

    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods
    #webMethods-Upgrade


  • 10.  RE: Reading csv or xls files

    Posted Tue December 14, 2004 06:59 PM

    Damn,
    I don’t have su a WMFlatFile package. Is this standard.
    What I did, is reading the file with “getFile” and then “BytesToString”.
    No I have a comma separated string which I have to separate in different fields. A Record as result would be great.
    Is there any existing service?

    Thanks,

    Dennis


    #webMethods-Upgrade
    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 11.  RE: Reading csv or xls files

    Posted Tue December 14, 2004 07:38 PM

    Sorry, found the flatFile-Folder.
    Service “parseCSVInput” gives me a Record with various segments.
    Now I need to loop over the segments and map them into a xml-file.
    question:
    is there also a service? I found the xml-folder in WmTN but this seems not to be the answer.

    Regards,

    Dennis


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-Upgrade
    #webMethods-General


  • 12.  RE: Reading csv or xls files

    Posted Tue December 28, 2010 10:09 AM

    I’m trying to play with jexcel API under designer 8.0, my aim is to read and write into a xls file i have on my local

    i put the jar file into my_package/jars
    then reloaded my package
    after i created a java service

    My question is how to use this API ?
    should i take advantage of it in a flow service or in a java service?

    Please any tips and step by step methodology to deal with will be appreciated?


    #webMethods-Upgrade
    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods