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

Exception when connecting to .Net WSE Enabled Webservice using Password Digest Mechanism #18

Open
njvinod opened this issue Jan 29, 2015 · 1 comment

Comments

@njvinod
Copy link

njvinod commented Jan 29, 2015

When BeSimple Soap client uses Ws:Security filter and connects to .Net WSE enabled webservices with Password Digest mechanism, the following Exception is thrown

The security token could not be authenticated or authorized ---> System.InvalidOperationException:
WSE563: The computed password digest doesn't match that of the incoming username token.

There is a issue in the Way the BeSimple Soap client calculates the Digest.

@njvinod
Copy link
Author

njvinod commented Jan 29, 2015

The Issue is fixed by changing date format of WsSecurityFilter.php line 126
from
$createdTimestamp = $dt->format(self::DATETIME_FORMAT);

To
$createdTimestamp=$dt->format("Y-m-d\TH:i:s").'Z';

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

1 participant