On Sunday 13 March 2011 5:50:09 PM Łukasz Budnik wrote: > Hi CXF users, > > I've been using CXF for a while now. In my current project I have to > examine programatically WSDL definitions. > > I want to list all WSDL extensibility elements and in particular > WS-Policy extensibility elements. > > I tried to use CXF's WSDLManagerImpl. It uses wsdl4j behind the hood, > but current version 1.6.2 does not support WS-Policy elements. > > Are there any CXF classes that we can be used for listing WSDL > extensibility elements?
Well, the normal WSS4J stuff for grabbing the extensor elements is actually all we use. Most of the CXF extensors types would appear there (like the http:address and corba extensors and jms extensors and such) as the CXF objects. HOWEVER, WS-Policy fragments don't have an extensor object for them. We leave those as DOM's until they are needed. At that point, we would call "bus.getExtension(PolicyBuilder.class).getPolicy(element)" to build the Neethi policy object. -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
