Hi tuscany users/devs,
     I am trying to expose a class as a tuscany SOAP service and ran into
the following exception.
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts
of IllegalAnnotationExceptions
etch.bindings.java.msg.ImportExportHelper is an interface, and JAXB can't
handle interfaces.
    this problem is related to the following location:
        at etch.bindings.java.msg.ImportExportHelper
        at public etch.bindings.java.msg.ImportExportHelper
etch.bindings.java.msg.Type.getImportExportHelper()
        at etch.bindings.java.msg.Type
etch.bindings.java.msg.ImportExportHelper does not have a no-arg default
constructor.
    this problem is related to the following location:
        at etch.bindings.java.msg.ImportExportHelper
        at public etch.bindings.java.msg.ImportExportHelper
etch.bindings.java.msg.Type.getImportExportHelper()
        at etch.bindings.java.msg.Type
     Wanted to know more about what this exception means. And looking at the
second exception, how can there be a default no-arg constructor for an
interface? The class in question here is an etch generated client/server
stub class.

Thanks.

Reply via email to