Web Service Data Mapping

The Web service interface exposed for a Rule Manager Project is determined by the input and output terms as defined in the Business Vocabulary Manager. These terms are either default datatypes or references to user-defined types.

Default datatypes are mapped to Web service types as shown in the following table:

BVM Data Type

Java

Web Service

Numeric

java.math.BigDecimal

xsd:decimal

String

java.lang.String

xsd:string

Boolean

java.lang.Boolean

xsd:Boolean

Datetime

java.lang.String

(W3C encoded DateTime string)

xsd:string

Duration

java.lang.String

(W3C encoded Duration string)

xsd:string

User-defined types and enumerations defined in BVM are mapped to Web service bean classes that are generated during deployment. Fields defined in Java bean classes have no input/output designation and the Rule Manager Project should be accessed to determine their usage.

Note: Rules can optionally redefine the value of input terms; these terms are included in the Web service results.