This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
It's not a secret anymore!