Sequence information comes as a header in the SOAP envelope. So you will have to go through the envelope and dig it out.
Sandesha has some helper classes which could be used to make this task easy. Hv a look at following code.
<code>
RMMsgContext rmMsgCtx = MsgInitializer.initializeMessage(msgCtx);
Sequence sequence = (Sequence) rmMsgCtx.getMessagePart(Sandesha2Constants.MessageParts.SEQUENCE);
String sequenceId = sequence.getIdentifier().getIdentifier();
</code>
Chamikara
On 9/11/06, Sanjesh Pathak <[EMAIL PROTECTED]
> wrote:
Hi,
How can I get Sequence ID and Sequence number of a message from the Axis2 Message Context of the service side in Sandesha2?
Thanks,
Sanjesh
Real-Time Web Service Monitoring for Axis, Axis2
SoapKnox Inc
Ph: 832 279 3745
