com.ibm.tivoli.maximo.interaction.process

Class WSIOResponseExit



  • public class WSIOResponseExit
    extends WSIOProcessBaseExit
    Mapping class that maps/converts the Response(external xml) from the web service into Tpae Invoke channel Response xml based on the Object Blue Print(OBP).
    • Constructor Detail

      • WSIOResponseExit

        public WSIOResponseExit()
    • Method Detail

      • setDataIn

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

        public org.jdom.Document mapResponse(org.jdom.Document responseDoc,
                                             byte[] bObp)
                                      throws MXException,
                                             java.rmi.RemoteException
        Return the document(Invoke channel Response xml) based on OBP. This method will map values from external Service response xml in to MAXIMO Invoke channel 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
        java.rmi.RemoteException