Author: pradeeban Date: Tue Apr 28 06:27:18 2009 New Revision: 34281 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=34281
Log: Updating the outdated README of DataService sample and fixing a phrase in JAXWS README Modified: trunk/wsas/java/modules/samples/DataService/README trunk/wsas/java/modules/samples/JAXWS/README Modified: trunk/wsas/java/modules/samples/DataService/README URL: http://wso2.org/svn/browse/wso2/trunk/wsas/java/modules/samples/DataService/README?rev=34281&r1=34280&r2=34281&view=diff ============================================================================== --- trunk/wsas/java/modules/samples/DataService/README (original) +++ trunk/wsas/java/modules/samples/DataService/README Tue Apr 28 06:27:18 2009 @@ -1,49 +1,38 @@ -Deploying data service samples on WSO2 Web service Application Server -===================================================================== -Please refer to data service sample document in the WSAS documentation (which is in 'docs' folder of the WSAS distribution) for detailed instructions on how to run the data service sample. -WSAS should be running when running the sample clients -Target endpoint reference is set to localhost:9763 as default in client source -files. Change if required. - - -Sample : Data Services (RDMBS) +Sample : Data Services (RDBMS) ============================== -1. Create database and deploy data service configuration files in WSAS server -ant deploy -2. Compile and run data service client 1 -ant run-client-1 +Introduction +============ -3. Compile and run data service client 2 -ant run-client-2 +This is a sample Relational database management system (RDBMS) Data service. It exposes the usage of Data Services as a web service using WSO2 Web Service Application Server. Please refer to data service sample document in the WSAS documentation (which is in 'docs' folder of the WSAS distribution) for detailed instructions on how to run the data service sample. -4. Clean generated artifacts. -(This will delete the database,deployed service & compiled class files.) -ant clean +Building the Data Services +========================== +1. Use "ant deploy" command in the WSO2WSAS_HOME/samples/DataService/ to build the service. +2. This will build the data services in the target directory and copy them to the <WSAS_HOME>/repository/dataservices directory. +The WSDL for the services should be viewable at: +http://<host>:<port>/services/DataServiceSample1?wsdl +http://<host>:<port>/services/DataServiceSample2?wsdl -Sample : Data Services (Excel) -=============================== -1. Deploy Excel sample service -ant deploy-excel-service -2. Compile client -ant compile-all +Running the Client +================== -3. Run client -ant run-excel-client +1. Compile and run data service client 1 +ant run-client-1 + +2. Compile and run data service client 2 +ant run-client-2 +You can also use WSAS features to generate the client stubs pointing to the wsdl and invoke the services with them +Or you can invoke the services with the Try-It option of WSAS. -Sample : Data Services (CSV) -=============================== -1. Deploy CSV sample service -ant deploy-csv-service +Clean generated artifacts +========================= -2. Compile client -ant compile-all +Use "ant clean" command to delete the database, deployed service & compiled class files. -3. Run client -ant run-csv-client Modified: trunk/wsas/java/modules/samples/JAXWS/README URL: http://wso2.org/svn/browse/wso2/trunk/wsas/java/modules/samples/JAXWS/README?rev=34281&r1=34280&r2=34281&view=diff ============================================================================== --- trunk/wsas/java/modules/samples/JAXWS/README (original) +++ trunk/wsas/java/modules/samples/JAXWS/README Tue Apr 28 06:27:18 2009 @@ -27,7 +27,7 @@ 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 +Alternatively 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 Help _______________________________________________ Wsas-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev
