Thank you Ted and Rajith, It works now.
BR, Rahul On Jul 9 2008, Rajith Attapattu wrote:
> > session.messageTransfer > session.data > session.endData > > In your code, the messageTransfer call is outside and before the loop. > This means that the second time you try to transmit, you are calling > session.data without having called session.messageTransfer first. The > session is in the incorrect state for a data call, thus the exception. It should be session.messageTransfer session.headers session.data session.endData Regards, Rajith
