Subversion Repositories XServices

Rev

Rev 24 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24 Rev 25
Line 1... Line 1...
1
<?xml version='1.0' encoding='UTF-8'?><section>
1
<?xml version='1.0' encoding='UTF-8'?><section>
2
    <title>ReturnCode type</title>
2
    <title>ReturnCode type</title>
3
    <para>The ReturnCode type is used as the generic answer type for most of the &brs; operations.</para>
3
    <para>The ReturnCode type is used as the generic answer type for most of the &brs; operations.</para>
4
    <para>The defining Java class is 
4
    <para>The defining Java class is 
5
  <ulink url="javadoc/net/brutex/xservices/types/ReturnCode.html">
5
  <ulink url="&javadoc-base;javadoc/net/brutex/xservices/types/ReturnCode.html">
6
      <classname>net.brutex.xservices.types.ReturnCode</classname></ulink>.</para>
6
      <classname>net.brutex.xservices.types.ReturnCode</classname></ulink>.</para>
7
    <section>
7
&schemadefinition;
8
        <title>Schema description</title>
-
 
9
        <programlisting language="xml"><![CDATA[
8
        <programlisting language="xml"><![CDATA[
10
<xs:complexType name="ReturnCodeType">
9
<xs:complexType name="ReturnCodeType">
11
    <xs:sequence>
10
    <xs:sequence>
12
       <xs:element name="returnCode" type="xs:int"/>
11
        <xs:element name="returnCode" type="xs:int"/>
13
       <xs:element minOccurs="0" name="stdOut" type="xs:string"/>
12
        <xs:element minOccurs="0" name="stdOut" type="xs:string"/>
14
       <xs:element minOccurs="0" name="stdErr" type="xs:string"/>
13
        <xs:element minOccurs="0" name="stdErr" type="xs:string"/>
15
            <xs:element maxOccurs="unbounded" minOccurs="0" name="propertyList" nillable="true" type="]]><link linkend="antproperty">tns:antProperty</link><![CDATA["/>
14
        <xs:element maxOccurs="unbounded" minOccurs="0" name="propertyList" nillable="true" type="]]><link linkend="antproperty">tns:antProperty</link><![CDATA["/>
16
    </xs:sequence>
15
    </xs:sequence>
17
            </xs:complexType>]]>
16
</xs:complexType>]]>
18
        </programlisting>
17
        </programlisting>
19
    </section>
18
 
20
    <section>
19
&examplexml;
21
        <title>Example XML </title>
-
 
22
        <programlisting language="xml">&lt;ReturnCode xmlns:ns2=&quot;http://ws.xservices.brutex.net&quot;&gt;
20
        <programlisting language="xml">&lt;ReturnCode xmlns:ns2=&quot;http://ws.xservices.brutex.net&quot;&gt;
23
            &lt;returnCode&gt;0&lt;/returnCode&gt;
21
            &lt;returnCode&gt;0&lt;/returnCode&gt;
24
            &lt;stdOut/&gt;
22
            &lt;stdOut/&gt;
25
            &lt;stdErr/&gt;
23
            &lt;stdErr/&gt;
26
            &lt;propertyList&gt;            <lineannotation>See <link linkend="antproperty">tns:antProperty</link> for details about the &lt;propertyList&gt; elements.</lineannotation>
24
            &lt;propertyList&gt;            <lineannotation>See <link linkend="antproperty">tns:antProperty</link> for details about the &lt;propertyList&gt; elements.</lineannotation>
Line 30... Line 28...
30
            &lt;propertyList&gt;
28
            &lt;propertyList&gt;
31
            &lt;name&gt;key2&lt;/name&gt;
29
            &lt;name&gt;key2&lt;/name&gt;
32
            &lt;value&gt;value2&lt;/value&gt;
30
            &lt;value&gt;value2&lt;/value&gt;
33
            &lt;/propertyList&gt;
31
            &lt;/propertyList&gt;
34
        &lt;/ReturnCode&gt;</programlisting>
32
        &lt;/ReturnCode&gt;</programlisting>
35
    </section>
33
 
36
</section>
34
</section>
37
 
35