You can modify an object's properties from its property sheet. To open a web operation property sheet, double-click its Browser entry in the Operations folder beneath the parent web service. The following sections detail the property sheet tabs that contain the properties most commonly entered for web operations.
The General tab contains the following properties:
Property
|
Description
|
Name
|
Name of the web operation. In URIs, it comes after the name of the web service followed by a slash. It can neither start with a slash nor contain two consecutive slashes
|
Code
|
Code of the web operation
|
Comment
|
Descriptive label for the web operation
|
Stereotype
|
Sub-classification used to extend the semantics of an object without changing its structure; it can be predefined or user-defined
|
Web Service
|
Code of the web service containing the web operation. Click the Properties tool to open the web service property sheet
|
Owner
|
[ASE 15 only] Specifies the owner of the operation.
|
Operation Type
|
[IBM DB2 only] Specifies the type of operation. You can choose from the following:
-
call - invokes a stored procedure with parameters and result columns for the web operation
-
query - retrieves relational data using the SQL select statement in the Implementation tab
-
retrieveXML - retrieves an XML document from relational data. The mapping of relational data to XML data is defined by a DAD file with SQL or RDB as MappingType
-
storeXML - stores an XML document as relational data. The mapping of XML data to relational data is defined by a DAD file, with RDB as MappingType
-
update - executes the SQL update statement with optional parameters. Parameters can be created from the Parameters tab in the web operation property sheet
|
Implementation Tab
The Implementation tab contains the SQL statement of the Web operation. For information about the tools on this tab, see SQL Editor Tools.
Security Tab
This tab is available for ASA/SQL Anywhere and IQ, and displays the following properties:
Property
|
Description
|
Secured connection
|
If selected, only HTTPS connections are accepted. If cleared, both HTTP and HTTPS connections are accepted
|
Required authorization
|
If selected, all users must provide a name and a password. When cleared, a single user must be identified
|
Connection User
|
When authorization is required, you can select <None> or a list of user names. When authorization is not required, you must select a user name. Default value is <None>, which means all users are granted access
|
The following tabs are also available:
- Parameters - Lists the parameters associated with the Web operation (see Web Parameters (PDM)), which are part of the SQL statement defined on the Implementation tab. You can create parameters on this tab, or reverse engineer them from a web service (ASA, ASE, and IQ only). In addition to the standard list tools, you can use the Add Parameters from SQL Implementation tool (ASA, ASE, and IQ only) to display the parameters resulting from the reverse engineering of the web service.
- Result Columns - Lists the result columns associated with the Web operation (see Web Operation Result Columns). In addition to the standard list tools, you can use the Add Result Columns from Executing SQL Statement tool to display the result columns resulting from the execution of the SQL statement in the database.
- Sybase - [ASE only] Displays Sybase-specific options (see Sybase ASE).