alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Apache CXF example source code file (recursiveunion.wsdl)

This example Apache CXF source code file (recursiveunion.wsdl) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Apache CXF tags/keywords

apache, asf, basictest, basictest, forwardseqtest, forwardseqtest, forwardseqtestseq, forwardseqtestseq, forwardtest, license, license, of, see, software

The Apache CXF recursiveunion.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.
-->
<wsdl:definitions targetNamespace="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion" xmlns:tns="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:corba="http://cxf.apache.org/bindings/corba" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <corba:typeMapping targetNamespace="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion/typemap">
    <corba:anonsequence xmlns="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion/typemap" xmlns:ns4="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion" elemtype="BasicTest" bound="0" name="_1_BasicTest" type="ns4:_1_BasicTest" />
    <corba:union xmlns:ns4="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion" xmlns="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion/typemap" discriminator="corba:short" repositoryID="IDL:BasicTest:1.0" name="BasicTest" type="ns4:BasicTest">
      <corba:unionbranch name="case1" idltype="corba:long">
        <corba:case label="1" />
      </corba:unionbranch>
      <corba:unionbranch name="case2" idltype="_1_BasicTest">
        <corba:case label="2" />
      </corba:unionbranch>
      <corba:unionbranch name="caseDef" idltype="corba:string" default="true" />
    </corba:union>
    <corba:anonsequence xmlns="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion/typemap" xmlns:ns4="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion" elemtype="ForwardTest" bound="0" name="_1_ForwardTest" type="ns4:_1_ForwardTest" />
    <corba:union xmlns:ns4="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion" xmlns="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion/typemap" discriminator="corba:short" repositoryID="IDL:ForwardTest:1.0" name="ForwardTest" type="ns4:ForwardTest">
      <corba:unionbranch name="case1" idltype="corba:long">
        <corba:case label="1" />
      </corba:unionbranch>
      <corba:unionbranch name="case2" idltype="_1_ForwardTest">
        <corba:case label="2" />
      </corba:unionbranch>
      <corba:unionbranch name="caseDef" idltype="corba:string" default="true" />
    </corba:union>
    <corba:sequence xmlns:ns4="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion" xmlns="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion/typemap" elemtype="ForwardSeqTest" bound="0" repositoryID="IDL:ForwardSeqTestSeq:1.0" name="ForwardSeqTestSeq" type="ns4:ForwardSeqTestSeq" />
    <corba:union xmlns:ns4="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion" xmlns="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion/typemap" discriminator="corba:short" repositoryID="IDL:ForwardSeqTest:1.0" name="ForwardSeqTest" type="ns4:ForwardSeqTest">
      <corba:unionbranch name="case1" idltype="corba:long">
        <corba:case label="1" />
      </corba:unionbranch>
      <corba:unionbranch name="case2" idltype="ForwardSeqTestSeq">
        <corba:case label="2" />
      </corba:unionbranch>
      <corba:unionbranch name="caseDef" idltype="corba:string" default="true" />
    </corba:union>
  </corba:typeMapping>
  <wsdl:types>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion" xmlns="http://cxf.apache.org/bindings/corba/idl/RecursiveUnion" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:import namespace="http://www.w3.org/2005/08/addressing" schemaLocation="http://www.w3.org/2005/08/addressing/ws-addr.xsd">
      </xs:import>
      <xs:complexType name="_1_BasicTest">
        <xs:sequence>
          <xs:element maxOccurs="unbounded" minOccurs="0" name="item" type="BasicTest">
          </xs:element>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="BasicTest">
        <xs:choice>
          <xs:element name="case1" type="xs:int">
          </xs:element>
          <xs:element name="case2" type="_1_BasicTest">
          </xs:element>
          <xs:element name="caseDef" type="xs:string">
          </xs:element>
        </xs:choice>
      </xs:complexType>
      <xs:complexType name="_1_ForwardTest">
        <xs:sequence>
          <xs:element maxOccurs="unbounded" minOccurs="0" name="item" type="ForwardTest">
          </xs:element>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="ForwardTest">
        <xs:choice>
          <xs:element name="case1" type="xs:int">
          </xs:element>
          <xs:element name="case2" type="_1_ForwardTest">
          </xs:element>
          <xs:element name="caseDef" type="xs:string">
          </xs:element>
        </xs:choice>
      </xs:complexType>
      <xs:complexType name="ForwardSeqTestSeq">
        <xs:sequence>
          <xs:element maxOccurs="unbounded" minOccurs="0" name="item" type="ForwardSeqTest">
          </xs:element>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="ForwardSeqTest">
        <xs:choice>
          <xs:element name="case1" type="xs:int">
          </xs:element>
          <xs:element name="case2" type="ForwardSeqTestSeq">
          </xs:element>
          <xs:element name="caseDef" type="xs:string">
          </xs:element>
        </xs:choice>
      </xs:complexType>
    </xs:schema>
  </wsdl:types>
  <wsdl:portType name="TestInterface">
  </wsdl:portType>
  <wsdl:binding name="TestInterfaceCORBABinding" type="tns:TestInterface">
    <corba:binding repositoryID="IDL:TestInterface:1.0" />
  </wsdl:binding>
  <wsdl:service name="TestInterfaceCORBAService">
    <wsdl:port name="TestInterfaceCORBAPort" binding="tns:TestInterfaceCORBABinding">
      <corba:address location="IOR:" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

Other Apache CXF examples (source code examples)

Here is a short list of links related to this Apache CXF recursiveunion.wsdl source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

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.