Jim Ma-3 wrote: > > I also think we need to provide spring configuration for attaching > handler chain through > spring configuration . > I'd like to see there is api in JaxWsProxyFactoryBean, EndpointImpl and > JaxwsServerFactoryBean that > we can configure the Handler with spring configuration, eg : > > <jaxws:endpoint id="addHandler" > implementor="org.apache.cxf.jaxws.service.Hello" > address="http://localhost:8080/test"> > <jaxws:handlers> > <bean class="org.apache.cxf.LogHandler"/> > </jaxws:handlers> > </jaxws:endpoint> > > Regards > Jim >
What about this example[1]: Step(2)(a): customfile-server.xml? Our example[2] just has <handler-chain> elements, but not the parent <jaxws:bindings> you see in [1]-- do we already support <jaxws:bindings/> in Spring config or cxf.xml, or is that just Metro-specific? If <jaxws:bindings/> is a JAX-WS element we're not supporting yet, we may wish to implement this instead of a new <jaxws:handlers/> element that you're proposing. Regards, Glen [1] http://blogs.sun.com/sdimilla/entry/implementing_handlers_using_jaxws_2 [2] http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/src/demo/handlers/common/demo_handlers.xml?revision=566980&view=markup -- View this message in context: http://www.nabble.com/JAX-WS-handler-attachment-options-within-Apache-CXF-tp14499697p14552815.html Sent from the cxf-user mailing list archive at Nabble.com.
