org.apache.axis2.transport.testkit.axis2.client
Class AxisTestClient

java.lang.Object
  extended by 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
           
 
Constructor Summary
AxisTestClient()
           
 
Method Summary
 void afterReceive()
           
 void beforeSend()
           
 javax.mail.internet.ContentType getContentType(ClientOptions options, javax.mail.internet.ContentType contentType)
           
protected  org.apache.axis2.context.MessageContext send(ClientOptions options, AxisMessage message, javax.xml.namespace.QName operationQName, boolean block, java.lang.String resultMessageLabel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceClient

protected org.apache.axis2.client.ServiceClient serviceClient

axisOptions

protected org.apache.axis2.client.Options axisOptions
Constructor Detail

AxisTestClient

public AxisTestClient()
Method Detail

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.