int state = new HttpClient().executeMethod(get);
assertEquals(HttpServletResponse.SC_OK, state);
Document doc = (Document) new SourceTransformer().toDOMNode(new StringSource(get.getResponseBodyAsString()));
// Test WSDL
WSDLFactory factory = WSDLFactory.newInstance();
WSDLReader reader = factory.newWSDLReader();
Definition def;
def = reader.readWSDL("http://localhost:8192/Service/?wsdl", doc);
StringWriter writer = new StringWriter();
factory.newWSDLWriter().writeWSDL(def, writer);
log.info(writer.toString());
Binding b = (Binding) def.getBindings().values().iterator().next();
BindingOperation bop = (BindingOperation) b.getBindingOperations().iterator().next();
assertEquals(1, bop.getExtensibilityElements().size());
ExtensibilityElement ee = (ExtensibilityElement) bop.getExtensibilityElements().iterator().next();