| 1 |
<?xml version="1.0" ?> |
| 2 |
|
| 3 |
<!-- This WSDL file has lots of bad Java names which are OK in XML--> |
| 4 |
|
| 5 |
<definitions name="JavaNames" |
| 6 |
targetNamespace="http://names.wsdl.test/javanames" |
| 7 |
xmlns:tns="http://names.wsdl.test/javanames" |
| 8 |
xmlns:typens="http://names.wsdl.test/javanames" |
| 9 |
xmlns:xsd="http://www.w3.org/1999/XMLSchema" |
| 10 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 11 |
xmlns="http://schemas.xmlsoap.org/wsdl/"> |
| 12 |
|
| 13 |
<!-- type defs --> |
| 14 |
<types> |
| 15 |
<xsd:schema targetNamespace="http://names.wsdl.test/javanames" |
| 16 |
xmlns:xsd="http://www.w3.org/1999/XMLSchema"> |
| 17 |
<xsd:complexType name="my-phone"> |
| 18 |
<xsd:all> |
| 19 |
<xsd:element name="area:Code" type="xsd:int"/> |
| 20 |
<xsd:element name="exchange" type="xsd:string"/> |
| 21 |
<xsd:element name="number" type="xsd:string"/> |
| 22 |
</xsd:all> |
| 23 |
</xsd:complexType> |
| 24 |
|
| 25 |
<xsd:complexType name="my.address"> |
| 26 |
<xsd:all> |
| 27 |
<xsd:element name="street-Num" type="xsd:int"/> |
| 28 |
<xsd:element name="street-Name" type="xsd:string"/> |
| 29 |
<xsd:element name="city" type="xsd:string"/> |
| 30 |
<xsd:element name="state" type="xsd:string"/> |
| 31 |
<xsd:element name="zip" type="xsd:int"/> |
| 32 |
<xsd:element name="phone.Number" type="typens:my-phone"/> |
| 33 |
</xsd:all> |
| 34 |
</xsd:complexType> |
| 35 |
</xsd:schema> |
| 36 |
</types> |
| 37 |
|
| 38 |
<!-- message declns --> |
| 39 |
<message name="AddEntryRequest"> |
| 40 |
<part name="name" type="xsd:string"/> |
| 41 |
<part name="address" type="typens:my.address"/> |
| 42 |
</message> |
| 43 |
|
| 44 |
<message name="GetAddressFromNameRequest"> |
| 45 |
<part name="name" type="xsd:string"/> |
| 46 |
</message> |
| 47 |
|
| 48 |
<message name="GetAddressFromNameResponse"> |
| 49 |
<part name="address" type="typens:my.address"/> |
| 50 |
</message> |
| 51 |
|
| 52 |
<!-- port type declns --> |
| 53 |
<portType name="-JavaNames-"> |
| 54 |
<operation name="new"> |
| 55 |
<input message="tns:AddEntryRequest"/> |
| 56 |
</operation> |
| 57 |
<operation name="public"> |
| 58 |
<input message="tns:GetAddressFromNameRequest"/> |
| 59 |
<output message="tns:GetAddressFromNameResponse"/> |
| 60 |
</operation> |
| 61 |
<operation name="Capitalized"> |
| 62 |
<input message="tns:AddEntryRequest"/> |
| 63 |
</operation> |
| 64 |
</portType> |
| 65 |
|
| 66 |
<!-- binding declns --> |
| 67 |
<binding name="Java-Names_SOAP:Binding" type="tns:-JavaNames-"> |
| 68 |
<soap:binding style="rpc" |
| 69 |
transport="http://schemas.xmlsoap.org/soap/http"/> |
| 70 |
<operation name="new"> |
| 71 |
<soap:operation soapAction=""/> |
| 72 |
<input> |
| 73 |
<soap:body use="encoded" |
| 74 |
namespace="http://names.wsdl.test/javanames" |
| 75 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 76 |
</input> |
| 77 |
<output> |
| 78 |
<soap:body use="encoded" |
| 79 |
namespace="http://names.wsdl.test/javanames" |
| 80 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 81 |
</output> |
| 82 |
</operation> |
| 83 |
<operation name="public"> |
| 84 |
<soap:operation soapAction=""/> |
| 85 |
<input> |
| 86 |
<soap:body use="encoded" |
| 87 |
namespace="http://names.wsdl.test/javanames" |
| 88 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 89 |
</input> |
| 90 |
<output> |
| 91 |
<soap:body use="encoded" |
| 92 |
namespace="http://names.wsdl.test/javanames" |
| 93 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 94 |
</output> |
| 95 |
</operation> |
| 96 |
<operation name="Capitalized"> |
| 97 |
<soap:operation soapAction=""/> |
| 98 |
<input> |
| 99 |
<soap:body use="encoded" |
| 100 |
namespace="http://names.wsdl.test/javanames" |
| 101 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 102 |
</input> |
| 103 |
<output> |
| 104 |
<soap:body use="encoded" |
| 105 |
namespace="http://names.wsdl.test/javanames" |
| 106 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 107 |
</output> |
| 108 |
</operation> |
| 109 |
</binding> |
| 110 |
|
| 111 |
<!-- service decln --> |
| 112 |
<service name="JavaNames-Service;test"> |
| 113 |
<port name="JavaNames" binding="tns:Java-Names_SOAP:Binding"> |
| 114 |
<soap:address location="http://localhost:8080/axis/services/JavaNames"/> |
| 115 |
</port> |
| 116 |
</service> |
| 117 |
|
| 118 |
</definitions> |