File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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.
 
Don't get me started about those stupid light bulbs.
 
subject: No getPort method in javax.xml.ws.Service
 
Similar Threads
Exiting a thread
WSDL access error
Please Help regarding error while create *Service class by using wsimport glassfish v2
Web Services with Axis2
Stupid Question: Where the heck can I download JAX-WS?