cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache CXF Documentation > IDL to WSDL
Date Tue, 16 Nov 2010 02:03:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/1/_/styles/combined.css?spaceKey=CXF20DOC&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/CXF20DOC/IDL+to+WSDL">IDL
to WSDL</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~gliesian">Robert
Liguori</a>
    </h4>
        <br/>
                         <h4>Changes (32)</h4>
                                 
    
<div id="page-diffs">
            <table class="diff" cellpadding="0" cellspacing="0">
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" > <br>{noformat} <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">
   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;     <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">
   idltowsdl -I &lt;idl-include-directory&gt;* -o &lt;output-directory&gt;
-a &lt;corba-address&gt; -b -f &lt;corba-address-file&gt;  <br>-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  <br>target-namespace&gt; -L &lt;logical-wsdl-filename&gt;
-P &lt;physical-wsdl-filename&gt; -T &lt;schema-file-name&gt; -qualified 
<br>-e &lt;xml-encoding-type&gt; -mns&lt;Customize the mapping of idl modules&gt;
-ow &lt;wsdloutput-file&gt; -ex&lt;Specify the  <br>modules to exclude&gt;
-pf -h -v -verbose -quiet &lt;idl&gt;     <br></td></tr>
            <tr><td class="diff-unchanged" >{noformat} <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" > <br>||Option||Interpretation||
<br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-changed-words"><span
class="diff-added-chars"style="background-color: #dfd;">|</span>-I &lt;idl-include-directory&gt;*<span
class="diff-added-chars"style="background-color: #dfd;">|Specify a directory to be included
in the search path for the IDL preprocessor.|</span></span> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">
                    Specify a directory to be included in the search path for <br> 
                   the IDL preprocessor. <br> <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-changed-words"><span
class="diff-added-chars"style="background-color: #dfd;">|</span>-o &lt;output-directory&gt;<span
class="diff-added-chars"style="background-color: #dfd;">|The wsdl output directory.|</span></span>
<br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">
                    The wsdl output directory. <br> <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-changed-words"><span
class="diff-added-chars"style="background-color: #dfd;">|</span>-a &lt;corba-address&gt;<span
class="diff-added-chars"style="background-color: #dfd;">|Specify the value to be used for
the corba:address location         attribute.|</span></span> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">
                    Specify the value to be used for the corba:address location <br>
                    attribute. <br> <br>   -b                Treat bounded strings
as unbounded. <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">|-b|Treat
bounded strings as unbounded.| <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-changed-words"><span
class="diff-added-chars"style="background-color: #dfd;">|</span>-f &lt;corba-address-file&gt;<span
class="diff-added-chars"style="background-color: #dfd;">|Use the contents of file as the
value for the corba:address     locationattribute.|</span></span> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">
                    Use the contents of file as the value for the corba:address <br>
                    locationattribute. <br> <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-changed-words"><span
class="diff-added-chars"style="background-color: #dfd;">|</span>-n &lt;schema-import-file&gt;<span
class="diff-added-chars"style="background-color: #dfd;">|Do not generate schema types,
but instead import them from file.|</span></span> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">
                    Do not generate schema types, but instead import them from <br>
                    file. <br> <br>   -s &lt;idl-sequence-type&gt; <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-changed-words"><span
class="diff-added-chars"style="background-color: #dfd;">|-s &lt;idl-sequence-type&gt;|</span>Specify</span>
the XML Schema type used for the IDL sequence octet <span class="diff-added-words"style="background-color:
#dfd;">type.| Valid option values for type are base64Binary and hexBinary. The default
is base64Binary.|</span> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">
                    type. Valid option values for type are base64Binary and <br>   
                 hexBinary. The default is base64Binary. <br> <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-changed-words"><span
class="diff-added-chars"style="background-color: #dfd;">|</span>-w &lt;target-namespace&gt;<span
class="diff-added-chars"style="background-color: #dfd;">|Specify the target namespace to
use in the wsdl.|</span></span> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">|-x
&lt;schema-namespace&gt;|Specify the schema namespace to use in the wsdl.| <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-changed-words"><span
class="diff-added-chars"style="background-color: #dfd;">|-t &lt;corba-type-map target-namespace&gt;|</span>Specify</span>
the <span class="diff-added-words"style="background-color: #dfd;">corba type map</span>
target namespace to use in the <span class="diff-changed-words">wsdl.<span class="diff-added-chars"style="background-color:
#dfd;">|</span></span> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">
<br>   -x &lt;schema-namespace&gt; <br>                     Specify the
schema namespace to use in the wsdl. <br> <br>   -t &lt;corba-type-map target-namespace&gt;
<br>                     Specify the corba type map target namespace to use in the <br>
                    wsdl. <br> <br>   -L &lt;logical-wsdl-filename&gt;
