Adapter Development Kit 9.12 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Using the Sample Adapter | Phase 3: Adding Adapter Services | Compiling the Phase 3 Implementation
 
Compiling the Phase 3 Implementation
To compile the Phase 3implementation perform the following:
*Disable the WmSampleAdapter and MyWmSampleAdapter packages.
Important:
The WmSampleAdapter and MyWmSampleAdapter packages have the same adapter major code and conflict with each other if they are not disabled.
*Copy all the source code from the WmSampleAdapter\code\sourcePhase3 directory to the MyWmSampleAdapter\code\source directory.
*Compile using the procedure in Compiling the MyWmSampleAdapter Package.
*Restart Integration Server.
Note:
If the following error appears when compiling,
\code\source\com\wm\adapter\wmSampleAdapter\util\DocumentHelper.java uses unchecked or unsafe operations. Recompile with -Xlint:unchecked for details.
then perform the following:
1. Check if the classes for all Java files are created in code\classes directory.
2. If the classes are created, ignore the error and run the command: jcode fragall MyWmSampleAdapter
3. If the classes are not created, redo the steps.
You can use the AccountEnquiry and AccountTransaction adapter service template classes to create adapter service nodes that use any of the banking services including Deposit, GetBalance, Withdraw. At a minimum, configure nodes for Deposit and either Withdraw or Transfer. You must execute these nodes later, when you test the notifications.
The following procedures describe how to configure and test the Deposit adapter service node. To configure and test other nodes, repeat these procedures, substituting the appropriate service name in each node.