Understanding the Top-Down and Bottom-Up Approaches

See Also

The Partner view of the WSDL Editor supports the top-down and bottom-up approaches to creating a WSDL file.

The top-down approach consists of the following steps:

  1. Create a partner link type. The partner link type contains a default role, which appears on the right. If you want to define a peer-to-peer interaction, then you must add a second role on the left.
  2. Create the messages that will be sent from one partner to another.
  3. Assign the messages to the partner link type's operations.
  4. Specify the data types for the messages. Note that you can create or import an XML schema by using the Navigator window, and then drag the schema elements or types into the messages.

The bottom-up approach consists of the following steps:

  1. Create or import an XML schema by using the Navigator window.
  2. Create the messages that will be sent from one partner to another. Note that you can drag the schema elements or types from the Navigator window into the messages.
  3. Create a partner link type. The partner link type contains a default role, which appears on the right. If you want to define a peer-to-peer interaction, then you must add a second role on the left.
  4. Assign the messages to the partner link type's operations.

If you are building a composite application, then you can use the Composite Application Service Assembly (CASA) editor to configure the concrete bindings in the WSDL file. This approach prevents the WSDL file from being tied to a particular binding.

See Also
About the Partner View

Legal Notices