NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
samk Posted via mailing list.
|
Posted: Tue May 24, 2011 8:42 pm Post subject: "Upgrade" JDK 5 web service client to JDK 6? |
|
|
See Thread at: http://www.techienuggets.com/Detail?tx=19244 Posted on behalf of a User
Hai
i have generated a proxy classes using wsimport command,while running my Application i got a error like this..
My web service is in .NET and i called that web service in server.
ERROR server comment - invoke(onAppStart): class: helloclient.Insert could not be found: com.sun.xml.internal.ws.modeler.RuntimeModeler.getClass(null:-1)
class: helloclient.Insert could not be found
at com.sun.xml.internal.ws.modeler.RuntimeModeler.getClass(Unknown Source)
at com.sun.xml.internal.ws.modeler.RuntimeModeler.processDocWrappedMethod(Unknown Source)
at com.sun.xml.internal.ws.modeler.RuntimeModeler.processMethod(Unknown Source)
at com.sun.xml.internal.ws.modeler.RuntimeModeler.processClass(Unknown Source)
at com.sun.xml.internal.ws.modeler.RuntimeModeler.buildRuntimeModel(Unknown Source)
at com.sun.xml.internal.ws.client.ServiceContextBuilder.processAnnotations(Unknown Source)
at com.sun.xml.internal.ws.client.ServiceContextBuilder.completeServiceContext(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.processServiceContext(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(Unknown Source)
at javax.xml.ws.Service.getPort(Unknown Source)
at com.helloclient.Service.getServiceSoap(Service.java:56)
at com.my.hai.onAppStart(hai.java:26)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.wowza.wms.module.ModuleFunction.invoke(Unknown Source)
at com.wowza.wms.module.ModuleFunctions.invokeSpecial(Unknown Source)
at com.wowza.wms.module.ModuleFunctions.onAppStart(Unknown Source)
at com.wowza.wms.application.Application.getAppInstance(Unknown Source)
at com.wowza.wms.module.ModuleConnect.connect(Unknown Source)
at com.wowza.wms.request.RequestProcessFunctions.processFunctions(Unknown Source)
at com.wowza.wms.request.RTMPRequestAdapter.service(Unknown Source)
at com.wowza.wms.server.ServerHandler.serviceRequest(Unknown Source)
at com.wowza.wms.server.ServerHandler.handleMessageReceived(Unknown Source)
at com.wowza.wms.server.ServerHandler.messageReceived(Unknown Source)
at com.wowza.wms.server.ServerHandlerThreadedSession.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
In Response To:
Running under NB 6.0 RC1 under Ubuntu, I stupidly installed NB with JDK
1.5. I then created an EJB and a Web Service, and began using several of
the tutorials to develop a client application. I soon found "missing"
methods (table.setFillsViewPortHeight(), table.setAutoCreateRowSorter()
for example) that I definitely would like to use.
I assumed I could use Properties->Libraries and
Properties->Source/Binary Format to make the switch painlessly to JDK 6.
But when I recompiled, it fails to find one version of getPort that
supports features:
symbol : method
getPort(javax.xml.namespace.QName,java.lang.Class<zzz.yyy.xxx.PMService>,javax.xml.ws.WebServiceFeature[])
location: class javax.xml.ws.Service
return super.getPort(new QName("http://xxx.yyy.zzz/",
"PMServicePort"), PMService.class, features);
So I switched the JDK on the WebService and the underlying EJB, and ran
a "refresh client" on my web service reference in the client - still the
same error.
Any suggestions much appreciated.
-Terry |
|
| Back to top |
|
 |
samk Posted via mailing list.
|
Posted: Tue May 24, 2011 8:55 pm Post subject: "Upgrade" JDK 5 web service client to JDK 6? |
|
|
See Thread at: http://www.techienuggets.com/Detail?tx=19244 Posted on behalf of a User
]-p-
[
]guiki
ghjh
In Response To:
Running under NB 6.0 RC1 under Ubuntu, I stupidly installed NB with JDK
1.5. I then created an EJB and a Web Service, and began using several of
the tutorials to develop a client application. I soon found "missing"
methods (table.setFillsViewPortHeight(), table.setAutoCreateRowSorter()
for example) that I definitely would like to use.
I assumed I could use Properties->Libraries and
Properties->Source/Binary Format to make the switch painlessly to JDK 6.
But when I recompiled, it fails to find one version of getPort that
supports features:
symbol : method
getPort(javax.xml.namespace.QName,java.lang.Class<zzz.yyy.xxx.PMService>,javax.xml.ws.WebServiceFeature[])
location: class javax.xml.ws.Service
return super.getPort(new QName("http://xxx.yyy.zzz/",
"PMServicePort"), PMService.class, features);
So I switched the JDK on the WebService and the underlying EJB, and ran
a "refresh client" on my web service reference in the client - still the
same error.
Any suggestions much appreciated.
-Terry |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|