Debian Codegraph @

test/wsdl/choice/ChoiceService.wsdl

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <definitions
3 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
4 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
5 xmlns:s="http://www.w3.org/2001/XMLSchema"
6 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7 xmlns:s0="http://tempuri.org/"
8 targetNamespace="http://tempuri.org/"
9 xmlns="http://schemas.xmlsoap.org/wsdl/">
10 <types>
11 <s:schema elementFormDefault="qualified"
12 xmlns:tns="http://tempuri.org/"
13 targetNamespace="http://tempuri.org/">
14
15 <s:import namespace="http://www.w3.org/2001/XMLSchema" />
16
17 <xsd:complexType name="BaseFaultType">
18 <xsd:sequence>
19 <xsd:element name="description" type="xsd:string"/>
20 </xsd:sequence>
21 </xsd:complexType>
22
23 <xsd:complexType name="FaultType">
24 <xsd:complexContent>
25 <xsd:extension base="s0:BaseFaultType">
26 <xsd:sequence>
27 <xsd:element name="command" type="xsd:string"/>
28 </xsd:sequence>
29 </xsd:extension>
30 </xsd:complexContent>
31 </xsd:complexType>
32
33 <xsd:complexType name="StagingFaultType">
34 <xsd:complexContent>
35 <xsd:extension base="s0:FaultType">
36 <xsd:sequence>
37 <xsd:element name="attribute" type="xsd:string"/>
38 </xsd:sequence>
39 </xsd:extension>
40 </xsd:complexContent>
41 </xsd:complexType>
42
43 <xsd:element name="SetResourceProperties">
44 <xsd:complexType>
45 <xsd:choice minOccurs="0" maxOccurs="unbounded">
46 <xsd:element name="a" type="xsd:string"/>
47 <xsd:element name="b" type="xsd:int"/>
48 <xsd:element name="c" type="xsd:dateTime"/>
49 </xsd:choice>
50 </xsd:complexType>
51 </xsd:element>
52
53 <xsd:complexType name="FaultPropertyType">
54 <xsd:choice>
55 <xsd:element name="fault1" type="s0:FaultType"/>
56 <xsd:element name="fault2" type="s0:StagingFaultType"/>
57 <xsd:element ref="tns:SetResourceProperties"/>
58 </xsd:choice>
59 </xsd:complexType>
60
61 <s:element name="Record1">
62 <s:complexType>
63 <s:sequence>
64 <s:element name="elem" type="s0:FaultPropertyType"/>
65 </s:sequence>
66 </s:complexType>
67 </s:element>
68
69 <s:element name="Record2">
70 <s:complexType>
71 <s:sequence>
72 <s:element name="elem" type="s0:FaultPropertyType"/>
73 </s:sequence>
74 </s:complexType>
75 </s:element>
76
77 </s:schema>
78 </types>
79
80 <message name="Record1SoapIn">
81 <part name="parameters" element="s0:Record1" />
82 </message>
83 <message name="Record2SoapOut">
84 <part name="parameters" element="s0:Record2" />
85 </message>
86
87 <portType name="ChoiceServiceSoap">
88 <operation name="get">
89 <input message="s0:Record1SoapIn" />
90 <output message="s0:Record2SoapOut" />
91 </operation>
92 </portType>
93
94 <binding name="ChoiceServiceSoap" type="s0:ChoiceServiceSoap">
95 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
96 <operation name="get">
97 <soap:operation soapAction="http://tempuri.org/get" style="document" />
98 <input>
99 <soap:body use="literal" />
100 </input>
101 <output>
102 <soap:body use="literal" />
103 </output>
104 </operation>
105 </binding>
106
107 <service name="ChoiceService">
108 <port name="ChoiceServiceSoap" binding="s0:ChoiceServiceSoap">
109 <soap:address location="http://localhost:8080/axis/services/ChoiceServiceSoap" />
110 </port>
111 </service>
112 </definitions>