blob: b28b73afbe12c7f868c1c53f4e32f27cd60cbe02 [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, 2008 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, 2008" />
<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="Importing a WSDL file" />
<meta name="abstract" content="You can import WSDL files into the workbench and open them in the WSDL editor. Opening them in the WSDL editor provides you with an opportunity to have a structured viewing of the WSDL file." />
<meta name="description" content="You can import WSDL files into the workbench and open them in the WSDL editor. Opening them in the WSDL editor provides you with an opportunity to have a structured viewing of the WSDL file." />
<meta content="WSDL files, importing, Web services, importing WSDL files" name="DC.subject" />
<meta content="WSDL files, importing, Web services, importing WSDL files" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../../org.eclipse.jst.ws.doc.user/concepts/cwsdl.html" />
<meta scheme="URI" name="DC.Relation" content="../concepts/cwsdled.html" />
<meta scheme="URI" name="DC.Relation" content="tcrtwsdl.html" />
<meta scheme="URI" name="DC.Relation" content="tedtwsdl.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="timpwsdl" 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>Importing WSDL files</title>
</head>
<body id="timpwsdl"><a name="timpwsdl"><!-- --></a>
<h1 class="topictitle1">Importing a WSDL file</h1>
<div><p>You can import WSDL files into the workbench and open them in the
WSDL editor. Opening them in the WSDL editor provides you with an opportunity
to have a structured viewing of the WSDL file.</p>
<div class="section"><p>The Web Service wizard assists you in creating a new Web service
from a WSDL file. You must first create or import a WSDL file. A WSDL file
can be created using the WSDL editor. This is described in: <a href="../tasks/tcrtwsdl.html">Creating a new WSDL file</a>. To import a WSDL file follow
the instructions below.</p>
<p> <span class="uicontrol">Prerequisite:</span> Create
a project. It is recommend that you create a Web project so that the WSDL
can be easily used to generate additional artifacts and deployed.</p>
<p>For
more information on creating a Web project, refer to the Web application development
documentation.</p>
<p>To import a WSDL file to your Web project, complete the
following steps:</p>
</div>
<ol>
<li class="stepexpand"><span>Select your project in the Java EE Navigator pane, and from the <span class="uicontrol">File</span> menu,
select <span class="uicontrol">Import</span>.</span></li>
<li class="stepexpand"><span>Select <span class="menucascade"><span class="uicontrol">General</span> &gt; <span class="uicontrol">File
System</span></span> and click <span class="uicontrol">Next</span>.</span>
</li>
<li class="stepexpand"><span>Click <span class="uicontrol">Browse</span> on the next page of the wizard
to select the directories from which you would like to add the WSDL.</span>
</li>
<li class="stepexpand"><span>In the import selection panes, use the following methods to select
exactly the resources you want to add: </span> <ul>
<li>Expand the hierarchies in the left pane and select or clear the checkboxes
that represent the folders in the selected directory. Then in the right pane,
select or clear check boxes for individual files.</li>
<li>Click <span class="uicontrol">Filter Types</span> to filter the current selection
for files of a specific type.</li>
<li>Click <span class="uicontrol">Select All</span> to select all resources in the
directory, then go through and deselect the ones that you do not want to add.</li>
<li>Click <span class="uicontrol">Deselect All</span> to deselect all resources in
the directory, then go through and choose individual resources to add.</li>
</ul>
</li>
<li class="stepexpand"><span>Specify the Workbench project or folder that will be the import
destination.</span></li>
<li class="stepexpand"><span>When you have finished specifying your import options, click <span class="uicontrol">Finish.</span></span>
</li>
</ol>
<div class="section"><p>Alternately, you can import a WSDL file using the WSDL Explorer.
For more information, refer to: <a href="../../org.eclipse.jst.ws.consumption.ui.doc.user/tasks/twsdlexp.html">Using the WSDL Explorer</a>. </p>
</div>
</div>
<div>
<div class="linklist"><strong>Related concepts</strong><br />
<div><a href="../../org.eclipse.jst.ws.doc.user/concepts/cwsdl.html">WSDL</a></div>
<div><a href="../concepts/cwsdled.html" title="The WSDL editor allows you to easily and graphically create, modify, view, and validate WSDL files.">Editing WSDL files with the WSDL Editor</a></div></div>
<div class="linklist"><strong>Related tasks</strong><br />
<div><a href="tcrtwsdl.html" title="You can create a new, empty WSDL file, then edit it using the WSDL editor.">Creating a new WSDL file</a></div>
<div><a href="tedtwsdl.html" title="Once you have created a WSDL file, you can edit it in the WSDL editor. You can also import WSDL files you have created into the workbench and edit them in the WSDL editor.">Editing WSDL files</a></div></div>
</div>
</body>
</html>