Designer 10.7 | webMethods Service Development Help | Submitting and Receiving XML Documents | Submitting and Receiving XML via FTP | Actions a Client Takes to Retrieve Output from the Target Service
 
Actions a Client Takes to Retrieve Output from the Target Service
If the target service returns output, Integration Server writes the results to the same virtual directory where the XML document was initially sent via FTP. The results are in an output file with a name that uses the following format where filename is the name of the XML file originally sent to the target service via FTP:
filename.out
For example, if the name of the XML file was PurchaseOrder.xml2, Integration Server writes the results to the following file:
PurchaseOrder.xml2.out
Code the client to retrieve the output file using the FTP “get” command. For example, to retrieve the output in PurchaseOrder.xml2.out, the client can use the following FTP command:
get PurchaseOrder.xml.out
If your client is a service running in an Integration Server, it can invoke services in the pub.client folder to perform FTP commands to get a file. For information about these services, see the webMethods Integration Server Built-In Services Reference.