Developers
Local Navigation
Exercise
Create a BlackBerry MDS Studio™ project using the Sample Web Services found in BlackBerry MDS Studio and the quick-start approach.
Objectives
- Discover how to get started using the quick-start approach.
- See how BlackBerry MDS Studio creates and maps the screen, data and message components.
- See how BlackBerry MDS Studio binds messages to the web service and creates screen local and global variables.
Setup Tasks
No setup is required. This lab uses the samples that are packaged with BlackBerry MDS Studio.
Tasks
Using the Create New Project wizard, you select the quick-start approach and length conversion web service.
- In the BlackBerry MDS Studio, on the File menu, click New Project.
- Select the Quick Start Approach Wizard option.
- Click Next.
- Click Browse.
- Click the MDS4.1 Sample Web Services tab.
- In the web services list, click the Convert web service.
- Click OK.
- Click Next.
- In the Binding Information tree, clear the convertTemperature, convertWeight, and convertData check boxes.
Note: The BlackBerry MDS Studio analyzes the WSDL and shows the available operations. The wizard generates an application structure that matches the web service definition and the selected operations. By default, all operations are selected in the Binding Information list of operations. In this example, you need the convertLength operation only. - Click Next.
- In the Project Name field, type QuickConversion.
- Click Finish.
Tip: View the newly created BlackBerry MDS Studio project in the Navigator pane
Additional Labs
Go to the next exercise in “Creating a Length Conversion Application Using the Quick-start Approach”, Customize the User Interface on the Main Screen.