Contributions
Re: How to sign a message with SoapUI
Hi ATILIUS, I am trying to configure security in similar way in SOAP UI to get connected to Apache CXF services but I am getting below exception: These policy alternatives can not be satisfied: {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}X509Token: The received token does not match the token inclusion requirement {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Layout: Layout does not match the requirements Just want to ask if you have encountered similar issue. If yes then what is the possible solution for it. I would highly appreciate if you can give me any pointers on how to configure X509 token in SOAP UI. Thanks, Puneet.10KViews0likes0CommentsRe: X.509 Encryption
Hi paulavijit, I am trying to configure similar policy in SOAP UI but I am getting below exception: These policy alternatives can not be satisfied: {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}X509Token: The received token does not match the token inclusion requirement {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Layout: Layout does not match the requirements I just want to ask if you have faced similar problem. If yes then what is the possible solution for it. I would highly appreciate if you can guide me configuring X509Token in SOAP UI. Thanks, Puneet.1.5KViews0likes0CommentsProblems configuring ws-security in SOAP UI.
Hello All, I am trying to configure ws-security in SOAP UI following below policy file: <wsp:Policy wsu:Id="SigEncr" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"> <wsp:ExactlyOne> <wsp:All> <sp:AsymmetricBinding> <wsp:Policy> <sp:InitiatorToken> <wsp:Policy> <sp:X509Token sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient"> <wsp:Policy> <sp:RequireKeyIdentifierReference /> <sp:WssX509V3Token10 /> </wsp:Policy> </sp:X509Token> </wsp:Policy> </sp:InitiatorToken> <sp:RecipientToken> <wsp:Policy> <sp:X509Token sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never"> <wsp:Policy> <sp:RequireKeyIdentifierReference /> <sp:WssX509V3Token10 /> </wsp:Policy> </sp:X509Token> </wsp:Policy> </sp:RecipientToken> <sp:AlgorithmSuite> <wsp:Policy> <sp:TripleDesRsa15 /> </wsp:Policy> </sp:AlgorithmSuite> <sp:Layout> <wsp:Policy> <sp:Strict /> </wsp:Policy> </sp:Layout> <sp:IncludeTimestamp /> <sp:OnlySignEntireHeadersAndBody /> </wsp:Policy> </sp:AsymmetricBinding> <sp:Wss10> <wsp:Policy> <sp:MustSupportRefKeyIdentifier /> <sp:MustSupportRefIssuerSerial /> </wsp:Policy> </sp:Wss10> <sp:SignedParts> <sp:Body /> </sp:SignedParts> <sp:EncryptedParts> <sp:Body /> </sp:EncryptedParts> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> But I am getting below exception and I am not able to understand how to configure X509Token and Strict Layout in SOAP UI: These policy alternatives can not be satisfied: {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}X509Token: The received token does not match the token inclusion requirement {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Layout: Layout does not match the requirements I am attaching here SOAP project which I have for this purpose. Can anyone help identify how to configure these two features in SOAP UI. I have already tried configuring using below URL: http://www.soapui.org/SOAP-and-WSDL/app ... urity.html, but I am unable to configure it right in my case. Any pointers will be highly appreciated. Thanks, Puneet.2.2KViews0likes0Comments