Thanks Chill!
Yap, i have my former data in isomsg req.
I tried to contuct my field 90 using the following snipnet:
string field90=req.getMTI() + req.getString(7) + req.getString(7) +
req.getString(32) + "00000"
rev.set(90,field90)
but my confusion is that the postilion documentation says it is a
fixed length field consisting of 5 data elements:
Original message type (positions 1 - 4) - the message type identifier
of the original message of the transaction being reversed.
Original systems trace audit number (positions 5 - 10) - the systems
trace audit number of the original message.
Original transmission date and time (positions 11 - 20) - the
transmission date and time of the original message
Original acquirer institution ID code (position 21 - 31) - the
acquirer institution ID code of the original message (right justified
with leading zeroes).
Original forwarding institution ID code (position 32 - 42) - the
forwarding institution ID code of the original message (right
justified with leading zeroes).
but i dont have Originsl forwarding institution id code sent with my
0200 message (since this is optional), so pls, how do i complete the
data for position 32-42?
Expecting reply!
Thanks
On Oct 8, 3:11 pm, Chhil <
chil...@gmail.com> wrote:
> You sent the original request so you should have the data saved
> somewhere to accommodate for fields you need to send for reversals.
>
> -murtuza
>
> On Oct 8, 2009, at 6:49 PM, ola <
ollysof...@gmail.com> wrote:
>
>
>
>
>
> > Hello all,
>
> > Please I need your assistance towards constructing "Timout Reversal".
> > For example, suppose I have the following code snipnet:
>
> > ISOMsg req=new ISOMsg()
> > req.setMTI(200)
> > req.set(...)
> > .
> > .
> > ISORequest r = new ISORequest(req)
> > .
> > .
> > ISOMsg response=r.getResponse(30000);
> > if (response==null)
> > {
> > //handle timeout reversal
> > }
> > .
>
> > Now if it happens that there is timeout from remote switch endpoint
> > after 30000, and I wish to send a timeout reversal to this remote
> > endpoint, how do I construct my reversal 0420 message, most especially
> > how to generate field 90 from the original message (req) sent.
> > Kindly note that I did not get response from the remote server (so
> > response=null).
> > Sample snipnet will be appreciated.
>
> > Thanks!- Hide quoted text -
>
> - Show quoted text -