Package org.codehaus.xfire.generator

Source Code of org.codehaus.xfire.generator.ExternalBindingTest

package org.codehaus.xfire.generator;

import org.codehaus.xfire.gen.Wsdl11Generator;

public class ExternalBindingTest
    extends GenerationTestSupport
{   
    public void testEchoWithFaults() throws Exception
    {
        Wsdl11Generator generator = new Wsdl11Generator();
        generator.setWsdl(getTestFilePath("src/wsdl/echoFault.wsdl"));
        generator.setOutputDirectory(getTestFilePath("target/test-services"));
        generator.setBaseURI(getTestFilePath(""));
        generator.setDestinationPackage("org.codehaus.xfire.echo.external");
        generator.setExternalBindings("src/bindings/echo_schema_import.xjb");
        generator.setOverwrite(true);
        generator.generate();

        assertTrue(getTestFile("target/test-services/org/codehaus/xfire/echo/external/Echo.java").exists());
    }
   
}
TOP

Related Classes of org.codehaus.xfire.generator.ExternalBindingTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.