<br>                     Split the generated WSDL into two files. The logical <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-added-words"style="background-color:
#dfd;">|-L &lt;logical-wsdl-filename&gt;| Split the generated WSDL into two files.
The logical       </span> portion of the WSDL is generated into the specified file.
<span class="diff-added-words"style="background-color: #dfd;">The physical portion is
generated into the default output file, unless -P is also used.|</span> <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-added-words"style="background-color:
#dfd;">|-P &lt;physical-wsdl-filename&gt;|Split the generated WSDL into two files.</span>
The physical <span class="diff-added-words"style="background-color: #dfd;">    </span>
portion <span class="diff-added-words"style="background-color: #dfd;">of the WSDL</span>
is generated into <span class="diff-added-words"style="background-color: #dfd;">specified
file. The logical portion is generated into</span> the default output <span class="diff-added-words"style="background-color:
#dfd;">file, unless -L is also used.|</span> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">
                    file, unless -P is also used. <br> <br>   -P &lt;physical-wsdl-filename&gt;
<br>                     Split the generated WSDL into two files. The physical <br>
                    portion of the WSDL is generated into specified file. The <br> 
                   logical portion is generated into the default output file, <br> 
                   unless -L is also used. <br> <br>   -T &lt;schema-file-name&gt;
<br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-changed-words"><span
class="diff-added-chars"style="background-color: #dfd;">|-T &lt;schema-file-name&gt;|</span>Generate</span>
schema types into the specified file. The file is <span class="diff-added-words"style="background-color:
#dfd;">     then imported back into the logical portion of the generated WSDL. This option
cannot be used with -n.|</span> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">
                    then imported back into the logical portion of the <br>        
            generated WSDL. This option cannot be used with -n. <br> <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">-qualified
       Generate</span> <span class="diff-added-words"style="background-color: #dfd;">|-qualified|Generate</span>
qualified wsdl <span class="diff-changed-words">contract<span class="diff-added-chars"style="background-color:
#dfd;">|</span></span> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">
<br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-changed-words"><span
class="diff-added-chars"style="background-color: #dfd;">|</span>-e &lt;xml-encoding-type&gt;<span
class="diff-added-chars"style="background-color: #dfd;">|Use specified encoding as the
value of the generated WSDL xml encoding attribute. Defaults to UTF-8.|</span></span>
<br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">
                    Use specified encoding as the value of the generated WSDL <br> 
                   xml encoding attribute. Defaults to UTF-8. <br> <br></td></tr>
            <tr><td class="diff-unchanged" >|-mns&lt;Customize the mapping
of idl modules&gt; <br></td></tr>
            <tr><td class="diff-unchanged" >                     Map the IDL module
to namespace <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">|-ow
&lt;wsdloutput-file&gt;|The wsdl output file name| <br>|-ex&lt;Specify the
modules to exclude&gt;|Exclude the idl modules from generation| <br>|-pf|Support
for polymorphic factories <br>|-h|Display detailed information for options.| <br>|-v|Display
the version of the tool.| <br>|-verbose|Verbose mode| <br>|-quiet|Quiet mode|
<br>|&lt;idl&gt;|idl-file-name| <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">
  -ow &lt;wsdloutput-file&gt; <br>                     The wsdl output file
name <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">
  -ex&lt;Specify the modules to exclude&gt; <br>                     Exclude
the idl modules from generation <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">
  -pf               Support for polymorphic factories <br> <br>   -h         
      Display detailed information for options. <br> <br>   -v               
Display the version of the tool. <br> <br>   -verbose          Verbose mode <br>
<br>   -quiet            Quiet mode <br> <br>   &lt;idl&gt;    
        idl-file-name <br> <br> <br> <br></td></tr>
            <tr><td class="diff-unchanged" >h3. Examples <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h2><a name="IDLtoWSDL-IDLtoWSDL"></a>IDL to WSDL</h2>

<h3><a name="IDLtoWSDL-Name"></a>Name</h3>

<p><tt>idl2wsdl</tt> - </p>

<h3><a name="IDLtoWSDL-Synopsis"></a>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><a name="IDLtoWSDL-Description"></a>Description</h3>

<h3><a name="IDLtoWSDL-Options"></a>Options</h3>

<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Option</th>
<th class='confluenceTh'>Interpretation</th>
</tr>
<tr>
<td class='confluenceTd'>-I &lt;idl-include-directory&gt;*</td>
<td class='confluenceTd'>Specify a directory to be included in the search path for the
IDL preprocessor.</td>
</tr>
<tr>
<td class='confluenceTd'>-o &lt;output-directory&gt;</td>
<td class='confluenceTd'>The wsdl output directory.</td>
</tr>
<tr>
<td class='confluenceTd'>-a &lt;corba-address&gt;</td>
<td class='confluenceTd'>Specify the value to be used for the corba:address location
        attribute.</td>
</tr>
<tr>
<td class='confluenceTd'>-b</td>
<td class='confluenceTd'>Treat bounded strings as unbounded.</td>
</tr>
<tr>
<td class='confluenceTd'>-f &lt;corba-address-file&gt;</td>
<td class='confluenceTd'>Use the contents of file as the value for the corba:address
    locationattribute.</td>
