use of org.apache.cxf.jms_greeter.JMSGreeterPortType in project cxf by apache.
the class SoapJmsSpecTest method testWsdlExtensionSpecJMSPortError.
@Test
public void testWsdlExtensionSpecJMSPortError() throws Exception {
QName serviceName = new QName(SERVICE_NS, "JMSGreeterService2");
QName portName = new QName(SERVICE_NS, "GreeterPort2");
URL wsdl = getWSDLURL(WSDL);
JMSGreeterService2 service = new JMSGreeterService2(wsdl, serviceName);
JMSGreeterPortType greeter = markForClose(service.getPort(portName, JMSGreeterPortType.class, cff));
String reply = greeter.sayHi();
Assert.assertEquals("Bonjour", reply);
}
Aggregations