Hi,

Your schema has
           <xs:element name="latitude" nillable="true" type="xs:double"/>
           <xs:element name="longitude" nillable="true" type="xs:double"/>

Those elements don't have minOccurs="0", so I think you need those elements in 
your request if you enabled schema validation.
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋

On 2013-5-10, at 下午1:08, jasminadesai wrote:

> Also, the flow does not even reach my web service method. The error is thrown
> even before that because of the schema validation. If I disable the schema
> validation, everything works fine.
> 
> 
> Regards,
> Jasmina
> 
> 
> 
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/cxf-2-2-1-schema-validation-throws-error-tp5727471p5727482.html
> Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to