Class Output


  • public class Output
    extends Object
    • Constructor Detail

      • Output

        public Output()
    • Method Detail

      • process

        public void process​(ByteArrayOutputStream outputStream,
                            org.apache.synapse.MessageContext synCtx,
                            org.apache.synapse.SynapseLog synLog,
                            org.milyn.payload.JavaResult result)
                     throws org.apache.axis2.AxisFault
        Throws:
        org.apache.axis2.AxisFault
      • getExpression

        public org.apache.synapse.util.xpath.SynapseXPath getExpression()
      • getProperty

        public String getProperty()
      • getAction

        public String getAction()
      • setExpression

        public void setExpression​(org.apache.synapse.util.xpath.SynapseXPath expression)
      • setProperty

        public void setProperty​(String property)
      • setAction

        public void setAction​(String action)
      • setXMLPayload

        public static void setXMLPayload​(org.apache.synapse.MessageContext synCtx,
                                         org.apache.axiom.om.OMElement element)
                                  throws org.apache.axis2.AxisFault
        Throws:
        org.apache.axis2.AxisFault
      • setTextPayload

        public static void setTextPayload​(org.apache.synapse.MessageContext synCtx,
                                          String text)
                                   throws org.apache.axis2.AxisFault
        Throws:
        org.apache.axis2.AxisFault
      • getNewSOAPEnvelope

        public static org.apache.axiom.soap.SOAPEnvelope getNewSOAPEnvelope​(org.apache.axiom.soap.SOAPEnvelope envelope)
        New SOAPEnvelope is created with namespace & header elements of envelope
        Parameters:
        envelope - Envelope from MessageContext
        Returns:
        New SOAPEnvelope