Hi
Am trying to sign the Timestamp , body and BinarySecurityToken using Axis2 1.6.2 and Rampart 1.6.2.
<items>Timestamp Signature</items>
<user>
test</user>
<passwordCallbackClass>com.PasswordHandler</passwordCallbackClass>
<signaturePropFile>client.properties</signaturePropFile>
<signatureParts>{Element}{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Timestamp;
{Element}{http://schemas.xmlsoap.org/soap/envelope/} Body ;
{Element}{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd} BinarySecurityToken
</signatureParts>
<signatureKeyIdentifier>DirectReference</signatureKeyIdentifier>
<signatureParts></signatureParts>
<items>
but am getting error as below
org.apache.ws.security.WSSecurityException: General security error (WSEncryptBody/WSSignEnvelope: Element to encrypt/sign not found:
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd, BinarySecurityToken)
please help for solution whether this is achievable in Rampart.