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 methods to mobile business object attributes, the
Web service response message is converted to a table format. Select the
Edit or Add button to
invoke the Edit XSLT dialog, where you can define
or adjust the XSLT that is used to flatten the response messages.
Options include:-
Generate XSLT from response message elements
selection – SAP Mobile WorkSpace
automatically creates the XSLT and selects all elements by
default. Select/unselect the desired elements to be mapped to
the MBO attributes. 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 – a default XSLT is
generated by default. Manually edit the elements and
attributes:
-
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 an existing 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
SAP Mobile 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/Test Execute |
Click Preview/Test Execute to preview the
results of the WSDL method invocation. You may need to enter valid
values for the WSDL method parameters for the preview to succeed.
Optionally, you can save multiple sets of arguemnt values into
Preview/test execute configurations for reuse later. Once the preview
results are verified with the provided input argument values, you can
select Save as default values to save those
values as the default values for the operation arguments/load arguments. |