Hi!

I have a example RST request (get from the customer) , what contains in
the body a  {http://www.w3.org/2006/07/ws-policy}AppliesTo element.
I dig down and find out that the
org.apache.cxf.sts.request.RequestParser, what try to understand the
request, check the namespace for the AppliesTo element, and must be
"http://www.w3.org/ns/ws-policy"; or
"http://schemas.xmlsoap.org/ws/2004/09/policy"; but not
"http://www.w3.org/2006/07/ws-policy";

if ("AppliesTo".equals(element.getLocalName())
                    && (STSConstants.WSP_NS.equals(element.getNamespaceURI())
                        || 
STSConstants.WSP_NS_04.equals(element.getNamespaceURI()))) {


How can I this solve without rewrite the code?
Or maybe the customer has wrong about the namespace?

Thanx
Csaba

Reply via email to