blob: ab114a48aa9804ae5555449fdff3de6c7924e8eb [file] [log] [blame]
<?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 content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2006 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" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2006" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="task" name="DC.Type" />
<meta name="DC.Title" content="Generating a WSIL file" />
<meta name="abstract" content="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." />
<meta name="description" content="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." />
<meta content="Web services, generating WSIL, WSIL, generating" name="DC.subject" />
<meta content="Web services, generating WSIL, WSIL, generating" name="keywords" />
<meta content="XHTML" name="DC.Format" />
<meta content="tgenwsil" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<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 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> &gt; <strong>WSIL &gt;
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>