You can set the includeOffer and sequenceExpiraiton attributes in
sourcePolicy like.

                <wsrm-mgr:sourcePolicy includeOffer="false" sequenceExpiration 
= "PT5S"/>

This will omit the Offer element and setting some expiration for the
sequence in contrast to the default sequence expiration of P0T that
corresponds to no expiration.

If you want to remove the Expire element completely. I have to look at
if that is possible. What is the other WS-RM implementation which you
are trying to connect to?


2012/11/16 jawadwasiq <[email protected]>:
> On the client side, when creating sequence, an offer is also included... Is
> it somehow possible to remove expires and offer elements from CreateSequence
> message? Can it be configured in the endpoint or via Interceptors?
>
> <CreateSequence xmlns="http://schemas.xmlsoap.org/ws/2005/02/rm";
>
> xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
>             <AcksTo>
>
> <ns2:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
>                 </ns2:Address>
>             </AcksTo>
>             <Expires>PT0S</Expires>
>             <Offer>
>                 <Identifier>urn:uuid:e1925263-cd4e-42b2-8d8d-86b8f909a994
>                 </Identifier>
>                 <Expires>PT0S</Expires>
>             </Offer>
> </CreateSequence>
>
>
>
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/RM-CreateSequence-without-Offer-tp5718604.html
> Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to