../E14406-01.epub /> ../E14406-01.mobi />

OMBCREATE WEB_SERVICE

Purpose

To create a Web Service.

Prerequisites

Should be in the context of a Web Service Package or an Application Server Module, public web service should be in the context of public Application Server Module.

Syntax

createWebServiceCommand =  OMBCREATE WEB_SERVICE "QUOTED_STRING" SET ( ( 
          "setPropertiesClause" [ SET ( REF | REFERENCE ) 
          "setReferencedObjectClauses" ] ) | ( ( REF | REFERENCE ) 
          "setReferencedObjectClauses" ) )
     setPropertiesClause =  PROPERTIES "(" "propertyNameList" ")" VALUES "(" 
          "propertyValueList" ")"
     setReferencedObjectClauses =  ( MAPPING | PROCESS_FLOW | TRANSFORMATION | 
          DATA_AUDITOR | TABLE | MODULE ) "QUOTED_STRING"
     propertyNameList =  "UNQUOTED_STRING" { "," "UNQUOTED_STRING" }
     propertyValueList =  "propertyValue" { "," "propertyValue" }
     propertyValue =  ( "QUOTED_STRING" | "INTEGER_LITERAL" | 
          "FLOATING_POINT_LITERAL" )

Parameters

createWebServiceCommand

Create a web service under an application server module or web service package.

setPropertiesClause

Used to set properties (core, user-defined) for Web service. Valid properties are shown below.

getPropertiesClause

Base properties for WEB_SERVICE:
Basic properties for Web Service: 

Name: BUSINESS_NAME
Type: STRING(200)
Valid Values: Any valid character string in supported character set.
Default: Empty string
Business name of the Web Service 

Name: DESCRIPTION
Type: STRING(4000)
Valid Values: Any valid character string in supported character set.
Default: Empty string
Description of the Web Service : 

Name: WSDLURL
Type: STRING(4000)
Valid Values: Any valid character string in supported character set.
Default: Empty string
WSDL url of the public Web Service : 

Name: SPEC
Type: STRING
Valid Values: Any valid character string in supported character set.
Default: Empty string
SPECIFICATION of the Web Service :

setReferencedObjectClauses

Set the reference object for the non-public web service. Valid object types including: MAPPING, PROCESS_FLOW, TRANSFORMATION, DATA_AUDITOR, TABLE (tables for change data capture) and MODULE (native modules for change data capture).

propertyNameList

A list of property names.

propertyValueList

A list of property values.

propertyValue

The property value of the object.

WEB_SERVICE Object

Table 10-7 WEB_SERVICE Object

Property Type Choices Min Max Default Description

DEPLOYABLE

BOOLEAN

true, false

none

none

true

The Web service is deployable or not