Forum Discussion
jvz
17 years agoOccasional Contributor
I'm using build soapui-3.0-dist-24-2009-08-09, Build Date 2009/08/09 19:52 and have the same problem.
Trying to use SOAPui with a default WS-policy on my target webservice.
The default policy requires to sign timestamp, body and BinarySecurityToken.
Using:
Body - http://schemas.xmlsoap.org/soap/envelope/ - element
Timestamp - http://docs.oasis-open.org/wss/2004/01/ ... ty-1.0.xsd - element
works perfectly, but:
BinarySecurityToken - http://docs.oasis-open.org/wss/2004/01/ ... ty-1.0.xsd - element
throws an error:
ERROR:An error occured [General security error (WSEncryptBody/WSSignEnvelope: Element to encrypt/sign not found: http://docs.oasis-open.org/wss/2004/01/ ... ty-1.0.xsd, BinarySecurityToken)], see error log for details
ERROR:org.apache.ws.security.WSSecurityException: General security error (WSEncryptBody/WSSignEnvelope: Element to encrypt/sign not found: http://docs.oasis-open.org/wss/2004/01/ ... ty-1.0.xsd, BinarySecurityToken)
org.apache.ws.security.WSSecurityException: General security error (WSEncryptBody/WSSignEnvelope: Element to encrypt/sign not found: http://docs.oasis-open.org/wss/2004/01/ ... ty-1.0.xsd, BinarySecurityToken)
at org.apache.ws.security.message.WSSecSignature.addReferencesToSign(WSSecSignature.java:588)
at org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:769)
Trying to use SOAPui with a default WS-policy on my target webservice.
The default policy requires to sign timestamp, body and BinarySecurityToken.
Using:
Body - http://schemas.xmlsoap.org/soap/envelope/ - element
Timestamp - http://docs.oasis-open.org/wss/2004/01/ ... ty-1.0.xsd - element
works perfectly, but:
BinarySecurityToken - http://docs.oasis-open.org/wss/2004/01/ ... ty-1.0.xsd - element
throws an error:
ERROR:An error occured [General security error (WSEncryptBody/WSSignEnvelope: Element to encrypt/sign not found: http://docs.oasis-open.org/wss/2004/01/ ... ty-1.0.xsd, BinarySecurityToken)], see error log for details
ERROR:org.apache.ws.security.WSSecurityException: General security error (WSEncryptBody/WSSignEnvelope: Element to encrypt/sign not found: http://docs.oasis-open.org/wss/2004/01/ ... ty-1.0.xsd, BinarySecurityToken)
org.apache.ws.security.WSSecurityException: General security error (WSEncryptBody/WSSignEnvelope: Element to encrypt/sign not found: http://docs.oasis-open.org/wss/2004/01/ ... ty-1.0.xsd, BinarySecurityToken)
at org.apache.ws.security.message.WSSecSignature.addReferencesToSign(WSSecSignature.java:588)
at org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:769)