1 Reply Latest reply on Jun 7, 2012 10:59 PM by thoangjb

    javax.xml.bind.UnmarshalException occured with XMLGregorianCalendar

    thoangjb

      Hi, our web service has a simple type with xsd:gYear, when generate to java class, it become XMLGregorianCalendar type. We deployed to Jboss AS 5.1. When we test ws in soapUI - for the scenario year is not entered, we expect to get the application error code something like year is invalid.. however we got fault exception javax.xml.bind.UnmarshalException with linked exception:[java.lang.IllegalArgumentException: ...

       

      The version we deployed to WebSphere AS is working fine - if no year entered we got the error code we set in the application.

       

      Your help is appreciated.