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/10/18 12:42:14 UTC

svn commit: r465202 [1/2] - in /webservices/axis2/branches/java/1_1/modules: integration/ samples/ samples/amazonqs/ samples/amazonqs/docs/ samples/amazonqs/src/ samples/amazonqs/src/sample/ samples/amazonqs/src/sample/amazon/ samples/amazonqs/src/samp...

Author: chinthaka
Date: Wed Oct 18 03:41:44 2006
New Revision: 465202

URL: http://svn.apache.org/viewvc?view=rev&rev=465202
Log:
Restructuring samples. Now every sample has a home folder inside samples modules. 
This will fix the http://issues.apache.org/jira/browse/AXIS2-1281. 

Added:
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/README.txt
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/amazonQS/README.txt
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/build.xml
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/amazonQS/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/docs/
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/docs/AmazonSimpleWebService.html
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/amazonQS/AmazonSimpleWebService.html
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/docs/AmazonSimpleWebService_clip_image002.gif
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/amazonQS/AmazonSimpleWebService_clip_image002.gif
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/run.bat
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/amazonQS/run.bat
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/run.sh
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/amazonQS/run.sh
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/src/
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/src/sample/
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/src/sample/amazon/
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/src/sample/amazon/amazonSimpleQueueService/
      - copied from r464865, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/amazonSimpleQueueService/
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/src/sample/amazon/amazonSimpleQueueService/AmazonSimpleQueueServiceIn.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/amazonSimpleQueueService/AmazonSimpleQueueServiceIn.java
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/src/sample/amazon/amazonSimpleQueueService/AmazonSimpleQueueServiceOut.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/amazonSimpleQueueService/AmazonSimpleQueueServiceOut.java
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/src/sample/amazon/amazonSimpleQueueService/ListenersIn.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/amazonSimpleQueueService/ListenersIn.java
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/src/sample/amazon/amazonSimpleQueueService/ListenersOut.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/amazonSimpleQueueService/ListenersOut.java
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/src/sample/amazon/amazonSimpleQueueService/OMElementCreator.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/amazonSimpleQueueService/OMElementCreator.java
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/src/sample/amazon/amazonSimpleQueueService/RunGUICQ.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/amazonSimpleQueueService/RunGUICQ.java
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/src/sample/amazon/amazonSimpleQueueService/RunGUIRQ.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/amazonSimpleQueueService/RunGUIRQ.java
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/src/sample/amazon/amazonSimpleQueueService/util/
      - copied from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/src/sample/amazon/common/
      - copied from r464865, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/common/
    webservices/axis2/branches/java/1_1/modules/samples/amazonqs/src/sample/amazon/common/conf/
      - copied from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/common/conf/
    webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/
    webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/docs/
    webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/docs/AmazonSearch.htm
      - copied, changed from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/amazonSearch/AmazonSearch.htm
    webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/
    webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/sample/
    webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/sample/amazon/
    webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/sample/amazon/common/
    webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/sample/amazon/common/conf/
    webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/sample/amazon/common/conf/key.properties
    webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/sample/amazon/search/
      - copied from r464865, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/search/
    webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/sample/amazon/search/AsynchronousClient.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/search/AsynchronousClient.java
    webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/sample/amazon/search/ClientCallbackHandler.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/search/ClientCallbackHandler.java
    webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/sample/amazon/search/ClientUtil.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/search/ClientUtil.java
    webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/sample/amazon/search/GUIHandler.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/search/GUIHandler.java
    webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/sample/amazon/search/LinkFollower.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/search/LinkFollower.java
    webservices/axis2/branches/java/1_1/modules/samples/eventing/
    webservices/axis2/branches/java/1_1/modules/samples/eventing/listner1.services.xml
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/resources/eventing/listner1.services.xml
    webservices/axis2/branches/java/1_1/modules/samples/eventing/listner2.services.xml
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/resources/eventing/listner2.services.xml
    webservices/axis2/branches/java/1_1/modules/samples/eventing/publisher.services.xml
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/resources/eventing/publisher.services.xml
    webservices/axis2/branches/java/1_1/modules/samples/eventing/run.bat
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/eventing/run.bat
    webservices/axis2/branches/java/1_1/modules/samples/eventing/run.sh
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/eventing/run.sh
    webservices/axis2/branches/java/1_1/modules/samples/eventing/src/
    webservices/axis2/branches/java/1_1/modules/samples/eventing/src/sample/
    webservices/axis2/branches/java/1_1/modules/samples/eventing/src/sample/eventing/
      - copied from r464865, webservices/axis2/branches/java/1_1/modules/samples/src/sample/eventing/
    webservices/axis2/branches/java/1_1/modules/samples/eventing/src/sample/eventing/Client.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/eventing/Client.java
    webservices/axis2/branches/java/1_1/modules/samples/eventing/src/sample/eventing/ListnerService1.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/eventing/ListnerService1.java
    webservices/axis2/branches/java/1_1/modules/samples/eventing/src/sample/eventing/ListnerService2.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/eventing/ListnerService2.java
    webservices/axis2/branches/java/1_1/modules/samples/eventing/src/sample/eventing/PublisherService.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/eventing/PublisherService.java
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/README.txt
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/googleSearch/README.txt
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/build.xml
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/googleSearch/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/docs/
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/docs/GoogleSearchHelp.html
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSearch/GoogleSearchHelp.html
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/docs/archi.JPG
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSearch/archi.JPG
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/docs/sceenShot1.JPG
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSearch/sceenShot1.JPG
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/docs/screenShot2.JPG
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSearch/screenShot2.JPG
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/docs/screenShot3.JPG
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSearch/screenShot3.JPG
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/run.bat
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/googleSearch/run.bat
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/run.sh
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/googleSearch/run.sh
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/src/
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/src/sample/
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/src/sample/google/
      - copied from r464865, webservices/axis2/branches/java/1_1/modules/samples/src/sample/google/
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/src/sample/google/common/
      - copied from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/google/common/
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/src/sample/google/search/
      - copied from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/google/search/
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/src/sample/google/spellcheck/
      - copied from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/google/spellcheck/
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/README.txt
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/googleSpellcheck/README.txt
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/build.xml
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/googleSpellcheck/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/Google1.jpg   (contents, props changed)
      - copied, changed from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/Google1.jpg
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/GoogleSpellCheck.html
      - copied, changed from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/GoogleSpellCheck.html
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/ModeMenu.JPG   (contents, props changed)
      - copied, changed from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/ModeMenu.JPG
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/asyncScreen.JPG   (contents, props changed)
      - copied, changed from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/asyncScreen.JPG
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/clearMenu.JPG   (contents, props changed)
      - copied, changed from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/clearMenu.JPG
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/helpMenu.JPG   (contents, props changed)
      - copied, changed from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/helpMenu.JPG
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/settingsMenu.JPG   (contents, props changed)
      - copied, changed from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/settingsMenu.JPG
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/syncScreen.JPG   (contents, props changed)
      - copied, changed from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/syncScreen.JPG
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/run.bat
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/googleSpellcheck/run.bat
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/run.sh
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/googleSpellcheck/run.sh
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/common/
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/common/conf/
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/common/conf/key.properties
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/common/resource/
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/common/util/
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/common/util/PropertyLoader.java
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/AsyncPanel.java
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/FormModel.java
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/Observer.java
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/SuggestionForm.java
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/SyncPanel.java
    webservices/axis2/branches/java/1_1/modules/samples/groovy/
    webservices/axis2/branches/java/1_1/modules/samples/groovy/src/
    webservices/axis2/branches/java/1_1/modules/samples/groovy/src/sample/
    webservices/axis2/branches/java/1_1/modules/samples/groovy/src/sample/groovy/
      - copied from r464865, webservices/axis2/branches/java/1_1/modules/samples/src/sample/groovy/
    webservices/axis2/branches/java/1_1/modules/samples/groovy/src/sample/groovy/GroovyRcv.groovy
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/groovy/GroovyRcv.groovy
    webservices/axis2/branches/java/1_1/modules/samples/groovy/src/sample/groovy/GroovyReceiver.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/groovy/GroovyReceiver.java
    webservices/axis2/branches/java/1_1/modules/samples/groovy/src/sample/groovy/META-INF/
      - copied from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/groovy/META-INF/
    webservices/axis2/branches/java/1_1/modules/samples/mtomsample/
    webservices/axis2/branches/java/1_1/modules/samples/mtomsample/README.txt
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/mtomSample/README.txt
    webservices/axis2/branches/java/1_1/modules/samples/mtomsample/build.xml
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/mtomSample/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/mtomsample/docs/
    webservices/axis2/branches/java/1_1/modules/samples/mtomsample/run.bat
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/mtomSample/run.bat
    webservices/axis2/branches/java/1_1/modules/samples/mtomsample/run.sh
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/mtomSample/run.sh
    webservices/axis2/branches/java/1_1/modules/samples/mtomsample/src/
    webservices/axis2/branches/java/1_1/modules/samples/mtomsample/src/sample/
    webservices/axis2/branches/java/1_1/modules/samples/mtomsample/src/sample/mtom/
    webservices/axis2/branches/java/1_1/modules/samples/mtomsample/src/sample/mtom/filetransfer/
      - copied from r464865, webservices/axis2/branches/java/1_1/modules/samples/src/sample/mtom/filetransfer/
    webservices/axis2/branches/java/1_1/modules/samples/mtomsample/src/sample/mtom/filetransfer/client/
      - copied from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/mtom/filetransfer/client/
    webservices/axis2/branches/java/1_1/modules/samples/mtomsample/src/sample/mtom/filetransfer/service/
      - copied from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/mtom/filetransfer/service/
    webservices/axis2/branches/java/1_1/modules/samples/security/
    webservices/axis2/branches/java/1_1/modules/samples/security/README.txt
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/resources/security/README.txt
    webservices/axis2/branches/java/1_1/modules/samples/security/build.xml
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/resources/security/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/security/client.axis2.xml
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/resources/security/client.axis2.xml
    webservices/axis2/branches/java/1_1/modules/samples/security/docs/
    webservices/axis2/branches/java/1_1/modules/samples/security/sec.jks
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/resources/security/sec.jks
    webservices/axis2/branches/java/1_1/modules/samples/security/sec.properties
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/resources/security/sec.properties
    webservices/axis2/branches/java/1_1/modules/samples/security/service.axis2.xml
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/resources/security/service.axis2.xml
    webservices/axis2/branches/java/1_1/modules/samples/security/src/
    webservices/axis2/branches/java/1_1/modules/samples/security/src/sample/
    webservices/axis2/branches/java/1_1/modules/samples/security/src/sample/security/
      - copied from r464865, webservices/axis2/branches/java/1_1/modules/samples/src/sample/security/
    webservices/axis2/branches/java/1_1/modules/samples/security/src/sample/security/Client.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/security/Client.java
    webservices/axis2/branches/java/1_1/modules/samples/security/src/sample/security/META-INF/
      - copied from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/security/META-INF/
    webservices/axis2/branches/java/1_1/modules/samples/security/src/sample/security/PWCallback.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/security/PWCallback.java
    webservices/axis2/branches/java/1_1/modules/samples/security/src/sample/security/Service.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/security/Service.java
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/docs/
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/docs/images/
      - copied from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/SGCCalculator/images/
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/docs/images/image1.JPG
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/xdocs/SGCCalculator/images/image1.JPG
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/docs/images/image2.JPG
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/xdocs/SGCCalculator/images/image2.JPG
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/docs/images/image3.JPG
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/xdocs/SGCCalculator/images/image3.JPG
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/docs/images/image4.JPG
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/xdocs/SGCCalculator/images/image4.JPG
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/docs/readme.html
      - copied, changed from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/SGCCalculator/readme.html
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/run.bat
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/SGCCalculator/run.bat
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/run.sh
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/SGCCalculator/run.sh
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/src/
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/src/sample/
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/src/sample/sgccalculator/
      - copied from r464865, webservices/axis2/branches/java/1_1/modules/samples/src/sample/sgccalculator/
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/src/sample/sgccalculator/AddService.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/sgccalculator/AddService.java
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/src/sample/sgccalculator/CalcClient.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/sgccalculator/CalcClient.java
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/src/sample/sgccalculator/Constants.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/sgccalculator/Constants.java
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/src/sample/sgccalculator/META-INF/
      - copied from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/sgccalculator/META-INF/
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/src/sample/sgccalculator/MultiplyService.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/sgccalculator/MultiplyService.java
    webservices/axis2/branches/java/1_1/modules/samples/sgccalculator/src/sample/sgccalculator/SubstractService.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/sgccalculator/SubstractService.java
    webservices/axis2/branches/java/1_1/modules/samples/version/
    webservices/axis2/branches/java/1_1/modules/samples/version/src/
    webservices/axis2/branches/java/1_1/modules/samples/version/src/samples/
    webservices/axis2/branches/java/1_1/modules/samples/version/src/samples/axisversion/
      - copied from r464865, webservices/axis2/branches/java/1_1/modules/samples/src/sample/axisversion/
    webservices/axis2/branches/java/1_1/modules/samples/version/src/samples/axisversion/META-INF/
      - copied from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/axisversion/META-INF/
    webservices/axis2/branches/java/1_1/modules/samples/version/src/samples/axisversion/Version.java
      - copied unchanged from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/axisversion/Version.java
    webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/
    webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/README.txt
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/yahooRESTSearch/README.txt
    webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/build.xml
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/yahooRESTSearch/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/docs/
    webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/run.bat
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/yahooRESTSearch/run.bat
    webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/run.sh
      - copied unchanged from r464865, webservices/axis2/branches/java/1_1/modules/samples/script/yahooRESTSearch/run.sh
    webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/src/
    webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/src/sample/
    webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/src/sample/yahooservices/
      - copied from r464865, webservices/axis2/branches/java/1_1/modules/samples/src/sample/yahooservices/
    webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/src/sample/yahooservices/RESTSearch/
      - copied from r465194, webservices/axis2/branches/java/1_1/modules/samples/src/sample/yahooservices/RESTSearch/
