Search in sources :

Example 1 with JMSSimplePortType

use of org.apache.cxf.jms_simple.JMSSimplePortType 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 2 with JMSSimplePortType

use of org.apache.cxf.jms_simple.JMSSimplePortType 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 3 with JMSSimplePortType

use of org.apache.cxf.jms_simple.JMSSimplePortType in project cxf by apache.

the class SOAPJMSTestSuiteTest method test0013.

@Test
public void test0013() throws Exception {
    // same to test0002
    TestCaseType testcase = JMSTestUtil.getTestCase("test0013");
    final JMSSimplePortType simplePort = getPort("JMSSimpleService0013", "SimplePort", JMSSimpleService0013.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 JMSSimplePortType

use of org.apache.cxf.jms_simple.JMSSimplePortType in project cxf by apache.

the class SOAPJMSTestSuiteTest method test0014.

@Test
public void test0014() throws Exception {
    // same to test0002
    TestCaseType testcase = JMSTestUtil.getTestCase("test0014");
    final JMSSimplePortType simplePort = getPort("JMSSimpleService0014", "SimplePort", JMSSimpleService0014.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 5 with JMSSimplePortType

use of org.apache.cxf.jms_simple.JMSSimplePortType in project cxf by apache.

the class SOAPJMSTestSuiteTest method test0010.

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

Aggregations

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