Send As SMS

Tuesday, December 13, 2005

Create a Top Down Web Service Project From a WSDL File

1. Open File -> New -> Other... -> Web -> Dynamic Web Project to create a new flexible project and Web module.
2. Click Next.
3. Add a new project by clicking New... beside the project name field.
4. Enter ProjectName into the Name field.
5. Ensure that the Target server is set to Apache Tomcat v5.0 . If you have not previously configured a server runtime use the New... button beside the Target server field to do so. Result:
6. Module Version 2.4

7. Click Finish to go back to the Dynamic Web Project wizard.
8. Say Yes to open the J2EE perspective and you will see the ProjectName you created listed under Dynamic Web Projects in the Project Explorer view. Expand the ProjectName project to see its contents.
9. Import the wsdl file into ProjectName /WebContent.
10. Select the wsdl file.
11. Open File -> New -> Other... -> Web Services -> Web Service.

12. Click Next
13. In the Web service type combo, select Top down Java bean Web Service .
14. Select Overwrite files without warning.
15. Select Create folders when necessary.
16. Select Monitor the Web Service.
17. Result:

18. Click Next .
19. Object Selection Page should remain unchanged
20. Click Next.
21. Service Deployment Configuration Page verify name of project and module (should already exist in project).

22. Click Finish.