I am porting existing SOAP services to CXF. A common pattern for a simple data-backed service is: - extract query parameters from request - execute query - convert result set to XML - use XSLT to transform XML to response XML schema
So with CXF wsdl2java, the query parameters are bound with JAXB, but the response is expected to be bound to a JAXB object. I can unmarshall the response but this is inefficient since CXF will only marshall it again. I also can use the JAX-WS Provider interface to expose the XML payload in both directions. But then I have to manually extract the query parameters from the request. Is there a way to combine these approaches? i.e., create an interface to accept the unmarshalled input parameters and return raw XML? -- View this message in context: http://www.nabble.com/Bind-request-with-JAXB---response-as-XML-tp22000785p22000785.html Sent from the cxf-user mailing list archive at Nabble.com.
