Hi,
I can't reproduce the problem, works with or without custom properties. I'm using tomcat 7, axis2, and apache rampart with sample 03 deployed. It uses WssX509V3Token10. Here is my request:
soap:Envelope xmlns:sam="
http://sample03.policy.samples.rampart.apache.org" xmlns:soap="
http://www.w3.org/2003/05/soap-envelope"> <soap:Header><wsse:Security soap:mustUnderstand="true" xmlns:wsse="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsu:Timestamp wsu:Id="TS-188"><wsu:Created>2014-01-06T21:57:15.601Z</wsu:Created><wsu:Expires>2014-01-07T03:30:35.601Z</wsu:Expires></wsu:Timestamp><xenc:EncryptedKey Id="EK-83CED3218AB1222E921389045435601204" xmlns:xenc="
http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="
http://www.w3.org/2001/04/xmlenc#rsa-1_5"/><ds:KeyInfo xmlns:ds="
http://www.w3.org/2000/09/xmldsig#"><wsse:SecurityTokenReference><wsse:KeyIdentifier EncodingType="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="
http://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#ThumbprintSHA1">aqePjuZzE1lzwMMtquksvNJsbmI=</wsse:KeyIdentifier></wsse:SecurityTokenReference></ds:KeyInfo><xenc:CipherData><xenc:CipherValue>AiA9Y2Ns5qBLBQurjbbp8yDQmwe+stepovZUmFXY/tvGjXvS+KqLwt2zfIO8I/47FyUEqoYjslW4pjiG9nu0xP4sm+yWzfd2B1pNhHeXLLckgtJ1/4Gfg/7g2NtFw6hq+OYHeyzLalwIYQ1muxEW16vlJqr5lZLYcRi83Hyu07c=</xenc:CipherValue></xenc:CipherData><xenc:ReferenceList><xenc:DataReference URI="#ED-187"/></xenc:ReferenceList></xenc:EncryptedKey><ds:Signature Id="SIG-186" xmlns:ds="
http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="
http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="sam soap" xmlns:ec="
http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="
http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI="#id-185"><ds:Transforms><ds:Transform Algorithm="
http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="sam" xmlns:ec="
http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="
http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>l1CPs7pdYYVfBlVZE1ont1qiCJc=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>VhgBz7GzSJgXRKgAHh/1EGSswf7OiVmWdX1P3mLVedGsaO+wqMz0LEi197+1em3zSFVgt8LD3RMfklgxA+fHoTCZFSniD+Yc32x6RnBtb6AHnYYTYC7kqc71LvYcGkNj4psdYFeMt8Br7hIiNd1P20AT
Z0HcRd5pyR/aeiKQtT8=</ds:SignatureValue><ds:KeyInfo Id="KI-83CED3218AB1222E921389045435601202"><wsse:SecurityTokenReference wsu:Id="STR-83CED3218AB1222E921389045435601203"><ds:X509Data><ds:X509IssuerSerial><ds:X509IssuerName>CN=Sample STS,OU=Rampart,O=Apache,L=Colombo,ST=Western,C=LK,1.2.840.113549.1.9.1=#16126e616e64616e61406170616368652e6f7267</ds:X509IssuerName><ds:X509SerialNumber>1202897785</ds:X509SerialNumber></ds:X509IssuerSerial></ds:X509Data></wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature></wsse:Security></soap:Header>
<soap:Body wsu:Id="id-185" xmlns:wsu="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><xenc:EncryptedData Id="ED-187" Type="
http://www.w3.org/2001/04/xmlenc#Content" xmlns:xenc="
http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="
http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/><ds:KeyInfo xmlns:ds="
http://www.w3.org/2000/09/xmldsig#"><wsse:SecurityTokenReference wsse11:TokenType="
http://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#EncryptedKey" xmlns:wsse="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsse11="
http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd"><wsse:Reference URI="#EK-83CED3218AB1222E921389045435601204"/></wsse:SecurityTokenReference></ds:KeyInfo><xenc:CipherData><xenc:CipherValue>z+mFuu12NGGVgVMdXmLbfF1I6pwoaiLaV28eIE+6SvSGAnxpVD3WtyE8yzjAzGFTSMbnsrZmAiUbvApI1n5axAJi9EMyTJj54OxFBaxdiIUIMNn7WPq+YwI6EMEsbknQVSle1QCMVxLOKXrq4mqWCWfblkVReyEjnqD+s0r2sCzRppyQmdDWYoOgni979fM4m50fj3GgLKsq6mJ2nkVsyUilVjD48Lz7DPbRO51iyaKibcR4eIPzmLPMKyEr+vB03oTJrfyXfzcuuVc67ZYpMPx4xL5F2tn5avWHclP6n1xIJr3rqzNvhDrcZqqeBJI0/tfPaVXs4l/WQkgs8Qw06E0oGw89Qh1PIKbdni+G0zx2ll/F0TqDTLWRLmI0fF+X0j3F9d/nGO11EKAxAoqAQCEdJfyAGkjsFtcXUO+oLVsg7spQF7NkOw==</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData></soap:Body>
</soap:Envelope>
and the response:
<soapenv:Envelope xmlns:soapenv="
http://www.w3.org/2003/05/soap-envelope"> <soapenv:Header>
<wsse:Security soapenv:mustUnderstand="true" xmlns:wsse="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id="TS-34">
<wsu:Created>2014-01-06T21:57:15.621Z</wsu:Created>
<wsu:Expires>2014-01-06T22:02:15.621Z</wsu:Expires>
</wsu:Timestamp>
<xenc:EncryptedKey Id="EK-9CB6E269758FA9A576138904543562148" xmlns:xenc="
http://www.w3.org/2001/04/xmlenc#"> <xenc:EncryptionMethod Algorithm="
http://www.w3.org/2001/04/xmlenc#rsa-1_5"/> <ds:KeyInfo xmlns:ds="
http://www.w3.org/2000/09/xmldsig#"> <wsse:SecurityTokenReference>
<wsse:KeyIdentifier EncodingType="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="
http://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#ThumbprintSHA1">bDVFzZL6jJmHlqiVlCR0slQesQs=</wsse:KeyIdentifier> </wsse:SecurityTokenReference>
</ds:KeyInfo>
<xenc:CipherData>
<xenc:CipherValue>HWyfOnafCSCdgtW13yf7icruD7OxW9n3y8AVre4MxCz9WTrxQlM7krrRIfhH1fl4rXXNHnRf5WFa6wl/oa1aqK0rG9NleUR6n9MCTv8MLzn92W6eUGV3j8dzRRGfNCXAzxNBZGU5EmzFP+Bppch2qHDyl4sq5evxYCJ9K9OX4UE=</xenc:CipherValue>
</xenc:CipherData>
<xenc:ReferenceList>
<xenc:DataReference URI="#ED-36"/>
</xenc:ReferenceList>
</xenc:EncryptedKey>
<ds:Signature Id="SIG-35" xmlns:ds="
http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="
http://www.w3.org/2001/10/xml-exc-c14n#"> <ec:InclusiveNamespaces PrefixList="soapenv" xmlns:ec="
http://www.w3.org/2001/10/xml-exc-c14n#"/> </ds:CanonicalizationMethod>
<ds:SignatureMethod Algorithm="
http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> <ds:Reference URI="#Id-451053399">
<ds:Transforms>
<ds:Transform Algorithm="
http://www.w3.org/2001/10/xml-exc-c14n#"> <ec:InclusiveNamespaces PrefixList="" xmlns:ec="
http://www.w3.org/2001/10/xml-exc-c14n#"/> </ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="
http://www.w3.org/2000/09/xmldsig#sha1"/> <ds:DigestValue>eQkrmO5wJ+VolvRQIf7GvkpdX2s=</ds:DigestValue>
</ds:Reference>
<ds:Reference URI="#TS-34">
<ds:Transforms>
<ds:Transform Algorithm="
http://www.w3.org/2001/10/xml-exc-c14n#"> <ec:InclusiveNamespaces PrefixList="wsse soapenv" xmlns:ec="
http://www.w3.org/2001/10/xml-exc-c14n#"/> </ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="
http://www.w3.org/2000/09/xmldsig#sha1"/> <ds:DigestValue>mRe6QTlALp2E26+WuNWkKRZbyB0=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>F7i/Votp9CpQB5s0kz8GWncBEkYmE0YvW3wJvCJYNiHpBauaYt1aCRxzDYcNdNed9zwNsKhcHPd8
eH313o4zLA78vXz/u6OSTvYQAgDVmR4+xeVEwU7O79wdEkrzXLhIyEKGAITQ6+XQv40X+NzKMoQ5
Ho9zJwVGg+PTJ/6x0fc=</ds:SignatureValue>
<ds:KeyInfo Id="KI-9CB6E269758FA9A576138904543562146">
<wsse:SecurityTokenReference wsu:Id="STR-9CB6E269758FA9A576138904543562147">
<wsse:KeyIdentifier EncodingType="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="
http://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#ThumbprintSHA1">aqePjuZzE1lzwMMtquksvNJsbmI=</wsse:KeyIdentifier> </wsse:SecurityTokenReference>
</ds:KeyInfo>
</ds:Signature>
</wsse:Security>
</soapenv:Header>
<soapenv:Body wsu:Id="Id-451053399" xmlns:wsu="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <xenc:EncryptedData Id="ED-36" Type="
http://www.w3.org/2001/04/xmlenc#Content" xmlns:xenc="
http://www.w3.org/2001/04/xmlenc#"> <xenc:EncryptionMethod Algorithm="
http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/> <ds:KeyInfo xmlns:ds="
http://www.w3.org/2000/09/xmldsig#"> <wsse:SecurityTokenReference wsse11:TokenType="
http://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#EncryptedKey" xmlns:wsse="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsse11="
http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd"> <wsse:Reference URI="#EK-9CB6E269758FA9A576138904543562148"/>
</wsse:SecurityTokenReference>
</ds:KeyInfo>
<xenc:CipherData>
<xenc:CipherValue>k8wCHm6z+mIovXkEfdmtYYI4im8oyCDR5Iw1sM9fgbKw6eAaRqCneaCpzNZ7FWRMpIW3DPwNQmcIDlx/x7NNF/p0hNUDLDHjluJgvxtOVmq7Fp6PCxJsx36GmrQ1T6XNT7i0d0LSTBU2FAnW+PPI4hM9gpaMez5Qe9ru8HNOiQMeY+cw7z7fTkTVR9Um8w4FzB2pc4YTxZshZNtLB3qqmyyEHuQh6tORy2X7unOD2lp5ct4GlFPGCFEQV7420HH8VWtwonRFDKrCQ/jxK68PSFn87H9RfIBpn23ILW0L4DzG2SPZtaRltsV5rvxD7Dc8IPHG+M5IedBrchZFwM6tQoukP83MaoeL3sZiLI9cMBtYg6f9cdQxBbbuspxLrKjw</xenc:CipherValue>
</xenc:CipherData>
</xenc:EncryptedData>
</soapenv:Body>
</soapenv:Envelope>
If you have a different request or setup than I then please respond with details.