Use the following steps to create MFT flow.
- Create a transfer.
- After you create a transfer , select create a source option
- Provide source name and source type ex: SFTP or FILE
- Provide the SFTP login credentials and source location.
- Submit create.
- Open the source , Go to Source schedule
- Select Event option. Next event option click the link and get the WSDL URL .
- http://localhost/mftapp/services/MFTEventService?WSDL
- Source Encryption or Decryption
- We can encrypt or decrypt a file at source before transfer.
- Select actions in source page.
- select the Encryption or Decryption option
- Provide the encryption or decryption key.
- For encryption, you must reference the public PGP key alias. For decryption, you must reference the private PGP key alias.
- We can archive or delete the file by providing necessary details in advanced/operations tab.
- Select create target and provide the target details and submit create button.
- Save all the changes and deploy.
Use the following steps to configure SOA integration to invoke MFT.
- Create a composite.
- Create a SOAP target with above MFT WSDL .
- Select submitEvent operation to process the source files.
- Provide Source name in the request message.
- MFT will submit the event and provide the event id.
- Use the event id and invoke getEventStatus operation to get the status of the MFT file transfer.
- Alternatively we can use following rest API's
- /mftapp/rest/v1/events
- /mftapp/rest/v1/events/{eventSessionId}
- Response will have multiple status if there are more than one file.
- If the status says in process then wait for few mins and re submit the get status operation.
- Check the status of each file transfer and take action.
No comments:
Post a Comment