Thank you Reamon!!.
I agree…on having a gateway servive, hence I was trying to have one such service. But how can you write a gateway service that publishes the envelope, group and document to TN? When I tried to publish the Envelope using the wm.tn.doc.ff.routeFlatFile service, I get the following error:
com.wm.app.tn.err.EXMLException: wm.tn.doc:recognize com.wm.app.tn.doc.BizDocTypeException Failed creating EDI envelope doc type. Cannot handle null object [EDIFTN.000010.000202] com.wm.app.tn.doc.BizDocTypeException: Failed creating EDI envelope doc type. Cannot handle null object [EDIFTN.000010.000202] at wm.b2b.editn.EDIEnvelopeDocType$EnvelopeStatus.getPipelineVars(Unknown Source) at wm.b2b.editn.EDIEnvelopeDocType.createEnvelope(Unknown Source) at com.wm.app.tn.doc.BizDocTypeReg.recognizeAndCreate(BizDocTypeReg.java:505) at wm.tn.docimpl.recognize(docimpl.java:701) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at
Before calling the wm.tn.doc.routeFF service, I pass TN_parms with “X12 Envelope” as the DoctypeName and also the sender and receiver DUNS.
Am I doing something wrong? Is there a better way to do this?
#edi#webMethods#Integration-Server-and-ESB