Removed:
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/src/sample/google/spellcheck/AsyncPanel.java
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/src/sample/google/spellcheck/FormModel.java
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/src/sample/google/spellcheck/Observer.java
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/src/sample/google/spellcheck/SuggestionForm.java
    webservices/axis2/branches/java/1_1/modules/samples/googlesearch/src/sample/google/spellcheck/SyncPanel.java
    webservices/axis2/branches/java/1_1/modules/samples/resources/eventing/listner1.services.xml
    webservices/axis2/branches/java/1_1/modules/samples/resources/eventing/listner2.services.xml
    webservices/axis2/branches/java/1_1/modules/samples/resources/eventing/publisher.services.xml
    webservices/axis2/branches/java/1_1/modules/samples/resources/security/README.txt
    webservices/axis2/branches/java/1_1/modules/samples/resources/security/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/resources/security/client.axis2.xml
    webservices/axis2/branches/java/1_1/modules/samples/resources/security/sec.jks
    webservices/axis2/branches/java/1_1/modules/samples/resources/security/sec.properties
    webservices/axis2/branches/java/1_1/modules/samples/resources/security/service.axis2.xml
    webservices/axis2/branches/java/1_1/modules/samples/script/SGCCalculator/
    webservices/axis2/branches/java/1_1/modules/samples/script/amazonQS/README.txt
    webservices/axis2/branches/java/1_1/modules/samples/script/amazonQS/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/script/amazonQS/run.bat
    webservices/axis2/branches/java/1_1/modules/samples/script/amazonQS/run.sh
    webservices/axis2/branches/java/1_1/modules/samples/script/eventing/run.bat
    webservices/axis2/branches/java/1_1/modules/samples/script/eventing/run.sh
    webservices/axis2/branches/java/1_1/modules/samples/script/googleSearch/README.txt
    webservices/axis2/branches/java/1_1/modules/samples/script/googleSearch/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/script/googleSearch/run.bat
    webservices/axis2/branches/java/1_1/modules/samples/script/googleSearch/run.sh
    webservices/axis2/branches/java/1_1/modules/samples/script/googleSpellcheck/README.txt
    webservices/axis2/branches/java/1_1/modules/samples/script/googleSpellcheck/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/script/googleSpellcheck/run.bat
    webservices/axis2/branches/java/1_1/modules/samples/script/googleSpellcheck/run.sh
    webservices/axis2/branches/java/1_1/modules/samples/script/mtomSample/README.txt
    webservices/axis2/branches/java/1_1/modules/samples/script/mtomSample/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/script/mtomSample/run.bat
    webservices/axis2/branches/java/1_1/modules/samples/script/mtomSample/run.sh
    webservices/axis2/branches/java/1_1/modules/samples/script/yahooRESTSearch/README.txt
    webservices/axis2/branches/java/1_1/modules/samples/script/yahooRESTSearch/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/script/yahooRESTSearch/run.bat
    webservices/axis2/branches/java/1_1/modules/samples/script/yahooRESTSearch/run.sh
    webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/amazonSimpleQueueService/
    webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/common/
    webservices/axis2/branches/java/1_1/modules/samples/src/sample/amazon/search/
    webservices/axis2/branches/java/1_1/modules/samples/src/sample/axisversion/
    webservices/axis2/branches/java/1_1/modules/samples/src/sample/eventing/
    webservices/axis2/branches/java/1_1/modules/samples/src/sample/google/
    webservices/axis2/branches/java/1_1/modules/samples/src/sample/groovy/
    webservices/axis2/branches/java/1_1/modules/samples/src/sample/mtom/filetransfer/
    webservices/axis2/branches/java/1_1/modules/samples/src/sample/security/
    webservices/axis2/branches/java/1_1/modules/samples/src/sample/sgccalculator/
    webservices/axis2/branches/java/1_1/modules/samples/src/sample/yahooservices/
    webservices/axis2/branches/java/1_1/modules/samples/xdocs/SGCCalculator/images/
    webservices/axis2/branches/java/1_1/modules/samples/xdocs/SGCCalculator/readme.html
    webservices/axis2/branches/java/1_1/modules/samples/xdocs/amazonQS/
    webservices/axis2/branches/java/1_1/modules/samples/xdocs/amazonSearch/AmazonSearch.htm
    webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSearch/
    webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/
