NonStop SOAP User's Manual

NonStop SOAP Features and Functions
NonStop SOAP User’s Manual520501-012
4-36
Flagging a DDL Field with SOAP DDL Comment
Tags
Example 4-23 shows the XML message and schema representation corresponding to
the DDL definition.
In Example 4-24 on page 4-37 the leaf “id” is @SOAP ATTRIBUTE. The group “name”
and “hospital” are @SOAP ATTRIBUTE. The leaf “address”, “county_name”,
“description” are @SOAP ELEMENT.
Example 4-23. XML Message
<patient_data id="12345">
<age>55</age>
<name first="John" middle=" " last="Smith">
</name>
<hospital hosp_name="Valley Hospital">
<address>
<street>365 Hospital Dr.</street>
<city>San Jose</city>
<state>CA</state>
<zip>95129</zip>
</address>
<county code="012345" status="L">
<county_name>Santa Clara</county_name>
<description></description>
</county>
</hospital>
</patient_data>