| 1 |
<?xml version="1.0" ?> |
| 2 |
|
| 3 |
<definitions name="urn:AddrNoImplSEI" |
| 4 |
targetNamespace="urn:AddrNoImplSEI" |
| 5 |
xmlns:tns="urn:AddrNoImplSEI" |
| 6 |
xmlns:typens="urn:AddrNoImplSEI" |
| 7 |
xmlns:xsd="http://www.w3.org/1999/XMLSchema" |
| 8 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 9 |
xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" |
| 10 |
xmlns="http://schemas.xmlsoap.org/wsdl/"> |
| 11 |
|
| 12 |
<!-- type defs --> |
| 13 |
<types> |
| 14 |
<xsd:schema targetNamespace="urn:AddrNoImplSEI" |
| 15 |
xmlns:xsd="http://www.w3.org/1999/XMLSchema"> |
| 16 |
|
| 17 |
<xsd:simpleType name="StateType"> |
| 18 |
<xsd:restriction base="xsd:string"> |
| 19 |
<xsd:enumeration value="TX"/> |
| 20 |
<xsd:enumeration value="IN"/> |
| 21 |
<xsd:enumeration value="OH"/> |
| 22 |
</xsd:restriction> |
| 23 |
</xsd:simpleType> |
| 24 |
|
| 25 |
<xsd:element name="Phone"> |
| 26 |
<xsd:complexType> |
| 27 |
<xsd:all> |
| 28 |
<xsd:element name="areaCode" type="xsd:int"/> |
| 29 |
<xsd:element name="exchange" type="xsd:string"/> |
| 30 |
<xsd:element name="number" type="xsd:string"/> |
| 31 |
</xsd:all> |
| 32 |
</xsd:complexType> |
| 33 |
</xsd:element> |
| 34 |
|
| 35 |
<xsd:complexType name="Address"> |
| 36 |
<xsd:all> |
| 37 |
<xsd:element name="streetNum" type="xsd:int"/> |
| 38 |
<xsd:element name="streetName" type="xsd:string"/> |
| 39 |
<xsd:element name="city" type="xsd:string"/> |
| 40 |
<xsd:element name="state" type="typens:StateType"/> |
| 41 |
<xsd:element name="zip" type="xsd:int"/> |
| 42 |
<xsd:element ref="typens:Phone"/> |
| 43 |
</xsd:all> |
| 44 |
</xsd:complexType> |
| 45 |
|
| 46 |
<xsd:complexType name="ArrayOfaddress"> |
| 47 |
<xsd:complexContent> |
| 48 |
<xsd:restriction base="soap-enc:Array"> |
| 49 |
<xsd:attribute ref="soap-enc:arrayType" arrayType="typens:Address[]"/> |
| 50 |
</xsd:restriction> |
| 51 |
</xsd:complexContent> |
| 52 |
</xsd:complexType> |
| 53 |
</xsd:schema> |
| 54 |
</types> |
| 55 |
|
| 56 |
<!-- message declns --> |
| 57 |
<message name="AddEntryRequest"> |
| 58 |
<part name="name" type="xsd:string"/> |
| 59 |
<part name="address" type="typens:Address"/> |
| 60 |
</message> |
| 61 |
|
| 62 |
<message name="GetAddressFromNameRequest"> |
| 63 |
<part name="name" type="xsd:string"/> |
| 64 |
</message> |
| 65 |
|
| 66 |
<message name="GetAddressFromNameResponse"> |
| 67 |
<part name="address" type="typens:Address"/> |
| 68 |
</message> |
| 69 |
|
| 70 |
<message name="getAddressesRequest"> |
| 71 |
</message> |
| 72 |
|
| 73 |
<message name="getAddressesResponse"> |
| 74 |
<part name="addresses" type="typens:ArrayOfaddress"/> |
| 75 |
</message> |
| 76 |
|
| 77 |
<!-- port type declns --> |
| 78 |
<portType name="AddressBookNoImplSEI"> |
| 79 |
<operation name="addEntry"> |
| 80 |
<input message="tns:AddEntryRequest"/> |
| 81 |
</operation> |
| 82 |
<operation name="getAddressFromName"> |
| 83 |
<input message="tns:GetAddressFromNameRequest"/> |
| 84 |
<output message="tns:GetAddressFromNameResponse"/> |
| 85 |
</operation> |
| 86 |
<operation name="getAddresses"> |
| 87 |
<input message="tns:getAddressesRequest"/> |
| 88 |
<output message="tns:getAddressesResponse"/> |
| 89 |
</operation> |
| 90 |
</portType> |
| 91 |
|
| 92 |
<!-- binding declns --> |
| 93 |
<binding name="AddressBookNoImplSEISoapBinding" type="tns:AddressBookNoImplSEI"> |
| 94 |
<soap:binding style="rpc" |
| 95 |
transport="http://schemas.xmlsoap.org/soap/http"/> |
| 96 |
<operation name="addEntry"> |
| 97 |
<soap:operation soapAction=""/> |
| 98 |
<input> |
| 99 |
<soap:body use="encoded" |
| 100 |
namespace="urn:AddrNoImplSEI" |
| 101 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 102 |
</input> |
| 103 |
<output> |
| 104 |
<soap:body use="encoded" |
| 105 |
namespace="urn:AddrNoImplSEI" |
| 106 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 107 |
</output> |
| 108 |
</operation> |
| 109 |
<operation name="getAddressFromName"> |
| 110 |
<soap:operation soapAction=""/> |
| 111 |
<input> |
| 112 |
<soap:body use="encoded" |
| 113 |
namespace="urn:AddrNoImplSEI" |
| 114 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 115 |
</input> |
| 116 |
<output> |
| 117 |
<soap:body use="encoded" |
| 118 |
namespace="urn:AddrNoImplSEI" |
| 119 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 120 |
</output> |
| 121 |
</operation> |
| 122 |
<operation name="getAddresses"> |
| 123 |
<soap:operation soapAction=""/> |
| 124 |
<input> |
| 125 |
<soap:body use="encoded" |
| 126 |
namespace="urn:AddressFetcher2" |
| 127 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 128 |
</input> |
| 129 |
<output> |
| 130 |
<soap:body use="encoded" |
| 131 |
namespace="urn:AddressFetcher2" |
| 132 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 133 |
</output> |
| 134 |
</operation> |
| 135 |
</binding> |
| 136 |
|
| 137 |
<!-- service decln --> |
| 138 |
<service name="AddressBookNoImplSEIService"> |
| 139 |
<port name="AddressBookNoImplSEI" binding="tns:AddressBookNoImplSEISoapBinding"> |
| 140 |
<soap:address location="http://localhost:8080/axis/services/AddressBookNoImplSEI"/> |
| 141 |
</port> |
| 142 |
</service> |
| 143 |
|
| 144 |
</definitions> |
| 145 |
|