title: accessing wsdl on Tomcat
body: <p>I have a web service and I was deploying it on GlassFish. I accessed its wsdl through <a href="http://localhost:10697/APIService/APIServiceService?wsdl" rel="noreferrer">http://localhost:10697/APIService/APIServiceService?wsdl</a>. </p>
  
  <p>Now I ported the WAR file to a Tomcat 6.0.24 and it is deployed. However I am trying to access its wsdl using <a href="http://localhost:8080/APIService/APIServiceService?wsdl" rel="noreferrer">http://localhost:8080/APIService/APIServiceService?wsdl</a> but I'm getting a 404 error. I tried various combinations but none seem to work. </p>
  
  <p>How can I access the wsdl file plz?</p>
  
  <p>Thanks and regards,</p>
  
  <p><strong>Update:</strong> Here you are: <code>web.xml</code>: </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"&gt;
      &lt;session-config&gt;
          &lt;session-timeout&gt;
              30
          &lt;/session-timeout&gt;
      &lt;/session-config&gt;
      &lt;welcome-file-list&gt;
          &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>I can't find <code>sun-jaxws.xml</code> however... Thanks a lot! Regards</p>