use of org.apache.cxf.testsuite.testcase.TestCaseType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test1009.
@Test
public void test1009() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test1009");
final JMSSimplePortType simplePort = getPort("JMSSimpleService1009", "SimplePort", JMSSimpleService1009.class, JMSSimplePortType.class);
JMSMessageHeadersType requestHeader = new JMSMessageHeadersType();
try {
twoWayTestWithRequestHeader(testcase, simplePort, requestHeader);
} catch (Exception e) {
assertTrue(e.getMessage().contains("Unknow JMS Variant"));
}
}
use of org.apache.cxf.testsuite.testcase.TestCaseType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test1008.
@Test
public void test1008() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test1008");
twoWayTestWithCreateMessage(testcase);
}
use of org.apache.cxf.testsuite.testcase.TestCaseType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test1001.
@Test
public void test1001() throws Exception {
// same to test0002
TestCaseType testcase = JMSTestUtil.getTestCase("test1001");
final JMSSimplePortType simplePort = getPort("JMSSimpleService1001", "SimplePort", JMSSimpleService1001.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"));
}
}
use of org.apache.cxf.testsuite.testcase.TestCaseType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test1104.
@Test
public void test1104() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test1104");
twoWayTestWithCreateMessage(testcase);
}
use of org.apache.cxf.testsuite.testcase.TestCaseType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test0102.
@Test
public void test0102() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test0102");
final JMSSimplePortType simplePort = getPort("JMSSimpleService0101", "SimplePort", JMSSimpleService0101.class, JMSSimplePortType.class);
twoWayTest(testcase, simplePort);
}
Aggregations