Hi,

Do your wsdl follow the wsdl_first_xml_wrapped example we shipped with kit? That's an example how to specify xmlbinding in wsdl. More importantly, for the binding part, you should have <xformat:binding />

Freeman


On 2011-5-6, at 上午1:24, Sven Zethelius wrote:

Is it possible to use the spring jaxws:client declaration with a non- soap binding, like XMLBinding?

I'm using cxf 2.3.2, and even though the WSDL is using namespace "http://schemas.xmlsoap.org/wsdl/http/ " it's falling back to the default binding of soap binding. This causes it to not use the right protocol when talking to the service created by spring declaration of jaxws:endpoint, since it is initialized with XMLBinding, given the same WSDL.

Is this a bug, or just not a supported configuration, or something extra I have to set to specifically control the binding?


---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
Connect at CamelOne May 24-26
The Open Source Integration Conference








Reply via email to