You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2006/06/25 21:51:26 UTC

svn commit: r417046 [2/2] - in /beehive/wsm/trunk: ./ samples/wsm-blank/ samples/wsm-samples/ samples/wsm-samples/src/ samples/wsm-samples/src/org/apache/beehive/sample/ samples/wsm-samples/src/org/apache/beehive/sample/wsm/wsmsamples/ samples/wsm-samp...

Modified: beehive/wsm/trunk/samples/wsm-samples/web/happyaxis.jsp
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/samples/wsm-samples/web/happyaxis.jsp?rev=417046&r1=417045&r2=417046&view=diff
==============================================================================
--- beehive/wsm/trunk/samples/wsm-samples/web/happyaxis.jsp (original)
+++ beehive/wsm/trunk/samples/wsm-samples/web/happyaxis.jsp Sun Jun 25 12:51:21 2006
@@ -1,10 +1,11 @@
 <html>
-<%@ page import="java.io.InputStream,
-                 java.io.IOException,
+<%@ page import="java.io.IOException,
+                 java.io.InputStream,
                  javax.xml.parsers.SAXParser,
                  javax.xml.parsers.SAXParserFactory"
-   session="false" %>
- <%
+         session="false" %>
+<%
+
     /*
  * Copyright 2002,2004 The Apache Software Foundation.
  * 
@@ -20,379 +21,386 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 %>
 <head>
-<title>Axis Happiness Page</title>
+    <title>Axis Happiness Page</title>
 </head>
+
 <body bgcolor='#ffffff'>
 <%!
 
-    /*
-     * Happiness tests for axis. These look at the classpath and warn if things
-     * are missing. Normally addng this much code in a JSP page is mad
-     * but here we want to validate JSP compilation too, and have a drop-in
-     * page for easy re-use
-     * @author Steve 'configuration problems' Loughran
-     * @author dims
-     * @author Brian Ewins
-     */
 
+/*
+ * Happiness tests for axis. These look at the classpath and warn if things
+ * are missing. Normally addng this much code in a JSP page is mad
+ * but here we want to validate JSP compilation too, and have a drop-in
+ * page for easy re-use
+ * @author Steve 'configuration problems' Loughran
+ * @author dims
+ * @author Brian Ewins
+ */
 
