Apache Axis
Steps 1:
1. Dowload axis 2 plugin from location http://ws.apache.org/axis2/ download/1_4_1/download.cgi
Make sure you download Axis 1.4.1 which can be found here Axis
2 1.4.1. Download
2. From Windows> Prefrences >Webservices>Axis2Preferences > Specify the axis2 location where you downloaded
Message should display --Axis2 runtime loaded successfully
3. Create a class package wtp;
public class Converter
{
public float celsiusToFarenheit ( float celsius )
{
return (celsius * 9 / 5) + 32;
}
public float farenheitToCelsius ( float farenheit )
{
return (farenheit - 32) * 5 / 9;
}
}
4. Select the class and right click on class and go to webservice
5. Go till end
Configure Eclipse to use CXF http://eclipse-cs.sourceforge. net/update
Maven 2 Eclipse http://m2eclipse.sonatype.org/ sites/m2e
Check all box when integrating
No comments:
Post a Comment