Automatically mapping XML elements
The typical procedure is to create the XML elements and then map them to the fields. However, if you are creating a flat mapping, you can combine these steps into this simple process, which automatically maps XML elements:
- Remove the fields that you do not want to map, or remove a mapping (as described in the following procedures).
- Click the Generate Schema button on the Mapping dialog box.
To remove an existing field from the mapping list
- Open the web service in Developer Studio.
- View the mapping table under WSDL Ports > Port > WSDL Operations > Operation.
- In the Form/Field column, highlight the field name you want to remove.
- Press Backspace or Delete to remove the field name.
The corresponding XML element is not removed.
To remove a mapping
- Open the web service in Developer Studio.
- View the mapping table under WSDL Ports > Port > WSDL Operations > Operation.
- In the mapping table, right-click the mapping you want to remove.
Each mapping is represented by a row in the table. - Click Remove Selected.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*