Debian Codegraph @

test/wsdl/omit/omit.wsdl

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 This tests the omission of an element which has minOccurs=0
4 -->
5 <definitions name="OmitTest" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://omit.wsdl.test/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://omit.wsdl.test/">
6 <types>
7 <s:schema targetNamespace="http://omit.wsdl.test/" elementFormDefault="qualified">
8 <s:element name="Phone">
9 <s:complexType>
10 <s:sequence>
11 <!-- required element; not nillable -->
12 <s:element name="areaCode" type="s:string" minOccurs="1" maxOccurs="1"/>
13 <!-- optional element; not nillable -->
14 <s:element name="prefix" type="s:string" minOccurs="0" maxOccurs="1"/>
15 <!-- optional element; nillable -->
16 <s:element name="number" type="s:string" nillable="true" minOccurs="0" maxOccurs="1"/>
17 </s:sequence>
18 </s:complexType>
19 </s:element>
20 </s:schema>
21 </types>
22 <message name="echoPhoneIn">
23 <part name="in" element="s0:Phone"/>
24 </message>
25 <message name="echoPhoneOut">
26 <part name="out" element="s0:Phone"/>
27 </message>
28 <portType name="omit">
29 <operation name="echoPhone">
30 <input message="s0:echoPhoneIn"/>
31 <output message="s0:echoPhoneOut"/>
32 </operation>
33 </portType>
34 <binding name="omit" type="s0:omit">
35 <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
36 <operation name="echoPhone">
37 <soap:operation style="document" soapAction="http://tempuri.org/echoPhone"/>
38 <input>
39 <soap:body use="literal"/>
40 </input>
41 <output>
42 <soap:body use="literal"/>
43 </output>
44 </operation>
45 </binding>
46 <service name="omitTest">
47 <port name="omit" binding="s0:omit">
48 <soap:address location="http://localhost:8080/axis/services/omit"/>
49 </port>
50 </service>
51 </definitions>