Hello Camel! I am currently experiencing a strange behaviour when calling web services from a Camel route. It seems like the syle it uses is RPC but the web service uses document.
The documentation indicates that this value can be specified in the endpoint declaration by overriding the default cxfBinding bean. Is there an example of this? Here is my config: <route> <from uri="timer:testTimer?period=10000" /> <to uri="bean:offerServiceIdProducer" /> <to uri="cxf:bean:offerServiceEndpoint" /> </route> <bean id="binding" class="org.apache.camel.component.cxf.DefaultCxfBinding"> <!--<property name="style" value="document"/>--> <!-- That the property I would like to change --> </bean> <bean id="offerServiceEndpoint" parent="service.parent" p:address="http://localhost:8888/OfferServiceHttpBinding" p:serviceClass="OfferService" p:bindingId="binding" /> What is intriguing is that the WSDL specify explicitly the style to document. ... <wsdl:binding name="OfferServiceHttpBinding" type="tns:OfferServicePortType"> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="makeProposal"> <wsdlsoap:operation soapAction=""/> ... I tested it successfully with SOAPUI. It detects it in document mode. Thanks in advance ! Olivier -- View this message in context: http://camel.465427.n5.nabble.com/CxfBinding-Document-Style-tp1045363p1045363.html Sent from the Camel - Users mailing list archive at Nabble.com.