Re: schema-validation-enabled=true

2013-07-02 Thread ParvathyR
I might have added my text to the quote in my previous response. Reposting here: Hi Dan, This behaviour was noted for jms services and not for ones exposed over http. For webservices over http, the marshalling error is shown as part of the Fault body, while for the same webservice, if I change

Re: schema-validation-enabled=true

2013-07-02 Thread ParvathyR
ype.2.4.a: Invalid content > was found starting with element 'optionalValue'. One of '{mandatoryValue}' > is expected.] > at > com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:318) > at > com.sun.xml.bind.v2.runtime.MarshallerImp

Re: schema-validation-enabled=true

2013-07-01 Thread ParvathyR
Jeffrey Knight wrote > I'm pretty sure my wsdl and xsd are ok. It passes WSI-Compliance in > SoapUI. > > The issue seems to be that I'm neglecting to set a required property > on an object that then gets serialized. > So when my code returns and CXF tries to serialize it to XML, it fails > the val