Debian Codegraph @

test/wsdl/_import/ImportMessagesXSDImport.wsdl

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <definitions
3 targetNamespace="urn:messages.import.test"
4 xmlns="http://schemas.xmlsoap.org/wsdl/"
5 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
6 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7 xmlns:addressTypes="urn:types.import.test">
8
9 <types>
10 <schema
11 targetNamespace="urn:types.import.test"
12 xmlns:tns="urn:types.import.test"
13 xmlns="http://www.w3.org/2001/XMLSchema">
14
15 <import
16 schemaLocation="Phone.xsd"
17 namespace="urn:types.import.test">
18 </import>
19
20 <!-- Test that we ignore the SOAP encoding schema -->
21 <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"
22 schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>
23
24 <!-- Test that we can handle importing a URL schema from a file -->
25
26 <!-- commented out Oct 20, 2002 by Glen - the schema has disappeared and
27 the test was breaking. If we want to test this functionality, we
28 should a) actually use types from the imported schema, and b) import
29 from a schema URL which we control.
30
31 <xsd:import namespace="http://tempuri.org/fileToHttp/"
32 schemaLocation="http://www.xml.org/xml/schema/9bffaafc/p2rLib.xsd"/>
33 -->
34
35 <complexType name="Address">
36 <all>
37 <element name="streetNum" type="int"/>
38 <element name="streetName" type="string"/>
39 <element name="city" type="string"/>
40 <element name="state" type="string"/>
41 <element name="zip" type="int"/>
42 <element name="phoneNumber" type="tns:PhoneNumber"/>
43 </all>
44 </complexType>
45
46 </schema>
47 </types>
48
49 <message name="empty"/>
50
51 <message name="InaddEntryRequest">
52 <part name="key" type="xsd:string"/>
53 <part name="value" type="addressTypes:Address"/>
54 </message>
55
56 <message name="IngetAddressFromNameRequest">
57 <part name="key" type="xsd:string"/>
58 </message>
59
60 <message name="OutgetAddressFromNameResponse">
61 <part name="value" type="addressTypes:Address"/>
62 </message>
63
64 <message name="Fault">
65 <part name="value" type="xsd:string"/>
66 </message>
67
68 </definitions>