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 > WSDL to SOAP
Date Mon, 15 Nov 2010 22:17: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/WSDL+to+SOAP">WSDL
to SOAP</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~dkulp">Daniel
Kulp</a>
    </h4>
        <br/>
                         <h4>Changes (1)</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" >h3. See Also <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >idl2wsdl, java2js, [java2ws|Java
To WS], wsdl2corba, [wsdl2java|WSDL To Java], [wsdl2js|WSDL To JavaScript], [wsdl2service|WSDL
To Service], [wsdl2xml|WSDL To XML], [wsdlvalidator|WSDLValidator] and [xsd2wsdl|XSD To <span
class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">XML].</span>
<span class="diff-added-words"style="background-color: #dfd;">WSDL].</span> <br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h2><a name="WSDLtoSOAP-WSDLtoSOAP"></a>WSDL to SOAP</h2>

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

<p><tt>wsdl2soap</tt> - generates a new WSDL document with a SOAP binding
from an existing WSDL document containing a <tt>portType</tt> element.</p>

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

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>wsdl2soap [[-?] |  [-help] |  [-h]] [-i &lt;port-type-name&gt;] [-b &lt;binding-name&gt;]
[-soap12] [-d &lt;output-directory&gt;] [-o &lt;output-file&gt;]
[-n &lt;soap-body-namespace&gt;] [-style (document/rpc)] [-use (literal/encoded)]
[-v] [[-verbose] | [-quiet]] wsdlurl
</pre>
</div></div>

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

<p><b>wsdl2soap</b> will generate a new WSDL document with a SOAP binding
from an existing WSDL document containing a <tt>portType</tt> element.</p>

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

<p>The options used to validate WSDL file are reviewed in the following table.</p>

<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Option</th>
<th class='confluenceTh'>Interpretation</th>
</tr>
<tr>
<td class='confluenceTd'> <tt>-?</tt>,<tt>-h</tt>,<tt>-help</tt>
</td>
<td class='confluenceTd'> Displays the online help for this utility and exits. </td>
</tr>
<tr>
<td class='confluenceTd'> -i </td>
<td class='confluenceTd'> Specifies the portType element for which a binding should
be generated. </td>
</tr>
<tr>
<td class='confluenceTd'> -b </td>
<td class='confluenceTd'> Specifies the name of the generated SOAP binding. </td>
</tr>
<tr>
<td class='confluenceTd'> -soap12 </td>
<td class='confluenceTd'> Specifies that the generated binding will use SOAP 1.2. </td>
</tr>
<tr>
<td class='confluenceTd'> -d </td>
<td class='confluenceTd'> Specifies the directory to place generated WSDL file. </td>
</tr>
<tr>
<td class='confluenceTd'> -o </td>
<td class='confluenceTd'> Specifies the name of the generated WSDL file. </td>
</tr>
<tr>
<td class='confluenceTd'> -n </td>
<td class='confluenceTd'> Specifies the SOAP body namespace when the style is RPC. </td>
</tr>
<tr>
<td class='confluenceTd'> -style (document/rpc) </td>
<td class='confluenceTd'> Specifies the encoding style (document or RPC) to use in the
SOAP binding. The default is document. </td>
</tr>
<tr>
<td class='confluenceTd'> -use (literal/encoded) </td>
<td class='confluenceTd'> Specifies the binding use (encoded or literal) to use in the
SOAP binding. The default is literal. </td>
</tr>
<tr>
<td class='confluenceTd'> -v </td>
<td class='confluenceTd'> Displays the version number for the tool. </td>
</tr>
<tr>
<td class='confluenceTd'> -verbose </td>
<td class='confluenceTd'> Displays comments during the code generation process. </td>
</tr>
<tr>
<td class='confluenceTd'> -quiet </td>
<td class='confluenceTd'> Suppresses comments during the code generation process. </td>
</tr>
<tr>
<td class='confluenceTd'> wsdlurl </td>
<td class='confluenceTd'> The path and name of the WSDL file containing the portType
element definition. </td>
</tr>
</tbody></table>
</div>

<p>The <tt>-i port-type-name</tt> and <tt>wsdlurl</tt> arguments
are required. If the <tt>-style rpc</tt> argument is specified, the <tt>-nsoap-body-namspace</tt>
argument is also required. All other arguments are optional and may be listed in any order.</p>

<h3><a name="WSDLtoSOAP-Example"></a>Example</h3>

<p><tt>wsdl2soap -i GreetPortType -n <a href="http://apache.org/hello_world_doc_lit"
class="external-link" rel="nofollow">http://apache.org/hello_world_doc_lit</a> -o
Greeting.wsdl -style rpc -use literal TestGreeting.wsdl</tt></p>

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

<p>idl2wsdl, java2js, <a href="/confluence/display/CXF20DOC/Java+to+WS" title="Java
to WS">java2ws</a>, wsdl2corba, <a href="/confluence/display/CXF20DOC/WSDL+to+Java"
title="WSDL to Java">wsdl2java</a>, <a href="/confluence/display/CXF20DOC/WSDL+to+Javascript"
title="WSDL to Javascript">wsdl2js</a>, <a href="/confluence/display/CXF20DOC/WSDL+to+Service"
title="WSDL to Service">wsdl2service</a>, <a href="/confluence/display/CXF20DOC/WSDL+to+XML"
title="WSDL to XML">wsdl2xml</a>, <a href="/confluence/display/CXF20DOC/WSDLValidator"
title="WSDLValidator">wsdlvalidator</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/WSDL+to+SOAP">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=54083&revisedVersion=10&originalVersion=9">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/CXF20DOC/WSDL+to+SOAP?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message