Author: saminda
Date: Thu Jan 17 07:10:34 2008
New Revision: 12420
Log:
Added missing documents
Added:
branches/wsas/java/2.2/wsas/java/modules/documentation/src/site/xdoc/jaxws_sample_guide.xml
branches/wsas/java/2.2/wsas/java/modules/documentation/src/site/xdoc/mtom_sample_guide.xml
branches/wsas/java/2.2/wsas/java/modules/samples/JAXWS/sample-guide.html
branches/wsas/java/2.2/wsas/java/modules/samples/MTOM/src/sample-guide.html
Modified:
branches/wsas/java/2.2/wsas/java/modules/documentation/src/site/site.xml
Modified:
branches/wsas/java/2.2/wsas/java/modules/documentation/src/site/site.xml
==============================================================================
--- branches/wsas/java/2.2/wsas/java/modules/documentation/src/site/site.xml
(original)
+++ branches/wsas/java/2.2/wsas/java/modules/documentation/src/site/site.xml
Thu Jan 17 07:10:34 2008
@@ -53,7 +53,9 @@
<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="Jaxws" href="jaxws_sample_guide.html" />
<item name="JiBX" href="jibx_guide.html"/>
+ <item name="Mtom" href="mtom_sample_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:
branches/wsas/java/2.2/wsas/java/modules/documentation/src/site/xdoc/jaxws_sample_guide.xml
==============================================================================
--- (empty file)
+++
branches/wsas/java/2.2/wsas/java/modules/documentation/src/site/xdoc/jaxws_sample_guide.xml
Thu Jan 17 07:10:34 2008
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+ <body>
+ <h1>Introduction</h1>
+ <p>
+ This is an example JAXWS Web service. It shows how to expose the
methods of a class as a
+ JAXWS Web
+ service using WSO2 Web Service Application Server @[EMAIL
PROTECTED]
+ </p>
+
+ <h1>Building the Service</h1>
+ <p>
+ To build the sample service, go to samples directory and type: ant
+
+ This will build the jaxws-calculator.aar in the target directory
and copy it to the
+ <WSAS_HOME>/repository/services directory. If you start
WSAS, the
+ jaxws-calculator-service
+ will be available online.
+
+ The WSDL for this service should be viewable at:
+
+ http://<host>:<port>/services/CalculatorService?wsdl
+ </p>
+ <h1>Running the Client</h1>
+ <p>
+ To run the sample client for the service, go to samples directory
and type: ant
+ run-client
+
+ Or elase 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>
+
+ </body>
+</html>
\ No newline at end of file
Added:
branches/wsas/java/2.2/wsas/java/modules/documentation/src/site/xdoc/mtom_sample_guide.xml
==============================================================================
--- (empty file)
+++
branches/wsas/java/2.2/wsas/java/modules/documentation/src/site/xdoc/mtom_sample_guide.xml
Thu Jan 17 07:10:34 2008
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+ <body>
+ <h1>Introduction</h1>
+ <p>
+ This sample demonstrates the capabilities and power of MTOM. MTOM
Web Service accepts a
+ fileName and DataHandler. This DataHandler contains the binary
content which will
+ eventually save to a
+ temporary location to the given fileName.
+ </p>
+ <h1>Running the Sample</h1>
+ <p>
+ <ul>
+ <li>
+ Use "ant generate.service" or just "ant" command in the
Axis2_HOME/sample/MTOM/
+ to build the service.
+ </li>
+ <li>
+ Generated service (MTOMSample.aar) gets copied to the
+ $WSO2WSAS_HOME/repository/services automatically.
+ </li>
+ <li>
+ Start WSAS server using $WSO2WSAS_HOME/bin/wso2wsas.sh or
+ $WSO2WSAS_HOME/bin/wso2wsas.bat.
+ </li>
+ <li>
+ Use the script run-client.sh or run-client.bat file to
invoke the client using
+ arguments
+ -file {file that need to be send to the service} -fileName
{name to be copied on
+ server side} ex:
+ ./run-client.sh -file /tmp/wwe.jpg -fileName wresting.jpg
+ </li>
+ </ul>
+ </p>
+ <h1>Note</h1>
+ <p>
+ Sometimes, if you're having trouble running the client
successfully,
+ It may be necessary to clean the services repository before you
generate the service,
+ deploy it
+ and run the client. (i.e. delete services created from previous
samples.)
+ </p>
+ </body>
+</html>
\ No newline at end of file
Added: branches/wsas/java/2.2/wsas/java/modules/samples/JAXWS/sample-guide.html
==============================================================================
--- (empty file)
+++ branches/wsas/java/2.2/wsas/java/modules/samples/JAXWS/sample-guide.html
Thu Jan 17 07:10:34 2008
@@ -0,0 +1,8 @@
+<html>
+<head><title>Redirect to the right page</title>
+ <META http-equiv="refresh"
content="1;URL=../../docs/jaxws_sample_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
Added:
branches/wsas/java/2.2/wsas/java/modules/samples/MTOM/src/sample-guide.html
==============================================================================
--- (empty file)
+++ branches/wsas/java/2.2/wsas/java/modules/samples/MTOM/src/sample-guide.html
Thu Jan 17 07:10:34 2008
@@ -0,0 +1,8 @@
+<html>
+<head><title>Redirect to the right page</title>
+ <META http-equiv="refresh"
content="1;URL=../../docs/mtom_sample_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