~ubuntu-branches/ubuntu/trusty/ruby1.9/trusty

« back to all changes in this revision

Viewing changes to test/wsdl/document/document.wsdl

  • Committer: Bazaar Package Importer
  • Author(s): Stephan Hermann
  • Date: 2008-01-24 11:42:29 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080124114229-jw2f87rdxlq6gp11
Tags: 1.9.0.0-2ubuntu1
* Merge from debian unstable, remaining changes:
  - Robustify check for target_os, fixing build failure on lpia.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="utf-8"?>
2
 
<definitions
3
 
    name="echo"
4
 
    targetNamespace="urn:docrpc"
5
 
    xmlns:tns="urn:docrpc"
6
 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7
 
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
8
 
    xmlns="http://schemas.xmlsoap.org/wsdl/">
9
 
  <types>
10
 
    <xsd:schema elementFormDefault="unqualified" targetNamespace="urn:docrpc">
11
 
      <xsd:complexType name="echo_struct">
12
 
        <xsd:sequence>
13
 
          <xsd:element minOccurs="0" maxOccurs="1" name="m_string" type="xsd:string" />
14
 
          <xsd:element minOccurs="0" maxOccurs="1" name="m_datetime" type="xsd:dateTime" />
15
 
        </xsd:sequence>
16
 
        <xsd:attribute name="m_attr" type="xsd:string" />
17
 
      </xsd:complexType>
18
 
 
19
 
      <xsd:element name="echoele">
20
 
        <xsd:complexType>
21
 
          <xsd:sequence>
22
 
            <xsd:element minOccurs="0" maxOccurs="1" name="struct1" type="tns:echo_struct" />
23
 
            <xsd:element minOccurs="0" maxOccurs="1" name="struct-2" type="tns:echo_struct" />
24
 
          </xsd:sequence>
25
 
          <xsd:attribute name="attr_string" type="xsd:string" />
26
 
          <xsd:attribute name="attr-int" type="xsd:int" />
27
 
        </xsd:complexType>
28
 
      </xsd:element>
29
 
      <xsd:element name="echo_response">
30
 
        <xsd:complexType>
31
 
          <xsd:sequence>
32
 
            <xsd:element minOccurs="0" maxOccurs="1" name="struct1" type="tns:echo_struct" />
33
 
            <xsd:element minOccurs="0" maxOccurs="1" name="struct-2" type="tns:echo_struct" />
34
 
          </xsd:sequence>
35
 
          <xsd:attribute name="attr_string" type="xsd:string" />
36
 
          <xsd:attribute name="attr-int" type="xsd:int" />
37
 
        </xsd:complexType>
38
 
      </xsd:element>
39
 
    </xsd:schema>
40
 
  </types>
41
 
 
42
 
  <message name="echo_in">
43
 
    <part name="parameters" element="tns:echoele" />
44
 
  </message>
45
 
  <message name="echo_out">
46
 
    <part name="parameters" element="tns:echo_response" />
47
 
  </message>
48
 
 
49
 
  <portType name="docrpc_porttype">
50
 
    <operation name="echo">
51
 
      <input message="tns:echo_in" />
52
 
      <output message="tns:echo_out" />
53
 
    </operation>
54
 
  </portType>
55
 
 
56
 
  <binding name="docrpc_binding" type="tns:docrpc_porttype">
57
 
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
58
 
    <operation name="echo">
59
 
      <soap:operation soapAction="urn:docrpc:echo" style="document" />
60
 
      <input>
61
 
        <soap:body use="literal" />
62
 
      </input>
63
 
      <output>
64
 
        <soap:body use="literal" />
65
 
      </output>
66
 
    </operation>
67
 
  </binding>
68
 
 
69
 
  <service name="docrpc_service">
70
 
    <port name="docprc_service_port" binding="tns:docrpc_binding">
71
 
      <soap:address location="http://localhost:17171/" />
72
 
    </port>
73
 
  </service>
74
 
</definitions>