Table of Contents

Search

  1. Preface
  2. Introduction
  3. Dashboard
  4. Resources
  5. Workflows
  6. Task Reference
  7. Services Overview
  8. Users
  9. Logs and Reports
  10. Encryption
  11. System
  12. Appendix
  13. Glossary Terms

Managed File Transfer User Guide

Managed File Transfer User Guide

Example 2: HTTP Web Service SOAP Request

Example 2: HTTP Web Service SOAP Request

Managed File Transfer
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:
  1. 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.
  2. 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.
  3. 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.
  4. Use the Write XML task to add the XML Elements and Attributes for the SOAP request to the Project.
  5. From within the Project Designer page, expand the Web folder in the Component Library, and then drag the HTTP task to the Project Outline.
  6. On the Basic tab of the HTTP task, specify the HTTP server resource value:
  7. Click the
    Add
    button in the sub-menu and choose the
    Add a Post Raw Data
    menu item.
  8. 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.
  9. 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.
  10. 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.
  11. Click the
    Save
    button when finished.

0 COMMENTS

We’d like to hear from you!