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 javax.xml.ws.Service 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 javax.xml.ws.Service" Watch "No getPort method in javax.xml.ws.Service" New topic
Author

No getPort method in javax.xml.ws.Service

James Hannoy
Greenhorn

Joined: Dec 26, 2007
Posts: 24
Hi,

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?

-Thanks,
James.
James Hannoy
Greenhorn

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

Thanks,
JH.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No getPort method in javax.xml.ws.Service
 
It's not a secret anymore!