org.apache.synapse.core.axis2
Class Axis2FlexibleMEPClient

java.lang.Object
  extended by org.apache.synapse.core.axis2.Axis2FlexibleMEPClient

public class Axis2FlexibleMEPClient
extends Object

This is a simple client that handles both in only and in out


Constructor Summary
Axis2FlexibleMEPClient()
           
 
Method Summary
static void clearSecurtityProperties(Options options)
           
static void send(EndpointDefinition endpoint, MessageContext synapseOutMessageContext)
          Based on the Axis2 client code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Axis2FlexibleMEPClient

public Axis2FlexibleMEPClient()
Method Detail

send

public static void send(EndpointDefinition endpoint,
                        MessageContext synapseOutMessageContext)
                 throws AxisFault
Based on the Axis2 client code. Sends the Axis2 Message context out and returns the Axis2 message context for the response. Here Synapse works as a Client to the service. It would expect 200 ok, 202 ok and 500 internal server error as possible responses.

Parameters:
endpoint - the endpoint being sent to, maybe null
synapseOutMessageContext - the outgoing synapse message
Throws:
AxisFault - on errors

clearSecurtityProperties

public static void clearSecurtityProperties(Options options)


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.