Author: channa Date: Tue Jul 22 03:01:03 2008 New Revision: 19859 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=19859
Log: Added doc on creating CSV data sources. Added: trunk/mashup/java/xdocs/csv_data_service_guide.html trunk/mashup/java/xdocs/images/ds_csv_step1.png (contents, props changed) trunk/mashup/java/xdocs/images/ds_csv_step2.png (contents, props changed) trunk/mashup/java/xdocs/images/ds_csv_step3.png (contents, props changed) trunk/mashup/java/xdocs/images/ds_csv_step4.png (contents, props changed) trunk/mashup/java/xdocs/images/ds_csv_step5.png (contents, props changed) trunk/mashup/java/xdocs/images/ds_csv_step5_list.png (contents, props changed) trunk/mashup/java/xdocs/images/ds_csv_step6.png (contents, props changed) Modified: trunk/mashup/java/xdocs/dataservices.html trunk/mashup/java/xdocs/rdbms_data_service_guide.html Added: trunk/mashup/java/xdocs/csv_data_service_guide.html URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/xdocs/csv_data_service_guide.html?pathrev=19859 ============================================================================== --- (empty file) +++ trunk/mashup/java/xdocs/csv_data_service_guide.html Tue Jul 22 03:01:03 2008 @@ -0,0 +1,106 @@ +<!-- +~ Copyright 2005-2008 WSO2, Inc. (http://wso2.com) +~ +~ Licensed under the Apache License, Version 2.0 (the "License"); +~ you may not use this file except in compliance with the License. +~ You may obtain a copy of the License at +~ +~ http://www.apache.org/licenses/LICENSE-2.0 +~ +~ Unless required by applicable law or agreed to in writing, software +~ distributed under the License is distributed on an "AS IS" BASIS, +~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +~ See the License for the specific language governing permissions and +~ limitations under the License. +--> +<html> +<head> + <meta http-equiv="content-type" content=""> + <title>CSV Data Services</title> + <link href="css/mashup-docs.css" rel="stylesheet" type="text/css" + media="all"> +</head> + +<body> + +<div id="main-content"> +<h1>Creating a Data Service using a CSV Data Source</h1> + +<p>This document describes the steps to be followed when using the Data +Service Creation Wizard with a CSV data source.</p> +<br> + + +<h2>Step 1</h2> + +<p>In the Configuration box, enter a name for the new Data Service and from +the Data Source dropdown, select CSV. A popup window will open up. Here, +Enter Database source details including the url or file system path to the +csv file, column separator character, which row to start from and header +details. To specify the number of rows to read, leave Max. no of rows to read +as -1.</p> + +<p><img alt="DS CSV Step1" src="images/ds_csv_step1.png" width="1004" +height="467"></p> + +<p>Click OK, to confirm the connection details and click next.</p> +<br> + + +<h2>Step 2</h2> + +<p>Click on New Query to create a new query for you data service. You will be +presented with the Add New Query popup window.</p> +<img alt="New CSV Query" src="images/ds_csv_step2.png" width="1014" +height="588"><br><br/> + + +<h2>Step 3</h2> + +<p>Click the Add New Output Mapping button to define mappings for the query +output.</p> + +<p><img alt="Output Mapping" src="images/ds_csv_step3.png" width="1013" +height="664"></p> + +<p>Click OK on the popup windows to go back to the Queries panel. Click Next. +</p> +<br> + + +<h2>Step 4</h2> + +<p>In the next panel, click on Add New Operation to define operations for the +data service. </p> + +<p><img alt="Add Operation" src="images/ds_csv_step4.png" width="1006" +height="700"></p> + +<p>In the popup window, the Query dropdown will list the queries you defined +in the previous step. You can map them to operations here. Click Finish when +done.</p> +<img alt="Finish" src="images/ds_csv_step5.png" width="1008" height="801"><br> + +<br> +<h2>Step 5</h2> + +<p>Your new data service will now be included in the list of Mashups on your +server.</p> + +<p><img alt="List" src="images/ds_csv_step5_list.png" width="698" +height="87"></p> + +<p>You can access the mashup page for this service and use +<strong>tryIt</strong> to try the operation you defined.</p> + +<p><img alt="Data" src="images/ds_csv_step6.png" width="1054" +height="785"></p> +</div> + +<p></p> + +<div id="main-content1"> +<p>© 2007-2008 WSO2 Inc.</p> +</div> +</body> +</html> Modified: trunk/mashup/java/xdocs/dataservices.html URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/xdocs/dataservices.html?rev=19859&r1=19858&r2=19859&view=diff ============================================================================== --- trunk/mashup/java/xdocs/dataservices.html (original) +++ trunk/mashup/java/xdocs/dataservices.html Tue Jul 22 03:01:03 2008 @@ -191,9 +191,9 @@ <br/> <h1>Further Reading</h1> The Data Services documentation linked below provides detailed instructions on creating data services for RDBMS, Excel and CSV data sources. -<li><a href="http://wso2.org/project/mashup/1.5/docs/rdbms_data_service_guide.html">RDBMS data Source</a></li> -<li><a href="http://wso2.org/project/mashup/1.5/docs/csv_data_service_guide.html">CSV data Source</a></li> -<li><a href="http://wso2.org/project/mashup/1.5/docs/excel_data_service_guide.html">Excel data Source</a></li> +<li><a href="rdbms_data_service_guide.html">RDBMS data Source</a></li> +<li><a href="csv_data_service_guide.html">CSV data Source</a></li> +<li><a href="excel_data_service_guide.html">Excel data Source</a></li> <p>� 2007-2008 WSO2 Inc.</p> </div> -</body></html> \ No newline at end of file +</body></html> Added: trunk/mashup/java/xdocs/images/ds_csv_step1.png URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/xdocs/images/ds_csv_step1.png?pathrev=19859 ============================================================================== Binary file. No diff available. Added: trunk/mashup/java/xdocs/images/ds_csv_step2.png URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/xdocs/images/ds_csv_step2.png?pathrev=19859 ============================================================================== Binary file. No diff available. Added: trunk/mashup/java/xdocs/images/ds_csv_step3.png URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/xdocs/images/ds_csv_step3.png?pathrev=19859 ============================================================================== Binary file. No diff available. Added: trunk/mashup/java/xdocs/images/ds_csv_step4.png URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/xdocs/images/ds_csv_step4.png?pathrev=19859 ============================================================================== Binary file. No diff available. Added: trunk/mashup/java/xdocs/images/ds_csv_step5.png URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/xdocs/images/ds_csv_step5.png?pathrev=19859 ============================================================================== Binary file. No diff available. Added: trunk/mashup/java/xdocs/images/ds_csv_step5_list.png URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/xdocs/images/ds_csv_step5_list.png?pathrev=19859 ============================================================================== Binary file. No diff available. Added: trunk/mashup/java/xdocs/images/ds_csv_step6.png URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/xdocs/images/ds_csv_step6.png?pathrev=19859 ============================================================================== Binary file. No diff available. Modified: trunk/mashup/java/xdocs/rdbms_data_service_guide.html URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/xdocs/rdbms_data_service_guide.html?rev=19859&r1=19858&r2=19859&view=diff ============================================================================== --- trunk/mashup/java/xdocs/rdbms_data_service_guide.html (original) +++ trunk/mashup/java/xdocs/rdbms_data_service_guide.html Tue Jul 22 03:01:03 2008 @@ -24,11 +24,13 @@ <body> <div id="main-content"> -<h1>Creating RDBMS Data Services</h1> +<h1>Creating a Data Service using an RDBMS Data Source</h1> <p>This document describes the steps to be followed when using the Data Service Creation Wizard with an RDBMS data source.</p> -<br/> +<br> + + <h2>Step 1</h2> <p>In the Configuration box, enter a name for the new Data Service and from @@ -48,7 +50,9 @@ width="369" height="147"></p> <p>Click OK, to confirm the connection details and click next.</p> -<br/> +<br> + + <h2>Step 2</h2> <p>Click on New Query to create a new query for you data service. You will be @@ -56,7 +60,9 @@ <p><img alt="DS RDBMS Step 2" src="images/ds_rdbms_step2.png" width="1012" height="703"></p> -<br/> +<br> + + <h2>Step 3</h2> <p>Click the Add New Output Mapping button to define mappings for the query @@ -67,7 +73,9 @@ <p>Click OK on the popup windows to go back to the Queries panel. Click Next. </p> -<br/> +<br> + + <h2>Step 4</h2> <p>In the next panel, click on Add New Operation to define operations for the @@ -82,7 +90,9 @@ <p><img alt="Finish" src="images/ds_rdbms_step5.png" width="1004" height="737"></p> -<br/> +<br> + + <h2>Step 5</h2> <p>Your new data service will now be included in the list of Mashups on your
_______________________________________________ Mashup-dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/mashup-dev
