Hi,
I'am new to cxf.
the situation:
I publish a service wiht the following properties
<jaxws:properties>
<entry key="schema-validation-enabled" value="true" />
</jaxws:properties>
I have a wsdl description as follows
<xs:any maxOccurs="unbounded" minOccurs="0" namespace="##other"
processContents="skip"/>
the problem:
the complex type containing the above xs:any element with
processcontents skip holds a list with DOM elements
List<org.w3c.dom.Element>
and therefore the resulting XML contains xml elements which are not
definiet in a schema, therefore the processContent attribute is given.
but the following error occurs:
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'row'. One of
'{WC[##other
If I set the schema-validation-enabled to false the follwoing result
is given back:
<ns2:return><row><market... and so on...
Summary:
I think there is something wrong. I enabled schema validation but the
framework should not validate the content of the return element...
.but it obviously dont work as I expected ...
can anyone help ?
thanks in advance
greetings manuel