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.
Can anyone give me a hint how to solve this problem?