You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by De Coster Tom <To...@cronos.be> on 2006/02/07 17:09:33 UTC

SequenceIdentifier

Hi,

 

I'm trying to develop some kind of logging system in my Sandesha Web
Service. 

So I want to know the SequenceIdentifier at my Client program. 

 

But, on Internet I can only find org.apache.sandesha2.wsrm.RMElements.
The problem is I'm working with Sandesha1, and I can't find it in here.

Can someone help me. 

 

Thanks.

 

Tom.


Re: SequenceIdentifier

Posted by Jaliya Ekanayake <jn...@gmail.com>.
Hi Tom,

Here is the code http://svn.apache.org/repos/asf/webservices/sandesha/branches/sandesha_1_0/src/org/apache/sandesha/ws/rm/IRmElement.java

Thanks,

Jaliya
  ----- Original Message ----- 
  From: Chamikara Jayalath 
  To: sandesha-dev@ws.apache.org 
  Sent: Tuesday, February 07, 2006 9:53 PM
  Subject: Re: SequenceIdentifier


  Hi Tom,

  Sequence identifier  is obtained from the server within a CreateSequenceResponse message after the client send the CreateSequence message to it. So the client has no direct control over the sequence IDs (of the sending side) and you cannot obtain it directly from your client program.

  But Sandesha1 will add the correct sequence ID to the 'setApproved'OutSequence' method of the client storage manager. So if you hack into sandesha code, you will be able to get it from there.

  Thanks,
  Chamikara



  On 2/7/06, De Coster Tom <To...@cronos.be> wrote:
    Hi,



    I'm trying to develop some kind of logging system in my Sandesha Web Service. 

    So I want to know the SequenceIdentifier at my Client program. 



    But, on Internet I can only find org.apache.sandesha2.wsrm.RMElements. The problem is I'm working with Sandesha1, and I can't find it in here.

    Can someone help me. 



    Thanks.



    Tom.



Re: SequenceIdentifier

Posted by Jaliya Ekanayake <jn...@gmail.com>.
Hi Tom,

Here is the code http://svn.apache.org/repos/asf/webservices/sandesha/branches/sandesha_1_0/src/org/apache/sandesha/ws/rm/IRmElement.java

Thanks,

Jaliya
  ----- Original Message ----- 
  From: Chamikara Jayalath 
  To: sandesha-dev@ws.apache.org 
  Sent: Tuesday, February 07, 2006 9:53 PM
  Subject: Re: SequenceIdentifier


  Hi Tom,

  Sequence identifier  is obtained from the server within a CreateSequenceResponse message after the client send the CreateSequence message to it. So the client has no direct control over the sequence IDs (of the sending side) and you cannot obtain it directly from your client program.

  But Sandesha1 will add the correct sequence ID to the 'setApproved'OutSequence' method of the client storage manager. So if you hack into sandesha code, you will be able to get it from there.

  Thanks,
  Chamikara



  On 2/7/06, De Coster Tom <To...@cronos.be> wrote:
    Hi,



    I'm trying to develop some kind of logging system in my Sandesha Web Service. 

    So I want to know the SequenceIdentifier at my Client program. 



    But, on Internet I can only find org.apache.sandesha2.wsrm.RMElements. The problem is I'm working with Sandesha1, and I can't find it in here.

    Can someone help me. 



    Thanks.



    Tom.



Re: SequenceIdentifier

Posted by Chamikara Jayalath <ch...@gmail.com>.
Hi Tom,

Sequence identifier  is obtained from the server within a
CreateSequenceResponse message after the client send the CreateSequence
message to it. So the client has no direct control over the sequence IDs (of
the sending side) and you cannot obtain it directly from your client
program.

But Sandesha1 will add the correct sequence ID to the
'setApproved'OutSequence' method of the client storage manager. So if you
hack into sandesha code, you will be able to get it from there.

Thanks,
Chamikara


On 2/7/06, De Coster Tom <To...@cronos.be> wrote:
>
>  Hi,
>
>
>
> I'm trying to develop some kind of logging system in my Sandesha Web
> Service.
>
> So I want to know the SequenceIdentifier at my Client program.
>
>
>
> But, on Internet I can only find org.apache.sandesha2.wsrm.RMElements. The
> problem is I'm working with Sandesha1, and I can't find it in here.
>
> Can someone help me.
>
>
>
> Thanks.
>
>
>
> Tom.
>

Re: SequenceIdentifier

Posted by Chamikara Jayalath <ch...@gmail.com>.
Hi Tom,

Sequence identifier  is obtained from the server within a
CreateSequenceResponse message after the client send the CreateSequence
message to it. So the client has no direct control over the sequence IDs (of
the sending side) and you cannot obtain it directly from your client
program.

But Sandesha1 will add the correct sequence ID to the
'setApproved'OutSequence' method of the client storage manager. So if you
hack into sandesha code, you will be able to get it from there.

Thanks,
Chamikara


On 2/7/06, De Coster Tom <To...@cronos.be> wrote:
>
>  Hi,
>
>
>
> I'm trying to develop some kind of logging system in my Sandesha Web
> Service.
>
> So I want to know the SequenceIdentifier at my Client program.
>
>
>
> But, on Internet I can only find org.apache.sandesha2.wsrm.RMElements. The
> problem is I'm working with Sandesha1, and I can't find it in here.
>
> Can someone help me.
>
>
>
> Thanks.
>
>
>
> Tom.
>