You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Andy Kriger <an...@gmail.com> on 2005/03/29 18:49:02 UTC

timestamp question

When I create service calls in Java...
Stub service = getStub(...);
service._setProperty(WSHandlerConstants.ACTION,
WSHandlerConstants.USERNAME_TOKEN + " " +
WSHandlerConstants.TIMESTAMP);
service._setProperty(UsernameToken.PASSWORD_TYPE, WSConstants.PASSWORD_DIGEST);
service._setProperty(WSHandlerConstants.USER, user);
service._setProperty(WSHandlerConstants.PW_CALLBACK_REF, pwCallback);

This adds a timestamp to my SOAP message...
<wsu:Timestamp wsu:Id="Timestamp-55b64486-ee3e-4ee8-bba3-3834b32d0e67">
       <wsu:Created>2005-03-29T16:36:52Z</wsu:Created>
       <wsu:Expires>2005-03-29T16:41:52Z</wsu:Expires>
</wsu:Timestamp>

Is it possible to change the expiration element of the timestamp using
a property?

thx
andy