blob: e7141e90c752eaec64ad70ce29ff0e2dde8faa2b [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
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.
-->
<html>
<head>
<link type="text/css" rel="stylesheet" href="/resources/site.css">
<script src='/resources/space.js'></script>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
<meta name="description" content="Apache CXF, Services Framework - IDL to WSDL">
<title>
Apache CXF -- IDL to WSDL
</title>
</head>
<body onload="init()">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td id="cell-0-0" colspan="2">&nbsp;</td>
<td id="cell-0-1">&nbsp;</td>
<td id="cell-0-2" colspan="2">&nbsp;</td>
</tr>
<tr>
<td id="cell-1-0">&nbsp;</td>
<td id="cell-1-1">&nbsp;</td>
<td id="cell-1-2">
<!-- Banner -->
<div class="banner" id="banner"><div><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
<a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
</td><td align="right" colspan="1" nowrap>
<a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
</td></tr></table></div></div>
<!-- Banner -->
<div id="top-menu">
<table border="0" cellpadding="1" cellspacing="0" width="100%">
<tr>
<td>
<div align="left">
<!-- Breadcrumbs -->
<a href="index.html">Index</a>&nbsp;&gt;&nbsp;<a href="tools.html">Tools</a>&nbsp;&gt;&nbsp;<a href="idl-to-wsdl.html">IDL to WSDL</a>
<!-- Breadcrumbs -->
</div>
</td>
<td>
<div align="right">
<!-- Quicklinks -->
<div id="quicklinks"><p><a shape="rect" href="http://cxf.apache.org/download.html">Download</a> | <a shape="rect" href="http://cxf.apache.org/docs/index.html">Documentation</a></p></div>
<!-- Quicklinks -->
</div>
</td>
</tr>
</table>
</div>
</td>
<td id="cell-1-3">&nbsp;</td>
<td id="cell-1-4">&nbsp;</td>
</tr>
<tr>
<td id="cell-2-0" colspan="2">&nbsp;</td>
<td id="cell-2-1">
<table>
<tr valign="top">
<td height="100%">
<div id="wrapper-menu-page-right">
<div id="wrapper-menu-page-top">
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
<!-- NavigationBar -->
<div id="navigation"><ul class="alternate"><li><a shape="rect" href="overview.html">Overview</a></li><li><a shape="rect" href="how-tos.html">How-Tos</a></li><li><a shape="rect" href="frontends.html">Frontends</a></li><li><a shape="rect" href="databindings.html">DataBindings</a></li><li><a shape="rect" href="transports.html">Transports</a></li><li><a shape="rect" href="configuration.html">Configuration</a></li><li><a shape="rect" href="debugging-and-logging.html">Debugging and Logging</a></li><li><a shape="rect" href="tools.html">Tools</a></li><li><a shape="rect" href="restful-services.html">RESTful Services</a></li><li><a shape="rect" href="wsdl-bindings.html">WSDL Bindings</a></li><li><a shape="rect" href="service-routing.html">Service Routing</a></li><li><a shape="rect" href="dynamic-languages.html">Dynamic Languages</a></li><li><a shape="rect" href="ws-support.html">WS-* Support</a></li><li><a shape="rect" href="advanced-integration.html">Advanced Integration</a></li><li><a shape="rect" href="deployment.html">Deployment</a></li><li><a shape="rect" href="schemas-and-namespaces.html">Use of Schemas and Namespaces</a></li></ul><hr><ul class="alternate"><li><p>Search</p></li></ul><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
<div>
<input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" size="21">
<input type="submit" name="sa" value="Search">
</div>
</form>
<script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&amp;lang=en"></script><hr><ul class="alternate"><li><a shape="rect" href="http://cxf.apache.org/javadoc/latest/">API 3.2.x (Javadoc)</a></li><li><a shape="rect" href="http://cxf.apache.org/javadoc/latest-3.1.x/">API 3.1.x (Javadoc)</a></li><li><a shape="rect" href="http://cxf.apache.org/">CXF Website</a></li></ul><p>&#160;</p><p><a shape="rect" class="external-link" href="http://www.apache.org/events/current-event.html"><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image confluence-external-resource" src="http://www.apache.org/events/current-event-125x125.png" data-image-src="http://www.apache.org/events/current-event-125x125.png"></span></a></p></div>
<!-- NavigationBar -->
</div>
</div>
</div>
</div>
</td>
<td height="100%">
<!-- Content -->
<div class="wiki-content">
<div id="ConfluenceContent"><h2 id="IDLtoWSDL-IDLtoWSDL">IDL to WSDL</h2>
<h3 id="IDLtoWSDL-Name">Name</h3>
<p><code>idl2wsdl</code> - </p>
<h3 id="IDLtoWSDL-Synopsis">Synopsis</h3>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>idltowsdl -I &lt;idl-include-directory&gt;* -o &lt;output-directory&gt; -a &lt;corba-address&gt; -b -f &lt;corba-address-file&gt;
-n &lt;schema-import-file&gt; -s &lt;idl-sequence-type&gt; -w &lt;target-namespace&gt; -x &lt;schema-namespace&gt; -t &lt;corba-type-map
target-namespace&gt; -L &lt;logical-wsdl-filename&gt; -P &lt;physical-wsdl-filename&gt; -T &lt;schema-file-name&gt; -qualified
-e &lt;xml-encoding-type&gt; -mns&lt;Customize the mapping of idl modules&gt; -ow &lt;wsdloutput-file&gt; -ex&lt;Specify the
modules to exclude&gt; -pf -h -v -verbose -quiet &lt;idl&gt;
</pre>
</div></div>
<h3 id="IDLtoWSDL-Description">Description</h3>
<p>...</p>
<h3 id="IDLtoWSDL-Options">Options</h3>
<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Option</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Interpretation</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-I &lt;idl-include-directory&gt;*</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Specify a directory to be included in the search path for the IDL preprocessor.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-o &lt;output-directory&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The wsdl output directory.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-a &lt;corba-address&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Specify the value to be used for the corba:address location attribute.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-b</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Treat bounded strings as unbounded.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-f &lt;corba-address-file&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Use the contents of file as the value for the corba:address locationattribute.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-n &lt;schema-import-file&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Do not generate schema types, but instead import them from file.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-s &lt;idl-sequence-type&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>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.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-w &lt;target-namespace&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Specify the target namespace to use in the wsdl.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-x &lt;schema-namespace&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Specify the schema namespace to use in the wsdl.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-t &lt;corba-type-map target-namespace&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Specify the corba type map target namespace to use in the wsdl.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-L &lt;logical-wsdl-filename&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 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.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-P &lt;physical-wsdl-filename&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>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.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-T &lt;schema-file-name&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>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.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-qualified</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Generate qualified wsdl contract</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-e &lt;xml-encoding-type&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Use specified encoding as the value of the generated WSDL xml encoding attribute. Defaults to UTF-8.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-mns&lt;Customize the mapping of idl modules&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Map the IDL module to namespace</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-ow &lt;wsdloutput-file&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The wsdl output file name</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-ex&lt;Specify the modules to exclude&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Exclude the idl modules from generation</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-pf</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Support for polymorphic factories</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-?,-h,-help</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Display detailed information for options.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-v</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Displays the version number of the tool.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-verbose</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Displays comments during the code generation process.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>-quiet</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Suppresses comments during the code generation process.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>&lt;idl&gt;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>idl-file-name</p></td></tr></tbody></table></div>
<h3 id="IDLtoWSDL-Examples">Examples</h3>
<p>...</p>
<h3 id="IDLtoWSDL-SeeAlso">See Also</h3>
<p><a shape="rect" href="java-to-javascript.html"><code>java2js</code></a>, <a shape="rect" href="java-to-ws.html"><code>java2ws</code></a>, <a shape="rect" href="wsdl-to-corba.html"><code>wsdl2corba</code></a>, <a shape="rect" href="wsdl-to-java.html"><code>wsdl2java</code></a>, <a shape="rect" href="wsdl-to-javascript.html"><code>wsdl2js</code></a>, <a shape="rect" href="wsdl-to-service.html"><code>wsdl2service</code></a>, <a shape="rect" href="wsdl-to-soap.html"><code>wsdl2soap</code></a>, <a shape="rect" href="wsdl-to-xml.html"><code>wsdl2xml</code></a>, <a shape="rect" href="wsdlvalidator.html"><code>wsdlvalidator</code></a> and <a shape="rect" href="xsd-to-wsdl.html"><code>xsd2wsdl</code></a>.</p></div>
</div>
<!-- Content -->
</td>
</tr>
</table>
</td>
<td id="cell-2-2" colspan="2">&nbsp;</td>
</tr>
<tr>
<td id="cell-3-0">&nbsp;</td>
<td id="cell-3-1">&nbsp;</td>
<td id="cell-3-2">
<div id="footer">
<!-- Footer -->
<div id="site-footer">
<a href="http://cxf.apache.org/privacy-policy.html">Privacy Policy</a> -
(<a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=24186617">edit page</a>)
(<a href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=24186617&amp;showComments=true&amp;showCommentArea=true#addcomment">add comment</a>)<br>
Apache CXF, CXF, Apache, the Apache feather logo are trademarks of The Apache Software Foundation.<br>
All other marks mentioned may be trademarks or registered trademarks of their respective owners.
</div>
<!-- Footer -->
</div>
</td>
<td id="cell-3-3">&nbsp;</td>
<td id="cell-3-4">&nbsp;</td>
</tr>
<tr>
<td id="cell-4-0" colspan="2">&nbsp;</td>
<td id="cell-4-1">&nbsp;</td>
<td id="cell-4-2" colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-4458903-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>