title: SOAP WSDL not generating
body: <p>I am new to <code>SOAP Web Services</code> and developed a basic application. While running the application it runs fine. When I am trying to see the WSDL file by appending <strong>?wsdl</strong> at end of the URL but it does show an error.</p>
  
  <p>I have even tested the same with SOAP UI but it throws an error:<br>
  <strong>WSDLException (at /html): faultCode=INVALID_WSDL: Expected element '{<a href="http://schemas.xmlsoap.org/wsdl/" rel="nofollow noreferrer">http://schemas.xmlsoap.org/wsdl/</a>}definitions'.</strong> </p>
  
  <p>Below is the code:</p>
  
  <pre><code>package com.WS.Book;
  
  import java.util.ArrayList;
  import java.util.List;
  
  import javax.jws.WebMethod;
  import javax.jws.WebService;
  
  @WebService
  public class BookDetails {
      @WebMethod
      public List&lt;String&gt; getBook() {
          List&lt;String&gt; list = new ArrayList();
          list.add("Book 1");
          list.add("Book 2");
          list.add("Book 3");
          return list;
      }
  }
  </code></pre>
  
  <p>Please do let me know where am I going wrong.</p>