Hi all,

I got the following errors when I try to get WS port from the CXF generated 
stub.

java.security.PrivilegedActionException: 
com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 4 counts of 
IllegalAnnotationExceptions
javax.xml.ws.AsyncHandler is an interface, and JAXB can't handle interfaces.
    this problem is related to the following location:
        at javax.xml.ws.AsyncHandler
        at public javax.xml.ws.AsyncHandler 
org.ws.stub.jaxws.SomeWSMethodAsync.asyncHandler
javax.xml.ws.AsyncHandler does not have a no-arg default constructor.
    this problem is related to the following location:
        at javax.xml.ws.AsyncHandler
        at public javax.xml.ws.AsyncHandler 
org.ws.stub.jaxws.SomeWSMethodAsync.asyncHandler
java.util.concurrent.Future is an interface, and JAXB can't handle interfaces.
    this problem is related to the following location:
        at java.util.concurrent.Future
        at public java.util.concurrent.Future 
org.ws.stub.jaxws.SomeWSMethodAsyncResponse._return
java.util.concurrent.Future does not have a no-arg default constructor.
    this problem is related to the following location:
        at java.util.concurrent.Future
        at public java.util.concurrent.Future 
org.ws.stub.jaxws.SomeWSMethodAsyncResponse._return

Any ideas?

Best regards,

David
                                          

Reply via email to