Posts

Showing posts from September, 2008

WSO2 Data Services plugin for Eclipse WTP

Image
WSO2 Data Services 1.0 provides you with a IDE plugin which can be integrated to Eclipse WTP. You can create and deploy data services to a remote or local data services server from IDE. This post demonstrates how a simple MySQL data service is created and deployed using Eclipse WTP. Pre-requisites Download and install WSO2 Data Services 1.0 Download and install Eclipse WTP We will create a data service using MySQL. Please follow the instructions provided in WSO2 Data Services Quick Start Guide to create a data base and populate data. Step 1 Download wso2 data services eclipse plugin (org.wso2.ws.dataservices.ide_1.0.0) from here and copy it to Eclipse_home/plugins directory. Start Eclipse and select a new workspace. Select Workbench to go to the work bench. Step 2 Open the new wizard selection window (File --> New -- Other). If you have copied org.wso2.ws.dataservices.ide_1.0.0.jar to the eclipse plugins directory correctly, you will see WSO2 Data service wizard option in th

How to use assertions in JMeter SOAP/XML-RPC sampler

Image
Assertions are essential components in a JMeter test plan. They are very important in regression testing in which you can compare test results with a pre-defined output.  As I explained here , JMeter Soap/xml-rpc request sampler can be considered as an one of the easiest mechanisms to test web services.  Lets see how assertions can be added to a Soap/xml-rpc sampler so that you can use it easily in automated web services regression testing. Before continue with this, you may go through  the following articles. Six different ways to testing a web service Using Apache JMeter to test Axis2 web services  Step 1 In this example we are going to invoke the sample version service that ships with Apache Axis2 . Therefore, please download Apache Axis2-1.4.1 binary distribution from here and extract it in your file system. Start Axis2server by runnning axis2server.bat{sh} Step 2 Start JMeter by running jmeter.bat or sh. Right click on Test Plan element and add a thread group. Then add the SOAP/

Throttling request messages with WSO2 Data Services

Image
WSO2 Data services 1.0 has been released now. This free and open source product consists of a lot of useful features which can be used to implement your SOA based systems with minimum effort. Access throttling can be considered as a new and vital feature included in it. In web services interactions, we usually have requirements to restrict number of requests our web services serve for a given client. Also, we need to allow service access to a specified domain or IP range. WSO2 Data Services provides an easily configurable UI based utility to throttle messages targeted to a particular data service or a set of services. This post will take you through a basic throttling configuration. Pre-requisites Download and install WSO2 Data Services 1.0 Step 1 Start server by running WSO2DS_HOME/bin/wso2server.bat{sh} Access wso2 data service management console (https://localhost:9443/ds) Log in to console with default admin credentials (admin/admin) Select Data Services link in the left navigat

Getting started with WSO2 Data Services

Image
As I mentioned in a previous post , WSO2 Data Services is now available for you to download and try out. WSO2 Data Services is an open source product and it is available under apache license. The objective of this post is to get you start with WSO2 Data Services with minimum configuration steps. You can find more details of WSO2 Data Services solution from wso2.org online documentation Step 1 Download and install wso2 data service solution. You may download the latest beta2 version from here . Just extract wso2-dataservices-1.0-xx.zip in to a directory in your file system. We refer this directory as WSO2DS_HOME. Step 2 Start wso2 data services solution. Go to WSO2DS_HOME/bin and run wso2server.bat{sh} Step 3 WSO2 Data services provides a web service interface for data stored in relational data bases, csv or Microsoft Excel files. Since our intention is to get our first data service running as quicker as possible I will use a simple csv file as the data source. Open a text editor and

How to avoid OutofMemory error when building projects with Maven2

You may have encountered outofMemory issues when building source with Maven2. This normally happens when Maven runs out of available system memory. In such case you have to set MAVEN_OPTS environment variable to increase the available memory. In Windows Open a command prompt in which you build the source and enter the following options. (Change the memory size according to the amount of memory in your system) SET MAVEN_OPTS=-Xmx1024m In Linux Open a shell and set the options as follows. export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m"

Data Services-1.0Beta - The latest member of WSO2 SOA middleware suite

We have been working hard over the last few weeks to launch the newset addition to the WSO2's SOA middleware platform, WSO2 Data Services -1.0beta . Now you can download it and explore the power of web services with relational data, data stored in csv or Microsoft Excel files.  WSO2 Data Services provides a convenient and user-friendly mechanism to expose data as web services and utilize a lot of QOS features such as WS-Reliable Messaging, WS-Security etc.. It consists of a management UI which allows you to create, deploy and invoke data services without writing a line of code. Also, Eclipse IDE plugin brings the Data servce functionality into Eclipse IDE in which you can configure data services very easily.  There are lot more things you can do with this new product and some of the helpful references were already published. You may begin with quick start guide. Stay tuned. This blog will be updated with many how-tos on WSO2 data services soon.