1) Download axis2 plugin from
http://ws.apache.org/axis2/tools/index.html
2) Extract plugin in eclipse/plugins directory
3) In eclipse IDE go to menu windows -> preferences
click on option web services -> Axis2 Preferences and specify location of folder where axis2 is installed.
4) To use axis2 plugin, goto project "properties" pane, and select "Project Facets" and select "Axis2 Web Services"
Now your project is ready to create a webservice using Java to WSDL style or from WSDL to Java.
To create a WSDL from java class, right click on class name and select "Web Services" -> "Create Web Service"
Other options options is to create the web service using File -> "New" --> "Other" -> Axis2 Wizards -> Axis2 Code Generator
No comments:
Post a Comment