Maximo framework uses XSL Map option to transform the outbound or inbound XMLs in Maximo.
Scenario: Rename tags from Maximo to External system
XSL file has a logic to rename tags in Maximo.renametag_removeallnamespaces.xsl
Scenario: Delete default namespace
By default, the transformed XML will have namespace linked to each tag. In order to remove them, we need to use a parameter exclude-result-prefixes in stylesheet tag.
The default namespace (without any prefix) can't be removed by a prefix. We need to add a snippet in the XSL file. ibm-linkto-remove-namespace-and-its-prefixes-xml-file-using-xslt
Scenario: Remove mandatory attribute to external system
In Maximo, we can't exclude a few mandatory attributes for an object, for example, revisionnum in PO object. In such cases, we can remove them using XSL before reaching to external system.deletetag.xsl
XSL files can be placed in common Integration directory mxe.int.globaldir and refer it in Integration applications.
If we modify a xsl file, Maximo needs restart of application servers. In order to avoid downtime, please create a new file with same name + version number.
References: youtube/watch?v=X8FWP1L5Ges
No comments:
Post a Comment