Test Web Services Using an XSD File
You can use Workday Studio's Web Service Tester to send sample request messages using
any element described in an XSD file.
- On the Studio toolbar, clickTest Web Service in Tester.
- As you complete the task, consider:
Option Description FileDisplays the location of the selected XSD file.WorkspaceSelect an XSD file from your Workspace.ExternalSelect an XSD file from an external location.URLSelect an XSD file from a URL.Initialize response endpoint and authentication details for Sandbox environmentSpecifies whether:- The tester'sLocationfield is prepopulated with the web service endpoint.
- The WS-Security Username Token is prepopulated with your Sandbox user login details.
FinishClick when you've selected an XSD file. Alternatively, click without specifying a file to open the Web Service Tester and enter the location and message of your choice. - Select an XSD file from your workspace, an external location, or a URL. ClickFinish.
- Studio opens the Web Service Tester. As you complete the task, consider:
Option Description LocationThe web service endpoint. Because the location value isn't available in an XSD, you must enter the location manually.ElementsElement definitions from the XSD file. When you select one, Studio generates a sample message in theRequestpane. - Modify the XML in theRequestpane as required. To add an attachment, clickAdd Attachment, then clickEditto specify the file location and attachment'sNameandMime type.
- ClickSend Requestto send the request message to the Web service at the URL specified in theLocationfield. Studio displays the response in theResponsepane.