org.apache.synapse.core.axis2
Class Axis2FlexibleMEPClient
java.lang.Object
org.apache.synapse.core.axis2.Axis2FlexibleMEPClient
public class Axis2FlexibleMEPClient
- extends Object
This is a simple client that handles both in only and in out
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Axis2FlexibleMEPClient
public Axis2FlexibleMEPClient()
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 nullsynapseOutMessageContext
- the outgoing synapse message
- Throws:
AxisFault
- on errors
clearSecurtityProperties
public static void clearSecurtityProperties(Options options)
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.