This project must be done individually. No copying is permitted. This project is optional and is worth 50 extra points maximum (2.5 extra points in your final score). The purpose of this project is to call an existing Web Service using Netbeans. You need to read about SOAP and WSDL from the Web Service slides.
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),
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:
Use the form below to submit only the file Main.java.
Last modified: 04/21/11 by Leonidas Fegaras