Apparently, the client sends a wrapped soap message which should not be the
case because the style defined in the wsdl port binding section is
document/literal !!!


cmoulliard wrote:
> 
> Many thanks for your reply. I will check and also ask to the Camel team if
> this is an issue with Camel-CXF component.
> 
> 
> 
> Glen Mazza wrote:
>> 
>> 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
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 


-----
Enterprise Architect

Xpectis
12, route d'Esch
L-1470 Luxembourg

Phone +352 25 10 70 470
Mobile +352 621 45 36 22

e-mail : [EMAIL PROTECTED]
web site :  www.xpectis.com www.xpectis.com 
My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
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---tp19880458p19895324.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to