Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.6.2
-
None
Description
According to the documentation [1], Rampart supports WS Security Policy 1.2 [2]. I assumed the corresponding namespace would be supported:
The XML namespace URI that MUST be used by implementations of this specification is:
http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702
However, this namespace is at the origin of an exception in my generated client:
org.apache.axis2.AxisFault: atleast one module can't support
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SupportingTokens
One workaround is to 'downgrade' the namespace to WS Security Policy 1.1 [3] in my server policy, and to regenerate my client:
http://schemas.xmlsoap.org/ws/2005/07/securitypolicy
I have not encountered that problem with a simple hand written client.
[1] http://axis.apache.org/axis2/java/rampart/
[2] http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/ws-securitypolicy-1.2-spec-os.html
[3] http://specs.xmlsoap.org/ws/2005/07/securitypolicy/ws-securitypolicy.pdf