You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Christian Lipp <c....@xion.at> on 2008/06/11 10:36:32 UTC

date fields

Hello!

We want to have special date fields in our interfaces.

Days and month have special meanings, they can be null.
So we modeled the type this way:

	<xsd:simpleType name="DatumType">
		<xsd:annotation>
			<xsd:documentation>DatumType: Format richtet sich
nach xsd:date, '00' bei Monat und Tag erlaubt</xsd:documentation> 
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:pattern
value="[0-9]{4}[\-][0-9]{2}[\-][0-9]{2}"/>
		</xsd:restriction>
	</xsd:simpleType>	

We encountered some problems with this type, when customers called the
service with .net.
How would you model this kind of date type to stay portable?

Thanks, Christian


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