I'm developing SOAP and REST web services that do the same thing. I'm trying
to share the same XSD schema for the message objects, and I'm trying to use
schema validation.
The REST validation works as expected, but the SOAP validation complains
like this:
"Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'Site'. One of
'{"http://www.usdataworks.com/realTimePayments/":Site}' is expected."
Why is SOAP expecting a namespace on that element when REST isn't?
Is there some way to tell SOAP not to expect a namespace?
Thanks.
--
View this message in context:
http://www.nabble.com/SOAP-vs-REST-XML-Schema-Validation-tp24189831p24189831.html
Sent from the cxf-user mailing list archive at Nabble.com.