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 117 118
|
<?xml version="1.0" ?>
<!-- This WSDL file has lots of bad Java names which are OK in XML-->
<definitions name="JavaNames"
targetNamespace="http://names.wsdl.test/javanames"
xmlns:tns="http://names.wsdl.test/javanames"
xmlns:typens="http://names.wsdl.test/javanames"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<!-- type defs -->
<types>
<xsd:schema targetNamespace="http://names.wsdl.test/javanames"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<xsd:complexType name="my-phone">
<xsd:all>
<xsd:element name="area:Code" type="xsd:int"/>
<xsd:element name="exchange" type="xsd:string"/>
<xsd:element name="number" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
<xsd:complexType name="my.address">
<xsd:all>
<xsd:element name="street-Num" type="xsd:int"/>
<xsd:element name="street-Name" type="xsd:string"/>
<xsd:element name="city" type="xsd:string"/>
<xsd:element name="state" type="xsd:string"/>
<xsd:element name="zip" type="xsd:int"/>
<xsd:element name="phone.Number" type="typens:my-phone"/>
</xsd:all>
</xsd:complexType>
</xsd:schema>
</types>
<!-- message declns -->
<message name="AddEntryRequest">
<part name="name" type="xsd:string"/>
<part name="address" type="typens:my.address"/>
</message>
<message name="GetAddressFromNameRequest">
<part name="name" type="xsd:string"/>
</message>
<message name="GetAddressFromNameResponse">
<part name="address" type="typens:my.address"/>
</message>
<!-- port type declns -->
<portType name="-JavaNames-">
<operation name="new">
<input message="tns:AddEntryRequest"/>
</operation>
<operation name="public">
<input message="tns:GetAddressFromNameRequest"/>
<output message="tns:GetAddressFromNameResponse"/>
</operation>
<operation name="Capitalized">
<input message="tns:AddEntryRequest"/>
</operation>
</portType>
<!-- binding declns -->
<binding name="Java-Names_SOAP:Binding" type="tns:-JavaNames-">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="new">
<soap:operation soapAction=""/>
<input>
<soap:body use="encoded"
namespace="http://names.wsdl.test/javanames"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded"
namespace="http://names.wsdl.test/javanames"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="public">
<soap:operation soapAction=""/>
<input>
<soap:body use="encoded"
namespace="http://names.wsdl.test/javanames"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded"
namespace="http://names.wsdl.test/javanames"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="Capitalized">
<soap:operation soapAction=""/>
<input>
<soap:body use="encoded"
namespace="http://names.wsdl.test/javanames"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded"
namespace="http://names.wsdl.test/javanames"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<!-- service decln -->
<service name="JavaNames-Service;test">
<port name="JavaNames" binding="tns:Java-Names_SOAP:Binding">
<soap:address location="http://localhost:8080/axis/services/JavaNames"/>
</port>
</service>
</definitions>
|