public void testDocumentationOnSEI() throws Exception {
//CXF-3093
EndpointImpl ep = (EndpointImpl)Endpoint.publish("local://foo", new CXF3093Impl());
ServiceWSDLBuilder wsdlBuilder =
new ServiceWSDLBuilder(bus, ep.getService().getServiceInfos().get(0));
Definition def = wsdlBuilder.build();
Document d = bus.getExtension(WSDLManager.class).getWSDLFactory().newWSDLWriter().getDocument(def);
//org.apache.cxf.helpers.XMLUtils.printDOM(d);
assertXPathEquals("//wsdl:definitions/wsdl:documentation", "My top level documentation",
d.getDocumentElement());
assertXPathEquals("//wsdl:definitions/wsdl:portType/wsdl:documentation", "My portType documentation",