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 casefrom Java to XMLis much simpler. Because the result is simply XML, there aren't any conversion issues to be aware of.
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.
Note: To declare and use any Java types in ECMAScript (including the wrapped primitive types such as Integer and so on), you must import them using the import statement. For more information, see Importing Java Classes to ECMAScript with the import Statement.
None.