org.apache.axis2.transport.testkit.axis2.client
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 java.lang.Object
- implements TestClient, MessageExchangeValidator
Field Summary |
protected org.apache.axis2.client.Options |
axisOptions
|
protected org.apache.axis2.client.ServiceClient |
serviceClient
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serviceClient
protected org.apache.axis2.client.ServiceClient serviceClient
axisOptions
protected org.apache.axis2.client.Options axisOptions
AxisTestClient
public AxisTestClient()
getContentType
public javax.mail.internet.ContentType getContentType(ClientOptions options,
javax.mail.internet.ContentType contentType)
- Specified by:
getContentType
in interface TestClient
beforeSend
public void beforeSend()
throws java.lang.Exception
- Specified by:
beforeSend
in interface MessageExchangeValidator
- Throws:
java.lang.Exception
send
protected org.apache.axis2.context.MessageContext send(ClientOptions options,
AxisMessage message,
javax.xml.namespace.QName operationQName,
boolean block,
java.lang.String resultMessageLabel)
throws java.lang.Exception
- Throws:
java.lang.Exception
afterReceive
public void afterReceive()
throws java.lang.Exception
- Specified by:
afterReceive
in interface MessageExchangeValidator
- Throws:
java.lang.Exception
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.