• Post Reply Bookmark Topic Watch Topic
  • New Topic

webservice client in J2SE  RSS feed

 
Shwetha Suresh
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


I am using NetBeans 6.7.1 IDE

I followed the link 'Invoking Web services with Java clients'
http://www.ibm.com/developerworks/webservices/library/ws-javaclient/#resources

and installed the JAX-RPC plugin and added a new webservice client in JAX-RPC client style.With the WSDL generated the web service References

In the project window under web service References am able to 'test operation' for all the services available

but am getting an exception at /* Service access */ where getport() method is called and the execption looks something like this


--------------------
does not contain operation: 'name of the service is shown here,which am able to do test operation in the project window'
at com.sun.xml.rpc.client.dii.ConfiguredCall.configureCall(ConfiguredCall.java:99)
at com.sun.xml.rpc.client.dii.ConfiguredCall.configureCall(ConfiguredCall.java:69)
at com.sun.xml.rpc.client.dii.ConfiguredCall.setMethodName(ConfiguredCall.java:50)
at com.sun.xml.rpc.client.dii.DynamicProxyBuilder.buildDynamicProxyFor(DynamicProxyBuilder.java:66)
at com.sun.xml.rpc.client.dii.ConfiguredService.getPort(ConfiguredService.java:250)

--------------------------

Thanks for any suggestion/hint

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!