use of org.jboss.test.ws.jaxws.jbws2957.common.HelloIface in project jbossws-cxf by jbossws.
the class JBWS2957TestCase method testEJB.
@Test
@RunAsClient
public void testEJB() throws Exception {
URL wsdlURL = new URL(baseURL + "/Service/HelloImpl?wsdl");
QName serviceName = new QName("http://www.jboss.org/test/ws/jaxws/jbws2957", "Service");
Service.create(wsdlURL, serviceName);
Service service = Service.create(wsdlURL, serviceName);
HelloIface port = (HelloIface) service.getPort(HelloIface.class);
assertEquals("Hello", port.sayHello());
}
Aggregations