Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EasyBeans 1.1.0 M3
-
Fix Version/s: EasyBeans 1.1.0 RC1
-
Component/s: Core
-
Labels:None
-
Global Rank:2638
Description
When no wsdlLocation attribute is provided in the @WebService annotation, the class enhanced by easybeans is used to discover the WSDL interface using reflection.
This has a number of consequences:
- all methods generated by easybeans may appear in the WSDL
- JAXB exceptions during JAXB analyze of managed classes
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 12 counts of IllegalAnnotationExceptions
org.ow2.easybeans.api.Factory is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at org.ow2.easybeans.api.Factory
at private org.ow2.easybeans.api.Factory com.sun.tutorial.javaee.ejb.helloservice.jaxws_asm.GetEasyBeansFactoryResponse._return
at com.sun.tutorial.javaee.ejb.helloservice.jaxws_asm.GetEasyBeansFactoryResponse
Side notes:
- On simple examples, with bean using no interfaces, @WebMethods are not intercepted
- Take care of existing annotations (method and parameter annotation) when renaming methods (move them from the renamed method to the interceptor method)
committed and fixed