Hi Colm Thanks. The "xslt-server" in this test is a "normal" CXF endpoint that
- references the WSDL (and generates Java objects from it) - references an implementor class org.apache.cxf.systest.soap.DoubleItImpl that creates a response Then the generated response is post-processed with XSL. ==> Is this the targeted use case for the XSLT feature? In my case the service implementation is completely XSL. Therefore - I don't need generated Java objects - I don't need an implementor class I just want to - check request security (CXF validators) - transform the client request (XSLT feature) - continue with the result from the transformation (this can be a response, but also a request for a downstream call, it depends) ==> Can I create a CXF web service without Java objects/implementation? Thanks Stephan -----Ursprüngliche Nachricht----- Von: Colm O hEigeartaigh <[email protected]> Gesendet: Donnerstag, 16. August 2018 11:14 An: [email protected] Betreff: Re: CXF without generated Java objects? On Mon, Aug 13, 2018 at 12:04 PM, Burkard Stephan <[email protected] > wrote: > > I also read about the [XSLT feature](http://cxf.apache. > org/docs/xslt-feature.html) of CXF. The configuration examples > reference an implementor class, but how would this class look like, > what are input and return types of the operations if I don't have generated > classes? > Unfortunately I did not found a good example project that uses this > feature. Is there such a project in the CXF repository? > For an example project that uses the XSLT feature, please refer to the following system test: Client code: https://github.com/apache/cxf/blob/master/systests/uncategorized/src/test/java/org/apache/cxf/systest/soap/XSLTFeatureTest.java Server spring configuration: https://github.com/apache/cxf/blob/master/systests/uncategorized/src/test/resources/org/apache/cxf/systest/soap/xslt-server.xml Colm. > > Thanks for your help > Stephan > > > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
