com.ibm.tivoli.maximo.interaction.process

Class WSIORequestExit



  • public class WSIORequestExit
    extends WSIOProcessBaseExit
    Mapping class that maps/converts the Tpae Invoke channel Request xml into Web Service Request(external xml) based on the Object Blue Print(OBP).
    • Constructor Detail

      • WSIORequestExit

        public WSIORequestExit()
    • Method Detail

      • setDataOut

        public StructureData setDataOut(StructureData userExitData)
                                 throws MXException,
                                        java.rmi.RemoteException
        This method will map values from Tpae Invoke channel Request xml to the external xml based on the Object Blue Print(OBP).
        Overrides:
        setDataOut in class ExternalExit
        Parameters:
        userExitData - Give reference to values to set additional data. The input to the method is invoke channel xml.
        Returns:
        StructureData
        Throws:
        MXException - - MAXIMO exception
        java.rmi.RemoteException - - Remote exception
      • mapRequest

        public org.jdom2.Document mapRequest(org.jdom2.Document reqDoc,
                                             byte[] bObp)
                                      throws MXException
        Return the document(external xml) based on OBP. This method will map values from MAXIMO Invoke channel xml to the external xml based on the Object Blue Print(OBP).
        Parameters:
        reqDoc - Request xml document(Invoke channel xml)
        bObp - Byte array of Object Blue Print
        Returns:
        Document
        Throws:
        MXException - - MAXIMO exception
      • getRequestStartElement

        protected org.jdom2.Element getRequestStartElement(org.jdom2.Document reqDoc)