@@ -0,0 +1,971 @@
+package org.codehaus.xfire.generator.imports;%0D%0A%0D%0Aimport jsr181.GenerationTestSupport;%0D%0A%0D%0Aimport org.codehaus.xfire.gen.Wsdl11Generator;%0D%0A%0D%0Aimport com.sun.codemodel.JCodeModel;%0D%0Aimport com.sun.codemodel.JDefinedClass;%0D%0A%0D%0Apublic class WsdlImportTest%0D%0A    extends GenerationTestSupport%0D%0A%7B%0D%0A    public void testFault() throws Exception%0D%0A    %7B%0D%0A        Wsdl11Generator generator = new Wsdl11Generator();%0D%0A        generator.setWsdl(getTestFilePath(%22src/wsdl/import-test/main.wsdl%22));%0D%0A        generator.setOutputDirectory(%22target/test-services%22);%0D%0A        generator.setDestinationPackage(%22org.codehaus.xfire.generator.imports%22);%0D%0A        generator.setBinding(%22jaxb%22);%0D%0A        generator.setBaseURI(getTestFilePath(%22src/wsdl/import-test/%22));%0D%0A        generator.generate();%0D%0A        %0D%0A        JCodeModel model = generator.getCodeModel();%0D%0A        JDefinedClass echo = model._getClass(%22org.codehaus.xfire.generator.imports.EchoPortType%22);%0D%0A        assertNotNull(echo);%0D%0A    %7D%0D%0A%7D%0D%0A

Add import test