Search in sources :

Example 11 with TestCaseType

use of org.apache.cxf.testsuite.testcase.TestCaseType in project cxf by apache.

the class SOAPJMSTestSuiteTest method test0009.

@Test
public void test0009() throws Exception {
    TestCaseType testcase = JMSTestUtil.getTestCase("test0009");
    final JMSSimplePortType simplePort = getPort("JMSSimpleService0009", "SimplePort", JMSSimpleService0009.class, JMSSimplePortType.class);
    JMSMessageHeadersType requestHeader = new JMSMessageHeadersType();
    requestHeader.setJMSDeliveryMode(DeliveryMode.NON_PERSISTENT);
    requestHeader.setTimeToLive(10800000);
    requestHeader.setJMSPriority(3);
    requestHeader.setJMSReplyTo("dynamicQueues/replyqueue00093");
    twoWayTestWithRequestHeader(testcase, simplePort, requestHeader);
}
Also used : TestCaseType(org.apache.cxf.testsuite.testcase.TestCaseType) JMSSimplePortType(org.apache.cxf.jms_simple.JMSSimplePortType) JMSMessageHeadersType(org.apache.cxf.transport.jms.JMSMessageHeadersType) Test(org.junit.Test)

Example 12 with TestCaseType

use of org.apache.cxf.testsuite.testcase.TestCaseType in project cxf by apache.

the class SOAPJMSTestSuiteTest method test0005.

@Test
public void test0005() throws Exception {
    TestCaseType testcase = JMSTestUtil.getTestCase("test0005");
    final JMSSimplePortType simplePort = getPort("JMSSimpleService0005", "SimplePort", JMSSimpleService0005.class, JMSSimplePortType.class);
    twoWayTest(testcase, simplePort);
}
Also used : TestCaseType(org.apache.cxf.testsuite.testcase.TestCaseType) JMSSimplePortType(org.apache.cxf.jms_simple.JMSSimplePortType) Test(org.junit.Test)

Example 13 with TestCaseType

use of org.apache.cxf.testsuite.testcase.TestCaseType in project cxf by apache.

the class SOAPJMSTestSuiteTest method test0008.

@Test
public void test0008() throws Exception {
    TestCaseType testcase = JMSTestUtil.getTestCase("test0008");
    final JMSSimplePortType simplePort = getPort("JMSSimpleService0008", "SimplePort", JMSSimpleService0008.class, JMSSimplePortType.class);
    JMSMessageHeadersType requestHeader = new JMSMessageHeadersType();
    requestHeader.setJMSDeliveryMode(DeliveryMode.NON_PERSISTENT);
    requestHeader.setTimeToLive(14400000);
    requestHeader.setJMSPriority(8);
    requestHeader.setJMSReplyTo("dynamicQueues/replyqueue0008");
    twoWayTestWithRequestHeader(testcase, simplePort, requestHeader);
}
Also used : TestCaseType(org.apache.cxf.testsuite.testcase.TestCaseType) JMSSimplePortType(org.apache.cxf.jms_simple.JMSSimplePortType) JMSMessageHeadersType(org.apache.cxf.transport.jms.JMSMessageHeadersType) Test(org.junit.Test)

Example 14 with TestCaseType

use of org.apache.cxf.testsuite.testcase.TestCaseType in project cxf by apache.

the class SOAPJMSTestSuiteTest method test0001.

@Test
public void test0001() throws Exception {
    TestCaseType testcase = JMSTestUtil.getTestCase("test0001");
    final JMSSimplePortType simplePort = getPort("JMSSimpleService0001", "SimplePort", JMSSimpleService0001.class, JMSSimplePortType.class);
    oneWayTest(testcase, simplePort);
}
Also used : TestCaseType(org.apache.cxf.testsuite.testcase.TestCaseType) JMSSimplePortType(org.apache.cxf.jms_simple.JMSSimplePortType) Test(org.junit.Test)

Example 15 with TestCaseType

use of org.apache.cxf.testsuite.testcase.TestCaseType in project cxf by apache.

the class SOAPJMSTestSuiteTest method test1106.

@Test
public void test1106() throws Exception {
    TestCaseType testcase = JMSTestUtil.getTestCase("test1106");
    twoWayTestWithCreateMessage(testcase);
}
Also used : TestCaseType(org.apache.cxf.testsuite.testcase.TestCaseType) Test(org.junit.Test)

Aggregations

TestCaseType (org.apache.cxf.testsuite.testcase.TestCaseType)32 Test (org.junit.Test)32 JMSSimplePortType (org.apache.cxf.jms_simple.JMSSimplePortType)20 JMSMessageHeadersType (org.apache.cxf.transport.jms.JMSMessageHeadersType)8 JMSException (javax.jms.JMSException)5 WebServiceException (javax.xml.ws.WebServiceException)5