1,10 → 1,20 |
<?xml version='1.0' encoding='UTF-8'?><section> |
<?xml version='1.0' encoding='UTF-8'?> |
<section xmlns="http://docbook.org/ns/docbook" version="5.0" |
xmlns:xi="http://www.w3.org/2001/XInclude"> |
<title>ReturnCode type</title> |
<para>The ReturnCode type is used as the generic answer type for most of the &brs; operations.</para> |
<para>The defining Java class is |
<ulink url="&javadoc-base;javadoc/net/brutex/xservices/types/ReturnCode.html"> |
<classname>net.brutex.xservices.types.ReturnCode</classname></ulink>.</para> |
&schemadefinition; |
<para> |
The ReturnCode type is used as the generic answer type for most of the |
<application class='software'>BruteXservices</application> |
operations. |
</para> |
<para> |
The defining Java class is |
<ulink url="javadoc/net/brutex/xservices/types/ReturnCode.html"> |
<classname>net.brutex.xservices.types.ReturnCode</classname> |
</ulink> |
. |
</para> |
<bridgehead renderas='sect3'>Schema definition</bridgehead> |
<programlisting language="xml"><![CDATA[ |
<xs:complexType name="ReturnCodeType"> |
<xs:sequence> |
11,17 → 21,25 |
<xs:element name="returnCode" type="xs:int"/> |
<xs:element minOccurs="0" name="stdOut" type="xs:string"/> |
<xs:element minOccurs="0" name="stdErr" type="xs:string"/> |
<xs:element maxOccurs="unbounded" minOccurs="0" name="propertyList" nillable="true" type="]]><link linkend="antproperty">tns:antProperty</link><![CDATA["/> |
<xs:element maxOccurs="unbounded" minOccurs="0" name="propertyList" nillable="true" type="]]><link |
linkend="antproperty">tns:antProperty</link><![CDATA["/> |
</xs:sequence> |
</xs:complexType>]]> |
</programlisting> |
|
&examplexml; |
<programlisting language="xml"><ReturnCode xmlns:ns2="http://ws.xservices.brutex.net"> |
<bridgehead renderas='sect3'>Example XML</bridgehead> |
<programlisting language="xml"> |
<ReturnCode |
xmlns:ns2="http://ws.xservices.brutex.net"> |
<returnCode>0</returnCode> |
<stdOut/> |
<stdErr/> |
<propertyList> <lineannotation>See <link linkend="antproperty">tns:antProperty</link> for details about the <propertyList> elements.</lineannotation> |
<propertyList> |
<lineannotation> |
See |
<link linkend="antproperty">tns:antProperty</link> |
for details about the <propertyList> elements. |
</lineannotation> |
<name>key1</name> |
<value>value1</value> |
</propertyList> |
29,6 → 47,7 |
<name>key2</name> |
<value>value2</value> |
</propertyList> |
</ReturnCode></programlisting> |
</ReturnCode> |
</programlisting> |
|
</section> |