src/wsdl/org/apache/axis/wsdl/wsdl2ws/WebServiceGeneratorImpl.java
/**
     * Generate the wrapper generator, Service generator,Param Generator and call
     * Generate on them.
     * @see org.apache.axis.wsdl.wsdl2ws.WebServiceGenerator#generate()
     */
Generate the wrapper generator, Service generator,Param Generator and call
Generate on them.
Generate the wrapper generator Service generator Param Generator and call Generate on them .
public void generate() throws WrapperFault
    {
        String language = wscontext.getWrapperInfo().getWrapperLanguage();
        if (WrapperConstants.LANGUAGE_CPP.equalsIgnoreCase(language))
        {
            (new Generator(WrapperConstants.GENERATOR_PARAM_CPP_ALL,wscontext)).generate();
            if (WrapperConstants.SERVER.equals(wscontext.getWrapperInfo().getTargetEngine()))
            {
                (new Generator(WrapperConstants.GENERATOR_WRAPPER_CPP,wscontext)).generate();
                (new Generator(WrapperConstants.GENERATOR_WRAPPER_HPP,wscontext)).generate();
                (new Generator(WrapperConstants.GENERATOR_SERVICE_CPP,wscontext)).generate();
                (new Generator(WrapperConstants.GENERATOR_SERVICE_HPP,wscontext)).generate();
                (new Generator(WrapperConstants.GENERATOR_CLASSLOADER_CPP,wscontext)).generate();
                (new Generator(WrapperConstants.GENERATOR_DEPLOYMENT,wscontext)).generate();
                (new Generator(WrapperConstants.GENERATOR_SERVER_EXCEPTION,wscontext)).generate();
                (new Generator(WrapperConstants.GENERATOR_UNDEPLOYMENT,wscontext)).generate();
            }
            else
            {
                (new Generator(WrapperConstants.GENERATOR_CLIENT_STUB_CPP,wscontext)).generate();
                (new Generator(WrapperConstants.GENERATOR_CLIENT_STUB_HPP,wscontext)).generate();
            }
        }
        else if (WrapperConstants.LANGUAGE_C.equalsIgnoreCase(language))
        {
            (new Generator(WrapperConstants.GENERATOR_PARAM_C_ALL,wscontext)).generate();
            if (WrapperConstants.SERVER.equals(wscontext.getWrapperInfo().getTargetEngine()))
            {
                (new Generator(WrapperConstants.GENERATOR_WRAPPER_C,wscontext)).generate();
                (new Generator(WrapperConstants.GENERATOR_WRAPPER_H,wscontext)).generate();
                (new Generator(WrapperConstants.GENERATOR_SERVICE_C,wscontext)).generate();
                (new Generator(WrapperConstants.GENERATOR_CLASSLOADER_C,wscontext)).generate();
                (new Generator(WrapperConstants.GENERATOR_DEPLOYMENT,wscontext)).generate();
                (new Generator(WrapperConstants.GENERATOR_UNDEPLOYMENT,wscontext)).generate();
            }
            else
            {
                (new Generator(WrapperConstants.GENERATOR_CLIENT_STUB_C,wscontext)).generate();
                (new Generator(WrapperConstants.GENERATOR_CLIENT_STUB_H,wscontext)).generate();
            }
        }
        else
        {
            throw new WrapperFault("Unsupported Language" + language);
        }
    }
public void generate ( ) throws WrapperFault { String language = wscontext . getWrapperInfo ( ) . getWrapperLanguage ( ) ; if ( WrapperConstants . LANGUAGE_CPP . equalsIgnoreCase ( language ) ) { ( new Generator ( WrapperConstants . GENERATOR_PARAM_CPP_ALL , wscontext ) ) . generate ( ) ; if ( WrapperConstants . SERVER . equals ( wscontext . getWrapperInfo ( ) . getTargetEngine ( ) ) ) { ( new Generator ( WrapperConstants . GENERATOR_WRAPPER_CPP , wscontext ) ) . generate ( ) ; ( new Generator ( WrapperConstants . GENERATOR_WRAPPER_HPP , wscontext ) ) . generate ( ) ; ( new Generator ( WrapperConstants . GENERATOR_SERVICE_CPP , wscontext ) ) . generate ( ) ; ( new Generator ( WrapperConstants . GENERATOR_SERVICE_HPP , wscontext ) ) . generate ( ) ; ( new Generator ( WrapperConstants . GENERATOR_CLASSLOADER_CPP , wscontext ) ) . generate ( ) ; ( new Generator ( WrapperConstants . GENERATOR_DEPLOYMENT , wscontext ) ) . generate ( ) ; ( new Generator ( WrapperConstants . GENERATOR_SERVER_EXCEPTION , wscontext ) ) . generate ( ) ; ( new Generator ( WrapperConstants . GENERATOR_UNDEPLOYMENT , wscontext ) ) . generate ( ) ; } else { ( new Generator ( WrapperConstants . GENERATOR_CLIENT_STUB_CPP , wscontext ) ) . generate ( ) ; ( new Generator ( WrapperConstants . GENERATOR_CLIENT_STUB_HPP , wscontext ) ) . generate ( ) ; } } else if ( WrapperConstants . LANGUAGE_C . equalsIgnoreCase ( language ) ) { ( new Generator ( WrapperConstants . GENERATOR_PARAM_C_ALL , wscontext ) ) . generate ( ) ; if ( WrapperConstants . SERVER . equals ( wscontext . getWrapperInfo ( ) . getTargetEngine ( ) ) ) { ( new Generator ( WrapperConstants . GENERATOR_WRAPPER_C , wscontext ) ) . generate ( ) ; ( new Generator ( WrapperConstants . GENERATOR_WRAPPER_H , wscontext ) ) . generate ( ) ; ( new Generator ( WrapperConstants . GENERATOR_SERVICE_C , wscontext ) ) . generate ( ) ; ( new Generator ( WrapperConstants . GENERATOR_CLASSLOADER_C , wscontext ) ) . generate ( ) ; ( new Generator ( WrapperConstants . GENERATOR_DEPLOYMENT , wscontext ) ) . generate ( ) ; ( new Generator ( WrapperConstants . GENERATOR_UNDEPLOYMENT , wscontext ) ) . generate ( ) ; } else { ( new Generator ( WrapperConstants . GENERATOR_CLIENT_STUB_C , wscontext ) ) . generate ( ) ; ( new Generator ( WrapperConstants . GENERATOR_CLIENT_STUB_H , wscontext ) ) . generate ( ) ; } } else { throw new WrapperFault ( "Unsupported Language" + language ) ; } }
Generate the wrapper generator, Service generator,Param Generator and call
 Generate on them.
Generate the wrapper generator Service generator Param Generator and call Generate on them .
// Generate objects common to Client and Server - MUST BE FIRST THING DONE!
 // Generate Server objects
 // Generate Client objects
 // Generate objects common to Client and Server - MUST BE FIRST THING DONE!
 // Generate Server objects
 // Generate Client Objects
