};
context.addHandler(handler);
server.start();
try {
SOAPConnectionFactory sf = new SOAPConnectionFactoryImpl();
SOAPConnection con = sf.createConnection();
URL urlEndpoint = new URL("http", "localhost", listener.getPort(), "/test");
SOAPMessage reply = con.get(urlEndpoint);
SOAPElement bodyElement = (SOAPElement)reply.getSOAPBody().getChildElements().next();
assertEquals("root", bodyElement.getLocalName());
} finally {