1.1.2.1.5 Configuring Message Conversion Handler
You can create your own plug-in functions to customize SOAP XML payloads and Oracle Tuxedo typed buffer conversion routines. For more information, see Using SALT Plug-ins in SALT Programming Web Services and Configuring Plug-in Libraries
Once a plug-in is created and configured, it can be referenced
using the <service> element to specify user-defined data
mapping rules for that service. The <Msghandler>
element can be defined at the message level
(<Input>
, <Output>
or<Fault>
) to specify which
implementation of “P_CUSTOM_TYPE
” category
plug-in should be used to do the message conversion. The
<Msghandler>
element content is the Plug-in
name.
The following example shows a service that uses the MBCONV
custom plug-in to convert input and XMLCONV
custom plug-in to convert output.
Example 1-6 Configuring Message Conversion Handler for a Service
<Definition ...>
<WSBinding id="simpapp_binding">
<Servicegroup id="simpapp">
<Service name="toupper" >
<Input>
<Msghandler>MBCONV</Msghandler>
</Input>
<Output>
<Msghandler>XMLCONV</Msghandler>
</Output>
</Service>
</Servicegroup>
...
</WSBinding>
</Definition>
Parent topic: Creating a Native WSDF