A long time ago I had changed the name of the policy file and the namespace to be consistent with the rest of the modules in CXF. Andrea probably wrote the docs sometime in between now and when that happened.

Thanks to the power of the wiki I just updated the WSPConfiguration page to use the correct namespace/schema location. I'd update the WS-RM one, but I'd like someone to do it who can verify that the configuration is correct at the same time (don't have time at this exact second).

Make the wiki be with you. :-P

- Dan

Beryozkin, Sergey wrote:
Hi

A namespace like http://www.w3.org/2006/07/ws-policy is a namespace used
by a WS-Policy language. It's not the latest namespace so by default a
more up to date http://www.w3.org/ns/ws-policy ns is supported.

Did you try to enable http://www.w3.org/2006/07/ws-policy, as per the
comment I left in the CXF-1302?

According to the docs the namespace of the policy engine itself should
be
http://cxf.apache.org/policy-config, but perhaps the docs haven't been
updated. Cheers, Sergey
-----Original Message-----
From: Thomas Diesler [mailto:[EMAIL PROTECTED] Sent: 17 December 2007 14:17
To: [email protected]
Subject: policy.xsd vs .policy-config.xsd

Hi Folks,

I'm trying to integrate the CXF WS-RM functionality into JBoss. This is currently failing because of a policy exception

https://issues.apache.org/jira/browse/CXF-1302

In

http://cwiki.apache.org/CXF20DOC/wspconfiguration.html

I find that the documented policy namespace is http://cxf.apache.org/policy-config, but in the 2.0.3 source tree I can only find policy.xsd, which uses http://cxf.apache.org/policy

Could somebody please verify that WS-RM configuration in

http://cwiki.apache.org/CXF20DOC/wsrmconfiguration.html

is indeed correct? For example the namespace for

<p:policies>
<wsp:PolicyReference URI="#RM" xmlns:wsp="http://www.w3.org/2006/07/ws-policy"/>
</p:policies>

is not documented AFAICS.

cheers
-thomas





--
Dan Diephouse
MuleSource
http://mulesource.com | http://netzooid.com/blog

Reply via email to