blob: 6270567aa003189ff1607950273fff472bc502d1 [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="(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="Editing WSDL files" />
<meta name="abstract" content="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." />
<meta name="description" content="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." />
<meta content="XHTML" name="DC.Format" />
<meta content="tedtwsdl" 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>Editing WSDL files</title>
</head>
<body id="tedtwsdl"><a name="tedtwsdl"><!-- --></a>
<h1 class="topictitle1">Editing WSDL files</h1>
<div><p>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.</p>
<div class="section"><p>To open a WSDL file in the WSDL editor, double-click it in the
Navigator view or right-click it and click <strong>Open With &gt; WSDL Editor.</strong></p>
</div>
</div>
<div class="nested1" id="editisourceview"><a name="editisourceview"><!-- --></a>
<h2 class="topictitle2">Editing in the Source view</h2>
<div>
<div class="section">To edit a WSDL file in the Source view, follow these steps:</div>
<ol>
<li><span>Open your WSDL file in the WSDL editor.</span></li>
<li><span>Click the <strong>Source</strong> tab.</span></li>
<li><span>Select the source code you want to edit.</span></li>
</ol>
<div class="section"><p>At any time, you can switch to the Source view to review the source
for the WSDL file. You can also edit your WSDL file directly in the Source
view.</p>
</div>
</div>
</div>
<div class="nested1" id="editeditview"><a name="editeditview"><!-- --></a>
<h2 class="topictitle2">Editing in the Graph view</h2>
<div>
<div class="section"><p>The Graph view provides a graphical way to browse and edit your
WSDL file. Each type of top level wsdl object is shown within a group (for
example service, port type, message). Within each group is a tree view that
can be used to browse the structure of the object. The service, binding, port
type and message groups are 'linked'. If for example we select an input in
the port types, we'll notice that the message that is referenced by this message
is scrolled into view in the messages group. A line displays to denote a reference
(or association) between these objects.</p>
<p> <br /><img src="../images/wsdleditor.gif" alt="Image of a WSDL file open in the WSDL editor" /><br /> </p>
</div>
</div>
</div>
<div class="nested1" id="showbndgraph"><a name="showbndgraph"><!-- --></a>
<h2 class="topictitle2">Showing Bindings in the Graph view</h2>
<div>
<div class="section">By default bindings are shown in the Graph View. Select the show/hide
binding button at the top left of the Graph View to hide the bindings. With
the bindings hidden a service can be browsed from a purely abstract level
without showing binding information. When the need arises to understand the
concrete details represented by the binding, select the show/hide binding
button again to make them visible.</div>
</div>
</div>
<div class="nested1" id="editoutlineview"><a name="editoutlineview"><!-- --></a>
<h2 class="topictitle2">Editing in the Outline view</h2>
<div>
<div class="section"><p>The Outline view will show you all the items in your WSDL file
as you add them. In this view, you can both create and delete WSDL components.</p>
<p>The
Outline view contains the following folders you can use (by right-clicking
and selecting the appropriate option) to edit your WSDL file:</p>
<ul>
<li> <strong>Imports</strong> statements, which are used to associate a namespace
with a document location.</li>
<li> <strong>Types</strong>, which provide data type definitions used to describe the
messages exchanged.  You cannot edit any types directly using this folder.</li>
<li> <strong>Messages</strong>, which represent an abstract definition of the data being
transmitted. A message consists of logical parts, each of which is associated
with a definition within some type system.</li>
<li> <strong>Port Types</strong>, which are a set of abstract operations. Each operation
refers to an input message and output messages.</li>
<li> <strong>Bindings</strong>, which specify concrete protocol and data format specifications
for the operations and messages defined by a particular port type.</li>
<li> <strong>Services</strong>, which are used to aggregate a set of related ports <img src="../images/show-hide-binding.gif" alt="" /> </li>
</ul>
</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="timpwsdl.html" title="">Importing a WSDL file</a></div></div>
</div>
</div>
</body>
</html>