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

Difference between wm.b2b.edi:convertToValues and pub.flatFile:convertToValues

  • 1.  Difference between wm.b2b.edi:convertToValues and pub.flatFile:convertToValues

    Posted Fri January 27, 2006 07:26 PM

    Hi,

    Flat file
    PurchaseOrderPO1+080502Buyer+ABC Corp.+123 Main St.+Fairfax+VA+22030!
    OrderDetail10011.00!
    OrderDetail
    **!

    Output when I used wm.b2b.edi:convertToString
    PurchaseOrderPO1|080502Buyer|ABC Corp.|123 Main St.|Fairfax|VA|22030+OrderDetail1001*1.00+

    Output when I used pub.flatFile:convertToString
    PurchaseOrderPO1|080502Buyer|ABC Corp.|123 Main St.|Fairfax|VA|22030+OrderDetail1001*1.00+OrderDetail+

    Is there any other difference between these services?

    Regards,
    Pauly


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 2.  RE: Difference between wm.b2b.edi:convertToValues and pub.flatFile:convertToValues

    Posted Fri January 27, 2006 08:18 PM

    Each has its own pros and cons…but why you want to use both the services when you are getting required o/p.

    Any reason behind it?

    HTH,
    RMG


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Difference between wm.b2b.edi:convertToValues and pub.flatFile:convertToValues

    Posted Fri January 27, 2006 09:27 PM

    edi:convertToString is meant for EDI Standard files like X12, EDIFACT.
    flatFile:convertToString is meant for any other custom (non-standard) file format.
    Using flatFile:convertToString on EDI Standard files will produce unpredictable results.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services