Create a Web Service with a method that accept a String (as parameter) and Echo it back (return it).
Deploy the service on Glassfish application server
View and analyze the WSDL file and find the relationships with the class.
Test it using the Glassfish webservice tester
View and analyze SOAP request and SOAP response displayed by the tester.
Do the following changes on top of the lab @ http://javajee.com/lab-deploying-a-simple-soap-web-service-in-glassfish-....
Change below using annotations and attributes given @ http://javajee.com/common-annotations-to-create-web-services:
the port name as SimpleWSDemo
endpoint url ending with /SimpleWSDemoService
target namespace as http://soap.ws.javajee.com
the operation name as mySoapOperation.
Try out all SOAP Binding attribute combinations given @ http://javajee.com/additional-soap-binding-attributes-and-attribute-comi....
Try out all SOAP Binding attribute positive combinations and verify the result.
Try out all SOAP Binding negative combinations and document the errors.
Create a class with overloaded operations and then use WRAPPED and UNWRAPPED style and document the results.
Create an EmployeeDetails Service Bottup Up:
Service class name should be EmployeeDetails
There should be a class Employee with fields Id, Name, Age, Salary.
It should have a method getEmployees
This method should return a list of Employee objects
Create a generic web service client that can send a web service request to any web service provider.
You will be given the url to wsdl as input.
Can take upto 2 weeks to complete.