Modified:
    webservices/axis2/branches/java/1_1/modules/integration/maven.xml
    webservices/axis2/branches/java/1_1/modules/samples/maven.xml

Modified: webservices/axis2/branches/java/1_1/modules/integration/maven.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/maven.xml?view=diff&rev=465202&r1=465201&r2=465202
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/maven.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/maven.xml Wed Oct 18 03:41:44 2006
@@ -629,7 +629,7 @@
             <mkdir dir="target/groovyRepo/conf"/>
             <mkdir dir="target/groovyRepo/services"/>
             <mkdir dir="target/groovyRepo/modules"/>
-            <ant:copy file="../samples/target/samples/groovyService.aar"
+            <ant:copy file="../samples/groovy/groovyService.aar"
                       tofile="target/groovyRepo/services/groovyService.aar"/>
             <copy file="../addressing/target/addressing-${addressing_version}.mar"
                   tofile="target/groovyRepo/modules/addressing-${addressing_version}.mar"/>

Copied: webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/docs/AmazonSearch.htm (from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/amazonSearch/AmazonSearch.htm)
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/docs/AmazonSearch.htm?view=diff&rev=465202&p1=webservices/axis2/branches/java/1_1/modules/samples/xdocs/amazonSearch/AmazonSearch.htm&r1=464865&p2=webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/docs/AmazonSearch.htm&r2=465202
==============================================================================
    (empty)

