Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Why is my WS expecting a XMLGregorianCalendar datatype?  RSS feed

 
Steve Vittoria
Ranch Hand
Posts: 35
Eclipse IDE Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • 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?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!