You create the WSDL document using the Eclipse WSDL editor. You also need to create 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 by selecting
Window > Open Perspective > Other. In the
Open Perspective dialogue, select
Java EE and press
OK.
- Select
File > New > Other > General > Project and click
Next.
- Type
wsdl into the
Project name and click
Finish.
- In the
Project Explorer pane, right click on the project folder
wsdl and select
New > Other.
- Enter
wsdl where it says
type filter text. Select
WSDL File and click
Next.
- For the file name enter
BookLegacy.wsdl and click
Next.
- The
Target namespace is a URL to make the types unique to the web service. Update this keeping the "BookLegacy" part, for example:
http://project.company.com/BookLegacy.
- All the other defaults will be used, so click
Finish.
This opens a new WSDL document in the WSDL Editor, giving a template with one operation to get started.