Added: webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/sample/amazon/common/conf/key.properties
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/sample/amazon/common/conf/key.properties?view=auto&rev=465202
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/sample/amazon/common/conf/key.properties (added)
+++ webservices/axis2/branches/java/1_1/modules/samples/amazonsearch/src/sample/amazon/common/conf/key.properties Wed Oct 18 03:41:44 2006
@@ -0,0 +1,4 @@
+# This is the subcription Id for the Amazon Simple Queue Web Service
+# When a user need to run the sample through a new subcription Id 
+# simply changed this value of the key/value pair. 
+key=0HPJJ4GJDSG2TZ2C8X02
\ No newline at end of file

Copied: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/Google1.jpg (from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/Google1.jpg)
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/Google1.jpg?view=diff&rev=465202&p1=webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/Google1.jpg&r1=464865&p2=webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/Google1.jpg&r2=465202
==============================================================================
Binary files - no diff available.

Propchange: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/Google1.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Copied: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/GoogleSpellCheck.html (from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/GoogleSpellCheck.html)
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/GoogleSpellCheck.html?view=diff&rev=465202&p1=webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/GoogleSpellCheck.html&r1=464865&p2=webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/GoogleSpellCheck.html&r2=465202
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/GoogleSpellCheck.html (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/GoogleSpellCheck.html Wed Oct 18 03:41:44 2006
@@ -51,15 +51,15 @@
 
 <p>If the Mode menu can be used to switch to the Sync Mode</p>
 
-<p><img border="0" src="ModeMenu.JPG" width="190" height="175"></p>
+<p><img border="0" src="ModeMenu.JPGgoogleSpellcheck/ModeMenu.JPG" width="190" height="175"></p>
 
 <p>The Sync mode screen looks as follows</p>
 
-<p><img border="0" src="syncScreen.JPG" width="512" height="384"></p>
+<p><img border="0" src="syncScreen.JPGogleSpellcheck/syncScreen.JPG" width="512" height="384"></p>
 
 <p>The Key can be set using the settings menu</p>
 
-<p><img border="0" src="settingsMenu.JPG" width="186" height="112"></p>
+<p><img border="0" src="settingsMenu.JPGleSpellcheck/settingsMenu.JPG" width="186" height="112"></p>
 
 <p>The text boxes can be cleared using the clear menu</p>
 
@@ -67,7 +67,7 @@
 
 <p>Finally the help menu will pop up this help screen</p>
 
-<p><img border="0" src="helpMenu.JPG" width="179" height="118"></p>
+<p><img border="0" src="helpMenu.JPGgoogleSpellcheck/helpMenu.JPG" width="179" height="118"></p>
 
 <p></p>
 
@@ -76,11 +76,11 @@
 <p>Now you can start doing Google spell checker. Even though the tool uses
 the default license key it is advisable to obtain a key of your own . If you
 have got your own license key, you can set it by Set-&gt;key in the menu bar.
-First you should select the type of call (either sync or async)  from the
+First you should select the type of call (either sync or async)� from the
 menu bar. You can see that there are two different GUIs for each call. Its
 because logic behind the two calls. When you work with Sync Client you can
 type the word in the text field given and press the send button to call
-Google . Suggested words will be displayed on the bottom  text field. On the
+Google . Suggested words will be displayed on the bottom� text field. On the
 other hand ,the async client behaves differently. You can keep typing the
 words continuously on the text area and at each press of the enter or the
 space key ,a request will be sent and the results will be displayed in few
@@ -116,7 +116,7 @@
 doAsyncSpellingSuggestion method and sends requests to the Google Web API.
 User can type continuously without any interruption. When the response
 arrives the oncomplete method of the callback is invoked which in turn
-updates the text area  . In the response SOAP body, the suggested text  is
+updates the text area� . In the response SOAP body, the suggested text� is
 returned. This is extracted and displayed on the text area. The call to the
 Google web API from the Async Client is done by the </p>
 
@@ -126,7 +126,7 @@
 GoogleCallBack(word));</font></p>
 
 <p><br>
-requestElement – is an Element that holds the request soap envelope. <br>
+requestElement � is an Element that holds the request soap envelope. <br>
 </p>
 
 <p><br>
@@ -148,7 +148,7 @@
 side performance, if the operation takes considerable amount of time where
 the asynchronous capability will be useful.</p>
 
-<p> The request SOAP message is built at the FormModel class. According to
+<p>�The request SOAP message is built at the FormModel class. According to
 the Google Web API WSDL file, required namespaces are selected and attached
 to the envelope. We don't have to include anything in the header. The name of
 the first child element of the body should be operation name and it should be
@@ -164,9 +164,9 @@
 download from the Google Web API page. To get the suggested text first take
 the body of the SOAP Envelop. In the SOAP Envelop there are two
 elements(doSpellingSuggestionResponse, return) but we only want one of them
-that is “return” element. Then acquire the text of the return “element”. That
-is the “suggested string” from Google.!!<br>
- </p>
+that is �return� element. Then acquire the text of the return �element�. That
+is the �suggested string� from Google.!!<br>
+�</p>
 
 <p><font face="Courier New">QName qName1 = new QName("urn:GoogleSearch",
 "doSpellingSuggestionResponse");<br>
