See the FAQ:
http://felix.apache.org/site/apache-felix-osgi-faq.html
Perhaps your annotation packages are not available to your bundle.
-> richard
On 5/19/10 6:48, Andrea Turbati wrote:
Hi,
In my bundle I'm trying to use a library (Okkam library) to retrieve
same information from a web service and I get the following error:
com.sun.xml.internal.ws.model.RuntimeModelerException: A WebService
annotation is not present on class: org.okkam.core.ws.WebServices
at
com.sun.xml.internal.ws.model.RuntimeModeler.buildRuntimeModel(Unknown
Source)
at
com.sun.xml.internal.ws.client.WSServiceDelegate.createSEIPortInfo(Unknown
Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.addSEI(Unknown
Source)
at
com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(Unknown Source)
at
com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(Unknown Source)
at
com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(Unknown Source)
at javax.xml.ws.Service.getPort(Unknown Source)
at
org.okkam.core.ws.WebServicesService.getWebServicesPort(WebServicesService.java:56)
at
org.okkam.proxyclient.WebServicesClientManager.createOkkamWebServiceInstance(WebServicesClientManager.java:57)
at
org.okkam.proxyclient.WebServicesClientManager.<init>(WebServicesClientManager.java:44)
at org.okkam.client.wsclient.EnsPublicClient.init(Unknown Source)
at org.okkam.client.wsclient.EnsPublicClient.<init>(Unknown Source)
....
I'm not very prepared on WebServices, so I don't know what I'm doing
wrong and how can I solved it. The some code works in an non-OSGi
enviroment.
I've also tried to include in the bundle various library from
jdk1.6.0_20\jre\lib (and also change the manifest accordingly) but the
error remain the same.
Thanks,
Andrea
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org