-    /**
-     * Get a string providing install information.
-     * TODO: make this platform aware and give specific hints
-     */
-    public String getInstallHints(HttpServletRequest request) {
 
-        String hint=
-            "<B><I>Note:</I></B> On Tomcat 4.x and Java1.4, you may need to put libraries that contain "
-            +"java.* or javax.* packages into CATALINA_HOME/common/lib"
-            +"<br>jaxrpc.jar and saaj.jar are two such libraries.";
-        return hint;
-    }
+/**
+ * Get a string providing install information.
+ * TODO: make this platform aware and give specific hints
+ */
+public String getInstallHints(HttpServletRequest request) {
 
-    /**
-     * test for a class existing
-     * @param classname
-     * @return class iff present
-     */
-    Class classExists(String classname) {
+    String hint=
+        "<B><I>Note:</I></B> On Tomcat 4.x and Java1.4, you may need to put libraries that contain "
+        +"java.* or javax.* packages into CATALINA_HOME/common/lib"
+        +"<br>jaxrpc.jar and saaj.jar are two such libraries.";
+    return hint;
+}
+
+/**
+ * test for a class existing
+ * @param classname
+ * @return class iff present
+ */
+Class classExists(String classname) {
+    try {
+        return Class.forName(classname);
+    } catch (ClassNotFoundException e) {
+        return null;
+    }
+}
+
+/**
+ * test for resource on the classpath
+ * @param resource
+ * @return true iff present
+ */
+boolean resourceExists(String resource) {
+    boolean found;
+    InputStream instream=this.getClass().getResourceAsStream(resource);
+    found=instream!=null;
+    if(instream!=null) {
         try {
-            return Class.forName(classname);
-        } catch (ClassNotFoundException e) {
-            return null;
+            instream.close();
+        } catch (IOException e) {
         }
     }
+    return found;
+}
 
-    /**
-     * test for resource on the classpath
-     * @param resource
-     * @return true iff present
-     */
-    boolean resourceExists(String resource) {
-        boolean found;
-        InputStream instream=this.getClass().getResourceAsStream(resource);
-        found=instream!=null;
-        if(instream!=null) {
-            try {
-                instream.close();
-            } catch (IOException e) {
-            }
+/**
+ * probe for a class, print an error message is missing
+ * @param out stream to print stuff
+ * @param category text like "warning" or "error"
+ * @param classname class to look for
+ * @param jarFile where this class comes from
+ * @param errorText extra error text
+ * @param homePage where to d/l the library
+ * @return the number of missing classes
+ * @throws IOException
+ */
+int probeClass(JspWriter out,
+               String category,
+               String classname,
+               String jarFile,
+               String description,
+               String errorText,
+               String homePage) throws IOException {
+    try {
+        Class clazz = classExists(classname);
+        if(clazz == null)  {
+           String url="";
+           if(homePage!=null) {
+              url="<br>  See <a href="+homePage+">"+homePage+"</a>";
+           }
+           out.write("<p>"+category+": could not find class "+classname
+               +" from file <b>"+jarFile
+               +"</b><br>  "+errorText
+               +url
+               +"<p>");
+           return 1;
+        } else {
+           String location = getLocation(out, clazz);
+           if(location == null) {
+              out.write("Found "+ description + " (" + classname + ")<br>");
+           }
+           else {
+              out.write("Found "+ description + " (" + classname + ") at " + location + "<br>");
+           }
+           return 0;
         }
-        return found;
-    }
-
-    /**
-     * probe for a class, print an error message is missing
-     * @param out stream to print stuff
-     * @param category text like "warning" or "error"
-     * @param classname class to look for
-     * @param jarFile where this class comes from
-     * @param errorText extra error text
-     * @param homePage where to d/l the library
-     * @return the number of missing classes
-     * @throws IOException
-     */
-    int probeClass(JspWriter out,
-                   String category,
-                   String classname,
-                   String jarFile,
-                   String description,
-                   String errorText,
-                   String homePage) throws IOException {
-        try {
-            Class clazz = classExists(classname);
-            if(clazz == null)  {
-               String url="";
-               if(homePage!=null) {
-                  url="<br>  See <a href="+homePage+">"+homePage+"</a>";
-               }
-               out.write("<p>"+category+": could not find class "+classname
-                   +" from file <b>"+jarFile
-                   +"</b><br>  "+errorText
-                   +url
-                   +"<p>");
-               return 1;
-            } else {
-               String location = getLocation(out, clazz);
-               if(location == null) {
-                  out.write("Found "+ description + " (" + classname + ")<br>");
-               }
-               else {
-                  out.write("Found "+ description + " (" + classname + ") at " + location + "<br>");
-               }
-               return 0;
-            }
-        } catch(NoClassDefFoundError ncdfe) { 
-            String url="";
-            if(homePage!=null) {
-                url="<br>  See <a href="+homePage+">"+homePage+"</a>";
-            }
-            out.write("<p>"+category+": could not find a dependency"
-                    +" of class "+classname
-                    +" from file <b>"+jarFile
-                    +"</b><br> "+errorText
-                    +url
-                    +"<br>The root cause was: "+ncdfe.getMessage()
-                    +"<br>This can happen e.g. if "+classname+" is in" 
-                    +" the 'common' classpath, but a dependency like "
-                    +" activation.jar is only in the webapp classpath."
-                    +"<p>");
-            return 1;
+    } catch(NoClassDefFoundError ncdfe) {
+        String url="";
+        if(homePage!=null) {
+            url="<br>  See <a href="+homePage+">"+homePage+"</a>";
         }
-    }
-
-    /**
-     * get the location of a class
-     * @param out
-     * @param clazz
-     * @return the jar file or path where a class was found
-     */
+        out.write("<p>"+category+": could not find a dependency"
+                +" of class "+classname
+                +" from file <b>"+jarFile
+                +"</b><br> "+errorText
+                +url
+                +"<br>The root cause was: "+ncdfe.getMessage()
+                +"<br>This can happen e.g. if "+classname+" is in"
+                +" the 'common' classpath, but a dependency like "
+                +" activation.jar is only in the webapp classpath."
+                +"<p>");
+        return 1;
+    }
+}
+
+/**
+ * get the location of a class
+ * @param out
+ * @param clazz
+ * @return the jar file or path where a class was found
+ */
 
-    String getLocation(JspWriter out,
-                       Class clazz) {
-        try {
-            java.net.URL url = clazz.getProtectionDomain().getCodeSource().getLocation();
-            String location = url.toString();
-            if(location.startsWith("jar")) {
-                url = ((java.net.JarURLConnection)url.openConnection()).getJarFileURL();
-                location = url.toString();
-            } 
-            
-            if(location.startsWith("file")) {
-                java.io.File file = new java.io.File(url.getFile());
-                return file.getAbsolutePath();
-            } else {
-                return url.toString();
-            }
-        } catch (Throwable t){
+String getLocation(JspWriter out,
+                   Class clazz) {
+    try {
+        java.net.URL url = clazz.getProtectionDomain().getCodeSource().getLocation();
+        String location = url.toString();
+        if(location.startsWith("jar")) {
+            url = ((java.net.JarURLConnection)url.openConnection()).getJarFileURL();
+            location = url.toString();
         }
-        return "an unknown location";
-    }
-
-    /**
-     * a class we need if a class is missing
-     * @param out stream to print stuff
-     * @param classname class to look for
-     * @param jarFile where this class comes from
-     * @param errorText extra error text
-     * @param homePage where to d/l the library
-     * @throws IOException when needed
-     * @return the number of missing libraries (0 or 1)
-     */
-    int needClass(JspWriter out,
-                   String classname,
-                   String jarFile,
-                   String description,
-                   String errorText,
-                   String homePage) throws IOException {
-        return probeClass(out,
-                "<b>Error</b>",
-                classname,
-                jarFile,
-                description,
-                errorText,
-                homePage);
-    }
-
-    /**
-     * print warning message if a class is missing
-     * @param out stream to print stuff
-     * @param classname class to look for
-     * @param jarFile where this class comes from
-     * @param errorText extra error text
-     * @param homePage where to d/l the library
-     * @throws IOException when needed
-     * @return the number of missing libraries (0 or 1)
-     */
-    int wantClass(JspWriter out,
-                   String classname,
-                   String jarFile,
-                   String description,
-                   String errorText,
-                   String homePage) throws IOException {
-        return probeClass(out,
-                "<b>Warning</b>",
-                classname,
-                jarFile,
-                description,
-                errorText,
-                homePage);
-    }
 
-    /**
-     * probe for a resource existing,
-     * @param out
-     * @param resource
-     * @param errorText
-     * @throws Exception
-     */
-    int wantResource(JspWriter out,
-                      String resource,
-                      String errorText) throws Exception {
-        if(!resourceExists(resource)) {
-            out.write("<p><b>Warning</b>: could not find resource "+resource
-                        +"<br>"
-                        +errorText);
-            return 0;
+        if(location.startsWith("file")) {
+            java.io.File file = new java.io.File(url.getFile());
+            return file.getAbsolutePath();
         } else {
-            out.write("found "+resource+"<br>");
-            return 1;
+            return url.toString();
         }
+    } catch (Throwable t){
     }
+    return "an unknown location";
+}
 
+/**
+ * a class we need if a class is missing
+ * @param out stream to print stuff
+ * @param classname class to look for
+ * @param jarFile where this class comes from
+ * @param errorText extra error text
+ * @param homePage where to d/l the library
+ * @throws IOException when needed
+ * @return the number of missing libraries (0 or 1)
+ */
+int needClass(JspWriter out,
+               String classname,
+               String jarFile,
+               String description,
+               String errorText,
+               String homePage) throws IOException {
+    return probeClass(out,
+            "<b>Error</b>",
+            classname,
+            jarFile,
+            description,
+            errorText,
+            homePage);
+}
+
+/**
+ * print warning message if a class is missing
+ * @param out stream to print stuff
+ * @param classname class to look for
+ * @param jarFile where this class comes from
+ * @param errorText extra error text
+ * @param homePage where to d/l the library
+ * @throws IOException when needed
+ * @return the number of missing libraries (0 or 1)
+ */
+int wantClass(JspWriter out,
+               String classname,
+               String jarFile,
+               String description,
+               String errorText,
+               String homePage) throws IOException {
+    return probeClass(out,
+            "<b>Warning</b>",
+            classname,
+            jarFile,
+            description,
+            errorText,
+            homePage);
+}
+
+/**
+ * probe for a resource existing,
+ * @param out
+ * @param resource
+ * @param errorText
+ * @throws Exception
+ */
+int wantResource(JspWriter out,
+                  String resource,
+                  String errorText) throws Exception {
+    if(!resourceExists(resource)) {
+        out.write("<p><b>Warning</b>: could not find resource "+resource
+                    +"<br>"
+                    +errorText);
+        return 0;
+    } else {
+        out.write("found "+resource+"<br>");
+        return 1;
+    }
+}
 
-    /**
-     *  get servlet version string
-     *
-     */
 
-    public String getServletVersion() {
-        ServletContext context=getServletConfig().getServletContext();
-        int major = context.getMajorVersion();
-        int minor = context.getMinorVersion();
-        return Integer.toString(major) + '.' + Integer.toString(minor);
-    }
+/**
+ *  get servlet version string
+ *
+ */
 
+public String getServletVersion() {
+    ServletContext context=getServletConfig().getServletContext();
+    int major = context.getMajorVersion();
+    int minor = context.getMinorVersion();
+    return Integer.toString(major) + '.' + Integer.toString(minor);
+}
 
 
-    /**
-     * what parser are we using.
-     * @return the classname of the parser
-     */
-    private String getParserName() {
-        SAXParser saxParser = getSAXParser();
-        if (saxParser == null) {
-            return "Could not create an XML Parser";
-        }
 
-        // check to what is in the classname
-        String saxParserName = saxParser.getClass().getName();
-        return saxParserName;
+/**
+ * what parser are we using.
+ * @return the classname of the parser
+ */
+private String getParserName() {
+    SAXParser saxParser = getSAXParser();
+    if (saxParser == null) {
+        return "Could not create an XML Parser";
     }
 
-    /**
-     * Create a JAXP SAXParser
-     * @return parser or null for trouble
-     */
-    private SAXParser getSAXParser() {
-        SAXParserFactory saxParserFactory = SAXParserFactory.newInstance();
-        if (saxParserFactory == null) {
-            return null;
-        }
-        SAXParser saxParser = null;
-        try {
-            saxParser = saxParserFactory.newSAXParser();
-        } catch (Exception e) {
-        }
-        return saxParser;
+    // check to what is in the classname
+    String saxParserName = saxParser.getClass().getName();
+    return saxParserName;
+}
+
+/**
+ * Create a JAXP SAXParser
+ * @return parser or null for trouble
+ */
+private SAXParser getSAXParser() {
+    SAXParserFactory saxParserFactory = SAXParserFactory.newInstance();
+    if (saxParserFactory == null) {
+        return null;
+    }
+    SAXParser saxParser = null;
+    try {
+        saxParser = saxParserFactory.newSAXParser();
+    } catch (Exception e) {
     }
+    return saxParser;
+}
 
-    /**
-     * get the location of the parser
-     * @return path or null for trouble in tracking it down
-     */
+/**
+ * get the location of the parser
+ * @return path or null for trouble in tracking it down
+ */
 
-    private String getParserLocation(JspWriter out) {
-        SAXParser saxParser = getSAXParser();
-        if (saxParser == null) {
-            return null;
-        }
-        String location = getLocation(out,saxParser.getClass());
-        return location;
-    }
-    %>
+private String getParserLocation(JspWriter out) {
+    SAXParser saxParser = getSAXParser();
+    if (saxParser == null) {
+        return null;
+    }
+    String location = getLocation(out,saxParser.getClass());
+    return location;
+}
+
+%>
 <html><head><title>Axis Happiness Page</title></head>
+
 <body>
 <h1>Axis Happiness Page</h1>
+
 <h2>Examining webapp configuration</h2>
 
 <p>
+
 <h3>Needed Components</h3>
 <%
-    int needed=0,wanted=0;
+    int needed = 0, wanted = 0;
 
     /**
      * the essentials, without these Axis is not going to work
      */
-    needed=needClass(out, "javax.xml.soap.SOAPMessage",
-            "saaj.jar",
-            "SAAJ API",
-            "Axis will not work",
-            "http://xml.apache.org/axis/");
-
-    needed+=needClass(out, "javax.xml.rpc.Service",
-            "jaxrpc.jar",
-            "JAX-RPC API",
-            "Axis will not work",
-            "http://xml.apache.org/axis/");
-
-    needed+=needClass(out, "org.apache.axis.transport.http.AxisServlet",
-            "axis.jar",
-            "Apache-Axis",
-            "Axis will not work",
-            "http://xml.apache.org/axis/");
-
-    needed+=needClass(out, "org.apache.commons.discovery.Resource",
-            "commons-discovery.jar",
-            "Jakarta-Commons Discovery",
-            "Axis will not work",
-            "http://jakarta.apache.org/commons/discovery.html");
-
-    needed+=needClass(out, "org.apache.commons.logging.Log",
-            "commons-logging.jar",
-            "Jakarta-Commons Logging",
-            "Axis will not work",
-            "http://jakarta.apache.org/commons/logging.html");
-
-    needed+=needClass(out, "org.apache.log4j.Layout",
-            "log4j-1.2.8.jar",
-            "Log4j",
-            "Axis may not work",
-            "http://jakarta.apache.org/log4j");
+    needed = needClass(out, "javax.xml.soap.SOAPMessage",
+        "saaj.jar",
+        "SAAJ API",
+        "Axis will not work",
+        "http://xml.apache.org/axis/");
+
+    needed += needClass(out, "javax.xml.rpc.Service",
+        "jaxrpc.jar",
+        "JAX-RPC API",
+        "Axis will not work",
+        "http://xml.apache.org/axis/");
+
+    needed += needClass(out, "org.apache.axis.transport.http.AxisServlet",
+        "axis.jar",
+        "Apache-Axis",
+        "Axis will not work",
+        "http://xml.apache.org/axis/");
+
+    needed += needClass(out, "org.apache.commons.discovery.Resource",
+        "commons-discovery.jar",
+        "Jakarta-Commons Discovery",
+        "Axis will not work",
+        "http://jakarta.apache.org/commons/discovery.html");
+
+    needed += needClass(out, "org.apache.commons.logging.Log",
+        "commons-logging.jar",
+        "Jakarta-Commons Logging",
+        "Axis will not work",
+        "http://jakarta.apache.org/commons/logging.html");
+
+    needed += needClass(out, "org.apache.log4j.Layout",
+        "log4j-1.2.8.jar",
+        "Log4j",
+        "Axis may not work",
+        "http://jakarta.apache.org/log4j");
 
     //should we search for a javax.wsdl file here, to hint that it needs
     //to go into an approved directory? because we dont seem to need to do that.
-    needed+=needClass(out, "com.ibm.wsdl.factory.WSDLFactoryImpl",
-            "wsdl4j.jar",
-            "IBM's WSDL4Java",
-            "Axis will not work",
-            null);
-
-    needed+=needClass(out, "javax.xml.parsers.SAXParserFactory",
-            "xerces.jar",
-            "JAXP implementation",
-            "Axis will not work",
-            "http://xml.apache.org/xerces-j/");
-
-    needed+=needClass(out,"javax.activation.DataHandler",
-            "activation.jar",
-            "Activation API",
-            "Axis will not work",
-            "http://java.sun.com/products/javabeans/glasgow/jaf.html");
+    needed += needClass(out, "com.ibm.wsdl.factory.WSDLFactoryImpl",
+        "wsdl4j.jar",
+        "IBM's WSDL4Java",
+        "Axis will not work",
+        null);
+
+    needed += needClass(out, "javax.xml.parsers.SAXParserFactory",
+        "xerces.jar",
+        "JAXP implementation",
+        "Axis will not work",
+        "http://xml.apache.org/xerces-j/");
+
+    needed += needClass(out, "javax.activation.DataHandler",
+        "activation.jar",
+        "Activation API",
+        "Axis will not work",
+        "http://java.sun.com/products/javabeans/glasgow/jaf.html");
 %>
 <h3>Optional Components</h3>
 <%
     /*
      * now the stuff we can live without
      */
-    wanted+=wantClass(out,"javax.mail.internet.MimeMessage",
-            "mail.jar",
-            "Mail API",
-            "Attachments will not work",
-            "http://java.sun.com/products/javamail/");
-
-    wanted+=wantClass(out,"org.apache.xml.security.Init",
-            "xmlsec.jar",
-            "XML Security API",
-            "XML Security is not supported",
-            "http://xml.apache.org/security/");
+    wanted += wantClass(out, "javax.mail.internet.MimeMessage",
+        "mail.jar",
+        "Mail API",
+        "Attachments will not work",
+        "http://java.sun.com/products/javamail/");
+
+    wanted += wantClass(out, "org.apache.xml.security.Init",
+        "xmlsec.jar",
+        "XML Security API",
+        "XML Security is not supported",
+        "http://xml.apache.org/security/");
 
     wanted += wantClass(out, "javax.net.ssl.SSLSocketFactory",
-            "jsse.jar or java1.4+ runtime",
-            "Java Secure Socket Extension",
-            "https is not supported",
-            "http://java.sun.com/products/jsse/");
+        "jsse.jar or java1.4+ runtime",
+        "Java Secure Socket Extension",
+        "https is not supported",
+        "http://java.sun.com/products/jsse/");
     /*
      * resources on the classpath path
      */
@@ -405,83 +413,83 @@
 
     out.write("<h3>");
     //is everythng we need here
-    if(needed==0) {
-       //yes, be happy
+    if (needed == 0) {
+        //yes, be happy
         out.write("<i>The core axis libraries are present. </i>");
     } else {
         //no, be very unhappy
         response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
         out.write("<i>"
-                +needed
-                +" core axis librar"
-                +(needed==1?"y is":"ies are")
-                +" missing</i>");
+            + needed
+            + " core axis librar"
+            + (needed == 1 ? "y is" : "ies are")
+            + " missing</i>");
     }
     //now look at wanted stuff
-    if(wanted>0) {
+    if (wanted > 0) {
         out.write("<i>"
-                +wanted
-                +" optional axis librar"
-                +(wanted==1?"y is":"ies are")
-                +" missing</i>");
+            + wanted
+            + " optional axis librar"
+            + (wanted == 1 ? "y is" : "ies are")
+            + " missing</i>");
     } else {
         out.write("The optional components are present.");
     }
     out.write("</h3>");
     //hint if anything is missing
-    if(needed>0 || wanted>0 ) {
+    if (needed > 0 || wanted > 0) {
         out.write(getInstallHints(request));
     }
 
-    %>
-    <p>
+%>
+<p>
     <B><I>Note:</I></B> Even if everything this page probes for is present, there is no guarantee your
     web service will work, because there are many configuration options that we do
     not check for. These tests are <i>necessary</i> but not <i>sufficient</i>
-    <hr>
+<hr>
 
-    <h2>Examining Application Server</h2>
-    <%
-        String servletVersion=getServletVersion();
-        String xmlParser=getParserName();
-        String xmlParserLocation = getParserLocation(out);
-
-    %>
-    <table>
-        <tr><td>Servlet version</td><td><%= servletVersion %></td></tr>
-        <tr><td>XML Parser</td><td><%= xmlParser %></td></tr>
-        <tr><td>XML ParserLocation</td><td><%= xmlParserLocation %></td></tr>
-    </table>
-<% if(xmlParser.indexOf("crimson")>=0) { %>
-    <p>
+<h2>Examining Application Server</h2>
+<%
+    String servletVersion = getServletVersion();
+    String xmlParser = getParserName();
+    String xmlParserLocation = getParserLocation(out);
+
+%>
+<table>
+    <tr><td>Servlet version</td><td><%= servletVersion %></td></tr>
+    <tr><td>XML Parser</td><td><%= xmlParser %></td></tr>
+    <tr><td>XML ParserLocation</td><td><%= xmlParserLocation %></td></tr>
+</table>
+<% if (xmlParser.indexOf("crimson") >= 0) { %>
+<p>
     <b>We recommend <a href="http://xml.apache.org/xerces2-j/">Xerces 2</a>
         over Crimson as the XML parser for Axis</b>
-    </p>
-<%    } %>
+</p>
+<% } %>
 
-    <h2>Examining System Properties</h2>
+<h2>Examining System Properties</h2>
 <%
-    /** 
+    /**
      * Dump the system properties
      */
-    java.util.Enumeration e=null;
+    java.util.Enumeration e = null;
     try {
-        e= System.getProperties().propertyNames();
+        e = System.getProperties().propertyNames();
     } catch (SecurityException se) {
     }
-    if(e!=null) {
+    if (e != null) {
         out.write("<pre>");
-        for (;e.hasMoreElements();) {
+        for (; e.hasMoreElements();) {
             String key = (String) e.nextElement();
-            out.write(key + "=" + System.getProperty(key)+"\n");
+            out.write(key + "=" + System.getProperty(key) + "\n");
         }
         out.write("</pre><p>");
     } else {
         out.write("System properties are not accessible<p>");
     }
 %>
-    <hr>
-    Platform: <%= getServletConfig().getServletContext().getServerInfo()  %>
+<hr>
+Platform: <%= getServletConfig().getServletContext().getServerInfo()  %>
 </body>
 </html>
 

Modified: beehive/wsm/trunk/samples/wsm-samples/web/index.html
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/samples/wsm-samples/web/index.html?rev=417046&r1=417045&r2=417046&view=diff
==============================================================================
--- beehive/wsm/trunk/samples/wsm-samples/web/index.html (original)
+++ beehive/wsm/trunk/samples/wsm-samples/web/index.html Sun Jun 25 12:51:21 2006
@@ -1,9 +1,26 @@
+<!--
+   Copyright 2004-2006 The Apache Software Foundation.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+   $Header:$
+-->
 <html>
 
 <head>
 
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>Beehive Web Services - Samples</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+    <title>Beehive Web Services - Samples</title>
 
 </head>
 
@@ -12,44 +29,48 @@
 
 <h1>Beehive Web Service Examples</h1>
 <hr>
+
 <p>
-<a href="happyaxis.jsp">Validate the local installation</a>
-<ul>
-If the validation page displays an exception instead of a
-status page, the likely cause is that you have multiple XML
-parsers in your classpath. Clean up your classpath by eliminating
-extraneous parsers.
-</ul>
+    <a href="happyaxis.jsp">Validate the local installation</a>
+    <ul>
+        If the validation page displays an exception instead of a
+        status page, the likely cause is that you have multiple XML
+        parsers in your classpath. Clean up your classpath by eliminating
+        extraneous parsers.
+    </ul>
 </p>
 <hr>
+
 <p>
-Miscellaneous samples for web services
-<ul>
-    <li>
-        WSDL for <a href="web/header/StockQuoteImpl.jws?wsdl">header sample</a>
-    </li>
-</ul>
+    Miscellaneous samples for web services
+    <ul>
+        <li>
+            WSDL for <a href="web/header/StockQuoteImpl.jws?wsdl">header sample</a>
+        </li>
+    </ul>
 </p>
 <hr>
+
 <p>
-Samples for usage of JSR-181 annotations
-<ul>
-  <li><a href="handlerchain.html">@javax.jws.HandlerChain</a></li>
-  <li><a href="oneway.html">@javax.jws.Oneway</a></li>
-  <li><a href="webmethod.html">@javax.jws.WebMethod</a></li>
-  <li><a href="webparam.html">@javax.jws.WebParam</a></li>
-  <li><a href="webresult.html">@javax.jws.WebResult</a></li>
-  <li><a href="webservice.html">@javax.jws.WebService</a></li>
-  <li><a href="soapbinding.html">@javax.jws.soap.SOAPBinding</a> (samples with complex data types)</li>
-  <li><a href="soapmessagehandlers.html">@javax.jws.soap.SOAPMessageHandlers</a></li>
-</ul>
+    Samples for usage of JSR-181 annotations
+    <ul>
+        <li><a href="handlerchain.html">@javax.jws.HandlerChain</a></li>
+        <li><a href="oneway.html">@javax.jws.Oneway</a></li>
+        <li><a href="webmethod.html">@javax.jws.WebMethod</a></li>
+        <li><a href="webparam.html">@javax.jws.WebParam</a></li>
+        <li><a href="webresult.html">@javax.jws.WebResult</a></li>
+        <li><a href="webservice.html">@javax.jws.WebService</a></li>
+        <li><a href="soapbinding.html">@javax.jws.soap.SOAPBinding</a> (samples with complex data types)</li>
+        <li><a href="soapmessagehandlers.html">@javax.jws.soap.SOAPMessageHandlers</a></li>
+    </ul>
 </p>
+
 <p>
-<b>Note</b>: Use the WSDL files of the respective services to create more
-comprehensive clients, e.g. exchanging complex objects with the server.
-<br>
-For tools and samples on client generation see for instance:
-<a href="http://webservice.controlhaus.org/">ControlHaus</a>.
+    <b>Note</b>: Use the WSDL files of the respective services to create more
+    comprehensive clients, e.g. exchanging complex objects with the server.
+    <br>
+    For tools and samples on client generation see for instance:
+    <a href="http://webservice.controlhaus.org/">ControlHaus</a>.
 </p>
 <hr>
 <i>Copyright (C) 2004, 2005. The Apache Software Foundation.</i>

Modified: beehive/wsm/trunk/samples/wsm-samples/web/oneway.html
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/samples/wsm-samples/web/oneway.html?rev=417046&r1=417045&r2=417046&view=diff
==============================================================================
--- beehive/wsm/trunk/samples/wsm-samples/web/oneway.html (original)
+++ beehive/wsm/trunk/samples/wsm-samples/web/oneway.html Sun Jun 25 12:51:21 2006
@@ -1,9 +1,26 @@
+<!--
+   Copyright 2004-2006 The Apache Software Foundation.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+   $Header:$
+-->
 <html>
 
 <head>
 
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>Beehive Web Services - Samples - @javax.jws.Oneway</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+    <title>Beehive Web Services - Samples - @javax.jws.Oneway</title>
 
 </head>
 
@@ -12,23 +29,26 @@
 
 <h1>Samples for Beehive web services: @javax.jws.Oneway</h1>
 <hr>
+
 <p>
-View the WSDL files for the web services:
-<ul>
-    <li>
-        <a href="web/oneway/OnewaySample.jws?wsdl">OnewaySample</a>
-    </li>
-</ul>
+    View the WSDL files for the web services:
+    <ul>
+        <li>
+            <a href="web/oneway/OnewaySample.jws?wsdl">OnewaySample</a>
+        </li>
+    </ul>
 </p>
 <hr>
+
 <p>
-Invoke methods on sample web services:
-<ul>
-    <li>
-        <a href="web/oneway/OnewaySample.jws?method=sayHello&name=test">Oneway.sayHello("test")</a><br>
-        Note: URL-encoded invocations will result in error messages, since @javax.jws.Oneway does not expect any kind of return values.
-    </li>
-</ul>
+    Invoke methods on sample web services:
+    <ul>
+        <li>
+            <a href="web/oneway/OnewaySample.jws?method=sayHello&name=test">Oneway.sayHello("test")</a><br>
+            Note: URL-encoded invocations will result in error messages, since @javax.jws.Oneway does not expect any
+            kind of return values.
+        </li>
+    </ul>
 </p>
 <hr>
 

Modified: beehive/wsm/trunk/samples/wsm-samples/web/soapbinding.html
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/samples/wsm-samples/web/soapbinding.html?rev=417046&r1=417045&r2=417046&view=diff
==============================================================================
--- beehive/wsm/trunk/samples/wsm-samples/web/soapbinding.html (original)
+++ beehive/wsm/trunk/samples/wsm-samples/web/soapbinding.html Sun Jun 25 12:51:21 2006
@@ -1,9 +1,26 @@
+<!--
+   Copyright 2004-2006 The Apache Software Foundation.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+   $Header:$
+-->
 <html>
 
 <head>
 
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>Beehive Web Services - Samples - @javax.jws.soap.SOAPBinding</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+    <title>Beehive Web Services - Samples - @javax.jws.soap.SOAPBinding</title>
 
 </head>
 
@@ -12,50 +29,52 @@
 
 <h1>Samples for Beehive web services: @javax.jws.soap.SOAPBinding</h1>
 <hr>
+
 <p>
-View the WSDL files for the web services:
-<ul>
-    <li>
-        <a href="web/complex/DocumentLiteralBareSample.jws?wsdl">DocumentLiteralBareSample</a>
-    </li>
-    <li>
-        <a href="web/complex/DocumentLiteralWrappedSample.jws?wsdl">DocumentLiteralWrappedSample</a>
-    </li>
-    <li>
-        <a href="web/complex/RpcLiteralSample.jws?wsdl">RpcLiteralSample</a>
-    </li>
-    <li>
-        <a href="web/complex/RpcEncodedSample.jws?wsdl">RpcEncodedSample</a>
-    </li></ul>
+    View the WSDL files for the web services:
+    <ul>
+        <li>
+            <a href="web/complex/DocumentLiteralBareSample.jws?wsdl">DocumentLiteralBareSample</a>
+        </li>
+        <li>
+            <a href="web/complex/DocumentLiteralWrappedSample.jws?wsdl">DocumentLiteralWrappedSample</a>
+        </li>
+        <li>
+            <a href="web/complex/RpcLiteralSample.jws?wsdl">RpcLiteralSample</a>
+        </li>
+        <li>
+            <a href="web/complex/RpcEncodedSample.jws?wsdl">RpcEncodedSample</a>
+        </li></ul>
 </p>
 <hr>
+
 <p>
-Invoke methods on sample web services:
-<ul>
-    <li>
-        <a href="web/complex/DocumentLiteralBareSample.jws?method=createAddressInBody">DocumentLiteralBareSample.createAddressInBody()</a>
-    </li>
-    <li>
-        <a href="web/complex/DocumentLiteralBareSample.jws?method=createAddressInHeader">DocumentLiteralBareSample.createAddressInHeader()</a>
-    </li>
-    <li>
-        <a href="web/complex/DocumentLiteralWrappedSample.jws?method=createAddressInBody">DocumentLiteralWrappedSample.createAddressInBody()</a>
-    </li>
-    <li>
-        <a href="web/complex/DocumentLiteralWrappedSample.jws?method=createAddressInHeader">DocumentLiteralWrappedSample.createAddressInHeader()</a>
-    </li>
-    <li>
-        <a href="web/complex/RpcLiteralSample.jws?method=createAddressInBody">RpcLiteralSample.createAddressInBody()</a>
-    </li>
-    <li>
-        <a href="web/complex/RpcLiteralSample.jws?method=createAddressInHeader">RpcLiteralSample.createAddressInHeader()</a>
-    </li>
-    <li>
-        <a href="web/complex/RpcEncodedSample.jws?method=createAddressInBody">RpcEncodedSample.createAddressInBody()</a>
-    </li>
-    <li>
-        <a href="web/complex/RpcEncodedSample.jws?method=createAddressInHeader">RpcEncodedSample.createAddressInHeader()</a>
-    </li>
+    Invoke methods on sample web services:
+    <ul>
+        <li>
+            <a href="web/complex/DocumentLiteralBareSample.jws?method=createAddressInBody">DocumentLiteralBareSample.createAddressInBody()</a>
+        </li>
+        <li>
+            <a href="web/complex/DocumentLiteralBareSample.jws?method=createAddressInHeader">DocumentLiteralBareSample.createAddressInHeader()</a>
+        </li>
+        <li>
+            <a href="web/complex/DocumentLiteralWrappedSample.jws?method=createAddressInBody">DocumentLiteralWrappedSample.createAddressInBody()</a>
+        </li>
+        <li>
+            <a href="web/complex/DocumentLiteralWrappedSample.jws?method=createAddressInHeader">DocumentLiteralWrappedSample.createAddressInHeader()</a>
+        </li>
+        <li>
+            <a href="web/complex/RpcLiteralSample.jws?method=createAddressInBody">RpcLiteralSample.createAddressInBody()</a>
+        </li>
+        <li>
+            <a href="web/complex/RpcLiteralSample.jws?method=createAddressInHeader">RpcLiteralSample.createAddressInHeader()</a>
+        </li>
+        <li>
+            <a href="web/complex/RpcEncodedSample.jws?method=createAddressInBody">RpcEncodedSample.createAddressInBody()</a>
+        </li>
+        <li>
+            <a href="web/complex/RpcEncodedSample.jws?method=createAddressInHeader">RpcEncodedSample.createAddressInHeader()</a>
+        </li>
     </ul>
 </p>
 <hr>

Modified: beehive/wsm/trunk/samples/wsm-samples/web/soapmessagehandlers.html
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/samples/wsm-samples/web/soapmessagehandlers.html?rev=417046&r1=417045&r2=417046&view=diff
==============================================================================
--- beehive/wsm/trunk/samples/wsm-samples/web/soapmessagehandlers.html (original)
+++ beehive/wsm/trunk/samples/wsm-samples/web/soapmessagehandlers.html Sun Jun 25 12:51:21 2006
@@ -1,9 +1,26 @@
+<!--
+   Copyright 2004-2006 The Apache Software Foundation.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+   $Header:$
+-->
 <html>
 
 <head>
 
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>Beehive Web Services - Samples - @javax.jws.soap.SOAPMessageHandlers</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+    <title>Beehive Web Services - Samples - @javax.jws.soap.SOAPMessageHandlers</title>
 
 </head>
 
@@ -12,22 +29,24 @@
 
 <h1>Samples for Beehive web services: @javax.jws.soap.SOAPMessageHandlers</h1>
 <hr>
+
 <p>
-View the WSDL files for the web services:
-<ul>
-    <li>
-        <a href="web/soapmessagehandlers/SOAPMessageHandlersSample.jws?wsdl">SOAPMessageHandlersSample</a>
-    </li>
-</ul>
+    View the WSDL files for the web services:
+    <ul>
+        <li>
+            <a href="web/soapmessagehandlers/SOAPMessageHandlersSample.jws?wsdl">SOAPMessageHandlersSample</a>
+        </li>
+    </ul>
 </p>
 <hr>
+
 <p>
-Invoke methods on sample web services:
-<ul>
-    <li>
-        <a href="web/soapmessagehandlers/SOAPMessageHandlersSample.jws?method=sayHello&name=test">SOAPMessageHandlersSample.sayHello("test")</a>
-    </li>
-</ul>
+    Invoke methods on sample web services:
+    <ul>
+        <li>
+            <a href="web/soapmessagehandlers/SOAPMessageHandlersSample.jws?method=sayHello&name=test">SOAPMessageHandlersSample.sayHello("test")</a>
+        </li>
+    </ul>
 </p>
 <hr>
 

Modified: beehive/wsm/trunk/samples/wsm-samples/web/webmethod.html
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/samples/wsm-samples/web/webmethod.html?rev=417046&r1=417045&r2=417046&view=diff
==============================================================================
--- beehive/wsm/trunk/samples/wsm-samples/web/webmethod.html (original)
+++ beehive/wsm/trunk/samples/wsm-samples/web/webmethod.html Sun Jun 25 12:51:21 2006
@@ -1,9 +1,26 @@
+<!--
+   Copyright 2004-2006 The Apache Software Foundation.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+   $Header:$
+-->
 <html>
 
 <head>
 
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>Beehive Web Services - Samples - @javax.jws.WebMethod</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+    <title>Beehive Web Services - Samples - @javax.jws.WebMethod</title>
 
 </head>
 
@@ -12,28 +29,30 @@
 
 <h1>Samples for Beehive web services: @javax.jws.WebMethod</h1>
 <hr>
+
 <p>
-View the WSDL files for the web services:
-<ul>
-    <li>
-        <a href="web/webmethod/WebMethodWithAnnotationSample.jws?wsdl">WebMethodWithAnnotationSample</a>
-    </li>
-    <li>
-        <a href="web/webmethod/WebMethodWithoutAnnotationSample.jws?wsdl">WebMethodWithoutAnnotationSample</a>
-    </li>
-</ul>
+    View the WSDL files for the web services:
+    <ul>
+        <li>
+            <a href="web/webmethod/WebMethodWithAnnotationSample.jws?wsdl">WebMethodWithAnnotationSample</a>
+        </li>
+        <li>
+            <a href="web/webmethod/WebMethodWithoutAnnotationSample.jws?wsdl">WebMethodWithoutAnnotationSample</a>
+        </li>
+    </ul>
 </p>
 <hr>
+
 <p>
-Invoke methods on sample web services:
-<ul>
-    <li>
-        <a href="web/webmethod/WebMethodWithAnnotationSample.jws?method=sayHello1&name=test">WebMethodWithAnnotationSample.sayHello1("test")</a>
-    </li>
-    <li>
-        <a href="web/webmethod/WebMethodWithoutAnnotationSample.jws?method=sayHello1&name=test">WebMethodWithoutAnnotationSample.sayHello1("test")</a>
-    </li>
-</ul>
+    Invoke methods on sample web services:
+    <ul>
+        <li>
+            <a href="web/webmethod/WebMethodWithAnnotationSample.jws?method=sayHello1&name=test">WebMethodWithAnnotationSample.sayHello1("test")</a>
+        </li>
+        <li>
+            <a href="web/webmethod/WebMethodWithoutAnnotationSample.jws?method=sayHello1&name=test">WebMethodWithoutAnnotationSample.sayHello1("test")</a>
+        </li>
+    </ul>
 </p>
 <hr>
 

Modified: beehive/wsm/trunk/samples/wsm-samples/web/webparam.html
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/samples/wsm-samples/web/webparam.html?rev=417046&r1=417045&r2=417046&view=diff
==============================================================================
--- beehive/wsm/trunk/samples/wsm-samples/web/webparam.html (original)
+++ beehive/wsm/trunk/samples/wsm-samples/web/webparam.html Sun Jun 25 12:51:21 2006
@@ -1,9 +1,26 @@
+<!--
+   Copyright 2004-2006 The Apache Software Foundation.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+   $Header:$
+-->
 <html>
 
 <head>
 
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>Beehive Web Services - Samples - @javax.jws.WebParam</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+    <title>Beehive Web Services - Samples - @javax.jws.WebParam</title>
 
 </head>
 
@@ -12,29 +29,31 @@
 
 <h1>Samples for Beehive web services: @javax.jws.WebParam</h1>
 <hr>
+
 <p>
-View the WSDL files for the web services:
-<ul>
-    <li>
-        <a href="web/webparam/WebParamDocumentLiteralSample.jws?wsdl">WebParamDocumentLiteralSample</a>
-    </li>
-    <li>
-        <a href="web/webparam/WebParamRpcLiteralSample.jws?wsdl">WebParamRpcLiteralSample</a>
-    </li>
-</ul>
+    View the WSDL files for the web services:
+    <ul>
+        <li>
+            <a href="web/webparam/WebParamDocumentLiteralSample.jws?wsdl">WebParamDocumentLiteralSample</a>
+        </li>
+        <li>
+            <a href="web/webparam/WebParamRpcLiteralSample.jws?wsdl">WebParamRpcLiteralSample</a>
+        </li>
+    </ul>
 </p>
 <hr>
+
 <p>
-Invoke methods on sample web services:
-<ul>
-    <li>
-        <a href="web/webparam/WebParamDocumentLiteralSample.jws?method=sayHelloInBody&name-in=test">WebParamDocumentLiteralSample.sayHelloInBody("test")</a>
-    </li>
-    <li>
-        <a href="web/webparam/WebParamRpcLiteralSample.jws?method=sayHelloInBody&name-in=test">WebParamRpcLiteralSample.sayHelloInBody("test")</a>
-    </li>
-    <br>Note: methods with complex types require a client.
-</ul>
+    Invoke methods on sample web services:
+    <ul>
+        <li>
+            <a href="web/webparam/WebParamDocumentLiteralSample.jws?method=sayHelloInBody&name-in=test">WebParamDocumentLiteralSample.sayHelloInBody("test")</a>
+        </li>
+        <li>
+            <a href="web/webparam/WebParamRpcLiteralSample.jws?method=sayHelloInBody&name-in=test">WebParamRpcLiteralSample.sayHelloInBody("test")</a>
+        </li>
+        <br>Note: methods with complex types require a client.
+    </ul>
 </p>
 <hr>
 

Modified: beehive/wsm/trunk/samples/wsm-samples/web/webresult.html
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/samples/wsm-samples/web/webresult.html?rev=417046&r1=417045&r2=417046&view=diff
==============================================================================
--- beehive/wsm/trunk/samples/wsm-samples/web/webresult.html (original)
+++ beehive/wsm/trunk/samples/wsm-samples/web/webresult.html Sun Jun 25 12:51:21 2006
@@ -1,9 +1,26 @@
+<!--
+   Copyright 2004-2006 The Apache Software Foundation.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+   $Header:$
+-->
 <html>
 
 <head>
 
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>Beehive Web Services - Samples - @javax.jws.WebResult</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+    <title>Beehive Web Services - Samples - @javax.jws.WebResult</title>
 
 </head>
 
@@ -12,28 +29,30 @@
 
 <h1>Samples for Beehive web services: @javax.jws.WebResult</h1>
 <hr>
+
 <p>
-View the WSDL files for the web services:
-<ul>
-    <li>
-        <a href="web/webresult/WebResultDocumentLiteralSample.jws?wsdl">WebResultDocumentLiteralSample</a>
-    </li>
-    <li>
-        <a href="web/webresult/WebResultRpcLiteralSample.jws?wsdl">WebResultRpcLiteralSample</a>
-    </li>
-</ul>
+    View the WSDL files for the web services:
+    <ul>
+        <li>
+            <a href="web/webresult/WebResultDocumentLiteralSample.jws?wsdl">WebResultDocumentLiteralSample</a>
+        </li>
+        <li>
+            <a href="web/webresult/WebResultRpcLiteralSample.jws?wsdl">WebResultRpcLiteralSample</a>
+        </li>
+    </ul>
 </p>
 <hr>
+
 <p>
-Invoke methods on sample web services:
-<ul>
-    <li>
-        <a href="web/webresult/WebResultDocumentLiteralSample.jws?method=sayHello1&name=test">WebResultDocumentLiteralSample.sayHello1("test")</a>
-    </li>
-    <li>
-        <a href="web/webresult/WebResultRpcLiteralSample.jws?method=sayHello1&name=test">WebResultRpcLiteralSample.sayHello1("test")</a>
-    </li>
-</ul>
+    Invoke methods on sample web services:
+    <ul>
+        <li>
+            <a href="web/webresult/WebResultDocumentLiteralSample.jws?method=sayHello1&name=test">WebResultDocumentLiteralSample.sayHello1("test")</a>
+        </li>
+        <li>
+            <a href="web/webresult/WebResultRpcLiteralSample.jws?method=sayHello1&name=test">WebResultRpcLiteralSample.sayHello1("test")</a>
+        </li>
+    </ul>
 </p>
 <hr>
 

Modified: beehive/wsm/trunk/samples/wsm-samples/web/webservice.html
URL: http://svn.apache.org/viewvc/beehive/wsm/trunk/samples/wsm-samples/web/webservice.html?rev=417046&r1=417045&r2=417046&view=diff
==============================================================================
--- beehive/wsm/trunk/samples/wsm-samples/web/webservice.html (original)
+++ beehive/wsm/trunk/samples/wsm-samples/web/webservice.html Sun Jun 25 12:51:21 2006
@@ -1,56 +1,64 @@
-<html>
-
-<head>
+<!--
+   Copyright 2004-2006 The Apache Software Foundation.
 
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>Beehive Web Services - Samples - @javax.jws.WebService</title>
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
 
+   $Header:$
+-->
+<html>
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+    <title>Beehive Web Services - Samples - @javax.jws.WebService</title>
 </head>
-
-
 <body bgcolor="#FFFFFF">
-
 <h1>Samples for Beehive web services: @javax.jws.WebService</h1>
 <hr>
 <p>
-View the WSDL files for the web services:
-<ul>
-    <li>
-        <a href="web/webservice/WebServiceSample.jws?wsdl">WebServiceSample</a>
-    </li>
-    <li>
-        <a href="web/webservice/WebServiceCustomSample.jws?wsdl">WebServiceCustomSample</a>
-    </li>
-    <li>
-        <a href="web/webservice/WebServiceImplementationBeanSample.jws?wsdl">WebServiceImplementationBeanSample</a>
-    </li>
-    <li>
-        <a href="web/webservice/WebServiceWsdlLocationSample.jws?wsdl">WebServiceWsdlLocationSample</a>
-    </li>
-</ul>
+    View the WSDL files for the web services:
+    <ul>
+        <li>
+            <a href="web/webservice/WebServiceSample.jws?wsdl">WebServiceSample</a>
+        </li>
+        <li>
+            <a href="web/webservice/WebServiceCustomSample.jws?wsdl">WebServiceCustomSample</a>
+        </li>
+        <li>
+            <a href="web/webservice/WebServiceImplementationBeanSample.jws?wsdl">WebServiceImplementationBeanSample</a>
+        </li>
+        <li>
+            <a href="web/webservice/WebServiceWsdlLocationSample.jws?wsdl">WebServiceWsdlLocationSample</a>
+        </li>
+    </ul>
 </p>
 <hr>
 <p>
-Invoke methods on sample web services:
-<ul>
-    <li>
-        <a href="web/webservice/WebServiceSample.jws?method=sayHello&name=test">WebServiceSample.sayHello("test")</a>
-    </li>
-    <li>
-        <a href="web/webservice/WebServiceCustomSample.jws?method=sayHello&name=test">WebServiceCustomSample.sayHello("test")</a>
-    </li>
-    <li>
-        <a href="web/webservice/WebServiceImplementationBeanSample.jws?method=sayHello&name=test">WebServiceImplementationBeanSample.sayHello("test")</a>
-    </li>
-    <li>
-        <a href="web/webservice/WebServiceWsdlLocationSample.jws?method=sayHello&name=test">WebServiceWsdlLocationSample.sayHello("test")</a>
-    </li>
-</ul>
+    Invoke methods on sample web services:
+    <ul>
+        <li>
+            <a href="web/webservice/WebServiceSample.jws?method=sayHello&name=test">WebServiceSample.sayHello("test")</a>
+        </li>
+        <li>
+            <a href="web/webservice/WebServiceCustomSample.jws?method=sayHello&name=test">WebServiceCustomSample.sayHello("test")</a>
+        </li>
+        <li>
+            <a href="web/webservice/WebServiceImplementationBeanSample.jws?method=sayHello&name=test">WebServiceImplementationBeanSample.sayHello("test")</a>
+        </li>
+        <li>
+            <a href="web/webservice/WebServiceWsdlLocationSample.jws?method=sayHello&name=test">WebServiceWsdlLocationSample.sayHello("test")</a>
+        </li>
+    </ul>
 </p>
 <hr>
-
 <i>Copyright (C) 2004, 2005. The Apache Software Foundation.</i>
-
 </body>
-
 </html>