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

Reply via email to