hello, i have a service operations that returns a java.util.List. it's a very
simple service call, but when the service tries to return, i'm getting the
error below...
May 13, 2008 8:48:32 AM org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOu
tSyncMessageReceiver invokeBusinessLogic
SEVERE: org.apache.tuscany.sca.databinding.TransformationException: org.apache.t
uscany.sca.databinding.TransformationException: com.sun.xml.bind.v2.runtime.Ille
galAnnotationsException: 2 counts of IllegalAnnotationExceptions
java.util.List is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at java.util.List
java.util.List does not have a no-arg default constructor.
this problem is related to the following location:
at java.util.List
not sure what the problem could be. here's my service operation:
publicList getAllOrganizations() { InputStream in =
getClass().getClassLoader().getResourceAsStream(
DAS das = DAS.
Command read = das.getCommand(
DataObject root = read.executeQuery();
List orgs = root.getList(
}
any help is great - abe"dasConfiguration.xml");FACTORY.createDAS(in,
getConnection());"getAllOrganizations");"ORGANIZATION");
returnroot.getList("ORGANIZATION");