I have an XML schema type that looks like this:
<complexType name="DemandBidType">
<sequence>
<element name="DemandBidHourly" minOccurs="0" maxOccurs="25">
<complexType>
<sequence>
<element name="FixedDemand" type="mkt:MWType" minOccurs="0" maxOccurs="1"/>
<element name="PriceSensitiveDemand" type="mkt:BlockBidType" minOccurs="0" maxOccurs="1"/>
</sequence>
<attributeGroup ref="mkt:HourEndingGroup"/>
</complexType>
</element>
</sequence>
<attribute name="day" type="date" use="required"/>
<attribute name="location" type="mkt:LocationNameType" use="required"/>
</complexType>
When I populate the "day" and "location" attributes and them submit it to my service, tcpmonitor is showing:
<DemandBid day="2003-08-19T17:35:16.859Z" location="test"/>
This is fouling up my deserializer on the server (castor) because it does not expect the xml schema type "date" to have a time component. After looking at the Axis code for a while, it seems like it is using the CalendarSerializer instead of the DateSerializer. I don't know enough about Axis yet to know why. Can anyone help?
Thanks, Whitney
