| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| --> |
| <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://schemas.apache.org/idl/exceptions.idl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://schemas.apache.org/idltypes/exceptions.idl" xmlns:xsd2="urn:mytypes" xmlns:corba="http://schemas.apache.org/bindings/corba" xmlns:corbatm="http://schemas.apache.org/bindings/corba/typemap" name="exceptions.idl" targetNamespace="http://schemas.apache.org/idl/exceptions.idl"> |
| <types> |
| <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://schemas.apache.org/idltypes/exceptions.idl"> |
| <xsd:complexType name="TestException.BadRecord"> |
| <xsd:sequence> |
| <xsd:element name="reason" type="xsd:string"/> |
| <xsd:element name="code" type="xsd:short"/> |
| </xsd:sequence> |
| </xsd:complexType> |
| <xsd:element name="TestException.ExceptionTest.review_data.data" type="xsd:string"/> |
| <xsd:element name="TestException.BadRecord" type="xsd1:TestException.BadRecord"/> |
| <xsd:element name="ExceptionEl" type="xsd2:MyExceptionType"/> |
| </schema> |
| <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:mytypes"> |
| <xsd:complexType name="MyExceptionType"> |
| <xsd:sequence> |
| <xsd:element name="message" type="xsd:string"/> |
| <xsd:element name="code" type="xsd:short"/> |
| <xsd:element name="company" type="xsd:string"/> |
| </xsd:sequence> |
| </xsd:complexType> |
| </schema> |
| </types> |
| <message name="TestException.ExceptionTest.review_data"> |
| <part name="data" element="xsd1:TestException.ExceptionTest.review_data.data"/> |
| </message> |
| <message name="TestException.ExceptionTest.review_dataResponse"/> |
| <message name="_exception.TestException.BadRecord"> |
| <part name="exception" element="xsd1:TestException.BadRecord"/> |
| </message> |
| <message name="MyExceptionMessage"> |
| <part name="exception" element="xsd1:ExceptionEl"/> |
| </message> |
| <portType name="TestException.ExceptionTest"> |
| <operation name="review_data"> |
| <input message="tns:TestException.ExceptionTest.review_data" name="review_data"/> |
| <output message="tns:TestException.ExceptionTest.review_dataResponse" name="review_dataResponse"/> |
| <fault message="tns:_exception.TestException.BadRecord" name="TestException.BadRecord"/> |
| <fault message="tns:MyExceptionMessage" name="MyException"/> |
| </operation> |
| </portType> |
| </definitions> |