Personalize

Validating UsernameToken FAILED problem

Forums :

Hello.

I met problem when trying to call my custom function  via webservice.

Here is log from wsf_php_server.log

[Tue May 13 11:16:16 2008] [debug] engine.c(660) Invoking phase PreDispatch
[Tue May 13 11:16:16 2008] [debug] phase.c(200) Invoke the handler RampartInHandler within the phase PreDispatch
[Tue May 13 11:16:16 2008] [info]  [rampart][shp] Processing security header in Strict layout
[Tue May 13 11:16:16 2008] [info]  [rampart][shp] Processing security header element UsernameToken
[Tue May 13 11:16:16 2008] [info]  [rampart][shp] Validating UsernameToken
[Tue May 13 11:16:16 2008] [debug] rampart_sec_processed_result.c(42) [rampart][spr] Set SPR_UT_nonce in Security Processed Results of message context
[Tue May 13 11:16:16 2008] [debug] rampart_sec_processed_result.c(42) [rampart][spr] Set SPR_UT_created in Security Processed Results of message context
[Tue May 13 11:16:16 2008] [debug] rampart_sec_processed_result.c(42) [rampart][spr] Set SPR_UT_username in Security Processed Results of message context
[Tue May 13 11:16:16 2008] [error] rampart_username_token.c(546) [rampart][rampart_usernametoken] Cannot get the password for user HnN6LW4uThf9YqbA
[Tue May 13 11:16:16 2008] [error] rampart_sec_header_processor.c(525) [rampart][shp] Validating UsernameToken FAILED
[Tue May 13 11:16:16 2008] [error] rampart_sec_header_processor.c(1704) [rampart][shp] UsernameToken processing failed
[Tue May 13 11:16:16 2008] [error] rampart_in_handler.c(144) [rampart][rampart_in_handler] Security Header processing failed.
 

Can someone help me with this or tell in what direction should i look?

thanx in advance.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Check whether user name is correct.

Hi,

Can you check whether user "HnN6LW4uThf9YqbA" exists in the server side? It is searching for a user with username "HnN6LW4uThf9YqbA" and could not find user/password of that user.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.