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 > Java to Javascript
Date Tue, 16 Nov 2010 01:43: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/Java+to+Javascript">Java
to Javascript</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~gliesian">Robert
Liguori</a>
    </h4>
        <br/>
                         <h4>Changes (3)</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;">
<br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">
  java2js -databinding &lt;jaxb or aegis&gt; -jsutils -o &lt;output-file&gt;
-d &lt;resource-directory&gt; -beans &lt;pathname of the bean definition file.&gt;*
-cp &lt;class-path&gt; -soap12 -h -v -verbose -quiet &lt;classname&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" >h3. Options <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">-databinding
&lt;jaxb or aegis&gt; <br>                     Specify the data binding (aegis
or jaxb). Default is jaxb <br>                     for jaxws frontend, and aegis for
simple frontend. <br> <br>   -jsutils          Write the JavaScript common utilities
at the beginning of <br>                     the output. <br> <br>   -o
&lt;output-file&gt;  Specify the output wsdl file name <br> <br>   -d
&lt;resource-directory&gt; <br>                     The directory in which the
output wsdl and other resource <br>                     files are placed <br>
<br>   -beans &lt;pathname of the bean definition file.&gt;* <br>    
                Specify the pathname of a file defining additional Spring <br>     
               beans to customize databinding configuration. <br> <br>   -cp &lt;class-path&gt;
 Specify the SEI and types class search path of directories <br>                   
 and zip/jar files <br> <br>   -soap12           Specify to generate SOAP 1.2
binding <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;classname&gt;       SEI class name <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="JavatoJavascript-JavatoJavascript"></a>Java to Javascript</h2>

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

<p><tt>java2js</tt> - </p>

<h3><a name="JavatoJavascript-Synopsis"></a>Synopsis</h3>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>   java2js -databinding &lt;jaxb or aegis&gt; -jsutils -o &lt;output-file&gt;
-d &lt;resource-directory&gt; -beans &lt;pathname of the bean definition file.&gt;*
-cp &lt;class-path&gt; -soap12 -h -v -verbose -quiet &lt;classname&gt; 
</pre>
</div></div>

<h3><a name="JavatoJavascript-Description"></a>Description</h3>

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

<p>-databinding &lt;jaxb or aegis&gt;<br/>
                     Specify the data binding (aegis or jaxb). Default is jaxb<br/>
                     for jaxws frontend, and aegis for simple frontend.</p>

<p>   -jsutils          Write the JavaScript common utilities at the beginning of<br/>
                     the output.</p>

<p>   -o &lt;output-file&gt;  Specify the output wsdl file name</p>

<p>   -d &lt;resource-directory&gt;<br/>
                     The directory in which the output wsdl and other resource<br/>
                     files are placed</p>

<p>   -beans &lt;pathname of the bean definition file.&gt;*<br/>
                     Specify the pathname of a file defining additional Spring<br/>
                     beans to customize databinding configuration.</p>

<p>   -cp &lt;class-path&gt;  Specify the SEI and types class search path of
directories<br/>
                     and zip/jar files</p>

<p>   -soap12           Specify to generate SOAP 1.2 binding</p>

<p>   -h                Display detailed information for options.</p>

<p>   -v                Display the version of the tool.</p>

<p>   -verbose          Verbose mode</p>

<p>   -quiet            Quiet mode</p>

<p>   &lt;classname&gt;       SEI class name</p>

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

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

<p><a href="/confluence/display/CXF20DOC/IDL+to+WSDL" title="IDL to WSDL"><tt>idl2wsdl</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/Java+to+Javascript">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=24186621&revisedVersion=4&originalVersion=3">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/CXF20DOC/Java+to+Javascript?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message