At any rate, you can probably use JAX-WS handlers[1] to alter your SOAP message. Probably the SOAP protocol handler instead of the logical handler is what you want.
Glen [1] http://www.jroller.com/gmazza/entry/adding_jax_ws_handlers_to Glen Mazza wrote: > > Are you sure the bug isn't on the Camel side? > > Glen > > > cmoulliard wrote: >> >> Hi, >> >> I have discovered a small problem between a client created using the >> Client ProxyFactoryBean and my webservice running with Apache Camel - CXF >> component. >> >> When the client calls the web service, the Proxy generates the following >> SOAP message : >> >> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> >> <soap:Body> >> <ns1:PostParcel xmlns:ns1="http://tracker.service.xpectis.com/"> >> <ns2:inputTrackParcel xmlns:ns2="http://tracker.service.xpectis.com"> >> <name>chm</name> >> <destination>Brussels</destination> >> <origin>Florennes</origin> >> </ns2:inputTrackParcel> >> </ns1:PostParcel> >> </soap:Body> >> </soap:Envelope> >> >> Unfortunately, the tag <ns1:PostParcel> is not supported by the web >> service called. If I remove it, everything works fine. How can I said to >> ClientProxyFactoryBean that I don't want such tag in the SOAP message ? >> >> Charles Moulliard >> > > -- View this message in context: http://www.nabble.com/How-to-avoid-that-ClientProxyFactoryBean-add-the-tag-corresponding-to-the-wsdl-operation-in-the-body-of-the-SOAP-message---tp19880458p19881030.html Sent from the cxf-user mailing list archive at Nabble.com.
