| <?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="(C) Copyright 2005" /> |
| <meta name="DC.rights.owner" content="(C) Copyright 2005" /> |
| <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 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/commonltr.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> |
| <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>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> |
| <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:</p> |
| </div> |
| |
| <ol> |
| <li class="stepexpand"><span>Select your project in the J2EE 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="uicontrol">File System</span> and click <span class="uicontrol">Next</span>.</span> |
| </li> |
| |
| <li class="stepexpand"><span>Click the <span class="uicontrol">Browse</span> button 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 checkboxes 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>After you have imported a WSDL file into the workbench and opened |
| it in the WSDL editor, you can edit it.</p> |
| <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 class="section"><strong>Known limitation when importing WSDL:</strong> On some Windows<sup>®</sup> systems, |
| the "Import to File System" operation may result in saving the HTML file rather |
| than the desired WSDL files. The workaround and fix for this problem is documented |
| in Microsoft<sup>®</sup> Knowledge |
| Base article Q281119. A dialog box may ask if you want to save "WSDLFileDownloader", |
| the message is incorrect and does not affect the actual name of the file saved. |
| If the file extension displays XML when selecting the save location for the |
| WSDL document, ignore the incorrect extension and continue the save. The file |
| will be saved with the WSDL extension.</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> |