webMethods Active Transfer – Trading Networks Integration:
Note: This Integration is tested on version 10.4
WebMethods Active Transfer is Managed File transfer solution that ensures protected internal and external data transfers in a centralized system for Business to Business Integration or an Application to Application integration.
A trading network is a group of organizations that have agreed to exchange business documents. Participants might include strategic partners, buyers, suppliers, and marketplaces and are referred to as trading partners.
We will see how to integrate both AT and TN in this document to exchange business documents between two partners.
Installation of Required Products
In order to achieve the AT – TN integration, we need the following products to be installed.
- Active Transfer Server
- Integration server with Active Transfer support
- Trading Networks
- My Webmethods Server
- My Webmethods server UI for Active Server and Trading networks.
Start servers
- Start My Webmethods Server
- Start Integration Server
- Start Active Transfer server (Starting IS will start AT)
- Start Trading networks server (Starting IS will start TN)
Configure Active Transfer in Trading Networks
Configure a Remote server alias of MFT
Create a Remote Server alias connection to an IS where MFT is hosted within IS where TN is hosted.
For example, if Machine A is hosted with TN and machine B is hosted with MFT, you need to create a Remote Server Alias connection to machine B in machine A.
You can achieve this by logging into Integration server and navigating to Settings > Remote Servers > Create Remote Server Alias
Update B2B properties
Once you have created the Remote server alias, we need to inform TN about which MFT server it has to connect. You can achieve this by updating the MFT remote server alias in TN configure properties page.
Login to MWS, navigate to B2B Settings --> Configure Properties and update the following property with a MFT remote server alias name.
tn.delivery.active.transfer.server.aliases=<alias name>
Reloading TN package
After updating the above two settings reload the TN package WmTN.
Configure Trading networks in Active Transfer
In order to establish a communication with Trading networks, we need to update some properties of Active Transfer. Such as,
- mft.aliases.tn
- mft.partners.useTNPartners
In order to achieve this, we need to do the following:
Configure a Remote server alias of TN
Create a Remote Server alias connection to an IS where TN is hosted within IS where MFT is hosted.
For example, if Machine A is hosted with MFT and machine B is hosted with TN, you need to create a Remote Server Alias connection to machine B in machine A.
You can achieve this by logging into Integration server and navigating to Settings > Remote Servers > Create Remote Server Alias
Execute Active Transfer IS service
Launch Designer --> Connect to Integration Server where MFT is hosted.
Run “wm.mft.admin:manageProperties” with following inputs
Sync partner profiles
In order to syn the partner profiles that are available in TN with Active transfer run the following service:
wm.mft.assets.partner:syncPartnerProfiles
Verify Integration
After completing the above steps to configure AT-TN integration verify the same by logging into both the portals.
Verifying partners in AT
Login to Active Transfer using url http://<hostname>:9100, while creating a VFS note that there is an option for adding a partner, which should now list all the available partners in TN.
Verifying AT VFS in TN
You can verify the AT availability in TN by logging into MWS.
Navigate to Administration-->Integration-->B2B-->Partner Administration-->Partner Profiles.
Select any of the partners profile and go to Delivery settings.
Click on Add delivery Methods under Delivery methods, select Active Transfer here and click search.
It should now list out the virtual folders that are configured in Active Transfer.
You will now be able to communicate between AT-TN with the above integration.