aspose file tools
The moose likes Web Services and the fly likes Why is my WS expecting a XMLGregorianCalendar datatype? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Why is my WS expecting a XMLGregorianCalendar datatype?" Watch "Why is my WS expecting a XMLGregorianCalendar datatype?" New topic
Author

Why is my WS expecting a XMLGregorianCalendar datatype?

Steve Vittoria
Ranch Hand

Joined: Jan 12, 2005
Posts: 33

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why is my WS expecting a XMLGregorianCalendar datatype?
 
Similar Threads
Need some advice on returning record sets from a web service to a C# client.
Confusion over JBossWS
Hwo to get set of Dates between two limits ?
Why is Hibernate updating after a select?
Get Dates between the given dates.