QName serviceName = new QName("http://jbossws.org/injection", "POJOService");
URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jaxws-injection-pojo/POJOService?wsdl");
Service service = Service.create(wsdlURL, serviceName);
EndpointIface proxy = (EndpointIface)service.getPort(EndpointIface.class);
assertEquals("Hello World!:Inbound:TestHandler:POJOBean:Outbound:TestHandler", proxy.echo("Hello World!"));
}
public void testEjb3Endpoint() throws Exception
{
QName serviceName = new QName("http://jbossws.org/injection", "EJB3Service");