You might need to work directly with an XML Schema value whose format is not represented among the supported formats for the suggested ABL data type mapping; for example, a 51-digit decimal value. To handle this requirement, you can pass an XML Schema-formatted string version of the value into or out of the Web service invocation. OpenEdge automatically passes the XML Schema-formatted value when you map either a
CHARACTER or
LONGCHAR data type to any XML Schema data type that has a suggested mapping (see
Table 29) other than
CHARACTER or
LONGCHAR.
When you pass an XML Schema-formatted value to a Web service, the invocation also validates the format of the value to ensure that it conforms to XML Schema formatting rules for the data type. Note that the invocation does not validate any facets declared in the <schema> element to constrain the value. It ensures that the format of the value you provide is valid according to its base XML Schema data type representation, but not, for example, if the value falls within a given range.