Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Consume web service error: No service endpoints found

 
julius hock
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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):
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic