~ubuntu-branches/ubuntu/quantal/netbeans/quantal

« back to all changes in this revision

Viewing changes to xml/wsdl/api/test/unit/src/org/netbeans/modules/xml/wsdl/model/resources/ParkingLotManager.wsdl

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
ImportĀ upstreamĀ versionĀ 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<definitions targetNamespace="urn:ParkingLotManager/wsdl"
 
2
             name="ParkingLotManager"
 
3
             xmlns:tns="urn:ParkingLotManager/wsdl"
 
4
             xmlns:tns0="urn:ParkingLotManager/wsdl"
 
5
             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
6
             xmlns:slnk="http://schemas.xmlsoap.org/ws/2002/07/service-link/"
 
7
             xmlns="http://schemas.xmlsoap.org/wsdl/"
 
8
             xmlns:ns2="urn:ParkingLotManager/types"
 
9
             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
 
10
    <types>
 
11
        <schema targetNamespace="urn:ParkingLotManager/types"
 
12
                xmlns:tns="urn:ParkingLotManager/types"
 
13
                xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
 
14
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 
15
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
16
                xmlns="http://www.w3.org/2001/XMLSchema"
 
17
                xmlns:ns2="urn:ParkingLotManager/types"
 
18
                xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
 
19
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
 
20
                <xsd:element name="GetEndorsingBoarderResponse" type="tns:GetEndorsingBoarderResponseType"/>
 
21
             <xsd:complexType name="GetEndorsingBoarderResponseType">
 
22
             <xsd:sequence>
 
23
             <xsd:element name="endorsingBoarder" type="xsd:string"/>
 
24
             </xsd:sequence>  
 
25
                     
 
26
             </xsd:complexType>                                            
 
27
                  
 
28
            <xsd:element type="ns2:isParkingAvailable" name="isParkingAvailable"/>
 
29
              <xsd:complexType name="isParkingAvailable">
 
30
                <xsd:sequence>
 
31
                <xsd:element name="Availability" type="xsd:string"/>
 
32
                </xsd:sequence>
 
33
                 </xsd:complexType>
 
34
                 
 
35
                  <xsd:element type="ns2:isParkingAvailableResponse" name="isParkingAvailableResponse"/>
 
36
            <xsd:complexType name="isParkingAvailableResponse">
 
37
                <xsd:sequence>
 
38
                    <xsd:element type="xsd:boolean" name="result"/>
 
39
                </xsd:sequence>
 
40
            </xsd:complexType>
 
41
           <xsd:element type="ns2:reserveParkingSpot" name="reserveParkingSpot"/>
 
42
             <xsd:complexType name="reserveParkingSpot">
 
43
                <xsd:sequence>
 
44
                    <xsd:element type="xsd:int" name="int_1"/>
 
45
                </xsd:sequence>
 
46
            </xsd:complexType>
 
47
            
 
48
             <xsd:element type="ns2:reserveParkingSpotResponse"
 
49
                         name="reserveParkingSpotResponse"></xsd:element>
 
50
            <xsd:complexType name="reserveParkingSpotResponse">
 
51
                <xsd:sequence></xsd:sequence>
 
52
            </xsd:complexType>
 
53
            <xsd:element type="ns2:SpotNotAvailableException"
 
54
                         name="SpotNotAvailableException"></xsd:element>
 
55
            <xsd:complexType name="SpotNotAvailableException">
 
56
                <xsd:sequence></xsd:sequence>
 
57
            </xsd:complexType>
 
58
        </schema>
 
59
    </types>
 
60
    <message name="ParkingLotManagerSEI_isParkingAvailable">
 
61
        <part name="parameters"
 
62
              element="ns2:isParkingAvailable"></part>
 
63
    </message>
 
64
    <message name="ParkingLotManagerSEI_isParkingAvailableResponse">
 
65
        <part name="result"
 
66
              element="ns2:isParkingAvailableResponse"></part>
 
67
    </message>
 
68
    <message name="ParkingLotManagerSEI_reserveParkingSpot">
 
69
        <part name="parameters"
 
70
              element="ns2:reserveParkingSpot"></part>
 
71
    </message>
 
72
    <message name="ParkingLotManagerSEI_reserveParkingSpotResponse">
 
73
        <part name="result"
 
74
              element="ns2:reserveParkingSpotResponse"></part>
 
75
    </message>
 
76
    <message name="SpotNotAvailableException">
 
77
        <part name="SpotNotAvailableException"
 
78
              element="ns2:SpotNotAvailableException"></part>
 
79
    </message>
 
80
    <portType name="ParkingLotManagerSEI">
 
81
        <operation name="isParkingAvailable">
 
82
            <input message="tns:ParkingLotManagerSEI_isParkingAvailable"></input>
 
83
            <output message="tns:ParkingLotManagerSEI_isParkingAvailableResponse"></output>
 
84
        </operation>
 
85
     </portType>
 
86
     <portType name="ParkingLotManagerSEI_1">
 
87
        <operation name="reserveParkingSpot">
 
88
            <input message="tns:ParkingLotManagerSEI_reserveParkingSpot"></input>
 
89
            <output message="tns:ParkingLotManagerSEI_reserveParkingSpotResponse"></output>
 
90
            <fault name="SpotNotAvailableException"
 
91
                   message="tns:SpotNotAvailableException"></fault>
 
92
        </operation>
 
93
    </portType>
 
94
    <binding name="ParkingLotManagerSEIBinding"
 
95
             type="tns:ParkingLotManagerSEI">
 
96
        <soap:binding style="document"
 
97
                      transport="http://schemas.xmlsoap.org/soap/http"/>
 
98
        <operation name="isParkingAvailable">
 
99
            <soap:operation soapAction="parkingsearch"/>
 
100
            <input>
 
101
                <soap:body use="literal"/>
 
102
            </input>
 
103
            <output>
 
104
                <soap:body use="literal"/>
 
105
            </output>
 
106
        </operation>
 
107
        </binding>
 
108
        <binding name="ParkingLotManagerSEIBinding_1" type="tns:ParkingLotManagerSEI_1">
 
109
        <soap:binding style="document"
 
110
                      transport="http://schemas.xmlsoap.org/soap/http"/>
 
111
        <operation name="reserveParkingSpot">
 
112
            <soap:operation soapAction="parkingsearch"/>
 
113
            <input>
 
114
                <soap:body use="literal"/>
 
115
            </input>
 
116
            <output>
 
117
                <soap:body use="literal"/>
 
118
            </output>
 
119
            <fault name="SpotNotAvailableException">
 
120
                <soap:fault name="SpotNotAvailableException"
 
121
                            use="literal"/>
 
122
            </fault>
 
123
        </operation>
 
124
    </binding>
 
125
    <service name="ParkingLotManager">
 
126
        <port name="ParkingLotManagerSEIport"
 
127
              binding="tns:ParkingLotManagerSEIBinding">
 
128
            <soap:address location="http://localhost:12010/Availabilitysearch"/>
 
129
        </port>
 
130
        <port name="ParkingLotManagerSEI_1port"
 
131
              binding="tns:ParkingLotManagerSEIBinding_1">
 
132
            <soap:address location="http://localhost:12010/parkingsearch"/>
 
133
        </port>
 
134
      </service>
 
135
    </definitions>