Note that there are some explanatory texts on larger screens.

plurals
  1. POJava webservice - no wsdl xml returned
    primarykey
    data
    text
    <p>I am following a tutorial from here</p> <p><a href="http://www.java-forums.org/blogs/web-service/1145-how-create-java-web-service.html" rel="nofollow noreferrer">http://www.java-forums.org/blogs/web-service/1145-how-create-java-web-service.html</a></p> <p>i have two classes </p> <pre><code>public class Server { public static void main(String[] args) { Endpoint.publish("http://localhost:9898/HelloWeb", new HelloWeb()); System.out.println("HelloWeb service is ready"); } } @WebService public class HelloWeb { @WebMethod public String sayGreeting(String name) { return "Greeting " + name + "!"; } } </code></pre> <p>The guide says - </p> <blockquote> <p>Type the following line into address bar of the internal browser: <code>http://localhost:9898/HelloWeb?wsdl</code> The server should return an XML document as in the following screen-shot:</p> </blockquote> <p><img src="https://i.stack.imgur.com/7pM3W.png" alt="WSDL"></p> <p>When i open the url i see absolutely nothing, and i dont know how to debug this. Could someone help as to why this might not be working.</p> <p>Thanks</p> <p>edit</p> <p>my eclipse console outputs the following…..</p> <blockquote> <p>Dec 28, 2013 1:34:23 PM com.sun.xml.internal.ws.model.RuntimeModeler getRequestWrapperClass INFO: Dynamically creating request wrapper Class com.hotornot.service.jaxws.SayGreeting Dec 28, 2013 1:34:23 PM com.sun.xml.internal.ws.model.RuntimeModeler getResponseWrapperClass INFO: Dynamically creating response wrapper bean Class com.hotornot.service.jaxws.SayGreetingResponse HelloWeb service is ready</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload