On Mon June 29 2009 9:00:12 am [email protected] wrote: > On 2009-06-29 05:50:15 -0700, wytas wrote: > > [email protected] wrote: > > > I did not develop that WebService. > > > What may I do? > > > > So i assume this endDate is mandatory as per contract. What does exactly > > XSD say about this element? > > <xsd:element name="EndDate" type="xsd:dateTime"/> > > Does this mean that I should request the WebService developer to make this > element not mandatory?
With that schema, sending an empty "EndDate" element is not valid either. If you turn on the schema validation in CXF, cxf will throw an exception on the sending side as you cannot put a null for EndDate with that schema. Definitely see if you can get minOccurs="0" added or nillable="true" or similar. -- Daniel Kulp [email protected] http://www.dankulp.com/blog
