GregorianCalendar cal = new GregorianCalendar(Calendar.YEAR, Calendar.MONTH, Calendar.DAY_OF_MONTH);
DatatypeFactory javaxtypeFactory = DatatypeFactory.newInstance();
XMLGregorianCalendar request= javaxtypeFactory.newXMLGregorianCalendar(cal);
System.out.println("Javax Factory Clazz Name = "+request.getClass().getName());
Duration d = javaxtypeFactory.newDuration(System.currentTimeMillis());
XMLGregorianCalendar response = proxy.echoDate(request, d);
System.out.println(response.toString());
assertNotNull(response);
}catch(Exception e){
e.printStackTrace();
fail("Exception in testEchoDate :"+e);