Mapping rules files are XML files that define mappings between application objects and data elements. The XML Mapping Utility provides a simple drag-and-drop interface for creating mappings.
Rules files use the Common Exchange Format (CXF) for translating between application formats and web services. For information about CXF, see Common Exchange Format (CXF).
To create the mapping rules file, complete the following steps:
- Create the application described in General Interface Getting Started.
- Start General Interface Builder and open the myAddressLookup project. For information on starting General Interface Builder, see General Interface Getting Started.
- Navigate to your project folder in your file system and create a wsdl folder in your project folder: workspace/JSXAPPS/myAddressLookup/wsdl.
- Navigate to your General Interface installation in your file system and copy Address.wsdl from GI_HOME/GI_Builder/plugins/jsx3.ide.mapping/wsdl to workspace/JSXAPPS/myAddressLookup/wsdl.
- Select File > New > Mapping Rule in General Interface Builder to open the XML Mapping Utility.
- Select the WSDL radio button, remove the existing URL in the URL field, and enter wsdl/Address.wsdl. Click the Parse Document button.
Click here to expand screenshot...
After you click the Parse Document button, you see the Rules Tree panel as shown here:
Click here to expand screenshot...