Author: saminda
Date: Mon Jan 14 11:09:46 2008
New Revision: 12228

Log:

Added documentation to JiBX sample 


Added:
   trunk/wsas/java/modules/documentation/src/site/xdoc/jibx_guide.xml
   trunk/wsas/java/modules/samples/Jibx/sample-guide.html
Modified:
   trunk/wsas/java/modules/documentation/src/site/site.xml

Modified: trunk/wsas/java/modules/documentation/src/site/site.xml
==============================================================================
--- trunk/wsas/java/modules/documentation/src/site/site.xml     (original)
+++ trunk/wsas/java/modules/documentation/src/site/site.xml     Mon Jan 14 
11:09:46 2008
@@ -53,6 +53,7 @@
             <item name="Data Services" href="data_service_guide.html"/>
             <item name="Flickr" href="flickr_client_guide.html"/>
             <item name="Javascript" href="javascript_service_guide.html"/>
+            <item name="JiBX" href="jibx_guide.html"/>
             <item name="STS" href="sts_guide.html"/>
             <item name="Trader" href="trader_guide.html"/>
             <item name="Tiny URL" href="tiny_url_guide.html"/>

Added: trunk/wsas/java/modules/documentation/src/site/xdoc/jibx_guide.xml
==============================================================================
--- (empty file)
+++ trunk/wsas/java/modules/documentation/src/site/xdoc/jibx_guide.xml  Mon Jan 
14 11:09:46 2008
@@ -0,0 +1,72 @@
+<!--
+  ~ Copyright 2005-2007 WSO2, Inc. (http://wso2.com)
+  ~
+  ~ 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.
+  -->
+
+<html>
+    <body>
+        <p>[<a
+                
href="http://dist.wso2.org/products/wsas/java/@wso2wsas_version@";>Download</a>]
+            | [<a href="index_docs.html">Documentation Home</a>] | [<a
+                href="release_notes.html">Release Note</a>]
+        </p>
+        <h1>JibX Sample</h1>
+        <h2>Introduction</h2>
+        <p>
+            This sample demonstrate a usage of Jibx data binding that comes 
with Axis2. JiBX differs
+            from the
+            other data binding techniques supported by Axis2 in that it allows 
you to use your own
+            Java data
+            objects (as opposed to Java data objects generated from a schema 
definition). JiBX also
+            provides a
+            nicer form of unwrapped Web services interface than is supported 
by the other data
+            binding techniques.
+            On the downside, JiBX requires more setup than the other data 
binding techniques - in
+            particular, you
+            need to come up with a set of data classes and a binding 
definition in order to work
+            with JiBX in Axis2.
+
+        </p>
+        <h2>Building the Service</h2>
+        <p>
+            To build the sample service, go to samples directory and type: 
"ant"
+
+            This will build LibraryService.aar in the target directory and 
copy it to the
+            &lt;WSAS_HOME&gt;/repository/services directory.
+
+            The WSDL for this service should be viewable at:
+
+            http://&lt;host&gt;:&lt;port&gt;/services/LibraryService?wsdl
+        </p>
+        <h2>Running the Client</h2>
+        <p>
+            To run the sample client for the service, go to samples directory 
and user either
+            run-client.sh in Linux or
+            run-client.bat in Windows.
+
+            Or else you can use WSAS features to generate the client stubs 
pointing to the wsdl and
+            invoke the service with that
+            Or invoke the service with Try-It
+        </p>
+        <h2>References</h2>
+        <p>
+            <ol>
+                <li><a 
href="http://ws.apache.org/axis2/1_3/jibx/jibx-codegen-integration.html";>http://ws.apache.org/axis2/1_3/jibx/jibx-codegen-integration.html</a>
 </li>
+                <li><a 
href="http://ws.apache.org/axis2/1_3/jibx/jibx-doclit-example.html";>http://ws.apache.org/axis2/1_3/jibx/jibx-doclit-example.html</a></li>
+                <li><a 
href="http://ws.apache.org/axis2/1_3/jibx/jibx-unwrapped-example.html";>http://ws.apache.org/axis2/1_3/jibx/jibx-unwrapped-example.html</a></li>
+                <li><a 
href="http://jibx.sourceforge.net/bindcomp.html";>http://jibx.sourceforge.net/bindcomp.html</a></li>
+            </ol>
+        </p>
+    </body>
+</html>
\ No newline at end of file

Added: trunk/wsas/java/modules/samples/Jibx/sample-guide.html
==============================================================================
--- (empty file)
+++ trunk/wsas/java/modules/samples/Jibx/sample-guide.html      Mon Jan 14 
11:09:46 2008
@@ -0,0 +1,8 @@
+<html>
+<head><title>Redirect to the right page</title>
+    <META http-equiv="refresh" content="1;URL=../../docs/jibx_guide.html" />
+</head>
+<body bgcolor="#ffffff">
+<center>You will be redirected to the class materials page automatically in 1 
second. </center>
+</body>
+</html>
\ No newline at end of file

_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to