| 1 |
<?xml version="1.0"?> |
|---|
| 2 |
<definitions name="MultipleFaultTest" |
|---|
| 3 |
targetNamespace="urn:jp.gr.jin.rrr.example.ele" |
|---|
| 4 |
xmlns:tns="urn:jp.gr.jin.rrr.example.ele" |
|---|
| 5 |
xmlns:typens="urn:jp.gr.jin.rrr.example.datatypes" |
|---|
| 6 |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
|---|
| 7 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
|---|
| 8 |
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" |
|---|
| 9 |
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" |
|---|
| 10 |
xmlns="http://schemas.xmlsoap.org/wsdl/"> |
|---|
| 11 |
|
|---|
| 12 |
<types> |
|---|
| 13 |
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" |
|---|
| 14 |
targetNamespace="urn:jp.gr.jin.rrr.example.datatypes"> |
|---|
| 15 |
<xsd:element name="AuthenticationError" type="tns:AuthenticationError" /> |
|---|
| 16 |
<xsd:complexType name="AuthenticationError"> |
|---|
| 17 |
<all> |
|---|
| 18 |
<element name="message" type="xsd:string" /> |
|---|
| 19 |
<element name="backtrace" type="xoapenc:Array" /> |
|---|
| 20 |
</all> |
|---|
| 21 |
</xsd:complexType> |
|---|
| 22 |
<xsd:complexType name="AuthorizationError"> |
|---|
| 23 |
<all> |
|---|
| 24 |
<element name="message" type="xsd:string" /> |
|---|
| 25 |
<element name="backtrace" type="xoapenc:Array" /> |
|---|
| 26 |
</all> |
|---|
| 27 |
</xsd:complexType> |
|---|
| 28 |
</xsd:schema> |
|---|
| 29 |
</types> |
|---|
| 30 |
|
|---|
| 31 |
<message name="inputmsg"/> |
|---|
| 32 |
<message name="outputmsg"/> |
|---|
| 33 |
<message name="faultmsg1" > |
|---|
| 34 |
<part name="exception" element="typens:AuthenticationError" /> |
|---|
| 35 |
</message> |
|---|
| 36 |
<message name="faultmsg2" > |
|---|
| 37 |
<part name="exception" element="typens:AuthorizationError" /> |
|---|
| 38 |
</message> |
|---|
| 39 |
|
|---|
| 40 |
<portType name="MultipleFaultPortType"> |
|---|
| 41 |
<operation name="myoperation"> |
|---|
| 42 |
<input message="tns:inputmsg"/> |
|---|
| 43 |
<output message="tns:outputmsg"/> |
|---|
| 44 |
<fault name="faultmsg1" message="tns:faultmsg1"/> |
|---|
| 45 |
<fault name="faultmsg2" message="tns:faultmsg2"/> |
|---|
| 46 |
</operation> |
|---|
| 47 |
</portType> |
|---|
| 48 |
|
|---|
| 49 |
<binding name="MultipleFaultBinding" type="tns:MultipleFaultPortType"> |
|---|
| 50 |
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> |
|---|
| 51 |
<operation name="myoperation"> |
|---|
| 52 |
<soap:operation soapAction="urn:jp.gr.jin.rrr.example.ele"/> |
|---|
| 53 |
<input> |
|---|
| 54 |
<soap:body use="encoded" namespace="urn:jp.gr.jin.rrr.example.ele" |
|---|
| 55 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
|---|
| 56 |
</input> |
|---|
| 57 |
<output> |
|---|
| 58 |
<soap:body use="encoded" namespace="urn:jp.gr.jin.rrr.example.ele" |
|---|
| 59 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
|---|
| 60 |
</output> |
|---|
| 61 |
<fault name="faultmsg1"> |
|---|
| 62 |
<soap:fault name="faultmsg1" use="literal"/> |
|---|
| 63 |
</fault> |
|---|
| 64 |
<fault name="faultmsg2"> |
|---|
| 65 |
<soap:fault name="faultmsg2" use="literal"/> |
|---|
| 66 |
</fault> |
|---|
| 67 |
</operation> |
|---|
| 68 |
</binding> |
|---|
| 69 |
|
|---|
| 70 |
<service name="MultipleFaultService"> |
|---|
| 71 |
<port name="MultipleFaultPortType" binding="tns:MultipleFaultBinding"> |
|---|
| 72 |
<soap:address location="http://localhost:17171/"/> |
|---|
| 73 |
</port> |
|---|
| 74 |
</service> |
|---|
| 75 |
</definitions> |
|---|