I tried in Message , and pojo mode. The Pb is that on the provider class: In this class, we have to - put annotations to define the mode - throw an exception in the body of the method. This class is here just to host annotations for configuration purpose The annotaiton Mode contains only values MESSAGE and PAYLOAD. there is no "POJO" mode.
Am I wrong in my analysis? What sould I do? I'm at home and I don't have the code on this machine so I cannot give you more details. I'll be back next week. Regards. willem.jiang wrote: > > Hi, > > Can you show me the camel-cxf endpoint's configuration or the DSL of > your router? > I guess you are using the "MESSAGE" data format which only just get the > message from the transport layer and don't pass the message through the > CXF's logical interceptors. > > Willem > > GLD wrote: >> Hi all, >> >> I tried to use a CXF Camel behind the CXFSerlvet to consume my web >> service >> and inject them in my Camel routes. >> >> It works fine but...... >> In my processors, when try to lookup the request data >> (exchange.getIn()...), >> I always got A SOAPMessage object I would have liked to have the POJO >> bound >> to my WSDL definition. >> >> In other words, I got a generic DOM like object I I would have liked a >> bound >> object. >> >> Is it possible? >> >> Regards. >> Guillaume >> >> > > > -- View this message in context: http://www.nabble.com/CXF---Camel-%3A-Pojo-mode-%3D-DOM-mode-tp20378157s22882p20381777.html Sent from the Camel - Users mailing list archive at Nabble.com.
