webMethods

webMethods

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.  TN46 %7c error with convertToValues

    Posted Thu August 14, 2003 10:42 AM

    Hi,

    I am trying to convert a DELFOR 96A document into values. And convert to Values is giving me a StringIndexOutOfBounds Exception.
    Do I have to do anything with delimiters?


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: TN46 %7c error with convertToValues

    Posted Thu August 14, 2003 06:01 PM

    May be some thing wrong with in EDI document itself,make sure the DELFOR document is having nice wellformed data.

    This exception shows some extra data coming in the fields.

    And also make use of envelopeProcess service if you are not using TN before invoking convertToValues.

    HTH.


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 3.  RE: TN46 %7c error with convertToValues

    Posted Thu August 14, 2003 08:04 PM

    Hi,

    As of now, I am the document using UNEDIFACTtoValues of WmEDISamples packages to perform a check on a document that i am receiving. Later that will be done using Trading Networks.

    I somehow could fix the problem of StringIndexOutOfBounds by by providing values of delimiters to convertToValues.

    now i have a new ISSUE.

    There is an UNS Segment in the DELFOR, at the end of details,
    and that is getting identified as EDIValues/UNH/UNS@d, it should have got identified as just EDIValues/UNH/UNS, so when i call validate against it’s schema, it fails.

    This are the last 4 lines of my test document.

    DTM+2:20030711:102’
    UNS+S’
    UNT+49+00001’
    UNZ+1+LAB0000000001’


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: TN46 %7c error with convertToValues

    Posted Thu August 14, 2003 08:17 PM

    There is an issue on DELFOR D96A segment structure.This is a discussion on this,pls use this link:

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

    It may help you regarding UNS segment issue.

    Thanks,


    #Integration-Server-and-ESB
    #webMethods
    #edi