4.3 GetUserProfile Example

This example demonstrates a common method for retrieving a user profile if the name of the user is known. The first step demonstrated is the use of the GetUserProfileSchema WSDL operation so that the client can understand the format of the profile. Second, the GetUserProfileByName WSDL operation is demonstrated. A request message for a single user profile is sent to the server, and then a GetUserProfileByNameResponse message, matching the schema retrieved  is returned, which contain the user profile data. Error scenarios are not addressed.