Hide
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)
Show
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)