Hi, your interceptor needs to extend from AbstractEndpointSelectionInterceptor. Also make sure you have registered your routing interceptor with the MultipleEndpointObserver, please refer to \trunk\systests\src\test\java\org\apache\cxf\systest\versioning\Server.java
Cheers, Jervis > -----Original Message----- > From: Dave Kallstrom [mailto:[EMAIL PROTECTED] > Sent: 2007?9?15? 2:39 > To: cxf-user@incubator.apache.org > Subject: Re: Wsdl Versioning > > > Thanks for the response. I tried adding an incoming > interceptor that extends > AbstractEndpointInterceptor very similar to the example. The > only problem I > see is > that the incoming set of endpoints to my selectEndpoint > methid is always > null. My no arg constructor is calling > super(Phase.POST_STREAM) and then > addBefore(StaxInterceptor.class.getName()) > Am I doing this correctly? Or could it be because I only have > one endpoint? > > On 9/14/07, Jean-François Daune <[EMAIL PROTECTED]> wrote: > > > > > > This document is quite interesting about this subject: > > > > http://blogs.iona.com/sos/20070410-WSDL-Versioning-Best-Practise.pdf > > > > Cheers, > > > > J-F > > > > -----Message d'origine----- > > De : Liu, Jervis [mailto:[EMAIL PROTECTED] > > Envoyé : vendredi 14 septembre 2007 3:55 > > À : cxf-user@incubator.apache.org > > Objet : RE: Wsdl Versioning > > > > > > Hi Dave, we've had a very basic versioning implementation. > Basically how > > it works is an interceptor sitting at the beginning of > in-bound interceptor > > chain as a mediator to inspect then dispatch the coming > request to different > > endpoints. An example can be found from a system test sample: > > > \trunk\systests\src\test\java\org\apache\cxf\systest\versionin > g. Let me know > > if you have any further questions. Willem Jiang is > currently working on > > adding a much more powerful routing support using Apache > Camel, hopefully > > this will provide a better foundation for implementing > versioning in CXF > > once it is done. > > > > Cheers, > > Jervis > > > > > > > -----Original Message----- > > > From: Dave Kallstrom [mailto:[EMAIL PROTECTED] > > > Sent: 2007?9?14? 2:53 > > > To: cxf-user@incubator.apache.org > > > Subject: Wsdl Versioning > > > > > > > > > We have recently migrated our web services offering from > > > xfire to cxf and > > > everything is going well. Now the issue is that we have > > > several clients who > > > would like different features and I am wondering how best to > > > accomplish > > > this. The changes being requested will likely result in a > > > different wsdl so > > > I would like to be able to version our wsdls with different > > > namespaces. The > > > question is where do I inspect the wsdl namespace and then > > > how do I provide > > > different functionality depending on the incoming namespace? > > > I am using > > > aegis bindings and cxf.xml with the cxf servlet. > > > Any ideas would be appreciated. > > > > > > -- > > > Dave Kallstrom > > > > > > > ---------------------------- > > IONA Technologies PLC (registered in Ireland) > > Registered Number: 171387 > > Registered Address: The IONA Building, Shelbourne Road, > Dublin 4, Ireland > > > > > > -- > Dave Kallstrom > ---------------------------- IONA Technologies PLC (registered in Ireland) Registered Number: 171387 Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland