Updating an existing document service

In some cases, you will want to update an existing document service. For example, when you have added a data source to an existing document query, or when you want to add a service operation to an existing document service. To assist you with this, you can use the Update document service form.

To open this form, open the Development Workspace and navigate to Tools | Application Integration Framework | Update document service, as shown in the following screenshot:

Updating an existing document service

Adding service operations

As you can see in the previous screenshot, you can select new operations to add to the document service. Click on OK to add the selected service operations to the document service. This will update the document and service classes so that the new operations are supported.

The only thing left for the developer to do is to manually add the service operation to the service node. To do this, go to the Services node in the AOT, expand the node of the service that was updated, right-click on the Operations node, and click on Add operation to add the new operations.

Updating supporting classes

When fields or data sources have been added to the query of an existing document service, the supporting classes will have to be created or regenerated. In this case, select the Regenerate data object classes and Update AxBC classes options.

When a field has been removed, the parm() and set() methods will not be automatically deleted from the AxBC classes, so you'll have to do this manually before you update the document service.

As always, after changing the services, it's a good idea to register them again.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.80.100