|Re: XMLGregorianCalendar error Eclipse Luna [message #1429832 is a reply to message #1429421]
||Tue, 23 September 2014 20:29
| Tauno Voipio
Registered: August 2014
Khajan Joshi wrote on Tue, 23 September 2014 10:55|
I am getting the following error after generating the java code after wsimport.
Abstract class javax.xml.datatype.XMLGregorianCalendar cannot be used as a runtime class because it is not extended by a non abstract class
which is suitable as a runtime class
I am using dateTime as argument to one method,
This is the service interface method.
public List<Weather> getForecast(
@WebParam(name = "arg0", targetNamespace = "xyzdotcom/")
@WebParam(name = "arg1", targetNamespace = "xyzdotcom/")
This is a Java question. An abstract class is a template for a class and it cannot be used directly. See the discussion at <http://stackoverflow.com/questions/835889/java-util-date-to-xmlgregoriancalendar>.
Powered by FUDForum
. Page generated in 0.03036 seconds