The following example is a Web services mapper that is designed to map a data field from to an int data type from a Web service data model. The value of the byReference attribute that is specified in the <mapper> tag does not affect the data mapping because the value is assigned directly to the destination data at run time.
<!-- Context to int --> <fmtDef id="fmt_Context2Int"> <wsMapperConverter isPrimitive="true" javaClass="int"> <mapper from="intField" to="*" byReference="true" /> </wsMapperConverter> </fmtDef>