Hi folks,

I'm new to the forum and new to camel/cxf as well. Didn't find an answer by
searching either google nor this group. Perhaps someone can give me a hint.

I have to create a web service that validates incoming requests by policies
(ws-policy). Hence, I added a PolicyReference in the wsdl and created an
external policy-file (*.wsp). Although the cxf-tutorial states "CXF will
automatically recognize, read and use policies defined or referenced in
WSDL", they seem to be ignored at all.
Then I was told that cxf:cxfEndpoints itself cannot handle ws-policies and
that I have to change to an  jaxws:endpoint according to the cxf-tutorial:
http://cxf.apache.org/docs/how-to-define-policies.html (see Spring
configuration example). Now the policies appear to be recognized
(Policy-realted exceptions are thrown), however, the endpoint definitions
and, hence, the routing fails.

Does anybody have a code snippet of the camel-context how to make policies
work within a camel/cxf environment using spring xml (no POJO's)?
I'm using camel 2.13.2, cxf 3.0.1, and ws-policies 1.5 with eclipse on jdk
1.6 and tomcat 7.0.7.

Any help would be gladly appreciated!

Cheers,
Wulf




--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-CXF-and-WS-Policies-tp5757558.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to