You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ch...@apache.org on 2006/12/22 08:07:09 UTC

svn commit: r489570 - /webservices/axis2/site/1_1/modules.html

Author: chatra
Date: Thu Dec 21 23:07:09 2006
New Revision: 489570

URL: http://svn.apache.org/viewvc?view=rev&rev=489570
Log:
fixed html tags to make sure green font appears. Need to root tag to not be a <pre> tag for html attributes to work inside pre tags

Modified:
    webservices/axis2/site/1_1/modules.html

Modified: webservices/axis2/site/1_1/modules.html
URL: http://svn.apache.org/viewvc/webservices/axis2/site/1_1/modules.html?view=diff&rev=489570&r1=489569&r2=489570
==============================================================================
--- webservices/axis2/site/1_1/modules.html (original)
+++ webservices/axis2/site/1_1/modules.html Thu Dec 21 23:07:09 2006
@@ -2,7 +2,7 @@
           @import url("../style/maven-base.css");
           
 			    @import url("../style/maven-theme.css");</style><link rel="stylesheet" href="../style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://www.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/axis2/" id="projectLogo"><img alt="Apache Axis2" src="http://ws.apache.org/axis2/images/axis.jpg"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
-                	Last published: 14 November 2006
+                	Last published: 22 December 2006
                   | Doc for 1.1</div><div class="xright">
         
         <a href="../index.html">Axis2/Java</a>
@@ -177,8 +177,7 @@
 engine knows where to place the handler in different "flows" ( inFlow,
 outFlow, etc.). Following xml lines show the respective changes made to the
 "axis2.xml" in order to deploy this logging module in the Axis2 engine. This
-is an extract of the phase section of "axis2.xml".</p>
-    <div class="source"><pre>&lt;!-- ================================================= --&gt;
+is an extract of the phase section of "axis2.xml".</p><p><pre>&lt;!-- ================================================= --&gt;
 &lt;!-- Phases --&gt;
 &lt;!-- ================================================= --&gt;
 
@@ -214,12 +213,12 @@
         &lt;!--  System pre defined phases       --&gt;
         &lt;!--   After Postdispatch phase module author or service author can add any phase he wants      --&gt;
         &lt;phase name="OperationInPhase"/&gt;
-        &lt;phase name=""/&gt;
+		&lt;phase name="<span style="color: rgb(36, 193, 19);">loggingPhase</span>"/&gt;
     &lt;/phaseOrder&gt;
     &lt;phaseOrder type="outflow"&gt;
         &lt;!--      user can add his own phases to this area  --&gt;
         &lt;phase name="OperationOutPhase"/&gt;
-        &lt;phase name=""/&gt;
+        &lt;phase name="<span style="color: rgb(36, 193, 19);">loggingPhase</span>"/&gt;
         &lt;!--system predefined phases--&gt;
         &lt;!--these phases will run irrespective of the service--&gt;
         &lt;phase name="PolicyDetermination"/&gt;
@@ -228,19 +227,16 @@
     &lt;phaseOrder type="INfaultflow"&gt;
         &lt;!--      user can add his own phases to this area  --&gt;
         &lt;phase name="OperationInFaultPhase"/&gt;
-        &lt;phase name=""/&gt;
+        &lt;phase name="<span style="color: rgb(36, 193, 19);">loggingPhase</span>"/&gt;
     &lt;/phaseOrder&gt;
     &lt;phaseOrder type="Outfaultflow"&gt;
         &lt;!--      user can add his own phases to this area  --&gt;
         &lt;phase name="OperationOutFaultPhase"/&gt;
-        &lt;phase name=""/&gt;
+        &lt;phase name="<span style="color: rgb(36, 193, 19);">loggingPhase</span>"/&gt;
         &lt;phase name="PolicyDetermination"/&gt;
         &lt;phase name="MessageOut"/&gt;
     &lt;/phaseOrder&gt;
-    
-
-</pre></div>
-  <p>The text in green, the custom phase "loggingPhase" is placed in all the
+    </pre></p><p>The text in green, the custom phase "loggingPhase" is placed in all the
 flows, hence that phase will be called in all the message flows in the
 engine. Since our module is associated with this phase, the LogHandler inside
 the module will now be executed in this phase.</p><p><a name="Step5_:_Modify_the_&quot;services_xml&quot;"></a></p></div><div class="subsection"><a name="Step5_:_Modify_the_&quot;services_xml&quot;"></a><h3>Step5 : Modify the "services.xml"</h3><p>Up to this point we have created the required classes and configuration
@@ -252,12 +248,11 @@
 but with the similar operations.</p><p>The code for this service can be found in the
 "<strong>Axis2_HOME/samples/userguide/src/userguide/example2</strong>"
 directory. The simple changes that we have done to "services.xml' are shown
-in green in the following lines of xml.</p>
-    <div class="source"><pre>&lt;service name=""&gt;
+in green in the following lines of xml.</p><p><pre>&lt;service name="<span style="color: rgb(36, 193, 19);">MyServiceWithModule</span>"&gt;
     &lt;description&gt;
     This is a sample Web service with a logging module engaged.
     &lt;/description&gt;
-    
+    <span style="color: rgb(36, 193, 19);">&lt;module ref="logging"/&gt;</span>
     &lt;parameter name="ServiceClass" locked="xsd:false"&gt;userguide.example2.MyService&lt;/parameter&gt;
     &lt;operation name="echo"&gt;
     &lt;messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/&gt;
@@ -265,10 +260,7 @@
     &lt;operation name="ping"&gt;
     &lt;messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/&gt;
     &lt;/operation&gt;
-&lt;/service&gt;
-
-</pre></div>
-  <p>In this example we have changed the service name (the implementation class
+&lt;/service&gt;</pre></p><p>In this example we have changed the service name (the implementation class
 is very similar to what we have used earlier although it is in a different
 package). In addition we have added the line <b>"&lt;module
 ref="logging"/&gt;"</b> to "services.xml". This informs the Axis2 engine that
@@ -283,7 +275,7 @@
 create the "modules" directory and drop the "logging.mar" in to this
 directory.</p><p>Although the required changes to the "services.xml" is very little, we
 have created a separate service archive (MyServiceWithModule.aar) for users
-to deploy and see.</p><p>Deploy this service using the same steps used in <a href="userguide.html#Step5_Deploy_web_service">'Step 4: Deploy Web Service'</a> sub section in '<a href="userguide.html#ws_codegen">Writing a New Service using Codegeneration</a>', and copy the
+to deploy and see.</p><p>Deploy this service using the same steps used in <a href="adv-userguide.html#Step5_Deploy_web_service">'Step 4: Deploy Web Service'</a> sub section in '<a href="userguide.html#ws_codegen">Writing a New Service using Codegeneration</a>', and copy the
 "logging.mar" file to the "modules" directory.</p><p>Then run using the "TestWebServiceWithModuleClient.bat" or
 "TestWebServiceWithModuleClient.sh" in the
 "<strong>Axis2Home/samples/userguide/src/userguide/clients/bin</strong>"



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org