Hi Claus,
Welcome to the CXF world , although its 2.0 just released for a year :)
You can configure the DataFormat property by using the URL option[1],
but you can't configure that property in the CXFEndpointBean[2].
Because I reused the AbstractWSDLBasedEndpointFactory in
CXFEndpointBean, if I add the setDataFormat method in CXFEndpointBean, I
can't configure the CXF endpoint with CXFEndpoingBean.
[1]http://cwiki.apache.org/CAMEL/cxf.html
[2]https://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/spring/CxfEndpointBean.java
Willem
Claus Ibsen wrote:
Hi Willem
Forgive my ignorance but I am a novelty user on CXF. I had been trolled in a
fullblown custom platform for the last 1½ years or so, where CXF wasn't
possible to use.
Before the time AXIS was the dominating choice.
I am working on my web example and have a webservice endpoint configured using
spring xml as below:
<cxf:cxfEndpoint id="routerEndpoint" address="/incident"
wsdlURL="/WEB-INF/wsdl/report_incident.xml"
serviceClass="org.apache.camel.example.reportincident.ReportIncidentImpl"
endpointName="s:ReportIncidentPort"
serviceName="s:ReportIncidentService"
xmlns:s="http://reportincident.example.camel.apache.org"
/>
I was wondering that there isn't an attribute for dataFormat as there is in the
camel java DSL configuration. As it defaults to POJO I am set to go, but what
if I want MESSAGE?
Med venlig hilsen
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk