Designer 10.7 | webMethods Service Development Help | Submitting and Receiving XML Documents | Submitting and Receiving XML via FTP | Naming the File that the Client is to Submit via FTP
 
Naming the File that the Client is to Submit via FTP
When specifying the file name of the file that contains the XML document, use a file extension that Integration Server recognizes as containing XML content. The FTP listener chooses a content handler based on the file extension. You can use one of the following for the file extension:
*A file extension of “xml”.
*An arbitrary file extension that you have registered with the text/xml content type.
To register a file extension with a content type, edit the Integration Server lib\mime.types file, which contains the mappings of file extensions to content types. You can edit the mappings in the lib/mime.types file from Integration Server Administrator by selecting Settings > Resources > Mime Types.
For example, if you want to submit an XML document in a file that has the file extension xml2, add the following to the lib/mime.types file to register xml2 and assign it the text/xml content type:
text/xml xml2
*No file extension
If you want to submit an XML document in a file that has no file extension, edit the lib/mime.types file and add the following to associate the special key, ftp_no_extension with the text/xml content type. Using ftp_no_extension indicate a null extension.
text/xml ftp_no_extension