Although your WML services will probably be scripts or programs that dynamically generate WML, static WML decks are useful for providing help text, menus, and other elements of your service's interface that don't change often. Static WML files are also useful for conducting a "simplest case" test of the UP.Simulator.
To create and test a simple static WML deck:
For example, create a file containing the following WML deck:
wml.xml">
The WML language provides a line-by-line description of this deck.
Make sure you save the file in text-only format with a .wml extension.
.txt filename extension when you save a text-only file--even if you have already specified another extension, such as .wml. After you save your WML file, make sure it has the .wml extension only (not .wml.txt). If the extension is not correct, use Windows Explorer or a DOS window to change the extension after you have saved the file.
For example, if you saved the file to c:\hello.wml, type the following URL in the Go field:
wml
The UP.Simulator displays the card shown in Figure 3-4.
FIGURE 3-4. Sample WML test deck
If the UP.Simulator does not display the card correctly, you may have a WML error. See the following section for instructions on checking UP.Simulator status messages.
F9). For more information about using the cache, see the UP.SDK Developer's Guide.