Class AxisTestClient
- java.lang.Object
-
- org.apache.axis2.transport.testkit.axis2.client.AxisTestClient
-
- All Implemented Interfaces:
TestClient
,MessageExchangeValidator
- Direct Known Subclasses:
AxisAsyncTestClient
,AxisRequestResponseTestClient
public class AxisTestClient extends Object implements TestClient, MessageExchangeValidator
-
-
Field Summary
Fields Modifier and Type Field Description protected Options
axisOptions
protected ServiceClient
serviceClient
-
Constructor Summary
Constructors Constructor Description AxisTestClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterReceive()
void
beforeSend()
ContentType
getContentType(ClientOptions options, ContentType contentType)
protected MessageContext
send(ClientOptions options, AxisMessage message, QName operationQName, boolean block, String resultMessageLabel)
-
-
-
Field Detail
-
serviceClient
protected ServiceClient serviceClient
-
axisOptions
protected Options axisOptions
-
-
Method Detail
-
getContentType
public ContentType getContentType(ClientOptions options, ContentType contentType)
- Specified by:
getContentType
in interfaceTestClient
-
beforeSend
public void beforeSend() throws Exception
- Specified by:
beforeSend
in interfaceMessageExchangeValidator
- Throws:
Exception
-
send
protected MessageContext send(ClientOptions options, AxisMessage message, QName operationQName, boolean block, String resultMessageLabel) throws Exception
- Throws:
Exception
-
afterReceive
public void afterReceive() throws Exception
- Specified by:
afterReceive
in interfaceMessageExchangeValidator
- Throws:
Exception
-
-