Edit D:\app\Administrator\product\11.2.0\dbhome_1\apex\images\doc\advnc_web_form.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Creating a Form on a Web Service</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1" /> <meta name="date" content="2009-04-14T16:11:32Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Creating a Form on a Web Service" /> <meta name="relnum" content="Release 3.2" /> <meta name="partnum" content="E11947-01" /> <link rel="copyright" href="dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="up" href="preface.htm" title="Home" type="text/html" /> <link rel="up" href="advnc.htm" title="Advanced Programming Techni..." type="text/html" /> <link rel="up" href="advnc_web_services.htm" title="Implementing Web Services" type="text/html" /> <link rel="up" href="advnc_web_form.htm" title="Creating a Form on a Web Se..." type="text/html" /> <link rel="prev" href="advnc_web_form_rpt.htm" title="Previous" type="text/html" /> <link rel="next" href="advnc_web_invoke.htm" title="Next" type="text/html" /> </head> <body> <p id="BREADCRUMBING"><a href="preface.htm" title="Home">Home</a> > <a href="advnc.htm" title="Advanced Programming Techni...">Advanced Programming Techni...</a> > <a href="advnc_web_services.htm" title="Implementing Web Services">Implementing Web Services</a> > Creating a Form on a Web Se...</p> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="advnc_web_form_rpt.htm"><img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="advnc_web_invoke.htm"><img src="dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="BABIJADG" name="BABIJADG"></a></p> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h1><a name="HTMDB25896" id="HTMDB25896"></a>Creating a Form on a Web Service<a id="sthref2270" name="sthref2270"></a></h1> <p>The Create Form on Web Service Wizard creates a form and a submit button. You can execute this wizard after creating the Web service reference from a WSDL, or from the Page Definition.</p> <p>Use this wizard when you expect a scalar result from the Web service. A Web service that looks up a stock price is a good example because the input is a stock symbol and the output is the scalar value price.</p> <div class="sect3"><!-- infolevel="all" infotype="General" --><a id="sthref2271" name="sthref2271"></a> <h2><a name="HTMDB25897" id="HTMDB25897"></a>Creating a Form After Creating a Reference</h2> <p>To create a form after creating a Web Service Reference:</p> <ol> <li> <p>Create the Web service reference. See <a href="advnc_web_create.htm#BABEAIGH">"Creating a Web Service Reference Based on a WSDL"</a>.</p> </li> <li> <p>After the Web service references has been added, select <span class="bold">Create Form on Web Service</span>.</p> </li> <li> <p>For Choose Service and Operation:</p> <ol> <li> <p>Web Service Reference - Select the Web service reference.</p> </li> <li> <p>Operation - Select the method to be executed.</p> </li> </ol> </li> <li> <p>For Identify Page and Region Attributes, review the page and region attributes. If the page you specify does not exist, the wizard creates the page for you.</p> </li> <li> <p>For Items for Input Parameters:</p> <ol> <li> <p>Identify which items to add. To include an item, select <span class="bold">Yes</span> in the Create column. Otherwise, select <span class="bold">No</span>.</p> </li> <li> <p>If necessary, edit the item label.</p> </li> </ol> </li> <li> <p>For Items for Output Parameters:</p> <ol> <li> <p>Identify which items need to be added. To include an item, select <span class="bold">Yes</span> in the Create column. Otherwise, select <span class="bold">No</span>.</p> </li> <li> <p>If necessary, edit the item label.</p> </li> </ol> </li> <li> <p>If applicable, specify the Item Names and Item Labels for basic authentication.</p> <p>Note that this step only appears if basic authentication was specified for this Web service reference when it was created.</p> </li> <li> <p>Click <span class="bold">Finish</span>.</p> </li> </ol> </div> <!-- class="sect3" --> <div class="sect3"><!-- infolevel="all" infotype="General" --><a id="sthref2272" name="sthref2272"></a> <h2><a name="HTMDB25898" id="HTMDB25898"></a>Creating a Form by Adding a New Page</h2> <p>If you have an existing Web service reference created from a WSDL, you can create form by adding a new page.</p> <p>To create a form by adding a new page:</p> <ol> <li> <p>Create the Web service reference. See <a href="advnc_web_create.htm#BABEAIGH">"Creating a Web Service Reference Based on a WSDL"</a>.</p> </li> <li> <p>Create a new page. See <a href="bldapp_pg.htm#CHDEAJCI">"Managing Pages in an Application"</a>.</p> <p>In the Create Page Wizard:</p> <ol> <li> <p>Select <span class="bold">Form</span>.</p> </li> <li> <p>Select <span class="bold">Form on Web Service</span>.</p> </li> </ol> </li> <li> <p>For Web Service Reference and Operation, select the Web service reference and operation (that is, the method to be executed).</p> </li> <li> <p>For Identify Page and Region Attributes, review the page and region attributes. If the page you specify does not exist, the wizard creates the page for you.</p> </li> <li> <p>For Items for Input Parameters:</p> <ol> <li> <p>Identify which items need to be added. To include an item, select <span class="bold">Yes</span> in the Create column. Otherwise, select <span class="bold">No</span>.</p> </li> <li> <p>If applicable, specify the Item Names and Item Labels for basic authentication.</p> <p>Note that this step only appears if basic authentication was specified for this Web service reference when it was created.</p> </li> </ol> </li> <li> <p>For Items for Output Parameters:</p> <ol> <li> <p>Identify which items need to be added. To include an item, select <span class="bold">Yes</span> in the Create column. Otherwise, select <span class="bold">No</span>.</p> </li> <li> <p>If necessary, edit the item label.</p> </li> </ol> </li> <li> <p>Click <span class="bold">Finish</span>.</p> </li> </ol> </div> <!-- class="sect3" --></div> <!-- class="sect2" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2003, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="advnc_web_form_rpt.htm"><img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="advnc_web_invoke.htm"><img src="dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de