</tr>
<tr>
<td class='confluenceTd'>-n &lt;schema-import-file&gt;</td>
<td class='confluenceTd'>Do not generate schema types, but instead import them from
file.</td>
</tr>
<tr>
<td class='confluenceTd'>-s &lt;idl-sequence-type&gt;</td>
<td class='confluenceTd'>Specify the XML Schema type used for the IDL sequence octet
type.</td>
<td class='confluenceTd'> Valid option values for type are base64Binary and hexBinary.
The default is base64Binary.</td>
</tr>
<tr>
<td class='confluenceTd'>-w &lt;target-namespace&gt;</td>
<td class='confluenceTd'>Specify the target namespace to use in the wsdl.</td>
</tr>
<tr>
<td class='confluenceTd'>-x &lt;schema-namespace&gt;</td>
<td class='confluenceTd'>Specify the schema namespace to use in the wsdl.</td>
</tr>
<tr>
<td class='confluenceTd'>-t &lt;corba-type-map target-namespace&gt;</td>
<td class='confluenceTd'>Specify the corba type map target namespace to use in the wsdl.</td>
</tr>
<tr>
<td class='confluenceTd'>-L &lt;logical-wsdl-filename&gt;</td>
<td class='confluenceTd'> 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.</td>
</tr>
<tr>
<td class='confluenceTd'>-P &lt;physical-wsdl-filename&gt;</td>
<td class='confluenceTd'>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.</td>
</tr>
<tr>
<td class='confluenceTd'>-T &lt;schema-file-name&gt;</td>
<td class='confluenceTd'>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.</td>
</tr>
<tr>
<td class='confluenceTd'>-qualified</td>
<td class='confluenceTd'>Generate qualified wsdl contract</td>
</tr>
<tr>
<td class='confluenceTd'>-e &lt;xml-encoding-type&gt;</td>
<td class='confluenceTd'>Use specified encoding as the value of the generated WSDL xml
encoding attribute. Defaults to UTF-8.</td>
</tr>
<tr>
<td class='confluenceTd'>-mns&lt;Customize the mapping of idl modules&gt;<br/>
                     Map the IDL module to namespace</td>
</tr>
<tr>
<td class='confluenceTd'>-ow &lt;wsdloutput-file&gt;</td>
<td class='confluenceTd'>The wsdl output file name</td>
</tr>
<tr>
<td class='confluenceTd'>-ex&lt;Specify the modules to exclude&gt;</td>
<td class='confluenceTd'>Exclude the idl modules from generation</td>
</tr>
<tr>
<td class='confluenceTd'>-pf</td>
<td class='confluenceTd'>Support for polymorphic factories</td>
</tr>
<tr>
<td class='confluenceTd'>-h</td>
<td class='confluenceTd'>Display detailed information for options.</td>
</tr>
<tr>
<td class='confluenceTd'>-v</td>
<td class='confluenceTd'>Display the version of the tool.</td>
</tr>
<tr>
<td class='confluenceTd'>-verbose</td>
<td class='confluenceTd'>Verbose mode</td>
</tr>
<tr>
<td class='confluenceTd'>-quiet</td>
<td class='confluenceTd'>Quiet mode</td>
</tr>
<tr>
<td class='confluenceTd'>&lt;idl&gt;</td>
<td class='confluenceTd'>idl-file-name</td>
</tr>
</tbody></table>
</div>




<h3><a name="IDLtoWSDL-Examples"></a>Examples</h3>

<h3><a name="IDLtoWSDL-SeeAlso"></a>See Also</h3>

<p><a href="/confluence/display/CXF20DOC/Java+to+Javascript" title="Java to Javascript"><tt>java2js</tt></a>,
<a href="/confluence/display/CXF20DOC/Java+to+WS" title="Java to WS"><tt>java2ws</tt></a>,
<a href="/confluence/display/CXF20DOC/WSDL+to+CORBA" title="WSDL to CORBA"><tt>wsdl2corba</tt></a>,
<a href="/confluence/display/CXF20DOC/WSDL+to+Java" title="WSDL to Java"><tt>wsdl2java</tt></a>,
<a href="/confluence/display/CXF20DOC/WSDL+to+Javascript" title="WSDL to Javascript"><tt>wsdl2js</tt></a>,
<a href="/confluence/display/CXF20DOC/WSDL+to+Service" title="WSDL to Service"><tt>wsdl2service</tt></a>,
<a href="/confluence/display/CXF20DOC/WSDL+to+SOAP" title="WSDL to SOAP"><tt>wsdl2soap</tt></a>,
<a href="/confluence/display/CXF20DOC/WSDL+to+XML" title="WSDL to XML"><tt>wsdl2xml</tt></a>,
<a href="/confluence/display/CXF20DOC/WSDLValidator" title="WSDLValidator"><tt>wsdlvalidator</tt></a>
and <a href="/confluence/display/CXF20DOC/XSD+to+WSDL" title="XSD to WSDL">xsd2wsdl</!
 a>.</p>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/CXF20DOC/IDL+to+WSDL">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=24186617&revisedVersion=9&originalVersion=8">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/CXF20DOC/IDL+to+WSDL?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message