Contents: MashupHub User and Administrator Guide : Mashup Center 2.0
As you do when you design an application, you need to identify the requirements of a feed. You need to understand the input and output language structures of the application and what input is required to invoke the application.
About this task
To clearly identify the requirements of the feed and the design of the IMS application:
- Identify the user requirements and business requirements for your feed.
- What do users of the feed want to see or accomplish?
- What should users of the feed be allowed to see or accomplish?
Suppose that you have a phonebook application. Do you want users of the feed to look up information only? Do you want them to be able to update, add, or delete any entry? Should the users be able to see the phone number as well as the address?
Identify the input and output language structures of the application.
You need to identify the input language structure and the output language structure of the application in Rational® Developer for System z®. Rational Developer for System z uses this information to generate the XML converter driver that handles the data conversion between XML and bytes.
Identify the required input parameters to invoke the feed.
The language structure information is also stored in the correlator file that is generated by Rational Developer for System z. IMS Web 2.0 uses this correlator file to identify the input parameters for your application and the output XML response for the feed.
Does your application require that the value of a specific parameter be specified? Suppose that in a phonebook application, users must specify a last name and a command of DISPLAY, DELETE, ADD, or UPDATE in order to invoke the application. Without a last name and a command, the application will not run. In this case, both the last name and the command parameters are required.
Identify if the input parameters should be exposed or hidden from users, and if any input parameter should have a default value.
For each feed in IBM® Mashup Center, you can provide a link to technical documentation. Use this feature to explain the required input parameters and any other information that helps users create mashups or consume the feed.
If users do not specify a value for an input parameter, should a default value be provided? Are there cases where you want to predefine a value, regardless of what the users specify? For example, in the phonebook application, to limit your users to lookup requests only, hide the command parameter from your users. Because the command parameter is required to invoke the feed, you assign it a default value of DISPLAY. By hiding the command parameter and specifying DISPLAY as the default value, your users can perform only the lookup function.
Parent topic: Creating a feed from an IMS transaction : Mashup Center 2.0
Next topic: Generating the XML converter driver and the correlator file by using Rational Developer for System z : Mashup Center 2.0