Hi All,
I found a solution for this.Let me know whether this approach has any problems.It goes as follows:
splitoption is Group.so document gets split into X12 Envelope and X12 Group.In the X12 Envelope processing rule(no extended criteria), a service is invoked which checks in the DB for the suspended status of the trading partner(which we maintain in our DB).if it is suspended, then i set a custom attribute(Suspended = true) in the X12 Envelope and reroute it to TN.there is one more processing rule which has the extended criteria set to Suspended equals true.this processing rule is picked up and does nothing but sets the user status to SUSPENDED.
at later point of time, when the suspended status of the trading partner is set to active in the DB, we check for the SUSPENDED user status in the Transaction Analysis and resubmit the transaction.
Expert comments appreciated…
one problem with this approach i am facing is, when i resubmit the transaction, i get an error message as follows:
ErrorMessage:
<errorid> TRNCONS.000000.000003 </errorid>
<errorlevel> ERROR </errorlevel>
<serverversion> </serverversion>
<servername> </servername>
<serverhostname> </serverhostname>
<clientversion> </clientversion>
<clienthostname> </clienthostname>
<username> </username>
<classname> doc.DocPanel </classname>
<methodname> gResubmitAction.actionPerformed </methodname>
<errortime> Thu Jul 14 14:58:03 EDT 2005 </errortime>
<errortext> wm/b2b/edi/templateMgr </errortext>
<additionalerrortext> </additionalerrortext>
<suggestedactions> </suggestedactions>
<exception> <superexception>com.wm.ui2.UiException: wm.tn.doc:resubmit
java.lang.NoClassDefFoundError wm/b2b/edi/templateMgr</superexception>
<sourceexception>null</sourceexception>
<problem>wm.tn.doc:resubmit</problem>
<reason>java.lang.NoClassDefFoundError wm/b2b/edi/templateMgr</reason>
<callstack>null</callstack>
<pipeline>null</pipeline>
</exception>
ramesh
#edi#Integration-Server-and-ESB#webMethods