@@ -176,7 +176,7 @@
 body.getFirstChildWithName(qName1).getFirstChildWithName(qName2);<br>
 String sugestion = val.getText();</font><br>
 <br>
- </p>
+�</p>
 <hr>
 </body>
 </html>

Copied: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/ModeMenu.JPG (from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/ModeMenu.JPG)
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/ModeMenu.JPG?view=diff&rev=465202&p1=webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/ModeMenu.JPG&r1=464865&p2=webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/ModeMenu.JPG&r2=465202
==============================================================================
Binary files - no diff available.

Propchange: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/ModeMenu.JPG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Copied: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/asyncScreen.JPG (from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/asyncScreen.JPG)
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/asyncScreen.JPG?view=diff&rev=465202&p1=webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/asyncScreen.JPG&r1=464865&p2=webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/asyncScreen.JPG&r2=465202
==============================================================================
Binary files - no diff available.

Propchange: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/asyncScreen.JPG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Copied: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/clearMenu.JPG (from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/clearMenu.JPG)
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/clearMenu.JPG?view=diff&rev=465202&p1=webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/clearMenu.JPG&r1=464865&p2=webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/clearMenu.JPG&r2=465202
==============================================================================
Binary files - no diff available.

Propchange: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/clearMenu.JPG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Copied: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/helpMenu.JPG (from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/helpMenu.JPG)
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/helpMenu.JPG?view=diff&rev=465202&p1=webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/helpMenu.JPG&r1=464865&p2=webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/helpMenu.JPG&r2=465202
==============================================================================
Binary files - no diff available.

Propchange: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/helpMenu.JPG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Copied: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/settingsMenu.JPG (from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/settingsMenu.JPG)
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/settingsMenu.JPG?view=diff&rev=465202&p1=webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/settingsMenu.JPG&r1=464865&p2=webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/settingsMenu.JPG&r2=465202
==============================================================================
Binary files - no diff available.

Propchange: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/settingsMenu.JPG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Copied: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/syncScreen.JPG (from r464865, webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/syncScreen.JPG)
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/syncScreen.JPG?view=diff&rev=465202&p1=webservices/axis2/branches/java/1_1/modules/samples/xdocs/googleSpellcheck/syncScreen.JPG&r1=464865&p2=webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/syncScreen.JPG&r2=465202
==============================================================================
Binary files - no diff available.

Propchange: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/docs/syncScreen.JPG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/common/conf/key.properties
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/common/conf/key.properties?view=auto&rev=465202
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/common/conf/key.properties (added)
+++ webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/common/conf/key.properties Wed Oct 18 03:41:44 2006
@@ -0,0 +1,10 @@
+###################################################################################################
+######################   Property file for the google sample ######################################
+###################################################################################################
+#License Key
+#Wed Jun 01 15:28:16 LKT 2005
+google.key=wzdxGcZQFHJ71w7IgCj5ddQGLmODsP9g
+#Google URL
+google.url=api.google.com
+#Google service name
+google.name=/search/beta2

Added: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/common/util/PropertyLoader.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/common/util/PropertyLoader.java?view=auto&rev=465202
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/common/util/PropertyLoader.java (added)
+++ webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/common/util/PropertyLoader.java Wed Oct 18 03:41:44 2006
@@ -0,0 +1,63 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * 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.
+ */
+
+package sample.google.common.util;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.Properties;
+
+public class PropertyLoader {
+
+    private static String googleKey;
+    private static String googleEndpointURL;
+    private static String googleEndpointServiceName;
+
+    static {
+        try {
+            Properties prop = new Properties();
+            Class clazz = Object.class;
+            InputStream stream = clazz.getResourceAsStream(
+                    "/sample/google/common/conf/key.properties");
+            prop.load(stream);
+
+            googleKey = prop.getProperty("google.key");
+            googleEndpointURL = prop.getProperty("google.url");
+            googleEndpointServiceName = prop.getProperty("google.name");
+
+        } catch (IOException e) {
+            System.exit(0);
+        }
+
+    }
+
+    public static String getGoogleKey() {
+        return googleKey;
+    }
+
+    public static String getGoogleEndpointURL() {
+        return googleEndpointURL;
+    }
+
+    public static String getGoogleEndpointServiceName() {
+        return googleEndpointServiceName;
+    }
+
+    public static void setGoogleKey(String googleKey) {
+        PropertyLoader.googleKey = googleKey;
+    }
+
+}

Added: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/AsyncPanel.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/AsyncPanel.java?view=auto&rev=465202
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/AsyncPanel.java (added)
+++ webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/AsyncPanel.java Wed Oct 18 03:41:44 2006
@@ -0,0 +1,105 @@
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* 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.
+*/
+
+package sample.google.spellcheck;
+
+import javax.swing.*;
+import java.awt.*;
+import java.awt.event.KeyEvent;
+import java.awt.event.KeyListener;
+
+/**
+ * class sample.google.spellcheck.AsyncPanel
+ * This Impements its own GUI of the Asynchronous Client and it updates the string after getting the response to textarea
+ */
+public class AsyncPanel extends javax.swing.JPanel implements Observer,
+        KeyListener {
+    FormModel formModel;
+    JTextArea writingTextArea;
+    JTextArea displayTextArea;
+    JTextField errorMessageField;
+
+    public AsyncPanel() {
+        GridBagLayout gbLayout = new GridBagLayout();
+        GridBagConstraints constraint = new GridBagConstraints();
+        this.setLayout(gbLayout);
+
+        formModel = new FormModel(this);
+
+        writingTextArea = new JTextArea();
+        writingTextArea.setLineWrap(true);
+
+        displayTextArea = new JTextArea();
+        displayTextArea.setEditable(false);
+        displayTextArea.setLineWrap(true);
+
+        errorMessageField = new JTextField();
+        errorMessageField.setEditable(false);
+        errorMessageField.setBackground(Color.LIGHT_GRAY);
+        errorMessageField.setForeground(Color.RED);
+
+        JScrollPane scrollPaneGet = new JScrollPane(writingTextArea);
+        JScrollPane scrollPaneSet = new JScrollPane(displayTextArea);
+
+        writingTextArea.setText("Enter a String");
+        writingTextArea.addKeyListener(this);
+
+        constraint.fill = GridBagConstraints.BOTH;
+        constraint.gridx = 0;
+        constraint.weightx = 1;
+        constraint.weighty = 8;
+        gbLayout.setConstraints(scrollPaneGet, constraint);
+        this.add(scrollPaneGet);
+        gbLayout.setConstraints(scrollPaneSet, constraint);
+        this.add(scrollPaneSet);
+        constraint.weighty = 1;
+        gbLayout.setConstraints(errorMessageField, constraint);
+        this.add(errorMessageField);
+
+
+    }
+
+    public void update(String message) {
+        displayTextArea.setText(displayTextArea.getText() + " " + message);
+    }
+
+    //updates the error message to the error message display area
+    public void updateError(String message) {
+        errorMessageField.setText(message);
+    }
+
+
+    public void keyPressed(KeyEvent e) {
+        int key = e.getKeyChar();
+        if ((key == KeyEvent.VK_SPACE) || (key == KeyEvent.VK_ENTER)) {
+            String[] words = writingTextArea.getText().split("\\s");
+            if (words.length > 0)
+                formModel.doAsyncSpellingSuggestion(words[words.length - 1]);
+        }
+    }
+
+    public void keyReleased(KeyEvent e) {
+    }
+
+    public void keyTyped(KeyEvent e) {
+    }
+
+    public void clear() {
+        displayTextArea.setText("");
+        writingTextArea.setText("");
+        errorMessageField.setText("");
+    }
+}

