dims        2002/06/24 11:15:02

  Modified:    java/docs install.html
               java/src/org/apache/axis/transport/http AxisServlet.java
               java/webapps/axis index.html
  Log:
  Many people are having deployment problems. We need an easy way to check if the web 
service has been "correctly" deployed.
  This check-in adds a link for each listed Web service that allows users to view 
their WSDL.
  If the service is correctly deployed, you will get the WSDL or else you will see the 
error stack trace (for example a ClassNotFoundException).
  
  Revision  Changes    Path
  1.16      +3 -6      xml-axis/java/docs/install.html
  
  Index: install.html
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/docs/install.html,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- install.html      21 Jun 2002 23:20:01 -0000      1.15
  +++ install.html      24 Jun 2002 18:15:02 -0000      1.16
  @@ -166,13 +166,10 @@
         can be found, and this validation page is happy.</b> <br>
         Optional components are optional; install them as your need arises.
   
  -      <li>From the start page, select <i>See the wsdl of a JWS Web Service </i>.
  -      This fetches the WSDL from a JWS-implemented Web Service. If you do not
  -      see a page full of WSDL XML, Axis is not working.
  -
  -      <li>From the start page, select <i>Visit the Axis Servlet</i>.
  +      <li>From the start page, select <i>View the list of deployed Web services</i>.
         This will list all registered Web Services, unless the servlet is configured
  -      not to do so.
  +      not to do so. On this page, You should be able to click on <i>(wsdl)</i> for
  +       each deployed Web service to make sure that your web service is up and 
running.
       </ul>
   
       <a name="deploy"/></a>
  
  
  
  1.118     +9 -2      
xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java
  
  Index: AxisServlet.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java,v
  retrieving revision 1.117
  retrieving revision 1.118
  diff -u -r1.117 -r1.118
  --- AxisServlet.java  22 Jun 2002 23:14:05 -0000      1.117
  +++ AxisServlet.java  24 Jun 2002 18:15:02 -0000      1.118
  @@ -282,7 +282,13 @@
                   writer.println("<ul>");
                   while (i.hasNext()) {
                       ServiceDesc sd = (ServiceDesc)i.next();
  -                    writer.println("<li>" + sd.getName());
  +                    StringBuffer sb = new StringBuffer();
  +                    sb.append("<li>");
  +                    sb.append(sd.getName());
  +                    sb.append(" <a href=\"../services/");
  +                    sb.append(sd.getName());
  +                    sb.append("?wsdl\"><i>(wsdl)</i></a></li>");
  +                    writer.println(sb.toString());
                       ArrayList operations = sd.getOperations();
                       if (!operations.isEmpty()) {
                           writer.println("<ul>");
  @@ -451,7 +457,8 @@
                       writer.println("<p>" +
                                      JavaUtils.getMessage("somethingWrong00") +
                                      "</p>");
  -                    writer.println("<pre>" + fault.toString() + " </pre>");
  +                    writer.println("<pre>Fault - " + fault.toString() + " </pre>");
  +                    writer.println("<pre>" + fault.dumpToString() + " </pre>");
                   } catch (Exception e) {
                       res.setContentType("text/html");
                       writer.println("<h2>" +
  
  
  
  1.4       +2 -4      xml-axis/java/webapps/axis/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/webapps/axis/index.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- index.html        21 Jun 2002 20:31:08 -0000      1.3
  +++ index.html        24 Jun 2002 18:15:02 -0000      1.4
  @@ -16,12 +16,10 @@
   
   <ul>
       <li><a href="servlet/AdminServlet">Administer Axis</a></li>
  -    <li><a href="servlet/AxisServlet">Visit</a>
  -        the Axis Servlet</li>
  +    <li><a href="servlet/AxisServlet">View</a>
  +        the list of deployed Web services</li>
       <li><a href="happyaxis.jsp">Validate</a>
           the local installation's configuration</li>
  -    <li><a href="StockQuoteService.jws?wsdl">See</a>
  -        the wsdl of a JWS web service</li>
       <li><a href="http://xml.apache.org/axis";>Visit</a>
           the Apache-Axis Home Page</li>
   </ul>
  
  
  


Reply via email to