[ 
https://issues.apache.org/jira/browse/CXF-6246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317928#comment-14317928
 ] 

Amichai Rothman commented on CXF-6246:
--------------------------------------

Thanks for the quick resolution!

> missing osgi import of javax.jws
> --------------------------------
>
>                 Key: CXF-6246
>                 URL: https://issues.apache.org/jira/browse/CXF-6246
>             Project: CXF
>          Issue Type: Bug
>          Components: Aegis Databinding
>    Affects Versions: 2.7.14
>            Reporter: Amichai Rothman
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 3.0.4, 2.7.15
>
>
> In the org.apache.cxf.aegis.type.java5.AnnotationReader class, the two lines
> {code}
>     private static final Class<? extends Annotation> WEB_PARAM = 
> load("javax.jws.WebParam");
>     private static final Class<? extends Annotation> WEB_RESULT = 
> load("javax.jws.WebResult");
> {code}
> attempt to load classes from the javax.jws package reflectively. However, the 
> javax.jws package is not imported in the osgi bundle (jar) headers, which 
> means they will always fail in an osgi environment.
> Please add this package to the bundle's imported packages header (possibly 
> with resolution:=optional, if it should be optional) so that it will behave 
> the same in an osgi environment as it does outside of it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to