2009/6/29 [email protected] <[email protected]>: > I am using CXF SOAP to communicate to a system that seems to require an > element when not sending a dateTime and it seems if I send null with CXF the > element it is not sent. > The method that wsdl2java generated uses a XMLGregorianCalendar for this > field. > > This element works: > <urn:EndDate></urn:EndDate> > but as I said CXF does not send it when I call it with null. > > How may I send the void date value but sending the element so the other > system does not tell me I am not sending it?
Make it nillable="true" in the WSDL? Andrew. -- :: http://biotext.org.uk/ ::
