Skip to main content Skip to complementary content

Adding a part to a message

About this task

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.

Information noteNote: Changes of service elements are not automatically propagated to bindings. You need to regenerate the binding content and select the Overwrite existing binding information check box in the binding wizard to reflect changes in the WSDL. For more information, see Setting a binding.

To add a part to a message, complete the following steps:

Procedure

  1. In design workspace, right click an input, output, or fault object and click Add Part.
    The part is added to the input, output, or fault's message reference.
  2. Select the part by clicking the part in the port type object and click the General tab in the Properties view.
  3. In the Name field, type the name of the part.
  4. Your part can refer to either a Type or an Element. Select the appropriate option as the Reference Kind.
  5. If you selected Type, you now have the option of selecting an XML schema data type from the Type list. The list of types comes from any available referenced XML schemas.
  6. If you selected Element , you now have the option of selecting an XML schema element from the Element list. The list of elements comes from any available referenced XML schemas.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!