Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 67847 invoked from network); 16 Oct 2006 09:57:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Oct 2006 09:57:51 -0000 Received: (qmail 65259 invoked by uid 500); 16 Oct 2006 09:57:49 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 65155 invoked by uid 500); 16 Oct 2006 09:57:49 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 65144 invoked by uid 500); 16 Oct 2006 09:57:49 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 65141 invoked by uid 99); 16 Oct 2006 09:57:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 02:57:49 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 02:57:48 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 190E11A981A; Mon, 16 Oct 2006 02:57:25 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r464434 - in /webservices/axis2/branches/java/1_1/modules/samples/script: SGCCalculator/readme.html amazonQS/README.txt googleSearch/README.txt googleSpellcheck/README.txt yahooRESTSearch/README.txt Date: Mon, 16 Oct 2006 09:57:24 -0000 To: axis2-cvs@ws.apache.org From: chatra@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061016095726.190E11A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: chatra Date: Mon Oct 16 02:57:20 2006 New Revision: 464434 URL: http://svn.apache.org/viewvc?view=rev&rev=464434 Log: improved READMEs Modified: webservices/axis2/branches/java/1_1/modules/samples/script/SGCCalculator/readme.html webservices/axis2/branches/java/1_1/modules/samples/script/amazonQS/README.txt webservices/axis2/branches/java/1_1/modules/samples/script/googleSearch/README.txt webservices/axis2/branches/java/1_1/modules/samples/script/googleSpellcheck/README.txt webservices/axis2/branches/java/1_1/modules/samples/script/yahooRESTSearch/README.txt Modified: webservices/axis2/branches/java/1_1/modules/samples/script/SGCCalculator/readme.html URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/script/SGCCalculator/readme.html?view=diff&rev=464434&r1=464433&r2=464434 ============================================================================== --- webservices/axis2/branches/java/1_1/modules/samples/script/SGCCalculator/readme.html (original) +++ webservices/axis2/branches/java/1_1/modules/samples/script/SGCCalculator/readme.html Mon Oct 16 02:57:20 2006 @@ -1,86 +1,129 @@ - - - - - - - - - - - - -

Sample application to demonstrate the functionality of -service groups

-

Service Groups are a brand new concept introduced by Axis2. With -Service Groups, users can group several services together. This -concept gives two main advantages to users.

-
    -
  1. Several related sevices can be easily managed and deployed.

    -
  2. Can share information between different services of the same - Servie Group at run time.

    -
-

This sample application demonstrate how you can create a service -group and how you can use the functionalities offered by axis2 to -share information between services of the same group at runtime.

-



-

-

The idea

-

The ides behind the sample is pretty -simple. We have developed a Calculator service group with three -services AddService, SubstractService and MultiplyService. Each -service has two operations. For e.g. AddServices has a 'add' -operation and a 'addPrevious' operation. -

-

The 'add' operation is used to add -two integers and produce a result. When a operation is run the result -will be saved in the current ServiceGroupContext which is the Context -that has to be used to share information between services of the same -service group.

-

When the addPrevious operation is -run (which takes a single integer as the parameter) the saved value -of the last operation will be added to the integer valus that comes -as a parameter.

-

You can even call operations of the -other two services. These services can also use the value saved from -the previous operation.

-

You can use the client class -provided to run this in a interactive manner.

-

How to run the sample

-

Please run axis2 and deploy the provided Calculator.aar service by -simply droping it to the Axis2_webapp/WEB-INF/services directory (see -axis user guide for more details).

-

Run the run.bat file.

-

You will see the following screen.

-



-

-




-

-

Select 'n' to start a new round.

-



-

-




-

-

Now select the service. + for AddService, - for SubstractService, -* for MultiplyService. And press enter. -

-

Enter the two parameters.

-

You will see the result.

-



-

-




-

-

Now select the option 'c' to continue the round. Select the -operation. You have to give a single parameter and press enter.

-

The result will be generated using the entered valus and the -result of the previous operation (which is obtained from the -ServiceGroupContext).

-



-

-




-

-

You can continue this interactively any number of times.

-



-

- - \ No newline at end of file + + + + + + + + + + + + +

Sample Application to Demonstrate the Functionality of Service +Groups

+ +

Service Groups are a brand new concept introduced by Axis2. With Service +Groups, users can group several services together. This concept gives two +main advantages to users.

+
    +
  1. Several related sevices can be easily managed and deployed.

    +
  2. +
  3. Can share information between different services of the same Servie + Group at run time.

    +
  4. +
+ +

This sample application demonstrate how you can create a service group and +how you can use the functionalities offered by axis2 to share information +between services of the same group at runtime.

+ +


+
+

+ +

The idea

+ +

The ides behind the sample is pretty simple. +We have developed a Calculator service group with three services AddService, +SubstractService and MultiplyService. Each service has two operations. For +e.g. AddServices has a 'add' operation and a 'addPrevious' operation.

+ +

The 'add' operation is used to add two +integers and produce a result. When a operation is run the result will be +saved in the current ServiceGroupContext which is the Context that has to be +used to share information between services of the same service group.

+ +

When the addPrevious operation is run (which +takes a single integer as the parameter) the saved value of the last +operation will be added to the integer valus that comes as a parameter.

+ +

You can even call operations of the other +two services. These services can also use the value saved from the previous +operation.

+ +

You can use the client class provided to run +this in a interactive manner.

+ +

How to run the sample

+ +

Please run axis2 and deploy the provided Calculator.aar service by simply +droping it to the Axis2_webapp/WEB-INF/services directory (see axis user +guide for more details).

+ +

