has the ability to create Web Service SOAP messages by using the
Write XML and HTTP(S) Tasks. The Write XML task will be used to create a SOAP XML file with standard SOAP name spaces, Envelope, and Body elements. The HTTP task will use the Post Raw Data element to pass the SOAP XML file into the HTTP request. The HTTP task will then write the SOAP Response Body to an XML file.
Follow the steps below create an HTTP SOAP Request:
From within the Project Designer page, expand the Miscellaneous folder in the Component Library, and then drag the Create Workspace task to the Project Outline.
From within the Project Designer page, expand the Data Translation folder in the Component Library, and then drag the Write XML task to the Project Outline.
On the Basic Tab of the Write XML task, specify an Output File name. The file will be temporarily stored in the Workspace created in step 3.
Use the
Write XML task to add the XML Elements and Attributes for the SOAP request to the Project.
From within the Project Designer page, expand the Web folder in the Component Library, and then drag the HTTP task to the Project Outline.
On the Basic tab of the Post Raw Data Method element, specify the following values:
URI
Specify the URI (Uniform Resource Identifier), also known as URL (Uniform Resource Locator)
Input File
Specify the file that contains the data to be posted.
Content Type
Specify the value to send in the Content-Type header field when making the request.
On the Response Body tab, specify the following values:
Destination
Specify if and where the response body, if any, should be saved.
File
Specify the location of the file to which the response body, if any, should be saved. This is required if the 'Response Body Destination' is set to 'file'.
When File Exists
Specify the action to take when the response file already exists.
From within the Project Designer page, expand the Miscellaneous folder in the Component Library, and then drag the Delete Workspace task to the Project Outline.