cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Problem with unwrapped responses containing multiple elements
Date Fri, 17 Sep 2010 03:01:33 GMT
On Thursday 16 September 2010 2:42:41 pm justinlindh wrote:
> A JIRA incident, with WSDL/XSD, has been created for this issue. The URL
> is: https://issues.apache.org/jira/browse/CXF-2998

It's now fixed on trunk and the 2.2.x branch so the next release will have it.

If you need a workaround, what SHOULD work is in the <part> for the header, if 
the name attribute is the same as the local part of the element name, it 
should work.   You have:
<wsdl:part element="tm:ClientInfoHeader" name="request_header" />

but if you change it to:

<wsdl:part element="tm:ClientInfoHeader" name="ClientInfoHeader" />

it will likely work. (and update the <soap:header> element)


-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Mime
View raw message