To develop Java programs that consume Spatial Module web services in Eclipse, you first create a reference to the web service in your Java project. When the reference is created, the client-side stub code required to use the web service is generated.
-
Start Eclipse.
-
On the File menu, select .
The New Project wizard opens.
-
In the New Project wizard, select .
-
In the Project Name field, enter the name you want to give your project.
Click Finish to close the wizard.
The new project folder appears in the Package Explorer.
-
In the Package Explorer, right-click on the project folder you created in the previous step. On the pop-up menu, select .
-
In the New wizard, select .
-
In the Service Definition field, enter the URL to the web service's WSDL document.
Select Develop Client on the slider bar.
Click Finish to close the wizard.
The stub code for the web service is generated in the project folder.