You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by ve...@apache.org on 2009/01/18 12:41:16 UTC

svn commit: r735440 - in /webservices/commons/trunk/modules/tcpmon/xdocs: tcpmontutorial.html tcpmontutorial.xml

Author: veithen
Date: Sun Jan 18 03:41:15 2009
New Revision: 735440

URL: http://svn.apache.org/viewvc?rev=735440&view=rev
Log:
Converted the TCPMon tutorial from HTML to xdoc.

Added:
    webservices/commons/trunk/modules/tcpmon/xdocs/tcpmontutorial.xml   (contents, props changed)
      - copied, changed from r735367, webservices/commons/trunk/modules/tcpmon/xdocs/tcpmontutorial.html
Removed:
    webservices/commons/trunk/modules/tcpmon/xdocs/tcpmontutorial.html

Copied: webservices/commons/trunk/modules/tcpmon/xdocs/tcpmontutorial.xml (from r735367, webservices/commons/trunk/modules/tcpmon/xdocs/tcpmontutorial.html)
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/tcpmon/xdocs/tcpmontutorial.xml?p2=webservices/commons/trunk/modules/tcpmon/xdocs/tcpmontutorial.xml&p1=webservices/commons/trunk/modules/tcpmon/xdocs/tcpmontutorial.html&r1=735367&r2=735440&rev=735440&view=diff
==============================================================================
--- webservices/commons/trunk/modules/tcpmon/xdocs/tcpmontutorial.html (original)
+++ webservices/commons/trunk/modules/tcpmon/xdocs/tcpmontutorial.xml Sun Jan 18 03:41:15 2009
@@ -1,46 +1,27 @@
-<html>
-<head>
-  <meta http-equiv="content-type" content="">
-  <title>TCPMon Tutorial</title>
-</head>
-
-<body lang="en">
-<h1>TCPMon Tutorial</h1>
-
-<h2>Content</h2>
-<ul>
-  <li><a href="#intro">Introduction</a></li>
-  <li><a href="#dependencies">Structure and Dependencies</a></li>
-  <li><a href="#patterns">Usage Patterns</a></li>
-    <ul>
-      <li><a href="#intermediate">As an Explicit Intermediate</a></li>
-      <li><a href="#sender">As a Request Sender for Web Services</a></li>
-      <li><a href="#proxy">As a Proxy</a></li>
-    </ul>
-  <li><a href="#advanced">Advanced Settings</a></li>
-    <ul>
-      <li><a href="#slow">Slow Connection Simulation</a></li>
-      <li><a href="#http_proxy">HTTP Proxy support</a></li>
-    </ul>
-  <li><a href="#conclusion">Conclusion</a></li>
-</ul>
-<a name="intro"></a>
-<h2>Introduction</h2>
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<document>
+    <properties>
+        <title>TCPMon Tutorial</title>
+    </properties>
+<body>
+<section name="Content">
+<macro name="toc"/>
+</section>
+<section name="Introduction">
 
 <p>TCPMon is a utility that allows the user to monitor the messages passed
 along in TCP based conversation. It is based on a swing UI and works on
 almost all platforms that Java supports. The aim of this simple tutorial is
 to explain how TCPMon works and also to explain some of its features.</p>
-<a name="dependencies"></a>
-<h2>Structure and Dependencies</h2>
+</section>
+<section name="Structure and Dependencies">
 
 <p>TCPMon has absolutely no dependencies on third party libraries. But some
 of the UI features rely on JDK 1.4 so TCPMon needs a JRE that is 1.4 or
 higher.</p>
-<a name="patterns"></a>
-<h2>Usage Patterns</h2>
-<a name="intermediate"></a>
-<h3>As an Explicit Intermediate</h3>
+</section>
+<section name="Usage Patterns">
+<subsection name="As an Explicit Intermediate">
 
 <p>The most common usage pattern for the TCPMon is as an
 <strong>intermediary</strong>. It is called <strong>explicit</strong> since
@@ -71,7 +52,7 @@
 port as 80. Set the listener to port 8080 which may be any unused port in the
 local machine</p>
 
-<p><img alt="the settings" src="images/screen2-closeup2.jpg"></p>
+<p><img alt="the settings" src="images/screen2-closeup2.jpg"/></p>
 
 <p><strong>Step 2</strong> - Point the browser to localhost:8080 instead of
 www.apache.org.</p>
@@ -81,49 +62,51 @@
 <p>Once the messages start flowing they can be seen in the relevant tab as
 seen below.</p>
 
-<p><img alt="Filles screen" src="images/screen3.jpg"></p>
+<p><img alt="Filles screen" src="images/screen3.jpg"/></p>
 
 <p>The bottom controls allow the messages to be XML formatted (useful in
 debugging Web services), save and resend the messages, and also to switch the
 layout of the message windows.</p>
 
 <p><img alt="button set" src="images/screen2-closeup1.jpg"/></p>
-<a name="sender"></a>
-<h3>As a Request Sender for Web Services</h3>
+</subsection>
+<subsection name="As a Request Sender for Web Services">
 
 <p>TCPMon can also be used as a request sender for Web services. The request
 SOAP message can be pasted on the send screen and then sent directly to the
 server.</p>
 
 <p><img alt="request sender" src="images/screen4.jpg"/></p>
-<a name="proxy"></a>
-<h3>As a Proxy</h3>
+</subsection>
+<subsection name="As a Proxy">
 
 <p>TCPMon can act as a proxy. To start the TCPMon at proxy mode, just select
 the proxy option from the radio buttons. When acting as a proxy, TCPMon only
 needs the listener port to be configured.</p>
 
 <p><img alt="proxy" src="images/screen5.jpg"/></p>
-<a name="advanced"></a>
-<h2>Advanced Settings</h2>
-<a name="slow"></a>
-<h3>Slow Connection Simulation</h3>
+</subsection>
+</section>
+<section name="Advanced Settings">
+<subsection name="Slow Connection Simulation">
 
 <p>TCPMon can simulate a slow connection, in which case the delay and the
 bytes to be dropped can be configured. This is specially useful in testing
 Web services.</p>
 
 <p><img alt="slow-connection" src="images/screen6.jpg"/></p>
-<a name="http_proxy"></a>
-<h3>HTTP Proxy support</h3>
+</subsection>
+<subsection name="HTTP Proxy support">
 
 <p>If HTTP proxy support is required then that can also be set on the admin
 screen.</p>
-<a name="conclusion"></a>
-<h2>Conclusion</h2>
+</subsection>
+</section>
+<section name="Conclusion">
 
 <p>TCPMon is a simple and easy to use tool that has many benefits when
 developing message driven applications. It is particularly useful in
 developing Web services</p>
+</section>
 </body>
-</html>
+</document>

Propchange: webservices/commons/trunk/modules/tcpmon/xdocs/tcpmontutorial.xml
------------------------------------------------------------------------------
    svn:mergeinfo =