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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to