| 1 |
<?xml version="1.0"?> |
| 2 |
<wsdl:definitions xmlns:tns="urn:ArrayTest2" xmlns:typens="urn:ArrayTest2" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soapy="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:ArrayTest2" name="urn:ArrayTest"> |
| 3 |
<wsdl:types> |
| 4 |
<xsd:schema targetNamespace="urn:ArrayTest2" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> |
| 5 |
<xsd:complexType name="hobbyArray"> |
| 6 |
<xsd:complexContent> |
| 7 |
<xsd:restriction base="soapenc:Array"> |
| 8 |
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/> |
| 9 |
</xsd:restriction> |
| 10 |
</xsd:complexContent> |
| 11 |
</xsd:complexType> |
| 12 |
<xsd:complexType name="petArray"> |
| 13 |
<xsd:complexContent> |
| 14 |
<xsd:restriction base="soapenc:Array"> |
| 15 |
<xsd:sequence> |
| 16 |
<xsd:element name="alias" type="xsd:string" maxOccurs="unbounded"/> |
| 17 |
</xsd:sequence> |
| 18 |
</xsd:restriction> |
| 19 |
</xsd:complexContent> |
| 20 |
</xsd:complexType> |
| 21 |
<xsd:complexType name="intArray"> |
| 22 |
<xsd:complexContent> |
| 23 |
<xsd:restriction base="soapenc:Array"> |
| 24 |
<xsd:sequence> |
| 25 |
<xsd:element name="alias" type="xsd:int" maxOccurs="unbounded"/> |
| 26 |
</xsd:sequence> |
| 27 |
</xsd:restriction> |
| 28 |
</xsd:complexContent> |
| 29 |
</xsd:complexType> |
| 30 |
<xsd:complexType name="personalInfo"> |
| 31 |
<xsd:sequence> |
| 32 |
<xsd:element name="name" type="xsd:string"/> |
| 33 |
<!-- Style 1: Array defined using soapenc:Array --> |
| 34 |
<xsd:element name="favoriteMovies" type="soapenc:Array"/> |
| 35 |
<!-- Style 2: Array defined using derivation and wsdl:ArrayType --> |
| 36 |
<xsd:element name="hobbies" type="typens:hobbyArray"/> |
| 37 |
<!-- Style 3: Array defined using derivation of soapenc:Array --> |
| 38 |
<xsd:element name="id" type="typens:intArray"/> |
| 39 |
<xsd:element name="id2" type="xsd:int"/> |
| 40 |
<xsd:element name="pets" type="soapy:Vector"/> |
| 41 |
<!-- Collection defined using sequence of single unbounded element --> |
| 42 |
<xsd:element name="foods" type="xsd:string" maxOccurs="unbounded"/> |
| 43 |
<!-- Array of Bytes (nillable=true causes byte[] to become Byte[])--> |
| 44 |
<xsd:element name="nickName" type="xsd:hexBinary" nillable="true"/> |
| 45 |
</xsd:sequence> |
| 46 |
</xsd:complexType> |
| 47 |
</xsd:schema> |
| 48 |
</wsdl:types> |
| 49 |
<message name="AddEntryRequest"> |
| 50 |
<part name="name" type="xsd:string"/> |
| 51 |
<part name="info" type="typens:personalInfo"/> |
| 52 |
</message> |
| 53 |
<message name="GetPersonalInfoFromNameRequest"> |
| 54 |
<part name="name" type="xsd:string"/> |
| 55 |
</message> |
| 56 |
<message name="GetPersonalInfoFromNameResponse"> |
| 57 |
<part name="info" type="typens:personalInfo"/> |
| 58 |
</message> |
| 59 |
<message name="GetPetsFromNameRequest"> |
| 60 |
<part name="name" type="xsd:string"/> |
| 61 |
</message> |
| 62 |
<message name="GetPetsFromNameResponse"> |
| 63 |
<part name="pets" type="soapy:Vector"/> |
| 64 |
</message> |
| 65 |
<message name="GetIDFromNameRequest"> |
| 66 |
<part name="name" type="xsd:string"/> |
| 67 |
</message> |
| 68 |
<message name="GetIDFromNameResponse"> |
| 69 |
<part name="id" type="typens:intArray"/> |
| 70 |
</message> |
| 71 |
<message name="GetID2FromNameRequest"> |
| 72 |
<part name="name" type="xsd:string"/> |
| 73 |
</message> |
| 74 |
<message name="GetID2FromNameResponse"> |
| 75 |
<part name="id" type="xsd:int"/> |
| 76 |
</message> |
| 77 |
<message name="empty"/> |
| 78 |
<portType name="PersonalInfoBook"> |
| 79 |
<operation name="addEntry"> |
| 80 |
<input message="tns:AddEntryRequest"/> |
| 81 |
<output message="tns:empty"/> |
| 82 |
</operation> |
| 83 |
<operation name="getPersonalInfoFromName"> |
| 84 |
<input message="tns:GetPersonalInfoFromNameRequest"/> |
| 85 |
<output message="tns:GetPersonalInfoFromNameResponse"/> |
| 86 |
</operation> |
| 87 |
<operation name="getPetsFromName"> |
| 88 |
<input message="tns:GetPetsFromNameRequest"/> |
| 89 |
<output message="tns:GetPetsFromNameResponse"/> |
| 90 |
</operation> |
| 91 |
<operation name="getIDFromName"> |
| 92 |
<input message="tns:GetIDFromNameRequest"/> |
| 93 |
<output message="tns:GetIDFromNameResponse"/> |
| 94 |
</operation> |
| 95 |
<operation name="getID2FromName"> |
| 96 |
<input message="tns:GetID2FromNameRequest"/> |
| 97 |
<output message="tns:GetID2FromNameResponse"/> |
| 98 |
</operation> |
| 99 |
</portType> |
| 100 |
<binding name="PersonalInfoBookSOAPBinding" type="tns:PersonalInfoBook"> |
| 101 |
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> |
| 102 |
<operation name="addEntry"> |
| 103 |
<soap:operation/> |
| 104 |
<input> |
| 105 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ArrayTest"/> |
| 106 |
</input> |
| 107 |
<output> |
| 108 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ArrayTest"/> |
| 109 |
</output> |
| 110 |
</operation> |
| 111 |
<operation name="getPersonalInfoFromName"> |
| 112 |
<soap:operation/> |
| 113 |
<input> |
| 114 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ArrayTest"/> |
| 115 |
</input> |
| 116 |
<output> |
| 117 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ArrayTest"/> |
| 118 |
</output> |
| 119 |
</operation> |
| 120 |
<operation name="getPetsFromName"> |
| 121 |
<soap:operation/> |
| 122 |
<input> |
| 123 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ArrayTest"/> |
| 124 |
</input> |
| 125 |
<output> |
| 126 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ArrayTest"/> |
| 127 |
</output> |
| 128 |
</operation> |
| 129 |
<operation name="getIDFromName"> |
| 130 |
<soap:operation/> |
| 131 |
<input> |
| 132 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ArrayTest"/> |
| 133 |
</input> |
| 134 |
<output> |
| 135 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ArrayTest"/> |
| 136 |
</output> |
| 137 |
</operation> |
| 138 |
<operation name="getID2FromName"> |
| 139 |
<soap:operation/> |
| 140 |
<input> |
| 141 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ArrayTest"/> |
| 142 |
</input> |
| 143 |
<output> |
| 144 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ArrayTest"/> |
| 145 |
</output> |
| 146 |
</operation> |
| 147 |
</binding> |
| 148 |
<service name="PersonalInfoBookService"> |
| 149 |
<port name="PersonalInfoBook" binding="tns:PersonalInfoBookSOAPBinding"> |
| 150 |
<soap:address location="http://localhost:8080/axis/services/PersonalInfoBook"/> |
| 151 |
</port> |
| 152 |
</service> |
| 153 |
</wsdl:definitions> |