You need to create the WSDL document using the Eclipse WSDL Editor. You need to start by creating a workspace to hold all
the projects for this tutorial.
Remember: In the topics describing how to use the WSDL Editor, the phrase "double-click" means one click to select the required box
and another click to place the cursor in the text box for editing.
- Start
Enterprise Developer.
- Change the perspective to JAVA EE, click
.
This opens the
Open Perspective dialog box.
- Click
Java EE, and then click
OK.
- Click
, and then click
Next.
This opens the
New Project dialog box.
- In the
Project name field, type
wsdl, and then click
Finish.
- In the
Project Explorer, right-click the wsdl project, then click
.
This opens the
New dialog box.
- Type
wsdl, and then click
WSDL File.
- Click
Next.
- In the
File name field, type
BookLegacy.wsdl.
- Click
Next.
- In the
Target namespace field, type
http://project.company.com/BookLegacy/.
This URL makes the types unique to the web service. Update the URL keeping the "BookLegacy" part.
- Use the other defaults and then click
Finish.
This opens a new WSDL document in the WSDL editor, giving a template with one operation.