Run the run.bat file.

+ +

You will see the following screen.

+ +


+
+

+ +


+
+
+

+ +

Select 'n' to start a new round.

+ +


+
+

+ +


+
+
+

+ +

Now select the service. + for AddService, - for SubstractService, * for +MultiplyService. And press enter.

+ +

Enter the two parameters.

+ +

You will see the result.

+ +


+
+

+ +


+
+
+

+ +

Now select the option 'c' to continue the round. Select the operation. You +have to give a single parameter and press enter.

+ +

The result will be generated using the entered valus and the result of the +previous operation (which is obtained from the ServiceGroupContext).

+ +


+
+

+ +


+
+
+

+ +

You can continue this interactively any number of times.

+ +


+
+

+ + Modified: webservices/axis2/branches/java/1_1/modules/samples/script/amazonQS/README.txt URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/script/amazonQS/README.txt?view=diff&rev=464434&r1=464433&r2=464434 ============================================================================== --- webservices/axis2/branches/java/1_1/modules/samples/script/amazonQS/README.txt (original) +++ webservices/axis2/branches/java/1_1/modules/samples/script/amazonQS/README.txt Mon Oct 16 02:57:20 2006 @@ -1,18 +1,19 @@ -Sample for Amazon Simple Queuing Service -======================================== - -Running the Sample: -------------------- - -First way, Type command to run the sample. Here, Out operations GUI pop-up -first, Once you closed it, In operations GUI will be poped-up. - -Second way is the scrip files. Use run.sh or run.bat to run the sample pertaining -to the system you are using. - -Help: ------ - -Please refer to the sample help page for more details - - +Sample for Amazon Simple Queuing Service +======================================== + +Running the Sample: +------------------- +There are two methods to run the sample + +1. Type command to run the sample. Here, Out operations GUI pops-up +first. Once you've closed it, In operations GUI will pop-up. + +2. Using the scrip files. Use run.sh or run.bat to run the sample pertaining +to the system you are using. + +Help: +----- + +Please refer to the sample help page at "AXIS2_HOME\modules\samples\xdocs\amazonQS" for more details + + Modified: webservices/axis2/branches/java/1_1/modules/samples/script/googleSearch/README.txt URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/script/googleSearch/README.txt?view=diff&rev=464434&r1=464433&r2=464434 ============================================================================== --- webservices/axis2/branches/java/1_1/modules/samples/script/googleSearch/README.txt (original) +++ webservices/axis2/branches/java/1_1/modules/samples/script/googleSearch/README.txt Mon Oct 16 02:57:20 2006 @@ -1,15 +1,16 @@ -Sample for Google - Search - API -======================================== - -Running the Sample: -------------------- - -First way, Type command to run the sample. - -Second way is the scrip files. Use run.sh or run.bat to run the sample pertaining -to the system you are using. - -Help: ------ - -Please refer to the sample help page for more details \ No newline at end of file +Sample for Google - Search - API +======================================== + +Running the Sample: +------------------- +There are two methods to run the sample. + +1. Type command + +2. Uing the scrip files. Use run.sh or run.bat to run the sample pertaining +to the system you are using. + +Help: +----- + +Please refer to the sample help page at "AXIS2_HOME\modules\samples\xdocs\googleSearch" for more details \ No newline at end of file Modified: webservices/axis2/branches/java/1_1/modules/samples/script/googleSpellcheck/README.txt URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/script/googleSpellcheck/README.txt?view=diff&rev=464434&r1=464433&r2=464434 ============================================================================== --- webservices/axis2/branches/java/1_1/modules/samples/script/googleSpellcheck/README.txt (original) +++ webservices/axis2/branches/java/1_1/modules/samples/script/googleSpellcheck/README.txt Mon Oct 16 02:57:20 2006 @@ -1,15 +1,16 @@ -Sample for Google - Spellcheck API -======================================== - -Running the Sample: -------------------- - -First way, Type command to run the sample. - -Second way is the scrip files. Use run.sh or run.bat to run the sample pertaining -to the system you are using. - -Help: ------ - -Please refer to the sample help page for more details \ No newline at end of file +Sample for Google - Spellcheck API +======================================== + +Running the Sample: +------------------- +There are two methods to run the sample + +1. Type command to run the sample. + +2. Using the script files. Use run.sh or run.bat to run the sample pertaining +to the system you are using. + +Help: +----- + +Please refer to the sample help page at "AXIS2_HOME\modules\samples\xdocs\googleSpellcheck\" for more details. \ No newline at end of file Modified: webservices/axis2/branches/java/1_1/modules/samples/script/yahooRESTSearch/README.txt URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/script/yahooRESTSearch/README.txt?view=diff&rev=464434&r1=464433&r2=464434 ============================================================================== --- webservices/axis2/branches/java/1_1/modules/samples/script/yahooRESTSearch/README.txt (original) +++ webservices/axis2/branches/java/1_1/modules/samples/script/yahooRESTSearch/README.txt Mon Oct 16 02:57:20 2006 @@ -1,15 +1,12 @@ -Sample for Yahoo - Search - REST -======================================== - -Running the Sample: -------------------- - -First way, Type command to run the sample. - -Second way is the scrip files. Use run.sh or run.bat to run the sample pertaining -to the system you are using. - -Help: ------ - -Please refer to the sample help page for more details \ No newline at end of file +Sample for Yahoo - Search - REST +======================================== + +Running the Sample: +------------------- +There are two methods to run the sample + +1. Type command. + +2. Using the scrip files. Use run.sh or run.bat to run the sample pertaining +to the system you are using. + --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org