Runtime components : Core components : Web services access : Reference : Web services mapper external definitions
  
Web services mapper external definitions
This topic provides an example of a Web services mapper definition that is used by a Web services access operation to invoke Web services.
The Web services function that is invoked requests a ''String' parameter and one ''int' parameter. The execution result is a com.ibm.btt.wsc.op.test.service.UserAccount JavaBean class. Example of a Web services mapper definition.is an example of a Web services mapper definition, and it contains three Web services mapper definitions for data conversion: two input mappers and one output mapper:
Example of a Web services mapper definition
<fmtDef id="inputFmt0">
  <wsMapperConverter isPrimitive="false" javaClass="java.lang.String">
    <map from="arg0" to="*" byReference="true"/>
  </wsMapperConverter>
</fmtDef>
<fmtDef id="inputFmt1">
  <wsMapperConverter isPrimitive="true" javaClass="int">
    <map from="arg1" to="*" byReference="true"/>
  </wsMapperConverter>
</fmtDef>
<fmtDef id="outputFmt">
  <wsMapperConverter isPrimitive="false"
javaClass="com.ibm.btt.wsc.op.test.service.UserAccount">
    <map from="*" to="return" byReference="true"/>
  </wsMapperConverter>
</fmtDef>
As shown in this example, a Web services mapper definition contains the following tags:
<wsMapperConverter>
<map>
See
Attributes of the <wsMapperConverter> tag
Attributes of <map> tag
Go up to
Reference