Method
|
The Web service method of the data source that is to be mapped to the mobile business object.
To change the method, select a different one from the drop-down list.
|
Binding
|
A binding defines message format and protocol details for
operations and messages defined by a particular portType. Since multiple ports can be associated with a single binding, a default port is selected. To change the binding, select a different port from the drop-down list.
|
Configure XSLT |
To map Web service operations to mobile business object attributes, the Web service response message is converted to a table format. Select the Configure XSLT button to display the Define XSLT dialog where you can define the XSLT used to flatten the response messages. Options include:-
Generate XSLT from response message elements selection – select the elements and attributes to be mapped from the generated list.
When a complex type has one or more nested type structures, the first nested structure is automatically selected. Selecting an array (list) of a child node that is not under the same tree is not supported and generates an error.
-
Define XSLT manually – includes the elements and attributes you have selected in a file format:
-
Save to file – modify by changing the selections and save to a file.
-
Load from file – since it is difficult to type in the XSLT contents accurately, this option allows you to retrieve the XSLT file from the file system. If you choose this option the XSLT text in the window is replaced by the information contained in the selected file.
-
OK – saves your changes and exits the dialog.
Note:
- A Web service response containing an <s:any> node may result in two columns being generated.
Manually remove the least relevant entry in these cases.
- When Unwired WorkSpace generates a default XSLT for transformation of the output of a Web service operation, each result field in the XSLT includes an op_bindpath setting. If you modify the XSLT, leave the op_bindpath intact, since it's value is required to match columns from the transformed result set with fields from the original enterprise information system (EIS)-returned XML response element.
|
HTTP Basic Authentication |
Select this option and enter the user name and password in the corresponding fields to provide basic authentication to the Web service URL before gaining access to the Web service method. The user name and password fields can be entered directly, retrieved from a personalization key, or by selecting New key and creating a new personalization key.
|
Result Checker |
Optionally add a result checker to the MBO. A result checker is a custom Java class that implements error checking for mobile business objects (MBOs).
See Adding a Result Checker.
|
Result Set Filters |
Add a custom java class to manipulate (filter) the rows or columns of data returned to the MBO. See Result Set Filters. |
Preview |
Click Preview to preview the results of the WSDL method invocation. You must enter values for the WSDL method parameters, and/or optionally set the preview/Test Execute configurations. |