You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Richard DeGrande <RD...@co.jefferson.co.us> on 2007/07/03 23:26:21 UTC
signing the timestamp within the security header
Hi
I'm using axis 1.4 and wss4j 1.5 to generate and execute a client for a secure webservice. I get an error indicating that the timestamp is not signed. How
do I generate a signed timestamp ?
AxisFault
faultCode: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}FailedCheck
faultSubcode:
faultString: Signature did not cover a timestamp; cannot determine freshness
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:Signature did not cover a timestamp; cannot determine freshness
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: signing the timestamp within the security header
Posted by Dimuthu <mu...@apache.org>.
Hi,
Have you tried using "signatureParts" Parameter?
This link has information on how to use it.
http://ws.apache.org/wss4j/package.html
Cheers,
Dimuthu
On Tue, 2007-07-03 at 15:26 -0600, Richard DeGrande wrote:
> Hi
>
>
> I'm using axis 1.4 and wss4j 1.5 to generate and execute a client for a secure webservice. I get an error indicating that the timestamp is not signed. How
> do I generate a signed timestamp ?
>
> AxisFault
> faultCode: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}FailedCheck
> faultSubcode:
> faultString: Signature did not cover a timestamp; cannot determine freshness
> faultActor:
> faultNode:
> faultDetail:
> {http://xml.apache.org/axis/}stackTrace:Signature did not cover a timestamp; cannot determine freshness
> at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
> at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
>
>
>
> thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org