Search in sources :

Example 1 with TestCaseType

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

the class SOAPJMSTestSuiteTest method test1108.

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

Example 2 with TestCaseType

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

the class SOAPJMSTestSuiteTest method test1101.

@Test
public void test1101() throws Exception {
    // same to test0002
    TestCaseType testcase = JMSTestUtil.getTestCase("test1101");
    final JMSSimplePortType simplePort = getPort("JMSSimpleService1101", "SimplePort", JMSSimpleService1101.class, JMSSimplePortType.class);
    JMSMessageHeadersType requestHeader = new JMSMessageHeadersType();
    requestHeader.setSOAPJMSBindingVersion("0.3");
    try {
        twoWayTestWithRequestHeader(testcase, simplePort, requestHeader);
    } catch (Exception e) {
        assertTrue(e.getMessage().contains("Unrecognized BindingVersion"));
    }
}
Also used : TestCaseType(org.apache.cxf.testsuite.testcase.TestCaseType) JMSSimplePortType(org.apache.cxf.jms_simple.JMSSimplePortType) JMSMessageHeadersType(org.apache.cxf.transport.jms.JMSMessageHeadersType) JMSException(javax.jms.JMSException) WebServiceException(javax.xml.ws.WebServiceException) Test(org.junit.Test)

Example 3 with TestCaseType

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

the class SOAPJMSTestSuiteTest method test0004.

@Test
public void test0004() throws Exception {
    TestCaseType testcase = JMSTestUtil.getTestCase("test0004");
    final JMSSimplePortType simplePort = getPort("JMSSimpleService0003", "SimplePort", JMSSimpleService0003.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 4 with TestCaseType

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

the class SOAPJMSTestSuiteTest method test1003.

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

Example 5 with TestCaseType

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

the class SOAPJMSTestSuiteTest method test1006.

@Test
public void test1006() throws Exception {
    TestCaseType testcase = JMSTestUtil.getTestCase("test1006");
    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