Hello!

I need to intercept CXF's wsdl generation.

To do so, It looks like I need to create my own class that implements
QueryHandlerRegistry.

I can see where the default implementation is created in cfx.xml :
    <bean id="org.apache.cxf.transports.http.QueryHandlerRegistry"
class="org.apache.cxf.transport.http.QueryHandlerRegistryImpl">
        <property name="bus" ref="cxf"/>
        <property name="queryHandlers">
            <list>
                <bean
class="org.apache.cxf.transport.http.WSDLQueryHandler">
                    <property name="bus" ref="cxf"/>
                </bean>
            </list>
        </property>
    </bean>

And, there is a reference in bus-extensions.xml:
    <extension
class="org.apache.cxf.transport.http.QueryHandlerRegistryImpl"

interface="org.apache.cxf.transports.http.QueryHandlerRegistry"/>

Can you let me know how I would stop it from using QueryHandlerRegistryImpl,
and get it to use my MyQueryHandlerRegistryImpl ??
Quite possibly a simple Spring question - but one that I don't know the
answer to!

Thanks in advance,

Dave

Reply via email to