| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html lang="en-us" xml:lang="en-us"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| <!-- /******************************************************************************* |
| * Copyright (c) 2000, 2005 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ --> |
| <link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css" /> |
| <title>Generating a WSIL file</title> |
| </head> |
| <body id="tgenwsil"><a name="tgenwsil"><!-- --></a> |
| |
| <h1 class="topictitle1">Generating a WSIL file</h1> |
| <div><p>Web Services Inspection Language (WSIL) is a service discovery |
| mechanism that is an alternative to UDDI as well as complementary to UDDI. |
| WSIL can be generated at any point in the Web service development cycle once |
| the WSDL file for the Web service has been created.</p> |
| <div class="p"><strong>Prerequisites:</strong> In order to generate a WSIL file, you need to |
| know the URL to a WSDL file.</div> |
| <div class="section"><p>WSIL helps synchronize this process by maintaining references |
| to WSDL URLs. Web services tools that process WSDL documents - such as the |
| Web Service Client and Creation wizards - will accept a WSIL document as a |
| substitute for WSDL. This allows you to create a standardized WSDL reference |
| (WSIL) document in your project during Web service client generation, then |
| at a later time easily regenerate the client from that reference document. |
| No copies of the WSDL or WSDL URLs are required.</p> |
| <p>You can generate a |
| WSIL file from a pre-existing WSDL file or during Web service creation or |
| consumption.</p> |
| </div> |
| </div> |
| <div> |
| <div class="familylinks"> |
| <div class="parentlink"><strong>Parent topic:</strong> <a href="../tasks/tuddiexp.html" title="Through UDDI and WSIL, other applications can discover WSDL documents and bind with them to execute transactions or perform other business processes.">Publishing Web services and business entities</a></div> |
| </div> |
| </div><div class="nested1" xml:lang="en-us" id="d0e27"><a name="d0e27"><!-- --></a><h2 class="topictitle2">Generating a WSIL file though the import utility</h2> |
| <div><div class="section"><p>To generate a WSIL file through the import utility:</p> |
| </div> |
| <ol><li><span>Optional: Select the WSDL document for which you want to create |
| a WSIL file.</span></li> |
| <li><span>From the <strong>File</strong> menu, select <strong>Import</strong> > <strong>WSIL > |
| Next</strong>. The WSIL Import window opens.</span></li> |
| <li><span>If you have selected to perform step 1, the WSIL URI field should |
| be prefilled with the name of your WSDL file, where the extension has been |
| changed from <tt class="sysout">.wsdl</tt> to <tt class="sysout">.wsil</tt>. |
| The WSDL section should contain the URLs to the selected WSDL files. You can |
| also enter additional WSDL URLs. Alternately, you can browse to the location |
| of a WSIL file, or manually enter the location of the WSIL and WSDL files |
| in the appropriate locations.</span></li> |
| <li><span>Click Finish. A WSIL file will be generated in the specified location.</span></li> |
| </ol> |
| </div> |
| </div> |
| <div class="nested1" xml:lang="en-us" id="d0e62"><a name="d0e62"><!-- --></a><h2 class="topictitle2">Generating a WSIL file through the Web Services Explorer</h2> |
| <div><div class="section"><p>To generate a WSIL file through the Web Services Explorer:</p> |
| </div> |
| <ol><li><span>Open the Web Services Explorer.</span></li> |
| <li><span>Open the WSDL Explorer by clicking this icon: <img src="../images/wsdlicon.gif" alt="icon used to launch the web services explorer" /></span></li> |
| <li><span>Open a WSDL file.</span></li> |
| <li><span>Select the WSDL file that you have opened in the Navigator pane, |
| and from the available actions, choose to import a WSDL file to the workbench |
| by clicking this icon: <img src="../images/mptwsdlicon.gif" alt="icon used to import a file" /></span></li> |
| <li><span>Select <strong>Import as a service reference to a WSIL document</strong>.</span></li> |
| <li><span>Enter a name for the WSIL file that you want to generate, and click |
| <strong>Go</strong>.</span></li> |
| </ol> |
| </div> |
| </div> |
| </body> |
| </html> |