Edit D:\app\Administrator\product\11.2.0\dbhome_1\apex\images\doc\advnc_web_invoke.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>Invoking a Web Service as a Process</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="Invoking a Web Service as a Process" /> <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_invoke.htm" title="Invoking a Web Service as a..." type="text/html" /> <link rel="prev" href="advnc_web_form.htm" title="Previous" type="text/html" /> <link rel="next" href="advnc_web_edt.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> > Invoking a Web Service as a...</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.htm"><img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="advnc_web_edt.htm"><img src="dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="BABBCIIJ" name="BABBCIIJ"></a></p> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h1><a name="HTMDB25899" id="HTMDB25899"></a>Invoking a Web Service as a <a id="sthref2273" name="sthref2273"></a>Process</h1> <p>You can also implement a Web service as a process on the page. Running the process submits the request to the service provider. You can then display the request results in report.</p> <p>To invoke a Web service as a process:</p> <ol> <li> <p>Create a 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">Blank Page</span>.</p> </li> <li> <p>When prompted to use tabs, select <span class="bold">No</span>.</p> </li> </ol> </li> <li> <p>Navigate to the Page Definition. See <a href="bldr_goto_pgdef.htm#CJGHCACC">"Accessing a Page Definition"</a>.</p> </li> <li> <p>Under Page Rendering, Processes, click the <span class="bold">Create</span> icon.</p> <p>The Create Page Processes <a id="sthref2274" name="sthref2274"></a><a id="sthref2275" name="sthref2275"></a>Wizard appears.</p> </li> <li> <p>From the process category, select <span class="bold">Web Services</span>.</p> </li> <li> <p>Specify a process name, sequence, and processing point.</p> </li> <li> <p>Select the Web service reference.</p> <p>If the Web reference was created from a WSDL, perform the following additional steps.</p> </li> <li> <p>Select the Web service reference and operation (that is, the method to be executed).</p> </li> <li> <p>Define the process. You can store the results in a collection or in items on the page by selecting options under Web Service Output Parameters.</p> <ol> <li> <p>To store the results in a collection:</p> <ul> <li> <p>For Store Result in, select <span class="bold">Collection</span>.</p> </li> <li> <p>Enter a name for the collection in the value field.</p> </li> </ul> </li> <li> <p>To store the results in items on the page:</p> <ul> <li> <p>For Store Result in, select <span class="bold">Items</span>.</p> </li> <li> <p>Enter the appropriate items value in the fields provided.</p> </li> </ul> </li> </ol> </li> <li> <p>Click <span class="bold">Create Process</span>.</p> </li> </ol> <div class="sect3"><!-- infolevel="all" infotype="General" --><a id="sthref2276" name="sthref2276"></a> <h2><a name="HTMDB25900" id="HTMDB25900"></a>Displaying Web Service Results in a Report</h2> <p>To create a report in which to display Web Service request results:</p> <ol> <li> <p>Navigate to the Page Definition. See <a href="bldr_goto_pgdef.htm#CJGHCACC">"Accessing a Page Definition"</a>.</p> </li> <li> <p>Under Regions, click the <span class="bold">Create</span> icon.</p> <p>The Create Region Wizard appears.</p> </li> <li> <p>For the region type, select <span class="bold">Report</span>.</p> </li> <li> <p>For the report implementation, select <span class="bold">Report on collection containing Web service result</span>.On Identify Region Attributes, enter a region title and optionally edit the region attributes.</p> </li> <li> <p>Choose whether the Web reference was created manually or from a WSDL.</p> </li> <li> <p>If the Web service reference was created from a WSDL:</p> <ol> <li> <p>For Web Service Reference and Operation, select a Web service reference and an operation (that is, the method to be executed).</p> </li> <li> <p>For Result Tree to Report On, select the portion of the resulting XML document that contains the information you want to include in the report.</p> </li> <li> <p>For Result Parameters:</p> <ul> <li> <p>In Temporary Result Set Name, enter a name for the collection that stores the Web service result.</p> </li> <li> <p>Select and deselect the appropriate parameters.</p> </li> </ul> </li> </ol> </li> <li> <p>If the Web service reference was created manually:</p> <ol> <li> <p>Select the Web service reference.</p> </li> <li> <p>Choose the SOAP style.</p> </li> <li> <p>Choose the message format.</p> </li> <li> <p>Enter the XPath expression to the node to report on.</p> </li> <li> <p>Enter the namespace for the SOAP response envelope and click Next.</p> </li> <li> <p>Enter the name of the collection where the response message is stored.</p> </li> <li> <p>Enter the names of the parameters that you want to be included in the report.</p> </li> </ol> </li> <li> <p>Click <span class="bold">Create SQL Report</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.htm"><img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="advnc_web_edt.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