The WebService managed adapter can construct the input XML on the fly by using the XML format plugin and mapping dataslots to certain XML elements. Use Soap Message as Input and Output option to have input and output in XML format.
To use XML Input and Output follow the steps:
1. Select Soap Message as Input and Output option, in the Types and Mapping tab.
2. Open the Test tab. The XML input is displayed on the SOAP Request text area.
3. Check Map Request fields. The Request Mapper option is available.
4. Click Request Mapper. The XPath Wizard appears.
5. Click Add to add a parameter. The Parameter Editor dialog appears.
a. Enter the parameter name in the Name box.
b. Browse and select the X path and Click OK.
c. Select the type from the Type drop-down list.
d. Click OK to return to the XPath wizard.
e. Click OK to return to the WebService Adapter Configurator.
6. Provide the values and click Invoke. The XML output appears in the lower text area.
7. Click OK to complete the configuration, and open the Dataslot Mapping dialog window (see Definingthe dataslot mapping).