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 Consume web service error: No service endpoints found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Consume web service error: No service endpoints found" Watch "Consume web service error: No service endpoints found" New topic
Author

Consume web service error: No service endpoints found

julius hock
Greenhorn

Joined: Apr 06, 2006
Posts: 7
Hi,

I tried to consume an external third party web service url. When i was generating stub from WSDL, error given was "No Service Endpoints Found".

Any idea for me to check what goes wrong with the web service url? or could it due to firewall?


p/s: I cant put the wsdl here, but will send via email to anyone who is willing to help.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Create the stub against a local copy of the WSDL and see what happens.

There should be a <service> element that contains a <port> element, that contains a <{http://schemas.xmlsoap.org/wsdl/soap/}address> element.

The <port> element should specify a binding to a <binding> element.


Example (this is not a WSDL that represents a real Web service):
 
 
subject: Consume web service error: No service endpoints found