Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 100677 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/jst/ws/internal/axis/creation/ui/wsrt/AxisWebService.java (-3 / +15 lines)
Lines 3-8 Link Here
3
import java.util.Vector;
3
import java.util.Vector;
4
4
5
import org.eclipse.jst.ws.internal.axis.consumption.core.command.AxisDeployCommand;
5
import org.eclipse.jst.ws.internal.axis.consumption.core.command.AxisDeployCommand;
6
import org.eclipse.jst.ws.internal.axis.consumption.core.command.GeronimoAxisDeployCommand;
6
import org.eclipse.jst.ws.internal.axis.consumption.core.command.Java2WSDLCommand;
7
import org.eclipse.jst.ws.internal.axis.consumption.core.command.Java2WSDLCommand;
7
import org.eclipse.jst.ws.internal.axis.consumption.core.command.WSDL2JavaCommand;
8
import org.eclipse.jst.ws.internal.axis.consumption.core.command.WSDL2JavaCommand;
8
import org.eclipse.jst.ws.internal.axis.consumption.ui.task.AddJarsToProjectBuildPathTask;
9
import org.eclipse.jst.ws.internal.axis.consumption.ui.task.AddJarsToProjectBuildPathTask;
Lines 147-155 Link Here
147
		} else {// For BOTTOM_UP and TOP_DOWN
148
		} else {// For BOTTOM_UP and TOP_DOWN
148
			commands.add(new AxisRunInputCommand(this, project, module));
149
			commands.add(new AxisRunInputCommand(this, project, module));
149
//			commands.add(new StartProjectCommand(module));
150
//			commands.add(new StartProjectCommand(module));
150
			commands.add(new AxisDeployCommand());
151
            if (getWebServiceInfo().getServerFactoryId().equals("org.eclipse.jst.server.geronimo.10")) {
151
			commands.add( new CopyDeploymentFileCommand( project, module ) );
152
              commands.add(new GeronimoAxisDeployCommand(project, module));
152
			commands.add(new RefreshProjectCommand());
153
            }
154
            else {
155
              commands.add(new AxisDeployCommand());
156
            }
157
            commands.add( new CopyDeploymentFileCommand( project, module ) );
158
            commands.add(new RefreshProjectCommand());
153
			if (ctx.getScenario().getValue() == WebServiceScenario.TOPDOWN) {
159
			if (ctx.getScenario().getValue() == WebServiceScenario.TOPDOWN) {
154
				commands.add(new ComputeAxisSkeletonBeanCommand());
160
				commands.add(new ComputeAxisSkeletonBeanCommand());
155
				commands.add(new OpenJavaEditorCommand());
161
				commands.add(new OpenJavaEditorCommand());
Lines 244-249 Link Here
244
		
250
		
245
	    //AxisDeployCommand
251
	    //AxisDeployCommand
246
	    registry.addMapping(AxisRunInputCommand.class, "JavaWSDLParam", AxisDeployCommand.class);
252
	    registry.addMapping(AxisRunInputCommand.class, "JavaWSDLParam", AxisDeployCommand.class);
253
        
254
        // GeronimoAxisDeployCommand
255
        registry.addMapping(AxisRunInputCommand.class, "JavaWSDLParam", GeronimoAxisDeployCommand.class);
247
		//RefreshProjectCommand
256
		//RefreshProjectCommand
248
	    registry.addMapping(AxisRunInputCommand.class, "ServerProject", RefreshProjectCommand.class, "Project", new StringToIProjectTransformer());
257
	    registry.addMapping(AxisRunInputCommand.class, "ServerProject", RefreshProjectCommand.class, "Project", new StringToIProjectTransformer());
249
258
Lines 314-319 Link Here
314
	    // AxisDeployCommand
323
	    // AxisDeployCommand
315
	    dataRegistry.addMapping(WSDL2JavaCommand.class, "JavaWSDLParam", AxisDeployCommand.class);
324
	    dataRegistry.addMapping(WSDL2JavaCommand.class, "JavaWSDLParam", AxisDeployCommand.class);
316
	    
325
	    
326
        // GeronimoAxisDeployCommand
327
        dataRegistry.addMapping(WSDL2JavaCommand.class, "JavaWSDLParam", GeronimoAxisDeployCommand.class);
328
        
317
	    // AxisOutputCommand
329
	    // AxisOutputCommand
318
	    dataRegistry.addMapping(Skeleton2WSDLCommand.class, "WsdlURI", AxisOutputCommand.class);
330
	    dataRegistry.addMapping(Skeleton2WSDLCommand.class, "WsdlURI", AxisOutputCommand.class);
319
		dataRegistry.addMapping(WSDL2JavaCommand.class, "JavaWSDLParam", AxisOutputCommand.class); 
331
		dataRegistry.addMapping(WSDL2JavaCommand.class, "JavaWSDLParam", AxisOutputCommand.class); 

Return to bug 100677