aspose file tools
The moose likes Web Services and the fly likes  webservice client in J2SE Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply Bookmark " webservice client in J2SE" Watch " webservice client in J2SE" New topic
Author

webservice client in J2SE

darshan sure
Greenhorn

Joined: Aug 25, 2009
Posts: 20
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: webservice client in J2SE
 
Similar Threads
client accesing webservice
Creating JAX-WS Client in J2ME
What to expect in Web Services interview ?
Suggestion for novice to Web Service