public void testGet() throws Exception {
Server server = new Server();
SocketListener listener = new SocketListener();
server.addListener(listener);
HttpContext context = new HttpContext(server, "/*");
HttpHandler handler = new AbstractHttpHandler() {
public void handle(String pathInContext, String pathParams,
HttpRequest request, HttpResponse response) throws HttpException, IOException {
try {
SOAPMessage message = MessageFactory.newInstance().createMessage();