return new JBossWSTestSetup(JBWS1124TestCase.class, "jaxrpc-jbws1124one.war, jaxrpc-jbws1124two.war");
}
public void testEnpointOne() throws Exception
{
ServiceFactoryImpl factory = new ServiceFactoryImpl();
URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jbws1124one/TestEndpoint?wsdl");
URL mappingURL = getResourceURL("jaxrpc/jbws1124/WEB-INF/jaxrpc-mapping.xml");
QName qname = new QName("http://org.jboss.test.ws/jbws1124", "TestService");
Service service = factory.createService(wsdlURL, qname, mappingURL);
TestEndpoint port = (TestEndpoint)service.getPort(TestEndpoint.class);
assertEquals("jbws1124one", port.getResourceString());
}