XML Message
On the data transfer
level, HXP uses XML as the message format. The xml data on the wire
looks like this:
<?xml version="1.0"?>
<methodCall>
<methodName>examples.getStateName</methodName>
<params>
<param>
<value><i4>41</i4></value>
</param>
</params>
</methodCall>
The HXP procedure call “Person” with PID “10008900” extracting the person
registration data looks like this on the wire:
<?xml version="1.0"?>
<methodCall>
<methodName>Person</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>usr</name>
<value><string>admin</string></value>
</member>
<member>
<name>pw</name>
<value><string>admin</string></value>
</member>
</struct>
</value>
</param>
<param>
<value><int>10008900</int></value>
</param>
</params>
</methodCall>
|