private void performTestNewXMLGregorianCalendarArray(StandardTypesServiceClient serviceClient)
throws DatatypeConfigurationException {
DatatypeFactory df = DatatypeFactory.newInstance();
XMLGregorianCalendar[] xgcals = new XMLGregorianCalendar[3];
xgcals[0] = df.newXMLGregorianCalendar(new GregorianCalendar(1974, GregorianCalendar.APRIL, 19));
xgcals[1] = df.newXMLGregorianCalendar(new GregorianCalendar(1978, GregorianCalendar.OCTOBER, 13));
xgcals[2] = df.newXMLGregorianCalendar(new GregorianCalendar(2006, GregorianCalendar.JUNE, 16));
XMLGregorianCalendar[] actual = serviceClient.getNewXMLGregorianCalendarArrayForward(xgcals);
Assert.assertEquals(xgcals.length, actual.length);
for (int i = 0; i < xgcals.length; ++i) {