public void test() throws Exception {
int port = PortAllocator.allocatePort();
Endpoint endpoint = Endpoint.publish("http://localhost:" + port + "/mtom", new MTOMServiceImpl());
retrieveContent(new URL("http://localhost:" + port + "/mtom"), "G87ZX20047", System.out);
endpoint.stop();
}
}