|
Apache CXF example source code file (uniontype.wsdl)
The Apache CXF uniontype.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="multipart.idl" targetNamespace="http://schemas.apache.org/idl/multipart.idl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://schemas.apache.org/idl/multipart.idl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://schemas.apache.org/idltypes/multipart.idl" 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/multipart.idl" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <xsd:simpleType name="Test.MultiPart.Colour"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="RED"/> <xsd:enumeration value="GREEN"/> <xsd:enumeration value="BLUE"/> </xsd:restriction> </xsd:simpleType> <xsd:complexType name="Test.MultiPart.Description"> <xsd:sequence> <xsd:element minOccurs="1" maxOccurs="1" name="discriminator" type="xsd1:Test.MultiPart.Colour"/> <xsd:choice> <xsd:element name="x" type="xsd:string"/> <xsd:element name="y" type="xsd:int"/> <xsd:element name="z" type="xsd:short"/> </xsd:choice> </xsd:sequence> </xsd:complexType> <xsd:element name="Test.MultiPart.test_enum.x" type="xsd1:Test.MultiPart.Colour"/> <xsd:element name="Test.MultiPart.test_enum.y" type="xsd1:Test.MultiPart.Colour"/> <xsd:element name="Test.MultiPart.test_enum.z" type="xsd1:Test.MultiPart.Colour"/> <xsd:element name="Test.MultiPart.test_enum.return" type="xsd1:Test.MultiPart.Colour"/> <xsd:element name="Test.MultiPart.test_union.x" type="xsd1:Test.MultiPart.Description"/> <xsd:element name="Test.MultiPart.test_union.y" type="xsd1:Test.MultiPart.Description"/> <xsd:element name="Test.MultiPart.test_union.z" type="xsd1:Test.MultiPart.Description"/> <xsd:element name="Test.MultiPart.test_union.return" type="xsd1:Test.MultiPart.Description"/> </schema> </types> <message name="Test.MultiPart.test_union"> <part name="x" element="xsd1:Test.MultiPart.test_union.x"/> <part name="y" element="xsd1:Test.MultiPart.test_union.y"/> </message> <message name="Test.MultiPart.test_unionResponse"> <part name="return" element="xsd1:Test.MultiPart.test_union.return"/> <part name="y" element="xsd1:Test.MultiPart.test_union.y"/> <part name="z" element="xsd1:Test.MultiPart.test_union.z"/> </message> <portType name="Test.MultiPart"> <operation name="test_union"> <input message="tns:Test.MultiPart.test_union" name="test_union"/> <output message="tns:Test.MultiPart.test_unionResponse" name="test_unionResponse"/> </operation> </portType> </definitions> Other Apache CXF examples (source code examples)Here is a short list of links related to this Apache CXF uniontype.wsdl source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 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.