| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<definitions targetNamespace="http://test.com/wsdl/faults" |
| 3 |
xmlns:tns="http://test.com/wsdl/faults" |
| 4 |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 5 |
xmlns:serviceNS="http://test.com/wsdl/faults" |
| 6 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 7 |
xmlns="http://schemas.xmlsoap.org/wsdl/"> |
| 8 |
|
| 9 |
<types> |
| 10 |
<xsd:schema |
| 11 |
targetNamespace="http://test.com/wsdl/faults"> |
| 12 |
<xsd:complexType name="baseFault"> |
| 13 |
<xsd:sequence> |
| 14 |
<xsd:element name="a" type="xsd:int"/> |
| 15 |
</xsd:sequence> |
| 16 |
</xsd:complexType> |
| 17 |
|
| 18 |
<xsd:complexType name="derivedFault"> |
| 19 |
<xsd:complexContent> |
| 20 |
<xsd:extension base="tns:baseFault"> |
| 21 |
<xsd:sequence> |
| 22 |
<xsd:element name="b" type="xsd:string"/> |
| 23 |
</xsd:sequence> |
| 24 |
</xsd:extension> |
| 25 |
</xsd:complexContent> |
| 26 |
</xsd:complexType> |
| 27 |
|
| 28 |
<xsd:complexType name="derivedFault2"> |
| 29 |
<xsd:complexContent> |
| 30 |
<xsd:extension base="tns:derivedFault"> |
| 31 |
<xsd:sequence> |
| 32 |
<xsd:element name="c" type="xsd:float"/> |
| 33 |
</xsd:sequence> |
| 34 |
</xsd:extension> |
| 35 |
</xsd:complexContent> |
| 36 |
</xsd:complexType> |
| 37 |
|
| 38 |
<xsd:complexType name="extensionFault"> |
| 39 |
<xsd:sequence> |
| 40 |
<xsd:element name="extension" type="tns:ExtensionType"/> |
| 41 |
</xsd:sequence> |
| 42 |
</xsd:complexType> |
| 43 |
|
| 44 |
<xsd:complexType name="ExtensionType"> |
| 45 |
<xsd:sequence> |
| 46 |
<xsd:any namespace="##any"/> |
| 47 |
</xsd:sequence> |
| 48 |
</xsd:complexType> |
| 49 |
|
| 50 |
</xsd:schema> |
| 51 |
</types> |
| 52 |
|
| 53 |
<message name="getQuoteResponse"> |
| 54 |
<part name="getQuoteResult" type="xsd:float"/> |
| 55 |
</message> |
| 56 |
<message name="getQuoteRequest"> |
| 57 |
<part name="tickerSymbol" type="xsd:string"/> |
| 58 |
</message> |
| 59 |
<message name="InvalidTickerFaultMessage"> |
| 60 |
<part name="tickerSymbol" type="xsd:string"/> |
| 61 |
</message> |
| 62 |
|
| 63 |
<message name="throwFaultResponse"> |
| 64 |
<part name="return" type="xsd:int"/> |
| 65 |
</message> |
| 66 |
<message name="throwFaultRequest"> |
| 67 |
<part name="a" type="xsd:int"/> |
| 68 |
<part name="b" type="xsd:string"/> |
| 69 |
<part name="c" type="xsd:float"/> |
| 70 |
</message> |
| 71 |
<message name="throwFaultFault"> |
| 72 |
<part name="theFault" type="tns:derivedFault" /> |
| 73 |
</message> |
| 74 |
<message name="throwExtensionFaultResponse"> |
| 75 |
<part name="return" type="xsd:int"/> |
| 76 |
</message> |
| 77 |
<message name="throwExtensionFaultRequest"> |
| 78 |
<part name="description" type="xsd:string"/> |
| 79 |
</message> |
| 80 |
<message name="throwExtensionFaultFault"> |
| 81 |
<part name="theFault" type="tns:extensionFault" /> |
| 82 |
</message> |
| 83 |
|
| 84 |
<portType name="FaultServicePortType"> |
| 85 |
<operation name="getQuote"> |
| 86 |
<input message="serviceNS:getQuoteRequest"/> |
| 87 |
<output message="serviceNS:getQuoteResponse"/> |
| 88 |
<fault name="InvalidTickerFaultMessage" message="serviceNS:InvalidTickerFaultMessage"/> |
| 89 |
</operation> |
| 90 |
<operation name="throwFault"> |
| 91 |
<input message="serviceNS:throwFaultRequest"/> |
| 92 |
<output message="serviceNS:throwFaultResponse"/> |
| 93 |
<fault name="throwFaultFault" message="serviceNS:throwFaultFault"/> |
| 94 |
</operation> |
| 95 |
<operation name="throwExtensionFault"> |
| 96 |
<input message="serviceNS:throwExtensionFaultRequest"/> |
| 97 |
<output message="serviceNS:throwExtensionFaultResponse"/> |
| 98 |
<fault name="throwExtensionFaultFault" message="serviceNS:throwExtensionFaultFault"/> |
| 99 |
</operation> |
| 100 |
</portType> |
| 101 |
<binding name="FaultServiceSoapBinding" type="serviceNS:FaultServicePortType"> |
| 102 |
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> |
| 103 |
<operation name="getQuote"> |
| 104 |
<soap:operation soapAction="" style="rpc"/> |
| 105 |
<input> |
| 106 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace=""/> |
| 107 |
</input> |
| 108 |
<output> |
| 109 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace=""/> |
| 110 |
</output> |
| 111 |
<fault name="InvalidTickerFaultMessage"> |
| 112 |
<soap:fault name="InvalidTickerFaultMessage" use="encoded"/> |
| 113 |
</fault> |
| 114 |
</operation> |
| 115 |
<operation name="throwFault"> |
| 116 |
<soap:operation soapAction="" style="rpc"/> |
| 117 |
<input> |
| 118 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace=""/> |
| 119 |
</input> |
| 120 |
<output> |
| 121 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace=""/> |
| 122 |
</output> |
| 123 |
<fault name="throwFaultFault"> |
| 124 |
<soap:fault name="throwFaultFault" use="encoded"/> |
| 125 |
</fault> |
| 126 |
</operation> |
| 127 |
<operation name="throwExtensionFault"> |
| 128 |
<soap:operation soapAction="" style="rpc"/> |
| 129 |
<input> |
| 130 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace=""/> |
| 131 |
</input> |
| 132 |
<output> |
| 133 |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace=""/> |
| 134 |
</output> |
| 135 |
<fault name="throwExtensionFaultFault"> |
| 136 |
<soap:fault name="throwExtensionFaultFault" use="encoded"/> |
| 137 |
</fault> |
| 138 |
</operation> |
| 139 |
</binding> |
| 140 |
<service name="FaultService"> |
| 141 |
<port name="FaultService" binding="serviceNS:FaultServiceSoapBinding"> |
| 142 |
<soap:address location="http://localhost:8080/axis/services/FaultService"/> |
| 143 |
</port> |
| 144 |
</service> |
| 145 |
</definitions> |