Problem in wm.b2b.edi.envelopeProcess service & looping

Hi !
How r u guyz ?
To process inbound EDI documents , i’ve used the service : wm.b2b.edi.envelopeProcess to consume the entire EDI document
and convert all of its envelope header segments, including transaction set
header segments, into an IData object named Values.
The issue is after invoking the service , i’m getting only ISA records , and i couldn’t see any group segment (GS) and transaction set (ST) segments within ISA segment . I’m getting just ‘code’ field in ISA segments whereas rest of the data goes into unDefData element as follows:
ISA00 00 01001325851 01050357789M 0001101425U004000000000350P>GSQM001325851050357789M200001101425767X004010ST214000000035B10R6514545NA00000064631MSCACN1SFBig Fred and Little Al ABC CompanyN2AKA Van Artsdalen MfgN3800 Any StreetN4Any TownMN55060-0000LX1AT7AFNS200001101341LTMS1Any TownMNMS2SCAC0067291TFL1114781-55060SIL111QNAT8GL168806408E960SPO202831 REPL1022PC1008L40320SE14000000035GE135IEA1000000035

How could the document be suitably processed to get GS as well as ST segments under the ISA segment.
Due to this problem, i couldn’t loop over ‘Values/ISA/GS’ as well as ‘Values/ISA/ST’ segments ( before using wm.b2b.edi.util.getEDIstring)
Please help.

Thanks!,
A Dev Guy …

Hello Dev Guy,

I think your data is the problem. Try that one below (still not 100%, but working).

Good luck

Andre

ISA00 00 01001325851 01050357789M 0001101425U004000000000350P**
GS
QM001325851050357789M2000011014-425767X004010
ST
214000000035
B10
R6514545NA00000064631MSCAC
N1SFBigFred and Little Al ABC Company
N2AKA Van Artsdalen Mfg
N3
800 AnyStreet
N4Any TownMN55060-0000LX1
AT7AFNS200001101341LT
MS1
AnyTownMN
MS2
SCAC0067291TF
L1114781-55060SI
L111QN
AT8GL168806408E9-960
SPO
202831REPL1022PC1008L40320
SE
14000000035
GE
135
IEA
1*000000035\