Wsdl { public void setUseIncludes(boolean useIncludes) { this.useIncludes = useIncludes; } Wsdl(PipeLine pipeLine);  Wsdl(PipeLine pipeLine, String generationInfo); String getName(); String getFilename(); String getTargetNamespace(); String getDocumentation(); void setDocumentation(String documentation); boolean isIndent(); void setIndent(boolean indent); boolean isUseIncludes(); void setUseIncludes(boolean useIncludes); String getTargetNamespacePrefix(); void setTargetNamespacePrefix(String targetNamespacePrefix); void init(); Set<XSD> getXsds(IXmlValidator xmlValidator); void zip(OutputStream stream, String servletName); void wsdl(OutputStream out, String servlet); static final String WSDL_EXTENSION; }
@Test @Ignore("not finished, but would fail, you must specify root tag now.") public void noroottagAndInclude() throws XMLStreamException, IOException, SAXException, ParserConfigurationException, URISyntaxException, ConfigurationException, NamingException { PipeLine simple = mockPipeLine( getXmlValidatorInstance(null, "WsdlTest/test.xsd", "urn:webservice1 WsdlTest/test.xsd"), getXmlValidatorInstance("b", "WsdlTest/test.xsd", "urn:webservice1 WsdlTest/test.xsd"), "urn:webservice1", "TestRootTag"); Wsdl wsdl = new Wsdl(simple); wsdl.setUseIncludes(true); test(wsdl, "WsdlTest/noroottag.test.wsdl"); }