Simple Object Access Protocol (SOAP) Assignment

These exercises will work with the web service that interacts with the databank of patient records in XYZ Public Hospital described in the assignment on WSDL.

Exercise 1

Define the SOAP request and response messages over HTTP for obtaining the number of patients affected by a certain disease.

Exercise 2

Define the SOAP request message for obtaining the name of a patient by providing the patient identification number. For authentication purposes, pass security credentials (username and password) which must be interpreted by the target service before processing the SOAP message.

Exercise 3

Define the SOAP request message for obtaining the name of a patient by providing the patient identification number. For authentication purposes, pass security credentials (username and password) via an SAML assertion to the target service.

Exercise 4

Define the SOAP request message with an attachment over HTTP to add an image (GIF/JPEG) to the record of a particular patient (use patient identification number).