Web Service and Web Operation

The Web Service and Web Operation categories are located in the Root > Script > Objects category, and can contain the following items that define how web services and web operations are modeled for your DBMS.

Item

Description

[Common items]

The following common object items may be defined for web services and web operations:

  • AfterCreate, AfterDrop, AfterModify

  • Alter

  • BeforeCreate, BeforeDrop, BeforeModify

  • Create, Drop

  • Enable, EnableOwner

  • Header, Footer

  • MaxConstLen (web operations only)

  • Maxlen

  • ModifiableAttributes

  • ReversedQueries, ReversedStatements

  • SqlAttrQuery, SqlListQuery

For a description of each of these common items, see Common object items.

Enable Namespace

Specifies whether namespaces are supported.

EnableSecurity

Specifies whether security options are supported.

OperationType List

[web operation only] Specifies a list of web service operation types.

Example (DB2 UDB 8.x CS):

query
update
storeXML
retrieveXML
call

ServiceTypeList

[web service only] Specifies a list of web service types.

Example (SQL Anywhere 10):

RAW
HTML
XML
DISH

UniqName

Specifies whether web service operation names must be unique in the database.

WebService Comment/ WebOperation Comment

Specifies the syntax for adding a comment to web service or web service operation.