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

Apache CXF example source code file (wsdl2idl.xml)

This example Apache CXF source code file (wsdl2idl.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, conditions, greetporttype, is, license, license, of, see, see, software, the, the

The Apache CXF wsdl2idl.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 :
        wsdltoidl HelloWorld.wsdl
        wsdltoidl -corba -i GreetPortType -o Greeting.wsdl TestGreeting.wsdl
        wsdltoidl -idl -b TestBinding Test.wsdl
  </annotation>

  <usage>

    <optionGroup id="options">

      <option id="corba" maxOccurs="1">
        <annotation>Generates CORBA Binding.
        <switch>corba
      </option>

      <option id="idl" maxOccurs="1">
        <annotation>Generates a idl from a wsdl.
        <switch>idl
      </option>

      <option id="porttype" maxOccurs="1">
        <annotation>Specify the portType to use.
        <switch>i
        <associatedArgument placement="afterSpace">
          <annotation>port-type-name
        </associatedArgument>
      </option>

      <option id="binding" maxOccurs="1">
        <annotation>Specify the binding to use.
        <switch>b
        <associatedArgument placement="afterSpace">
          <annotation>binding-name
        </associatedArgument>
      </option>

      <option id="outputdir" maxOccurs="1">
        <annotation>The directory in which the generated wsdl/idl is placed
        <switch>d
        <associatedArgument placement="afterSpace">
          <annotation>output-directory
        </associatedArgument>
      </option>
      
      <option id="outputfile" maxOccurs="2">
        <annotation>The wsdl/idl output file name.(can be specified twice)
        <switch>o
        <associatedArgument placement="afterSpace">
          <annotation>output-file
        </associatedArgument>
      </option>

      <option id="namespace" maxOccurs="1">
        <annotation>The corba type-map namespace.
        <switch>props
        <associatedArgument placement="afterSpace">
          <annotation>corba-typemap-namespace
        </associatedArgument>
      </option>

     <option id="wrapped" maxOccurs="1">
      <annotation>Generate corba binding operation using wrapper types instead of unwrapping into separa
te parameters.</annotation>
      <switch>wrapped
    </option>

    <option id="license" maxOccurs="1">
        <annotation>Specify the license file
        <switch>L
        <associatedArgument placement="afterSpace">
          <annotation>license-file
        </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="wsdlurl" minOccurs="1" maxOccurs="1">
       <annotation>WSDL URL
    </argument>
  </usage>

</toolspec>

Other Apache CXF examples (source code examples)

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