Tuesday, 23 February 2016

How to create Webservices in Eclipse


How to start Webservices Project in Eclipse ?
How to create WSDL from java beans ?


It is a quick reference .


Steps to follow in Eclipse:
  1. Setup Tomcat to Eclipse ( you google this easily)
  2. File>new Project>web> dynamic web project
  3. Provide name of project when it asks for you.
  4. Now we have project.
  5. Create a java bean class.
  6. Add WSDL generated packages/libraries like APACHE CXF, AXIS2…etc
  7. Set up in Project >Webservices>AXIS2 Home
  8. Set up in Project >Webservices>CXF Home
  9. Right Click on Implementation Class and Webservices>generate
  10. Follow steps to create WSDL as screen directs you.

No comments:

Post a Comment

Please comment here