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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 2906
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):


"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Consume web service error: No service endpoints found
 
Similar Threads
Doubt on SOAP msg validation
Consuming biomart web services
How to consume a SOAP Secure WCF web service using axis2?
WSDL location and Port address location
reading soap-envelop messages