Running the Sample
![*](icon_task_xpe.png)
To run the sample
1. On the ACH Home page, click Payment Gateway Sample. The Submit Payment File page appears.
2. Click Browse and select the Integration Server_directory \packages\WmACHForTNSamples\pub\data\SamplePaymentFile.xml file.
3. After clicking Send, open Trading Networks Console to view the results.
Use the Trading Networks feature Transaction Analysis to view the file.
4. Trading Networks invokes the service wm.ach.tn.sample.maps.outbound:mapPaymentXMLToCCD to process the SamplePaymentFile.xml file. The service produces a formatted ACH message file, which is used as input to service
wm.ach.tn.trp:receive. 5. To see how Trading Networks processes a file containing errors, run the service wm.ach.tn.sample:processACHFile from Developer, and specify an input file of Integration Server_directory \packages\WmACHForTNSamples\pub\data\achfile2.txt. Then use the Trading Networks feature Transaction Analysis to view the results; you will see a status of DONE WITH ERRORS. To find more information about the errors, you can view the Activity Log.