Type Support in ECMAScript

When you add an XQuery map that references an ECMAScript function, data is converted between native ECMAScript types and native Java types. For example, consider an XQuery map translating an incoming XML message to your Java types through ECMAScript you've written. In this case WebLogic Server may be converting data from its format in script to the required Java format.

This topic describes some aspects of this conversion you might want to be aware of for conversions made while mapping an incoming XML message to Java.

Note that the other case—from Java to XML—is much simpler. Because the result is simply XML, there aren't any conversion issues to be aware of.

Conversions During Mapping from XML to Java

The following lists specific kinds of conversion you should be aware of when using ECMAScript for mapping. Each item in the list describes conversion for a particular type or category of types.

Related Topics

None.