Added: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/FormModel.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/FormModel.java?view=auto&rev=465202
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/FormModel.java (added)
+++ webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/FormModel.java Wed Oct 18 03:41:44 2006
@@ -0,0 +1,205 @@
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* 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.
+*/
+
+package sample.google.spellcheck;
+
+import org.apache.axiom.om.OMAbstractFactory;
+import org.apache.axiom.om.OMElement;
+import org.apache.axiom.om.OMNamespace;
+import org.apache.axiom.soap.SOAPBody;
+import org.apache.axiom.soap.SOAPEnvelope;
+import org.apache.axiom.soap.SOAPFactory;
+import org.apache.axis2.AxisFault;
+import org.apache.axis2.Constants;
+import org.apache.axis2.transport.http.HTTPConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.client.Options;
+import org.apache.axis2.client.ServiceClient;
+import org.apache.axis2.client.async.AsyncResult;
+import org.apache.axis2.client.async.Callback;
+import sample.google.common.util.PropertyLoader;
+
+import javax.xml.namespace.QName;
+import java.net.MalformedURLException;
+import java.net.URL;
+
+/**
+ * class sample.google.spellcheck.FormModel
+ * This is the Impementation of the Asynchronous Client
+ */
+public class FormModel {
+
+    Observer observer;
+    private static final String PROTOCOL = "http";
+
+    public FormModel(Observer observer) {
+        this.observer = observer;
+    }
+
+    private OMElement getElement(String word) {
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        OMNamespace opN = omfactory.createOMNamespace("urn:GoogleSearch",
+                "ns1");
+        OMNamespace emptyNs = omfactory.createOMNamespace("", null);
+
+        OMElement method = omfactory.createOMElement("doSpellingSuggestion",
+                opN);
+        method.declareNamespace("http://www.w3.org/1999/XMLSchema-instance",
+                "xsi");
+        method.declareNamespace("http://www.w3.org/1999/XMLSchema", "xsd");
+
+        //reqEnv.getBody().addChild(method);
+        method.addAttribute("soapenv:encodingStyle",
+                "http://schemas.xmlsoap.org/soap/encoding/",
+                null);
+        OMElement value1 = omfactory.createOMElement("key", emptyNs);
+        OMElement value2 = omfactory.createOMElement("phrase", emptyNs);
+        value1.addAttribute("xsi:type", "xsd:string", null);
+        value2.addAttribute("xsi:type", "xsd:string", null);
+        value1.addChild(
+                omfactory.createOMText(value1, PropertyLoader.getGoogleKey()));
+        value2.addChild(omfactory.createOMText(value2, word));
+
+        method.addChild(value1);
+        method.addChild(value2);
+        return method;
+    }
+
+
+    public void doAsyncSpellingSuggestion(String word) {
+        OMElement requestElement = getElement(word);
+        URL url = null;
+        try {
+            url = new URL(PROTOCOL,
+                    PropertyLoader.getGoogleEndpointURL(),
+                    PropertyLoader.getGoogleEndpointServiceName());
+            //url=new URL( "http","127.0.0.1",7070,"/search/beta2");
+        } catch (MalformedURLException e) {
+            observer.updateError(e.getMessage());
+        }
+
+        Options options = new Options();
+        options.setTo(new EndpointReference(url.toString()));
+        options.setProperty(HTTPConstants.CHUNKED, Constants.VALUE_FALSE);
+        try {
+            ServiceClient sender = new ServiceClient();
+            sender.setOptions(options);
+            sender.sendReceiveNonBlocking(requestElement, new GoogleCallBack(word));
+
+        } catch (AxisFault axisFault) {
+            observer.updateError(axisFault.getMessage());
+        }
+
+    }
+
+    public void doSyncSpellingSuggestion(String word) {
+        OMElement responseElement = null;
+        OMElement requestElement = getElement(word);
+        URL url = null;
+        try {
+            url =
+                    new URL(PROTOCOL,
+                            PropertyLoader.getGoogleEndpointURL(),
+                            PropertyLoader.getGoogleEndpointServiceName());
+            //url=new URL( "http","127.0.0.1",7070,"/search/beta2");
+        } catch (MalformedURLException e) {
+            observer.updateError(e.getMessage());
+        }
+
+        Options options = new Options();
+
+        options.setTo(new EndpointReference(url.toString()));
+        options.setProperty(HTTPConstants.CHUNKED, Constants.VALUE_FALSE);
+
+        try {
+
+            ServiceClient sender = new ServiceClient();
+            sender.setOptions(options);
+            responseElement = sender.sendReceive(requestElement);
+
+        } catch (AxisFault axisFault) {
+            observer.updateError(axisFault.getMessage());
+        }
+
+        if (responseElement == null) {
+            this.observer.update("No suggestions found for " + word);
+            return;
+        }
+        this.getResponseFromElement(responseElement);
+    }
+
+    public String getResponseFromElement(OMElement responseElement) {
+
+        OMElement val = responseElement.getFirstElement();
+        String sugession = val.getText();
+        this.observer.update(sugession);
+        return sugession;
+    }
+
+
+    public String getResponse(SOAPEnvelope responseEnvelope) {
+        QName qName1 = new QName("urn:GoogleSearch",
+                "doSpellingSuggestionResponse");
+
+        SOAPBody body = responseEnvelope.getBody();
+        if (body.hasFault()) {
+            observer.updateError(body.getFault().getException().getMessage());
+            return null;
+        } else {
+            OMElement root = body.getFirstChildWithName(qName1);
+            OMElement val;
+            if (root != null) {
+                // val = root.getFirstChildWithName(qName2);
+                val = root.getFirstElement();
+            } else {
+                observer.updateError("Correct response not received!");
+                return null;
+            }
+
+            String sugession = val.getText();
+            if ((sugession == null) || (sugession.trim().length() == 0)) {
+                return null;
+            } else {
+                return sugession;
+            }
+
+        }
+    }
+
+    private class GoogleCallBack extends Callback {
+        private String originalWord;
+
+        public GoogleCallBack(String originalWord) {
+            this.originalWord = originalWord;
+        }
+
+        public void onComplete(AsyncResult result) {
+            String suggestion = getResponse(result.getResponseEnvelope());
+            if (suggestion == null) {
+                observer.update(originalWord);
+                observer.updateError(
+                        "No suggestions found for " + originalWord);
+            } else {
+                observer.update(suggestion);
+            }
+        }
+
+        public void onError(Exception e) {
+            observer.updateError(e.getMessage());
+        }
+    }
+
+}

