Click the Stubcode icon in the toolbar. The Stubcode Generation window appears.
The Prefix field specifies HL7 as the default prefix. You can leave this unchanged.
In the Language drop-down menu, select C# - Visual Studio .NET 2005.
In the Project Type drop-down menu, select Stubcode and Client Example.
Generating An Application
Click Generate to generate the project.
An information box appears, warning you that you are about to overwrite any existing stubcode. Click Yes to continue.
View the Progress bar to track the progress of the stubcode generation.
The stubcode generation is complete when the Progress bar is filled and the message Done! is displayed
in the wizard's information panel.
Click Close to close the window when done.
When you are asked whether you want to open the project, click No.
You will be opening the project when you test the application. See Testing the Application for details.
This instructs Chameleon to generate the following (in addition to the previously discussed classes):
A sample client application for generating and sending HL7
messages;
Other classes required by the above, such as project files.
Your focus in this tutorial is on the client application.