The MarshallDateTime test sends/receives from client and server all the XML Schema DateTime types like: time, date, gYearMonth, gYear, gMonthDay, gDay, gMonth. The only 1 that fails is the gMonth type.
When sending the request from the client to the server, the request is populated fine with XMLGregorianCalendar type for gMonth but when it is received on the server it is always null and the server sends back what it receives (null) in this case and the tests fails during comparison.
[javatest.batch] 05-10-2013 07:33:51: MarshallDateTimeTest(GMonthTest)
[javatest.batch] 05-10-2013 07:33:51: Passing/Returning Time class to/from JAXWS Service
[javatest.batch] request.getValue()=0006-05-01T10:00:00.000Z
[javatest.batch] response.getResult()=null
[javatest.batch] JAXWS_Data:compareDate
[javatest.batch] Failed comparison
This does not happen with the other types. For instance here is gDay test:
[javatest.batch] 05-10-2013 07:33:51: MarshallDateTimeTest(GDayTest)
[javatest.batch] 05-10-2013 07:33:51: Passing/Returning Time class to/from JAXWS Service
[javatest.batch] request.getValue()=0006-05-01T10:00:00.000Z
[javatest.batch] response.getResult()=---01Z
[javatest.batch] JAXWS_Data:compareDate
[javatest.batch] Expected
[javatest.batch] JAXWS_Data:dumpDate
[javatest.batch] - 1
[javatest.batch] Received
[javatest.batch] JAXWS_Data:dumpDate
[javatest.batch] - 1
Sample wsdl
.
.
.
Sample schema
#### Affected Versions
[2.2.8]