Added: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/Observer.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/Observer.java?view=auto&rev=465202
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/Observer.java (added)
+++ webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/Observer.java Wed Oct 18 03:41:44 2006
@@ -0,0 +1,31 @@
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* 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.
+*/
+
+package sample.google.spellcheck;
+
+
+/**
+ * interface sample.google.spellcheck.Observer
+ */
+public interface Observer {
+    // updates the message to the main test display area
+    public void update(String message);
+
+    //updates the error message to the error message display area
+    public void updateError(String message);
+
+    public void clear();
+}

Added: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/SuggestionForm.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/SuggestionForm.java?view=auto&rev=465202
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/SuggestionForm.java (added)
+++ webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/SuggestionForm.java Wed Oct 18 03:41:44 2006
@@ -0,0 +1,215 @@
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* 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.
+*/
+
+package sample.google.spellcheck;
+
+import sample.google.common.util.PropertyLoader;
+
+import javax.swing.*;
+import javax.swing.event.HyperlinkEvent;
+import javax.swing.event.HyperlinkListener;
+import java.awt.*;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.KeyEvent;
+import java.io.File;
+import java.io.IOException;
+
+/**
+ * class sample.google.spellcheck.SuggestionForm
+ * This is the implementation of the GUI
+ */
+public class SuggestionForm extends javax.swing.JFrame implements HyperlinkListener {
+    private AsyncPanel asyncPanel;
+    private SyncPanel syncPanel;
+    private JEditorPane helpDisplayPane;
+
+    private JMenuItem syncMenuItem;
+    private JMenuItem asyncMenuItem;
+    private static final String HELP_FILE_NAME = "/docs/GoogleSpellCheck.html";
+
+
+    public SuggestionForm() throws HeadlessException {
+        asyncPanel = new AsyncPanel();
+        syncPanel = new SyncPanel();
+
+        JMenuBar menuBar;
+        //Create the menu bar.
+        menuBar = new JMenuBar();
+
+        JMenu modeMenu = new JMenu("Mode");
+        modeMenu.setMnemonic(KeyEvent.VK_M);
+        syncMenuItem = new JMenuItem("Sync Mode", KeyEvent.VK_S);
+        syncMenuItem.setAccelerator(
+                KeyStroke.getKeyStroke(KeyEvent.VK_S, ActionEvent.CTRL_MASK));
+        syncMenuItem.addActionListener(new ActionListener() {
+            public void actionPerformed(ActionEvent e) {
+                setSyncPanel();
+            }
+        });
+        asyncMenuItem = new JMenuItem("ASync Mode", KeyEvent.VK_A);
+        asyncMenuItem.setAccelerator(
+                KeyStroke.getKeyStroke(KeyEvent.VK_A, ActionEvent.CTRL_MASK));
+        asyncMenuItem.addActionListener(new ActionListener() {
+            public void actionPerformed(ActionEvent e) {
+                setAsyncPanel();
+            }
+        });
+        modeMenu.add(syncMenuItem);
+        modeMenu.add(asyncMenuItem);
+
+        JMenu settingsMenu = new JMenu("Settings");
+        settingsMenu.setMnemonic(KeyEvent.VK_S);
+        JMenuItem googleKeyMenu = new JMenuItem("Set Google Key",
+                KeyEvent.VK_G);
+        googleKeyMenu.setAccelerator(
+                KeyStroke.getKeyStroke(KeyEvent.VK_G, ActionEvent.CTRL_MASK));
+        googleKeyMenu.addActionListener(new ActionListener() {
+            public void actionPerformed(ActionEvent e) {
+                setKey();
+            }
+        });
+        settingsMenu.add(googleKeyMenu);
+
+        JMenu clearMenu = new JMenu("Clear");
+        clearMenu.setMnemonic(KeyEvent.VK_C);
+        JMenuItem clearMenuItem = new JMenuItem("Clear text boxes");
+        clearMenuItem.setAccelerator(
+                KeyStroke.getKeyStroke(KeyEvent.VK_C, ActionEvent.CTRL_MASK));
+        clearMenuItem.addActionListener(new ActionListener() {
+            public void actionPerformed(ActionEvent e) {
+                asyncPanel.clear();
+                syncPanel.clear();
+            }
+        });
+        clearMenu.add(clearMenuItem);
+
+        JMenu helpMenu = new JMenu("Help");
+        JMenuItem mnuItemHelp = new JMenuItem("Show Help");
+        helpMenu.add(mnuItemHelp);
+
+        mnuItemHelp.addActionListener(new ActionListener() {
+            public void actionPerformed(ActionEvent e) {
+                showHelp();
+            }
+        });
+
+        menuBar.add(modeMenu);
+        menuBar.add(settingsMenu);
+        menuBar.add(clearMenu);
+        menuBar.add(helpMenu);
+
+        this.setJMenuBar(menuBar);
+
+        this.getContentPane().setLayout(new GridLayout(1, 1));
+        setAsyncPanel();
+
+
+    }
+
+    public static void main(String[] args) {
+        SuggestionForm form = new SuggestionForm();
+        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
+        form.setLocation(screenSize.width / 4,
+                screenSize.height / 4);
+        form.setSize(screenSize.width / 2, screenSize.height / 2);
+        form.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
+        //form.setResizable(false);
+        //form.pack();
+        form.show();
+    }
+
+    private void setAsyncPanel() {
+        this.getContentPane().removeAll();
+        this.getContentPane().add(asyncPanel);
+        this.syncMenuItem.setEnabled(true);
+        this.asyncMenuItem.setEnabled(false);
+        this.getContentPane().repaint();
+        this.setTitle("Google Spell checker - Async Mode");
+        this.show();
+
+    }
+
+    private void setSyncPanel() {
+        this.getContentPane().removeAll();
+        this.getContentPane().add(syncPanel);
+        this.syncMenuItem.setEnabled(false);
+        this.asyncMenuItem.setEnabled(true);
+        this.getContentPane().repaint();
+        this.setTitle("Google Spell checker - Sync Mode");
+        this.show();
+    }
+
+    private void setKey() {
+        String key = JOptionPane.showInputDialog(this, "Set the Google Key",
+                PropertyLoader.getGoogleKey());
+        if (key != null && key.trim().length() != 0) {
+            PropertyLoader.setGoogleKey(key);
+        }
+    }
+
+    /**
+     * method showHelp
+     */
+    private void showHelp() {
+
+        JFrame frame = new JFrame();
+        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
+        frame.setLocation(screenSize.width / 5,
+                screenSize.height / 5);
+        frame.setSize(screenSize.width / 2, screenSize.height / 2);
+
+        BorderLayout layout = new BorderLayout();
+
+        JScrollPane jsp;
+
+
+        helpDisplayPane = new JEditorPane();
+        helpDisplayPane.addHyperlinkListener(this);
+        helpDisplayPane.setEditable(false);
+        helpDisplayPane.setContentType("text/html");
+
+        jsp = new JScrollPane(helpDisplayPane);
+
+        Container contentPane = frame.getContentPane();
+        contentPane.setLayout(layout);
+        contentPane.add(jsp, BorderLayout.CENTER);
+        String helpDoc = System.getProperty("user.dir") + HELP_FILE_NAME;
+
+        try {
+            helpDisplayPane.setPage(new File(helpDoc).toURL());
+        } catch (IOException e) {
+            JOptionPane.showMessageDialog(this, "Help file not detected", "Help file error",
+                    JOptionPane.ERROR_MESSAGE);
+            return;
+        }
+        frame.setVisible(true);
+    }
+
+
+    public void hyperlinkUpdate(HyperlinkEvent e) {
+        if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
+            try {
+                String url = e.getURL().toString();
+                helpDisplayPane.setPage(url);
+            } catch (Exception err) {
+                JOptionPane.showMessageDialog(this, "Help file not detected", err.getMessage(),
+                        JOptionPane.ERROR_MESSAGE);
+            }
+
+        }
+    }
+}

