File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes No getPort method in Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "No getPort method in" Watch "No getPort method in" New topic

No getPort method in

James Hannoy

Joined: Dec 26, 2007
Posts: 24

I am writing a small client app to call a webservice which is very similar to the following:

However as my editor shows there is no such method called getPort() in Service class!!!

Could anyone please guide me?

James Hannoy

Joined: Dec 26, 2007
Posts: 24
I have resolved it using JDK 6.

I agree. Here's the link:
subject: No getPort method in
Similar Threads
Web Services with Axis2
WSDL access error
Stupid Question: Where the heck can I download JAX-WS?
Exiting a thread
Please Help regarding error while create *Service class by using wsimport glassfish v2