org.jboss.test.webservice.message
Class MessageTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.JBossTestCase (src) 
          extended byorg.jboss.test.webservice.WebserviceTestBase (src) 
              extended byorg.jboss.test.webservice.message.MessageTestCase

public class MessageTestCase
extends WebserviceTestBase (src)

Test unstructured message processing

Since:
26-Nov-2004
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.test.JBossTestCase (src)
delegate, deploymentException, log
 
Constructor Summary
MessageTestCase(java.lang.String name)
           
 
Method Summary
static Test suite()
          Deploy the test ear
 void testProcessElement()
          Use the JBoss generated dynamic proxy send the SOAP message.
 void testSAAJClientFromBody()
          Use the SAAJ API to send the SOAP message.
 void testSAAJClientFromEnvelope()
          Use the SAAJ API to send the SOAP message.
 
Methods inherited from class org.jboss.test.webservice.WebserviceTestBase (src)
getClientContext
 
Methods inherited from class org.jboss.test.JBossTestCase (src)
deploy, flushAuthCache, flushAuthCache, getBeanCount, getDeployerName, getDeploySetup, getDeployURL, getInitialContext, getIterationCount, getJndiInitFactory, getJndiURL, getLog, getResourceURL, getServer, getServerHost, getThreadCount, initDelegate, invoke, restartDBPool, sleep, testServerFound, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageTestCase

public MessageTestCase(java.lang.String name)
Method Detail

testSAAJClientFromEnvelope

public void testSAAJClientFromEnvelope()
                                throws java.lang.Exception
Use the SAAJ API to send the SOAP message. This simulates an external client and tests server side message handling.

Throws:
java.lang.Exception

testSAAJClientFromBody

public void testSAAJClientFromBody()
                            throws java.lang.Exception
Use the SAAJ API to send the SOAP message. This simulates an external client and tests server side message handling.

Throws:
java.lang.Exception

testProcessElement

public void testProcessElement()
                        throws java.lang.Exception
Use the JBoss generated dynamic proxy send the SOAP message. This tests server/client side message handling.

Throws:
java.lang.Exception

suite

public static Test suite()
                  throws java.lang.Exception
Deploy the test ear

Throws:
java.lang.Exception