Web Service Properties

To view or edit a web service's properties, double-click its Browser or list entry. The property sheet tabs and fields listed here are those available by default, before any customization of the interface by you or an administrator.

The General tab contains the following properties:

Property

Description

Name/Code/Comment

Identify the object. The name should clearly convey the object's purpose to non-technical users, while the code, which is used for generating code or scripts, may be abbreviated, and should not normally include spaces. You can optionally add a comment to provide more detailed information about the object. By default the code is generated from the name by applying the naming conventions specified in the model options. To decouple name-code synchronization, click to release the = button to the right of the Code field.

In URIs, the name of the web service is used to access the web service, and should not start with a slash nor contain two consecutive slashes.

Stereotype

Extends the semantics of the object. You can enter a stereotype directly in this field, or add stereotypes to the list by specifying them in an extension file.

Local path

Specifies the name prefixing the web service, which is by default, the name of the web service. When several web services concern the same table, their local path usually starts with the name of the table, followed by a slash and a specific name identifying the query (e.g. Customer/List, Customer/Name). PowerDesigner treats HTTP web operations which share a local path as belonging to the web service with that local path name. If you enter a path, the User-Defined tool is depressed. Click the tool to release it and recover the original path.

Service type

[ASA, ASE, and IQ only] Specifies the type of web service. A web service invoked via an HTTP request can have a RAW, HTML or XML type. A web service invoked in a SOAP request can have a SOAP or a DISH type:
  • DISH - [ASA and IQ only] acts as a proxy for a group of SOAP services and generates a WSDL (Web Services Description Language) file for each of its SOAP services. When you create a DISH service, you must specify a Name prefix on the Sybase tab (see SAP Sybase SQL Anywhere) for all the SOAP services to which the DISH service applies. PowerDesigner treats SOAP web services as Web operations (see Web Operations (PDM)) of DISH web services.

  • HTML – [ASA and IQ only] the result of the SQL statement or procedure is formatted as an HTML document (with a table containing rows and columns).

  • RAW - the result of the SQL statement or procedure is sent without any additional formatting.

  • SOAP - [ASE only] generates a WSDL file.

  • XML - the result of the SQL statement or procedure is sent in XML. By default, the result is converted into XML RAW format.

Keywords

Provide a way of loosely grouping objects through tagging. To enter multiple keywords, separate them with commas.

Security Tab

This tab is available for ASA/SQL Anywhere and IQ only, 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:
  • Operations - Lists the Web operations associated with the Web service (see Web Operations (PDM)).
  • Sybase - [ASA/SQL Anywhere, ASE, and IQ] Includes Sybase-specific properties (see Sybase SQL Anywhere)
  • Namespaces - [IBM DB2] Lists the namespaces associated with the Web service, including their prefix, URI and a comment. An XML Schema can be specified where elements and data types used in web parameters and result columns are defined.