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

Apache CXF example source code file (idl2wsdl.xml)

This example Apache CXF source code file (idl2wsdl.xml) 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, asf, helloworld, idl, license, license, of, see, software, the, the, wsdl, wsdl

The Apache CXF idl2wsdl.xml 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.
-->

<!-- The xhtml namespace is for usage documentation -->
<toolspec xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xhtml="http://www.w3.org/TR/xhtml1/strict"
    xsi:schemaLocation="http://cxf.apache.org/Xutil/ToolSpecification http://cxf.apache.org/schema/xutil/tool-specification.xsd"
    xmlns="http://cxf.apache.org/Xutil/ToolSpecification"
    xmlns:ts="http://cxf.apache.org/Xutil/ToolSpecification">

    <annotation> Examples :
        idl2wsdl HelloWorld.idl
        idl2wsdl -o HelloWorld HelloWorld.idl
        idl2wsdl -w http://www.mycompany.com/schemas HelloWorld.idl
        idl2wsdl -f HelloWorld.ior -interface HelloWorld HellowWorld.idl
    </annotation>

    <usage>

        <optionGroup id="options">

            <option id="includedir" maxOccurs="unbounded">
                <annotation>Specify a directory to be included in the search path for the IDL preprocessor.
                <switch>I
                <associatedArgument placement="afterSpace">
                    <annotation>idl-include-directory
                </associatedArgument>
            </option>

            <option id="outputdir" maxOccurs="1">
                <annotation>The wsdl output directory.
                <switch>o
                <associatedArgument placement="afterSpace">
                    <annotation>output-directory
                </associatedArgument>
            </option>

            <option id="address" maxOccurs="1">
                <annotation>Specify the value to be used for the corba:address location attribute.
                <switch>a
                <associatedArgument placement="afterSpace">
                    <annotation>corba-address
                </associatedArgument>
            </option>

            <option id="boundedstrings" maxOccurs="1">
                <annotation>Treat bounded strings as unbounded.
                <switch>b
            </option>

            <option id="addressfile" maxOccurs="1">
                <annotation>Use the contents of file as the value for the corba:address locationattribute.
                <switch>f
                <associatedArgument placement="afterSpace">
                    <annotation>corba-address-file
                </associatedArgument>
            </option>

            <option id="importschema" maxOccurs="1">
                <annotation>Do not generate schema types, but instead import them from file.
                <switch>n
                <associatedArgument placement="afterSpace">
                    <annotation>schema-import-file
                </associatedArgument>
            </option>

            <option id="sequencetype" maxOccurs="1">
                <annotation>Specify the XML Schema type used for the IDL sequence octet type.
                    Valid option values for type are base64Binary and hexBinary. The default is base64Binary.</annotation>
                <switch>s
                <associatedArgument placement="afterSpace">
                    <annotation>idl-sequence-type
                </associatedArgument>
            </option>

            <option id="tns" maxOccurs="1">
                <annotation>Specify the target namespace to use in the wsdl.
                <switch>w
                <associatedArgument placement="afterSpace">
                    <annotation>target-namespace
                </associatedArgument>
            </option>

            <option id="schemans" maxOccurs="1">
                <annotation>Specify the schema namespace to use in the wsdl.
                <switch>x
                <associatedArgument placement="afterSpace">
                    <annotation>schema-namespace
                </associatedArgument>
            </option>

            <option id="corbatypemapns" maxOccurs="1">
                <annotation>Specify the corba type map target namespace to use in the wsdl.
                <switch>t
                <associatedArgument placement="afterSpace">
                    <annotation>corba-type-map target-namespace
                </associatedArgument>
            </option>


            <option id="referenceimport" maxOccurs="1">
                <annotation>Specify the pathname of the schema file imported to define the Reference type.
                <switch>r
                <associatedArgument placement="afterSpace">
                    <annotation>reference-schema-file
                </associatedArgument>
            </option>

            <option id="logical" maxOccurs="1">
                <annotation>Split the generated WSDL into two files.
                    The logical portion of the WSDL is generated into the specified file.
                    The physical portion is generated into the default output file, unless -P is also used.</annotation>
                <switch>L
                <associatedArgument placement="afterSpace">
                    <annotation>logical-wsdl-filename
                </associatedArgument>
            </option>

            <option id="physical" maxOccurs="1">
                <annotation>Split the generated WSDL into two files.
                    The physical portion of the WSDL is generated into specified file.
                    The logical portion is generated into the default output file, unless -L is also used.</annotation>
                <switch>P
                <associatedArgument placement="afterSpace">
                    <annotation>physical-wsdl-filename
                </associatedArgument>
            </option>

            <option id="schema" maxOccurs="1">
                <annotation>Generate schema types into the specified file.
                    The file is then imported back into the logical portion of the generated WSDL.
                    This option cannot be used with -n.</annotation>
                <switch>T
                <associatedArgument placement="afterSpace">
                    <annotation>schema-file-name
                </associatedArgument>
            </option>

            <option id="interface" maxOccurs="1">
                <annotation>Specify the interface name within idl to use during fast track process.
                <switch>interface
                <associatedArgument placement="afterSpace">
                    <annotation>interface-name
                </associatedArgument>
            </option>


            <option id="qualified" maxOccurs="1">
                <annotation>Generate qualified wsdl contract
                <switch>qualified
            </option>

            <option id="inline" maxOccurs="1">
                <annotation>In-line imported schema
                <switch>inline
            </option>
            
            <option id="encoding" maxOccurs="1">
                <annotation>Use specified encoding as the value of the generated WSDL xml encoding attribute.
                    Defaults to UTF-8.</annotation>
                <switch>e
                <associatedArgument placement="afterSpace">
                    <annotation>xml-encoding-type
                </associatedArgument>
            </option>

        </optionGroup>

	<optionGroup id="common_options">
	    <option id="help" maxOccurs="1">
		<annotation>Display detailed information for options.
		<switch>h
		<switch>?
		<switch>help
	    </option>
	    
	    <option id="version">
		<annotation>Display the version of the tool.
		<switch>v
	    </option>

	    <option id="verbose">
		<annotation>Verbose mode
		<switch>verbose
		<switch>V
	    </option>

	    <option id="quiet">
		<annotation>Quiet mode
		<switch>quiet
		<switch>q
	    </option>


	</optionGroup>

        <argument id="idl" minOccurs="1" maxOccurs="1">
            <annotation>idl-file-name
        </argument>
    </usage>



</toolspec>

Other Apache CXF examples (source code examples)

Here is a short list of links related to this Apache CXF idl2wsdl.xml 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.