VMware {code} Community
satish123REUGHE
Contributor
Contributor

com.sun.xml.ws.model.RuntimeModelerException:A WebService annotation is not present on class: com.vm

Hi All,
We getting the above error while development of Remote Plugin, the plugin is getting registered successfully,
But getting erro in the vimService.getVimPort() call.
I have attached the content of Manifest.mf file too
Could anyone please help ?

com.sun.xml.ws.model.RuntimeModelerException: A WebService annotation is not present on class: com.vmware.vim25.VimPortType
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:239)
at com.sun.xml.ws.db.DatabindingImpl.<init>(DatabindingImpl.java:70)
at com.sun.xml.ws.db.DatabindingProviderImpl.create(DatabindingProviderImpl.java:44)
at com.sun.xml.ws.db.DatabindingProviderImpl.create(DatabindingProviderImpl.java:28)
at com.sun.xml.ws.db.DatabindingFactoryImpl.createRuntime(DatabindingFactoryImpl.java:90)
at com.sun.xml.ws.client.WSServiceDelegate.buildRuntimeModel(WSServiceDelegate.java:852)
at com.sun.xml.ws.client.WSServiceDelegate.createSEIPortInfo(WSServiceDelegate.java:869)
at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:832)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:421)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:390)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:372)
at javax.xml.ws.Service.getPort(Service.java:119)
at com.vmware.vim25.VimService.getVimPort

 

Content of Manifest.mf file:

Manifest-Version: 1.0
Export-Package: com.vmware.vim25;uses:="javax.jws,javax.xml.bind,javax.xml.bind.annotation,javax.xml.datatype,javax.xml.namespace,javax.xml.ws"
Bundle-ManifestVersion: 2
Bundle-Name: html-sample-ui
Bundle-SymbolicName: com.vmware.samples.htmlsample.ui
Bundle-Version: 1.0.0
Bundle-Vendor: VMware
Web-ContextPath: ui/html-sample
Import-Package: com.vmware.samples.htmlsample.controllers;version="1.0.0",
com.vmware.samples.htmlsample.services;version="1.0.0",
com.vmware.vise.security;version="0",
org.eclipse.virgo.web.dm;version="3.6.0",
org.springframework.web.servlet;version="4.2.9",
org.springframework.web.servlet.config;version="4.2.9",
javax.jws,javax.xml.bind,javax.xml.bind.annotation,javax.xml.datatype,javax.xml.namespace,javax.xml.ws

 

 

Regards,
Satish

Reply
0 Kudos
0 Replies