Hi,
At our project we have some problems with message validation. We user the
java first approach with annotations
and let CXF create the wsdl/webservice. When we enable validation and send
in a valid message (SoapUI says the message
is valid with the wsdl) then we get an error message. Apparantly the CXF
creates an error for this valid message and we
would like to know what we did wrong and how we can solve it.
validation fails with the following error message:
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: cvc-elt.1: Cannot find the declaration of
element 'Activating'.</faultstring>
</soap:Fault>
We use the following annotations with the Java class
@WebService
@SOAPBinding(style = Style.DOCUMENT, use = Use.LITERAL)
And enable the XML Schema Validation as follows
<jaxws:endpoint id="testGateway"
implementor="#testWebService"
implementorClass="TestWebService"
address="/testwebservice">
<jaxws:properties>
<entry key="schema-validation-enabled" value="true" />
</jaxws:properties>>
</jaxws:endpoint>
Is there anybody who can explain this behavior or point me into a direction
on how to fix it ?
Thanks in advance
Regards,
Venu.
--
View this message in context:
http://www.nabble.com/Problem-with-enabling-Schema-Validation-tp23218029p23218029.html
Sent from the cxf-user mailing list archive at Nabble.com.