My MIF Web Service is deployed... What now ?
Marcio Correa 270003YQNR Visits (11644)
After deploying a MIF Web Service, you may want to test it and make sure everything is working fine, don't you?
For sure, your integration requires an External System to post some data to Maximo using this Web Service, but for now you can use a third party client and setup some tests scenarios and post some data.
In all my tests, I use SoapUI, which is open source ! www.soapui.org.
After installing it, you will be able to post Soap, HTTP and REST calls to Maximo.
Let’s review the soap call use case now…
In the SoapUI, click File > New SOAP Project
In the Initial WSDL field, paste the WSDL URL for the Web Service you have deployed.
For instance: http
A new project is created based on the WSDL and a few samples were added in the specific operations ( Create, Update, Delete, Sync and Query )
Lets run a quick test on a Query sample:
Expand the Query node and double click the Request1.
In the Request panel ( Left side ) You will see an empty request with all XML attributes for the MXASSET Object Structure. Obviously, for a query you don't have to populate all ASSET attributes.
Here you go a really small sample for a query on MXASSET. This will fetch all ASSET records from the BEDFORD site.
You can replace your current request with this one.
Click the Submit button and watch the response panel ( right side ). All ASSETs from BEDFOR will be represented in an XML format.
Then, the response is sent back !
Try the same steps for updating a given ASSET record. This sample updates the ASSET 7500 from the BEDFORD site with a new DESCRIPTION.
HTTP 200 represents Success ! This means your request has been accepted in the Maximo side. Of course you may have to check if the data has been properly updated.
Ok ! You've got the basics.
I will be posting another blog with the REST calls using SoapUI as well