Added: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/SyncPanel.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/SyncPanel.java?view=auto&rev=465202
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/SyncPanel.java (added)
+++ webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/src/sample/google/spellcheck/SyncPanel.java Wed Oct 18 03:41:44 2006
@@ -0,0 +1,99 @@
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* 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.
+*/
+
+package sample.google.spellcheck;
+
+import javax.swing.*;
+import java.awt.*;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+
+/**
+ * class sample.google.spellcheck.SyncPanel
+ * This Impements its own GUI of the Synchronous Client and it send the SOAP request after the mouse event.
+ */
+public class SyncPanel extends javax.swing.JPanel implements Observer,
+        ActionListener {
+    FormModel formModel;
+    JTextArea writingTextArea;
+    JTextArea displayTextArea;
+    JTextField errorMessageField;
+    JButton sendButton;
+
+    public SyncPanel() {
+        GridBagLayout gbLayout = new GridBagLayout();
+        GridBagConstraints constraint = new GridBagConstraints();
+        this.setLayout(gbLayout);
+
+        formModel = new FormModel(this);
+        writingTextArea = new javax.swing.JTextArea();
+        writingTextArea.setLineWrap(true);
+
+        displayTextArea = new javax.swing.JTextArea();
+        displayTextArea.setLineWrap(true);
+        displayTextArea.setEditable(false);
+
+        errorMessageField = new JTextField();
+        errorMessageField.setEditable(false);
+        errorMessageField.setBackground(Color.LIGHT_GRAY);
+        errorMessageField.setForeground(Color.RED);
+
+        sendButton = new javax.swing.JButton("Send");
+        JScrollPane scrollPaneget = new JScrollPane(writingTextArea);
+        JScrollPane scrollPaneset = new JScrollPane(displayTextArea);
+        writingTextArea.setText("Enter a String");
+
+        constraint.fill = GridBagConstraints.BOTH;
+        constraint.gridx = 0;
+        constraint.weightx = 1;
+        constraint.weighty = 8;
+        gbLayout.setConstraints(scrollPaneget, constraint);
+        this.add(scrollPaneget);
+        gbLayout.setConstraints(scrollPaneset, constraint);
+        this.add(scrollPaneset);
+        constraint.weighty = 1;
+        gbLayout.setConstraints(sendButton, constraint);
+        this.add(sendButton);
+        gbLayout.setConstraints(errorMessageField, constraint);
+        this.add(errorMessageField);
+
+        sendButton.addActionListener(this);
+
+    }
+
+    public void update(String suggestion) {
+        displayTextArea.setText(suggestion);
+    }
+
+    //updates the error message to the error message display area
+    public void updateError(String message) {
+        errorMessageField.setText(message);
+    }
+
+    public void actionPerformed(ActionEvent e) {
+        String str = writingTextArea.getText().trim();
+        formModel.doSyncSpellingSuggestion(str);
+    }
+
+    public void clear() {
+        writingTextArea.setText("");
+        displayTextArea.setText("");
+        errorMessageField.setText("");
+    }
+
+}
+
+



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