Author |
Message
|
547c547 |
Posted: Tue Jun 23, 2015 11:47 pm Post subject: WS-Security |
|
|
 Acolyte
Joined: 16 Jun 2014 Posts: 51
|
I would like to authenticate the webservice. How do I need to authenticate ..
I am using SOAP nodes .
Why I am hitting the service, it sends me a fault message saying... An error occurred when verifying security for the message.
InvalidSecurity
a:CHARACTER:http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
In our requirment, they say that we need not to send credentials in soap header.. then How do I need to authenticate
ANY help? ?  |
|
Back to top |
|
 |
nelson |
Posted: Wed Jun 24, 2015 5:19 am Post subject: |
|
|
 Partisan
Joined: 02 Oct 2012 Posts: 313
|
What does <faultstring> say in your response? |
|
Back to top |
|
 |
547c547 |
Posted: Wed Jun 24, 2015 8:10 pm Post subject: |
|
|
 Acolyte
Joined: 16 Jun 2014 Posts: 51
|
This is what I receive.. Please help
Fault
Code
Value:CHARACTER:s:Sender
Subcode
Value:CHARACTER:a:InvalidSecurity
a:CHARACTER:http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
Reason
Text:CHARACTER:An error occurred when verifying security for the message.
lang:CHARACTER:en-US |
|
Back to top |
|
 |
nelson |
Posted: Fri Jun 26, 2015 4:39 am Post subject: |
|
|
 Partisan
Joined: 02 Oct 2012 Posts: 313
|
The error is not very descriptive... I would try to call the WS first on SOAP UI for example, and see what happens.
Try to send a dummy user/pass and see if you get a different error.
The server is expecting some security information that you are not providing.. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Jun 26, 2015 5:12 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
nelson wrote: |
The error is not very descriptive... |
It's probably incompletely reported, too.
I.e. 547c547 did not show the full error. |
|
Back to top |
|
 |
|