Programming Assignment #10 (optional)
Web Services

Due on Tuesday May 10 before midnight.


Description

This project must be done individually. No copying is permitted. The purpose of this project is to call an existing Web Service using Netbeans.

Platform

You will do this project on your own PC/laptop using Netbeans as in Project #3 (or you can use any of the UTA lab PCs with Netbeans),

The Dictionary Web Service

Read the lecture notes for Web Services first. For this project, you will use the Dictionary Service provided by services.aonaware.com available at DictService. In particular, you will use the SOAP 1.2 method for the Web Service DefineInDict, which requires the Dictionary name (use wn) and one English word and returns the dectionary definition of this word. In Netbeans, create a new application by choosing "New Project ...", then Categories: "Java", Projects: "Java Application", then give it a Project Name, and push Finish. Then select "New File ...", then select Categories: "Web Services", File Types: "Web Service Client", and then use the WSDL URL http://services.aonaware.com/DictService/DictService.asmx?WSDL, choose your Package and push Finish. Then go to the Main.java program and right-click on the body of main, choose "Web Service Client Resources", then "Call Web Service Operation", and choose DefineInDict inside DictServiceSoap12. After that, you need to modify the main program so that:

You may use the wn dictionary.

What to Submit

Use the form below to submit only the file Main.java.

Submit Project #10:

Last modified: 04/21/10 by Leonidas Fegaras