Test Web Services Using a WSDL File
You can use Workday Studio's Web Service Tester to send sample request messages using
any operation described in a WSDL file.
- On the Studio toolbar, clickTest Web Service in Tester.
- As you complete the task, consider:
Option Description FileDisplays the location of the selected WSDL file.WorkspaceSelect a WSDL file from your Workspace.ExternalSelect a WSDL file from an external location.URLSelect a WSDL 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 a WSDL file. Alternatively, click without specifying a file to open the Web Service Tester and enter the location and message of your choice. - Select a WSDL 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.PortTypeThe WSDL operations exposed by the web service and its associated binding.OperationOperations from the WSDL file. When you select one, Studio generates a sample message in theRequestpane.SOAP actionThe SOAPAction header in the HTTP request.RequestThe request message that Studio sends to the web service.ResponseThe response message that Studio receives from the web service. - 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.