Updating Web services

To update the ZIETrans Web service support classes, do the following:
  1. Select an existing Web service wrapper class to update.
  2. The Update Web service wizard is invoked with the Web service class preselected.
  3. If you do not need to change the selection of Integration Objects or EJB Access Beans included in the Web service, you can select Finish to regenerate the Web service support classes, otherwise select Next to continue to the next page of the wizard.
  4. Modify the list of resources (Integration Objects and EJB access beans) included in the Web service wrapper class . If you want to change the input and output properties that are exposed by the Web service for a given resource, select the resource and click Properties.
  5. On the Choose Properties page, select the input and output properties that you want exposed in the Web service. If you wish, you can provide an alias name for the property in the Alias Name field. Use the Select All, Deselect All, and Select Default buttons to help in selecting the properties. Click OK.
    Note:
    1. Defaults for single Integration Objects and EJB access beans are all macro prompts for input properties and all macro extracts for output properties.
    2. Defaults for chained Integration Objects are all macro prompts plus hPubLinkKey (which is required) for input properties and all macro extracts plus hPubLinkKey (which is required) for output properties.
    3. Defaults for chained EJB access beans are all macro prompts plus hPubLinkKey and hPubAccessHandle (both of which are required) for input properties and all macro extracts plus hPubLinkKey and hPubAccessHandle (both of which are required) for output properties.
    4. To specify that Integration Object connection overrides be exposed to the Web service, you must select the appropriate properties, for example the hPubConnectionOverrides or hPubStartPoolName properties, which are not selected by default. For more information, see Specifying Connection Overrides.
    5. For more information about the use of other Integration Object methods, see Programming with Integration Objects.
  6. Click Finish.
The ZIETrans Web service support files are regenerated and compiled. Note that you still must use the Eclipse WDT tools and wizards to update your Web services once you have updated the ZIETrans Web services support files.