axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarek Kucypera <...@mikrozet.wroc.pl>
Subject [axis2 1.1.1] Pojo service & date fields
Date Thu, 15 Mar 2007 18:14:31 GMT
I deploy a POJO service, which operates on records that contain fields
created from java.util.Date. In the resulting (automatically generated)
WSDL, those fields are defined like this:

<xs:element name="statusLastUpdated" type="xs:dateTime"/>

But when the service returns object with such a field set to null,
the field appears in the soap message as nil, like this:

<statusLastUpdated xsi:nil="true" ... />

So it looks like this field is actually "nillable", bot the WSDL does
not add nillable="true" tag to the field description, as you can see
above.
Is this an issue ? And should I adjust the WSDL (I need the dates set to
null), or maybe this is legal from a formal point of view ?

J.K.

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message