blob: 7371606583a091e7366a87abeaa98730e98d656a [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="Adding a part to a message" />
<meta name="abstract" content="All messages contain one or more parts. Parts are a flexible mechanism for describing the logical abstract content of a message. The message definition associates each part with a type using a message-typing attribute." />
<meta name="description" content="All messages contain one or more parts. Parts are a flexible mechanism for describing the logical abstract content of a message. The message definition associates each part with a type using a message-typing attribute." />
<meta content="Web services, adding WSDL message parts, WSDL files, message parts" name="DC.subject" />
<meta content="Web services, adding WSDL message parts, WSDL files, message parts" name="keywords" />
<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="taddpart" 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>Adding a part to a message</title>
</head>
<body id="taddpart"><a name="taddpart"><!-- --></a>
<h1 class="topictitle1">Adding a part to a message</h1>
<div><p>All messages contain one or more parts. Parts are a flexible mechanism
for describing the logical abstract content of a message. The message definition
associates each part with a type using a message-typing attribute.</p>
<div class="section"><p>To add a part to a message, complete the following steps:</p>
</div>
<ol>
<li class="stepexpand"><span>In Design view, right-click an input, output, or fault object and
click <strong>Add Part</strong>.</span> The part is added to the input, output,
or fault's message reference. To select the part, click the part in the port
type object.</li>
<li class="stepexpand"><span>In the Properties view, click the <strong>General</strong> pane.</span></li>
<li class="stepexpand"><span>In the <strong>Name</strong> field, type the name of the part.</span></li>
<li class="stepexpand"><span>Your part can refer to either a <strong>Type</strong> or an <strong>Element</strong>.</span>
Select the appropriate option as the <strong>Reference Kind</strong> .
</li>
<li class="stepexpand"><span>If you selected <strong>Type</strong>, you now have the option of selecting
an XML schema data type from the <strong>Type</strong> drop down list.</span> The
list of types comes from any available referenced XML schemas.</li>
<li class="stepexpand"><span>If you selected <strong>Element</strong> , you now have the option of selecting
an XML schema element from the <strong>Element</strong> drop down list.</span> The
list of elements comes from any available referenced XML schemas.</li>
</ol>
<div class="section"><div class="tip"><span class="tiptitle">Tip:</span> You can also create a new part for your message
using the Outline view. Under the <strong>Messages</strong> folder, right-click your
element and click <strong>Add Part</strong>. Your part will automatically appear in
the Outline view (under the <strong>Messages</strong> folder), but it will only appear
in the Design view if the message you added it to currently does.</div>
</div>
</div>
<div>
<div class="linklist"><strong>Related concepts</strong><br />
<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>