• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why is my WS expecting a XMLGregorianCalendar datatype?

 
Ranch Hand
Posts: 37
IntelliJ IDE Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone!

I wrote a method for one of my web services that has to two Date input parameters. From my client, when I try to access this method I get an error stating the following...

required: java.lang.Long,javax.xml.datatype.XMLGregorianCalendar,javax.xml.datatype.XMLGregorianCalendar
found: java.lang.Long,java.util.Date,java.util.Date

Here is my Interface...


Here is my class...


Why is it expecting/wanting a javax.xml.datatype.XMLGregorianCalendar instead of a java.util.Date?
 
reply
    Bookmark Topic Watch Topic
  • New Topic