use of org.apache.cxf.jms_simple.JMSSimplePortType 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.jms_simple.JMSSimplePortType 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);
}
use of org.apache.cxf.jms_simple.JMSSimplePortType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test0011.
@Test
public void test0011() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test0011");
final JMSSimplePortType simplePort = getPort("JMSSimpleService0011", "SimplePort", JMSSimpleService0011.class, JMSSimplePortType.class);
twoWayTest(testcase, simplePort);
}
use of org.apache.cxf.jms_simple.JMSSimplePortType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test0002.
@Test
public void test0002() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test0002");
final JMSSimplePortType simplePort = getPort("JMSSimpleService0001", "SimplePort", JMSSimpleService0001.class, JMSSimplePortType.class);
JMSMessageHeadersType requestHeader = new JMSMessageHeadersType();
requestHeader.setJMSCorrelationID("Correlator0002");
twoWayTestWithRequestHeader(testcase, simplePort, requestHeader);
}
use of org.apache.cxf.jms_simple.JMSSimplePortType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test0006.
@Test
public void test0006() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test0006");
final JMSSimplePortType simplePort = getPort("JMSSimpleService0006", "SimplePort", JMSSimpleService0006.class, JMSSimplePortType.class);
twoWayTest(testcase, simplePort);
}
Aggregations