Line 1... |
Line 1... |
1 |
<?xml version='1.0' encoding='UTF-8'?><section>
|
1 |
<?xml version='1.0' encoding='UTF-8'?>
|
- |
|
2 |
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
|
- |
|
3 |
xmlns:xi="http://www.w3.org/2001/XInclude">
|
2 |
<title>ReturnCode type</title>
|
4 |
<title>ReturnCode type</title>
|
- |
|
5 |
<para>
|
3 |
<para>The ReturnCode type is used as the generic answer type for most of the &brs; operations.</para>
|
6 |
The ReturnCode type is used as the generic answer type for most of the
|
- |
|
7 |
<application class='software'>BruteXservices</application>
|
- |
|
8 |
operations.
|
- |
|
9 |
</para>
|
- |
|
10 |
<para>
|
4 |
<para>The defining Java class is
|
11 |
The defining Java class is
|
5 |
<ulink url="&javadoc-base;javadoc/net/brutex/xservices/types/ReturnCode.html">
|
12 |
<ulink url="javadoc/net/brutex/xservices/types/ReturnCode.html">
|
6 |
<classname>net.brutex.xservices.types.ReturnCode</classname></ulink>.</para>
|
13 |
<classname>net.brutex.xservices.types.ReturnCode</classname>
|
7 |
&schemadefinition;
|
14 |
</ulink>
|
- |
|
15 |
.
|
- |
|
16 |
</para>
|
- |
|
17 |
<bridgehead renderas='sect3'>Schema definition</bridgehead>
|
8 |
<programlisting language="xml"><![CDATA[
|
18 |
<programlisting language="xml"><![CDATA[
|
9 |
<xs:complexType name="ReturnCodeType">
|
19 |
<xs:complexType name="ReturnCodeType">
|
10 |
<xs:sequence>
|
20 |
<xs:sequence>
|
11 |
<xs:element name="returnCode" type="xs:int"/>
|
21 |
<xs:element name="returnCode" type="xs:int"/>
|
12 |
<xs:element minOccurs="0" name="stdOut" type="xs:string"/>
|
22 |
<xs:element minOccurs="0" name="stdOut" type="xs:string"/>
|
13 |
<xs:element minOccurs="0" name="stdErr" type="xs:string"/>
|
23 |
<xs:element minOccurs="0" name="stdErr" type="xs:string"/>
|
14 |
<xs:element maxOccurs="unbounded" minOccurs="0" name="propertyList" nillable="true" type="]]><link linkend="antproperty">tns:antProperty</link><![CDATA["/>
|
24 |
<xs:element maxOccurs="unbounded" minOccurs="0" name="propertyList" nillable="true" type="]]><link
|
- |
|
25 |
linkend="antproperty">tns:antProperty</link><![CDATA["/>
|
15 |
</xs:sequence>
|
26 |
</xs:sequence>
|
16 |
</xs:complexType>]]>
|
27 |
</xs:complexType>]]>
|
17 |
</programlisting>
|
28 |
</programlisting>
|
Line -... |
Line 29... |
- |
|
29 |
|
- |
|
30 |
<bridgehead renderas='sect3'>Example XML</bridgehead>
|
18 |
|
31 |
<programlisting language="xml">
|
19 |
&examplexml;
|
32 |
<ReturnCode
|
20 |
<programlisting language="xml"><ReturnCode xmlns:ns2="http://ws.xservices.brutex.net">
|
33 |
xmlns:ns2="http://ws.xservices.brutex.net">
|
21 |
<returnCode>0</returnCode>
|
34 |
<returnCode>0</returnCode>
|
22 |
<stdOut/>
|
35 |
<stdOut/>
|
- |
|
36 |
<stdErr/>
|
- |
|
37 |
<propertyList>
|
- |
|
38 |
<lineannotation>
|
- |
|
39 |
See
|
23 |
<stdErr/>
|
40 |
<link linkend="antproperty">tns:antProperty</link>
|
- |
|
41 |
for details about the <propertyList> elements.
|
24 |
<propertyList> <lineannotation>See <link linkend="antproperty">tns:antProperty</link> for details about the <propertyList> elements.</lineannotation>
|
42 |
</lineannotation>
|
25 |
<name>key1</name>
|
43 |
<name>key1</name>
|
26 |
<value>value1</value>
|
44 |
<value>value1</value>
|
27 |
</propertyList>
|
45 |
</propertyList>
|
28 |
<propertyList>
|
46 |
<propertyList>
|
29 |
<name>key2</name>
|
47 |
<name>key2</name>
|
30 |
<value>value2</value>
|
48 |
<value>value2</value>
|
31 |
</propertyList>
|
49 |
</propertyList>
|
- |
|
50 |
</ReturnCode>
|
Line 32... |
Line 51... |
32 |
</ReturnCode></programlisting>
|
51 |
</programlisting>
|
33 |
|
52 |
|