Debian Codegraph @

test/wsdl/clash/clash.wsdl

raw
1 <?xml version="1.0" ?>
2
3 <definitions
4 name="name clash test"
5 targetNamespace="urn:clash.wsdl.test"
6 xmlns:tns="urn:clash.wsdl.test"
7 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
8 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
9 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
10 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
11 xmlns="http://schemas.xmlsoap.org/wsdl/">
12
13 <!-- Test Name clases in WSDL to make sure we munge names correctly -->
14
15 <!-- type defs -->
16 <types>
17 <xsd:schema targetNamespace="urn:clash.wsdl.test"
18 xmlns:xsd="http://www.w3.org/2001/XMLSchema">
19 <xsd:complexType name="sharedName">
20 <xsd:all>
21 <xsd:element name="sharedName" type="xsd:int"/>
22 </xsd:all>
23 </xsd:complexType>
24 <xsd:element name="sharedName">
25 <xsd:complexType>
26 <xsd:all>
27 <xsd:element name="sharedName" type="xsd:int"/>
28 </xsd:all>
29 </xsd:complexType>
30 </xsd:element>
31 <xsd:element name="another">
32 <xsd:complexType>
33 <xsd:all>
34 <xsd:element name="sharedName" type="xsd:boolean"/>
35 </xsd:all>
36 </xsd:complexType>
37 </xsd:element>
38 <!-- This element shares the same element and attribute name -->
39 <!-- WSDL2Java should munge the duplicate name and make it unque -->
40 <xsd:complexType name="sayHello">
41 <xsd:sequence>
42 <xsd:element name="string_1" type="xsd:string" nillable="true"/>
43 <xsd:element name="string_2" type="xsd:string" nillable="true"/>
44 </xsd:sequence>
45 <xsd:attribute name="string_1" type="xsd:string" use="required"/>
46 </xsd:complexType>
47 </xsd:schema>
48 </types>
49
50 <!-- message declns -->
51 <message name="empty"/>
52
53 <message name="sharedName">
54 <part name="sharedName" type="tns:sharedName"/>
55 </message>
56 <message name="anotherMessage">
57 <part name="sharedName" type="xsd:int"/>
58 </message>
59 <message name="InputMessage">
60 <part name="in1" type="tns:sayHello"/>
61 </message>
62
63 <!-- port type declns -->
64 <portType name="sharedName">
65 <operation name="sharedName">
66 <input name="sharedNameIn" message="tns:empty"/>
67 <output name="sharedNameOut" message="tns:sharedName"/>
68 </operation>
69 <operation name="sharedName">
70 <input name="sharedNameIn2" message="tns:sharedName"/>
71 <output name="emptyOut2" message="tns:empty"/>
72 </operation>
73 <operation name="sharedName">
74 <input name="anotherIn3" message="tns:anotherMessage"/>
75 <output name="emptyOut3" message="tns:empty"/>
76 </operation>
77 <operation name="op1">
78 <input name="In4" message="tns:InputMessage"/>
79 <output name="Out4" message="tns:empty"/>
80 </operation>
81 </portType>
82
83 <!-- binding declns -->
84 <binding name="nonSharedName" type="tns:sharedName">
85 <soap:binding
86 style="rpc"
87 transport="http://schemas.xmlsoap.org/soap/http"/>
88 <operation name="sharedName">
89 <input name="sharedNameIn">
90 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
91 </input>
92 <output name="sharedNameOut">
93 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
94 </output>
95 </operation>
96 <operation name="sharedName">
97 <input name="sharedNameIn2">
98 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
99 </input>
100 <output name="emptyOut2">
101 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
102 </output>
103 </operation>
104 <operation name="sharedName">
105 <input name="anotherIn3">
106 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
107 </input>
108 <output name="emptyOut3">
109 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
110 </output>
111 </operation>
112 <operation name="op1">
113 <input name="In4">
114 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
115 </input>
116 <output name="Out4">
117 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
118 </output>
119 </operation>
120 </binding>
121
122
123 <binding name="anotherNonSharedName" type="tns:sharedName">
124 <soap:binding
125 style="rpc"
126 transport="http://schemas.xmlsoap.org/soap/http"/>
127 <operation name="sharedName">
128 <input name="sharedNameIn">
129 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
130 </input>
131 <output name="sharedNameOut">
132 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
133 </output>
134 </operation>
135 <operation name="sharedName">
136 <input name="sharedNameIn2">
137 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
138 </input>
139 <output name="emptyOut2">
140 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
141 </output>
142 </operation>
143 <operation name="sharedName">
144 <input name="anotherIn3">
145 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
146 </input>
147 <output name="emptyOut3">
148 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
149 </output>
150 </operation>
151 <operation name="op1">
152 <input name="In4">
153 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
154 </input>
155 <output name="Out4">
156 <soap:body use="encoded" namespace="urn:clash.wsdl.test"/>
157 </output>
158 </operation>
159 </binding>
160
161 <!-- service declarations -->
162 <service name="sharedName">
163 <port name="nonSharedName" binding="tns:nonSharedName">
164 <soap:address location="http://localhost:8080/axis/services/nonSharedName"/>
165 </port>
166 <port name="anotherNonSharedName" binding="tns:anotherNonSharedName">
167 <soap:address location="http://localhost:8080/axis/services/anotherNonSharedName"/>
168 </port>
169 </service>
170
171 </definitions>
172