Click here to Skip to main content
15,912,504 members

Comments by Member 13764764 (Top 3 by date)

Member 13764764 12-Aug-21 11:55am View    
I have found something called as Policy Extension. I used it but still getting some other error. Bit close to the solution but still there is an error.

Soap message header has Signature below:

<wsse:security 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"><ds:signature id="SIG-CA721BD5F0B0CF5B691626702670923215" 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 urn v1" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"><ds:signaturemethod algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"><ds:reference uri="#G2efe843a-41ed-4eb2-933d-1fb15d6f9045"><ds:transforms><ds:transform algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:inclusivenamespaces prefixlist="urn v1" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"><ds:digestmethod algorithm="http://www.w3.org/2001/04/xmlenc#sha256"><ds:digestvalue>dupcs7uOC5MTWOQynyXr0W5tWZND+mLrqtSuKBi8qiE=<ds:signaturevalue>jPIZ961gM7uvo8ul2ITzIlYCIGiSmRL/SFv2IcflkVgUPx4SdrH0wuVrcPuy1Bwf1pUKu8NgdC18
0rj0h2n5vOelwrcq5yqzga7WElJo6PQ/3SppSY/xBBxUqJkPfOldbSqTu1qrCdkc7/JOdJ0geZ24
zjhYAYa+ZkkDxlSOZ88/KquvH7DZ11bCtVBze6EHcWBq25WVDjlCHFxKlSUC5J+cdlBxfeyjbcjs
VqkXWUozUpq4kTUgubjVdittqtnvosW8+nDJnyRoKOzwwaNmkGtZ+V1B8iTYLtF+M9U+LKV4eRd3
aTYhE9a26OheTdssG+y/2jKO36F2nw5wZBzr7g==<ds:keyinfo id="KI-CA721BD5F0B0CF5B691626702670923213"><wsse:securitytokenreference wsu:id="STR-CA721BD5F0B0CF5B691626702670923214"><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/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier">APLbNZIGIn0UUsxNWsNJ64FS2cE=



I have used below tags in web config

<microsoft.web.services3>
<diagnostics>
<trace enabled="true" input="InputTrace.webinfo" output="OutputTrace.webinfo">
<security>

<securitytokenmanager>

<add type="Eneco.EET.PASAR.Service.PolicyTokenManager, Eneco.EET.PASAR.Service" namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" localname="X509SecurityToken">


<policy filename="wse3policyCache.config">


Looks like I have to use something else and not securitytokenManager but what is not known
Member 13764764 12-Aug-21 11:52am View    
Thanks for your reply but this is in Java and I am using c#
Member 13764764 12-Aug-21 8:03am View    
Other system is signing a message in header and sending it with Must Understand =1