Example receive file request

This section describes how to execute a RECV transfer request using Web services.

XFER_CMD_RECV_FILE request

This example request uses only the minimal number of options needed to submit the RECV file SOAP request. You can modify as needed.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:axw="http://www.axway.com">

<soapenv:Header>

<axw:ClientAuth>

<axw:user encoding="base64">user1</axw:user>

<axw:password encoding="base64">user1password</axw:password>

</axw:ClientAuth>

</soapenv:Header>

<soapenv:Body>

<axw:XFER_CMD_RECV >

         <axw:IDF_WITH_MASK>TEST</axw:IDF_WITH_MASK>

          <axw:PARTID>PARIS</axw:PARTID>

</axw:XFER_CMD_RECV>

</soapenv:Body>

</soapenv:Envelope>

Successful response

In the following successful response, you can see that the IDTU value CAT_IDTU is returned. While the IDTU value CAT_IDTU indicates that the request is correctly delivered to Transfer CFT, you do not know the transfer status. To obtain the transfer status, see the section describing how to use the XFER_CAT_SELECT function to view the catalog.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<XFER_CMD_RECVResponse xmlns="http://www.axway.com">

<CAT_IDTU>A000004K</CAT_IDTU>

<RETURN_CODE>3</RETURN_CODE>

<RETURN_MESSAGE/>

</XFER_CMD_RECVResponse>

</soap:Body>

</soap:Envelope>

Note The values displayed are example values and yours results may differ.

Unsuccessful response

The request response differs depending on if Transfer CFT is running, and if the Copilot server is started. See Example send file request for details.

Transfer CFT

<soap:Body>

Related topics

Get started with Web services

Related Links