This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No getPort method in javax.xml.ws.Service
 
Similar Threads
Exiting a thread
Web Services with Axis2
Stupid Question: Where the heck can I download JAX-WS?
WSDL access error
Please Help regarding error while create *Service class by using wsimport glassfish v2