use of org.apache.cxf.jms_simple.JMSSimplePortType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test0012.
@Test
public void test0012() throws Exception {
// same to test0002
TestCaseType testcase = JMSTestUtil.getTestCase("test0012");
final JMSSimplePortType simplePort = getPort("JMSSimpleService0012", "SimplePort", JMSSimpleService0012.class, JMSSimplePortType.class);
twoWayTest(testcase, simplePort);
}
use of org.apache.cxf.jms_simple.JMSSimplePortType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test1105.
@Test
public void test1105() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test1105");
final JMSSimplePortType simplePort = getPort("JMSSimpleService1105", "SimplePort", JMSSimpleService1105.class, JMSSimplePortType.class);
JMSMessageHeadersType requestHeader = new JMSMessageHeadersType();
requestHeader.setSOAPJMSSOAPAction("mismatch");
try {
twoWayTestWithRequestHeader(testcase, simplePort, requestHeader);
} catch (Exception e) {
assertTrue(e.getMessage().contains("Mismatched SoapAction"));
}
}
use of org.apache.cxf.jms_simple.JMSSimplePortType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test1109.
@Test
public void test1109() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test1109");
final JMSSimplePortType simplePort = getPort("JMSSimpleService1109", "SimplePort", JMSSimpleService1109.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.jms_simple.JMSSimplePortType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test0101.
@Test
public void test0101() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test0101");
final JMSSimplePortType simplePort = getPort("JMSSimpleService0101", "SimplePort", JMSSimpleService0101.class, JMSSimplePortType.class);
oneWayTest(testcase, simplePort);
}
use of org.apache.cxf.jms_simple.JMSSimplePortType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test0003.
@Test
public void test0003() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test0003");
final JMSSimplePortType simplePort = getPort("JMSSimpleService0003", "SimplePort", JMSSimpleService0003.class, JMSSimplePortType.class);
oneWayTest(testcase, simplePort);
}
Aggregations