The corresponding XML document looks like:
01 <?xml version="1.0" encoding="UTF-8"?>
02 <Test0021ParamReceive>
03 <Name>John Doe</Name>
04 <Rank>Software Engineer</Rank>
05 <Salary/>
06 </Test0021ParamReceive>
- 02:
- The name of the root element is the name of the interface as defined in the configuration.
- 03 - 05:
- Every parameter corresponds to one tag in the XML document, containing the value.
When sending a message with the HTTPParameterSender
, the root element may contain an optional attribute specifying the URL to which the parameters shall be sent. In this case the URL must not be stored in the configuration.
The additional address information $WILDCARD$ is also understood by HTTPParameterSender
and HTTPParameterReceiver
. It is represented in the XML file as an attribute.
Example for both attributes:
01 <?xml version="1.0" encoding="UTF-8"?>
02 <Test0021ParamReceive url="http://localhost:8080/xbus/servlet/Test0021ParamReceive" WILDCARD="xxx">
03 <Name>John Doe</Name>
04 <Rank>Software Engineer</Rank>
05 <Salary/>
06 </Test0021ParamReceive>