Author |
Message
|
anil kumar |
Posted: Tue Mar 21, 2017 11:12 pm Post subject: mustUnderstand attribute on the Security header |
|
|
 Voyager
Joined: 22 Jan 2017 Posts: 98 Location: India
|
iam implementing a webservice
i have created a policy set and security profile but when i tried to hit it with consumer
iam getting the fallowing exception
[Type:INTEGER:5
Text:CHARACTER:org.apache.axis2.AxisFault: CWWSS5555E: The mustUnderstand attribute on the Security header does not have the required value: existing value=null, required value=true
Insert
Type:INTEGER:5
Text:CHARACTER:Frame : 0 org.apache.axis2.AxisFault: CWWSS5555E: The mustUnderstand attribute on the Security header does not have the required value: existing value=null, required value=true] |
|
Back to top |
|
 |
anil kumar |
Posted: Tue Mar 21, 2017 11:13 pm Post subject: |
|
|
 Voyager
Joined: 22 Jan 2017 Posts: 98 Location: India
|
SET OutputRoot.SOAP.Header.wsse:Security.(SOAP.NamespaceDecl):mustUnderstand=TRUE;
SET OutputRoot.SOAP.Body.ns:Ping=''; |
|
Back to top |
|
 |
anil kumar |
Posted: Tue Mar 21, 2017 11:15 pm Post subject: |
|
|
 Voyager
Joined: 22 Jan 2017 Posts: 98 Location: India
|
this is what trace says[
(0x01000000:Folder):SOAP = ( ['SOAP' : 0x2b89cda0]
(0x01000000:Folder):Header = (
(0x01000000:Folder)http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd:Security = (
(0x03000102:NamespaceDecl):wsse = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd' (CHARACTER)
(0x03000102:NamespaceDecl):wsu = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' (CHARACTER)
(0x03000102:NamespaceDecl):mustUnderstand = TRUE (BOOLEAN)
)
] |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 22, 2017 3:43 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
perhaps you should use "true" _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
joebuckeye |
Posted: Wed Mar 22, 2017 4:17 am Post subject: |
|
|
 Partisan
Joined: 24 Aug 2007 Posts: 365 Location: Columbus, OH
|
Why are you saying mustUnderstand is a namespace? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Mar 22, 2017 4:37 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
joebuckeye wrote: |
Why are you saying mustUnderstand is a namespace? |
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
anil kumar |
Posted: Thu Mar 30, 2017 3:51 am Post subject: |
|
|
 Voyager
Joined: 22 Jan 2017 Posts: 98 Location: India
|
|
Back to top |
|
 |
|