Issue with submitting EDIFACT 97A orders data

Hi,

I am doing an inbound Processing using EDIFACT 97 A orders document type.

The Document is successfully submitted to TN and also hit processing rule which i have mentioned and transaction was processed

with DONE.

But while i am run the the inbound processing service which i mentioned in processing rule with pipeline data restored from the TN server. i am getting an error like below.

And also i am attaching Screen shot of my developed service.

please help me to make out of this.

Thank you.


wm.tn.doc:getContentPart

java.lang.ClassCastException
com.wm.data.ISMemDataImpl cannot be cast to com.wm.app.tn.doc.BizDocEnvelope
java.lang.ClassCastException: com.wm.data.ISMemDataImpl cannot be cast to com.wm.app.tn.doc.BizDocEnvelope

at wm.tn.docimpl.getContentPart(docimpl.java:814)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:411)

at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:751)

at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:46)

at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:54)

at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:250)

at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)

at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)

at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:299)

at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:34)

at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:399)

at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:629)

at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:443)

at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:401)

at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:253)

at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:236)

at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:267)

at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:649)

at com.wm.lang.flow.FlowState.step(FlowState.java:515)

at com.wm.lang.flow.FlowState.invoke(FlowState.java:484)

at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1150)

at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:751)

at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:46)

at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:54)

at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:250)

at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)

at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)

at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:299)

at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:34)

at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:399)

at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:629)

at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:443)

at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:401)

at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:253)

at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:120)

at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:163)

at com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:190)

at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:401)

at com.wm.util.pool.PooledThread.run(PooledThread.java:134)

at java.lang.Thread.run(Thread.java:748)

When the pipeline is saved with a bizdoc object, it should be saved as type:
javaclass=“com.wm.app.tn.doc.BizDocEnvelope”
When you restored, it should be in the pipeline as an object of the same type.
Before calling the getContentPart service, check what’s in the pipeline.
“wm.tn.rec:BizDocEnvelope” doesn’t look like a correct name or type.