Skip to main content
summaryrefslogtreecommitdiffstats
blob: 6a6399403ea1f85ca0dda8aced1a3b6c7847a467 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://tempuri.org/" xmlns:impl="http://tempuri.org/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <element name="findAddress">
    <complexType>
     <sequence>
      <element name="name" nillable="true" type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
   <complexType name="Address">
    <sequence>
     <element name="province" nillable="true" type="xsd:string"/>
     <element name="city" nillable="true" type="xsd:string"/>
     <element name="street" nillable="true" type="xsd:string"/>
     <element name="postalCode" nillable="true" type="xsd:string"/>
     <element name="phoneNumber" nillable="true" type="impl:PhoneNumber"/>
    </sequence>
   </complexType>
   <complexType name="PhoneNumber">
    <sequence>
     <element name="area" type="xsd:int"/>
     <element name="prefix" type="xsd:int"/>
     <element name="number" type="xsd:int"/>
    </sequence>
   </complexType>
   <element name="findAddressResponse">
    <complexType>
     <sequence>
      <element name="findAddressReturn" nillable="true" type="impl:Address"/>
     </sequence>
    </complexType>
   </element>
   <element name="saveAddress">
    <complexType>
     <sequence>
      <element name="name" nillable="true" type="xsd:string"/>
      <element name="address" nillable="true" type="impl:Address"/>
     </sequence>
    </complexType>
   </element>
   <element name="saveAddressResponse">
    <complexType>
     <sequence/>
    </complexType>
   </element>
   <complexType name="AddressHeaderType">
	<all>
	 <element name="a" type="int"/>
	 <element name="b" type="boolean"/>
	 <element name="s" nillable="true" type="string"/>
	</all>
   </complexType>
   <element name="AddressHeader" nillable="true" type="impl:AddressHeaderType"/>
  </schema>
  </wsdl:types>
  <wsdl:message name="saveAddressRequest">
    <wsdl:part name="parameters" element="intf:saveAddress"/>
  </wsdl:message>
  <wsdl:message name="findAddressRequest">
    <wsdl:part name="parameters" element="intf:findAddress"/>
    <wsdl:part name="AddressHeader" element="intf:AddressHeader"/>
  </wsdl:message>
  <wsdl:message name="findAddressResponse">
    <wsdl:part name="parameters" element="intf:findAddressResponse"/>
  </wsdl:message>
  <wsdl:message name="saveAddressResponse">
    <wsdl:part name="parameters" element="intf:saveAddressResponse"/>
  </wsdl:message>
  <wsdl:message name="parameterfault">
    <part name="part3" element="intf:findAddress" />
   </wsdl:message> 
  <wsdl:portType name="AddressBook">
    <wsdl:operation name="findAddress">
      <wsdl:input name="findAddressRequest" message="intf:findAddressRequest"/>
      <wsdl:output name="findAddressResponse" message="intf:findAddressResponse"/>
      <wsdl:fault name="f1" message="intf:parameterfault"/>
    </wsdl:operation>
    <wsdl:operation name="saveAddress">
      <wsdl:input name="saveAddressRequest" message="intf:saveAddressRequest"/>
      <wsdl:output name="saveAddressResponse" message="intf:saveAddressResponse"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="AddressBookSoapBinding" type="intf:AddressBook">
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="findAddress">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="findAddressRequest">
        <wsdlsoap:header message="intf:findAddressRequest" part="AddressHeader" use="literal">
        </wsdlsoap:header>
        <wsdlsoap:body parts="parameters" use="literal"/>
      </wsdl:input>
      <wsdl:output name="findAddressResponse">
        <wsdlsoap:body use="literal"/>
      </wsdl:output>
      <wsdl:fault name="f1">
        <wsdlsoap:fault use="literal" name="f1" namespace="http://tempuri.org/nowhere"/>
      </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="saveAddress">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="saveAddressRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="saveAddressResponse">
        <wsdlsoap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="AddressBookService">
    <wsdl:port name="AddressBook" binding="intf:AddressBookSoapBinding">
      <wsdlsoap:address location="http://tempuri.org/AddressBook"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

Back to the top