Configuring and Testing an IBM Maximo WebService | RulesManager | Total Resource Management

preview_player
Показать описание
This video will demonstrate how to create, configure, and regression test a Maximo web service.

To do this I will use TRM’s Power MIF powered by RulesManager because it will vastly simplify this task.

To start, let me deploy a simple web service to synchronize Assets from an external system. From the Integration Perspective of my Power MIF environment I can view what external systems and interfaces are already configured on my system. I can quickly navigate to them by right clicking on the item in the explorer.

To deploy a web service for this interface I will go to the Web Services Library and create a new Enterprise Service Web Service.

I will then deploy this to my Application Server Web Service Container.


Once created and deployed, I can now configure this web service.

My external system requires a list of all fields that were updated when the web service was called. I will now create 2 rules that will only fire when a record is modified from this web service.

First I will record the name of all the fields that were updated by a call with a simple OnChange rule. The script is simple and I use my MAXIMO object to store details between events.

Second I will create a OnResponse rule to modify the resposne sent back to the web service caller. This script, will check if there are any modified fields and set an attribute called updated to a csv of updated field names.

To create a simple test of this new configuration, I will use my console to assist me in creating a simple regression script. First I need sample data. Then I will import the data via MIF and save the response.

Now I can check what fields have been updated by looking at the response with a little help from content assist.

Now that I have a test, I’ll create a runnable test file with the regression script. I will add a simple fail or success message at the end to show my configuration and web service run correctly.
I can also use the SOAP UI plugin for further verification.

Рекомендации по теме