Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

webservice client in J2SE

darshan sure
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am using NetBeans 6.7.1 IDE

I followed the link 'Invoking Web services with Java clients'

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(
at com.sun.xml.rpc.client.dii.ConfiguredCall.configureCall(
at com.sun.xml.rpc.client.dii.ConfiguredCall.setMethodName(
at com.sun.xml.rpc.client.dii.DynamicProxyBuilder.buildDynamicProxyFor(
at com.sun.xml.rpc.client.dii.ConfiguredService.getPort(


Thanks for any suggestion/hint

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic