If the input message for the selected operation includes one or more complex types, such as nested elements or attributes, MashupHub displays a page showing an XML tree view of the input message.
You can define which parts of the message are parameters and which parts are static values for each invocation of the Web Service when the feed is generated. You can also define the structure and content of the message and specify which optional elements and attributes are included.
To edit the tree, right-click an element or an attribute, and then select one of the following actions:
Add an element. Use this action when the schema allows multiple occurrences of an element. You cannot exceed the number of occurrences specified by the maxOccurs value for the element in the schema.Clone Element
Create a copy of the selected element. The cloned element will contain the same parameter names as that of the original element. You can add or edit a text value or you can add or edit an attribute to distinguish the cloned element from the original element.New Attribute
Add an attribute to an element. Use this action when you have created a new element and when the schema allows the attribute.New Text
Add a value to an element or to an attribute. The text value can be either a static value or a parameter name used on the feed to represent the value. If you use a parameter name, it must start with a colon (:).Edit
Change the value of the element or an attribute to a static value or change the name for a parameter. Any element value whose first character is a colon (:) defines a parameter of that name. Elements that do not begin with a colon are static values. Initially the values of all elements and attributes in the tree are set as parameters.Delete
Delete the element. You can delete an element that you added or you can remove an optional element or attribute. Initially, all optional elements are shown in the tree. Delete elements that you do not want to include.Move Up
Move the selected element up one level in the tree closer to the root element.Move Down
Move the selected element down one level in the tree away from the root element.
When the tree represents the input message you want to send to the Web service, click Next
to specify the default values for the parameters. A new window opens where you enter the default values for all elements in the tree whose first character is a colon (:). The static values defined in the tree are always used when MashupHub constructs the message.
Parent topic: Creating a feed from a web service: imc3