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.  Extra Segment delimiters

    Posted Fri August 08, 2003 04:41 PM

    Hello,
    I have an EDI service that maps an outbound EDI 4010 855 and submits to TN for public queue. When I submit the EDI doc to TN the EDIDocument value is coorect with the correct segment terminator. However when the public queue invokes the putToVan service the data arrives at the van with an extra segment delimiter. The file as sent to our VAN looks like the following:

    ISA00 00 0100923319800T 016098604000T 0308081010U004010810101230T
    µGSPR00923319800T6098604000T2003080810101T004010Â

    I can’t seem to figure out where this extra character (Â) is being added. I have set the encoding to ISO-8859-1 in the public queue inputs section and have tried sending both ascii and binary. Does anyone have any ideas of other things I can try.

    Thanks in advance for your help.


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


  • 2.  RE: Extra Segment delimiters

    Posted Fri August 08, 2003 05:51 PM

    What is the segment delimiter that you’re using? Is it a char >127 decimal? My guess is that somewhere along the processing line, the encoding is UTF-8, which causes your >127 char to be encoded as two chars.


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


  • 3.  RE: Extra Segment delimiters

    Posted Fri August 08, 2003 07:54 PM

    Hi Rob,

    I am using the (µ) as the segment terminator. Also, am looking through the services and don’t see a UTF-8 yet. Will keep checking though.

    Thanks


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


  • 4.  RE: Extra Segment delimiters

    Posted Fri August 08, 2003 08:27 PM

    UTF-8 is the default encoding. So if there is a stringToBytes or bytesToString call somewhere without an encoding specified, they use UTF-8.


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


  • 5.  RE: Extra Segment delimiters

    Posted Fri August 08, 2003 09:10 PM

    Thanks Rob but I still can’t find anything out of the ordinary. I searched in all the services that are relevant for this and have set all encoding inputs. The getContentPartData in the putToVan service get the content from TN as “stream” do you think doing a streamToBytes and put it “binary” will help?


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


  • 6.  RE: Extra Segment delimiters

    Posted Fri August 08, 2003 11:38 PM

    When you view the queued bizdoc in TN, what does the “Part” information indicate the Type is on the Content tab?


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