IBM Support

Including responses to every WebService call

Question & Answer


How is it possible to add responses for all WebService operations ?


When using MIF WebServices, by default only Query Operation will return a response having attribute data.

By default, Sync, Delete and Update operations will only return a header, having HTTP 200 for SUCCESS and any other HTTP Code for FAILED transactions.

There is a need to retrieve key attributes for all WebService operations.


The System Property will control whether the response is provided or not:

Possible values are:

0 - No attributes are sent back to the caller

1 - Key attributes are added to the response

For example, when this System Property value is 1, the following response is sent back for MXWOSync operation:


Note: this option will only include the Key attributes in the response.
Java customization will be required to add other attributes.

[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"MEA: Generic","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1;7.1.1;7.5;7.6","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
17 June 2018