I am trying to perform a SOAP Client call to a server which mandates WSSE Authentication.

 

Creating

 

    <wsse:Security mustUnderstand="true">

         <wsse:UsernameToken>

            <wsse:Username>username</wsse:Username>

            <wsse:Password>password</wsse:Password>

            <wsu:Created>2009-12-15T19:01:46.229259</wsu:Created>

         </wsse:UsernameToken>

 

Works well, but the server still isn’t happy as it requires the wsu:Expires element.

 

Is there a way to add expires into the UsernameToken?

 

Thanks in advance,

Gavin


NOTICE: If received in error, please destroy, and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. We may monitor and store emails to the extent permitted by applicable law.