Add Custom Protocols

You can add support for custom protocols for listening consumers in addition to the ones preconfigured in the Sterling B2B Integrator Advanced File Transfer installation. After you perform this procedure, new choices are available for protocols offered by Advanced File Transfer communities and new parameters display in the Create Partner wizard for listening consumers selecting the new protocol.

You can add support for custom protocols for listening consumers in addition to the ones preconfigured in the Sterling B2B Integrator AFT installation. The information you provide in performing this procedure determines the text displayed in the Create Community and Create Partner wizards. That is, after you perform this procedure, new choices are available for protocols offered by AFT communities and new parameters display in the Create Partner wizard for listening consumers selecting the new protocol.

To add protocols:

  1. Write a business process that implements the protocol.
  2. Use the existing AFTExtensions.xml as a template to create an AFTExtensionsCustomer.xml file to describe the protocol. Do not edit the AFTExtensions.xml file.
    The AFTExtensions.xml file is located in the following directory:

    <install_dir>\container\Applications\aft\WEB-INF\classes\resources\xml

  3. Save the AFTExtensionsCustomer.xml file to the same directory and also to:
    <install_dir>\container\Applications\myaft\WEB-INF\classes\resources\xml
  4. Reference the BP you created in step 1 in the newly created AFTExtension element in the AFTExtensionsCustomer.xml file.
  5. Stop Sterling B2B Integrator.
  6. Use the existing AFTExtensions.properties file as a template to create the AFTExtensionsCustomer.properties file. Do not edit the AFTExtensions.properties file.
  7. The AFTExtensions.properties is located in the following directory: <install_dir>\container\Applications\aft\WEB-INF\classes\resources
  8. Save the AFTExtensionsCustomer.properties file to the same directory and also to: <install_dir>\container\Applications\myaft\WEB-INF\classes\resources
  9. Run <install_dir>\bin\setupfiles.sh.
  10. Run <install_dir>\bin\deployer.sh.
  11. Start Sterling B2B Integrator.
    The additional protocol will be available when adding and editing AFT communities. The specified parameters are then available when creating and editing AFT partners.