Hi everybody Using CXF 2.5.2 with JAXB for generating a client for an AXIS2 webservice:
The wsdl has many elements defined with minOccurs="0" and nillable="true". CXF sends requests for such elements like this: <ps1:myElement xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> Completely reasonable. Strangely enough the webservice doesn't like that. When I remove all nil elements (they have minOccurs="0" after all) all works well. Is there a way to force CXF/JAXB to not send elements with minOccurs="0" which would otherwise be sent as nil-elements? This would also save quite a bit on messages size. I've found many posts concerning nil-elements and minOccurs, but none describing this specific problem. Thanks and regards Arthur -- NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone! Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
