|
Apache CXF example source code file (exceptions.wsdl)
The Apache CXF exceptions.wsdl source code
<?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 name="exceptions.idl"
targetNamespace="http://schemas.apache.org/idl/exceptions.idl"
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">
<types>
<schema targetNamespace="http://schemas.apache.org/idltypes/exceptions.idl"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<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 targetNamespace="urn:mytypes"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<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>
Other Apache CXF examples (source code examples)Here is a short list of links related to this Apache CXF exceptions.wsdl source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.