Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem with XMLGregorianCalendar field in SOA request

843833Sep 2 2009 — edited Sep 4 2009
Hi,

We have a SOA service operation which has an request attribute of type XMLGregorianCalendar.
In the WSDL file, attribute is defined as xs:date. On the SOA client side request object has correct date and time values(eg 2008-05-12T05:12:00). But in the implementation side the request object has the year,month and day fields populated correctly, where as the time(hour,minute and second) never gets set. On exploring the request object on the service implementation side the hour, minute and second always have the value as -2147483648

Instead of java client code, if we use SOAP ui to construct request and invoke the service implementation, both date and time gets populated correctly

Please advise

Thanks,
Vijay
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 2 2009
Added on Sep 2 2009
10 comments
3,253 views