Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#ThumbprintSHA1 #16

Open
yolandafans opened this issue Sep 3, 2015 · 2 comments

Comments

@yolandafans
Copy link

Hello Rob

im use this library to get a webservice but i have a problem:

the receiver send this error message and success request xml to me:

error messgae:

Expected : thumbprint , Actual : ski. Ensure that a compatible policy is attached at the client side.

i found that my request xml has diffent nodes some like that:

mine:

<wsse:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">AA==</wsse:KeyIdentifier>

their:

<wsse:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#ThumbprintSHA1" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">l5C+mmfqnkYYf6GcwjIsbCRpa4g=</wsse:KeyIdentifier>

could u help me? Thank you...

@robrichards
Copy link
Owner

Can you send me a copy of theirs and yours so I can see where the discrepancy is? Appears they only allow the use of thumbprint rather than ski based on the error message

@nbgithub123
Copy link

Hi Rob, I am using your library for WS security in SOAP xml but i am not able to get the KeyIdentifier in the security token reference. I am new to ws security and soap. your help would be very appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants