How to upload file using MIF (Maximo Integration Framework)?
- Create Object Structure.
You have two scenarios:
- Send only the attachment using table DOCLINKS.
- Send the attachment owner with DOCLINKS table, like WORKORDER,SR,
ITEM, etc. To know if the desired table is supported, a tip is execute
query below:
select parent from
maxrelationship where child = 'DOCLINKS';
Observation: You can also create an Enterprise Service, but in this example, we will use only Object Structure.
- Create Web Service.
I am not going to enter in every detail of Web Service creation.
You just need to create and deploy Web Service. You can do that using Web
Services Library application.
- Submit the XML.
You can use any tool to submit XML into Web Service. I usually
use SoapUI, it’s simple and easy to use.
The XML below is just a sample having the required attributes.
XML:
- Scenario 01: In this scenario
you are going to upload the file to the server into doclinks folder. (In
my case C:\doclinks\attachments)
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:max="http://www.ibm.com/maximo">
<max:DOCLINKS>
</max:SR> |
Reference Link : https://www.ibm.com/support/pages/how-import-attachments-maximo-using-mif
No comments:
Post a Comment