< Previous | Next >

Test the module

Looking at the output in the console and in the output directory will tell you the success of the service you created.

To test the module, follow these steps:

  1. Copy the customer.txt file into the c:\flatfiles\inboundevents directory.
  2. Check the contents of the c:\flatfiles\inboundevents directory. The input file, customer.txt, should be removed from the folder once it has been processed by your application.
  3. Check the c:\flatfiles\outputdir directory. You should see a list of files with a file name matching this pattern: Customer.<sequence number>.txt. The content of each file is a single customer data record. You will also see a sequencing file indicating the customer records processed.
  4. In the c:\flatfiles\inboundarchive directory, you should see your original file with a timestamp suffix. For example, customer.txt.<timestamp>.success.
  5. If you want to test again, put the customer.txt file into the c:\flatfiles\inboundevents directory again. This file and the directory structure are discussed in Create the directories and input file.
When you have finished testing, remove the projects from the server. Right-click WebSphere Process Server and from the context menu select Add and Remove Projects. In the Add and Remove Projects window, click Remove All to move the projects from the Configured Projects to the Available Projects pane. Click Finish.

Stop the server, which otherwise will continue to run. Right-click WebSphere Process Server again and from the context menu click Stop.






Feedback



This information center is powered by Eclipse technology. (http://www.eclipse.org)

< Previous | Next >