Skip to main content
summaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2013-09-06feature[ats_7SNLZ]: Enable relation editingmegumi.telles1-4/+2
2013-07-16feature[ats_7SNLZ]: Create RelationManagerRoberto E. Escobar1-0/+2
2013-09-05feature[ats_7SNLZ]: Convert transaction APImegumi.telles1-1/+3
2013-07-10feature[ats_7SNLZ]: Add relation ordering and sortingRoberto E. Escobar1-0/+2
2012-08-16refactor: Streamline ArtifactLoaderRoberto E. Escobar1-2/+2
2013-06-12feature[ats_SF2V6]: Create new OrcsTypes APIRoberto E. Escobar1-1/+5
2012-07-20feature[ats_M5LLE]: OrcsTransaction implementationjmisinco1-2/+4
2012-07-20feature[ats_M5LLE]: Add ORCS tests and refactorRoberto E. Escobar1-1/+7
2012-02-29feature[ats_VVMH0]: Integrate search engine into ORCSRoberto E. Escobar1-2/+2
2012-02-24feature[ats_VVMH0]: Integrate branch management and core datastore into ORCSRoberto E. Escobar1-1/+2
2011-10-21feature[ats_Q9NLC]: Distribution statement and author fixesRoberto E. Escobar1-0/+26

    Back to the top

    undles/org.eclipse.jst.ws.consumption.ui/icons/full/dtool/generated_sample.gifbin356 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/full/wizban/webservicesclient_wiz.gifbin2966 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/gen_sample_wiz.gifbin3289 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws.gifbin574 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws_wiz.gifbin3422 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/registry.gifbin353 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/scale0_bground.jpgbin22670 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/scale1_bground.jpgbin22445 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/scale2_bground.jpgbin22235 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/scale3_bground.jpgbin21677 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/scale4_bground.jpgbin21536 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/scale5_bground.jpgbin21555 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/scale6_bground.jpgbin20246 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/existing_server_obj.gifbin565 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/servers_obj.gifbin565 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/html.gifbin364 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wiz_banner_wsil.gifbin3460 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wsil.gifbin565 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsdl.gifbin563 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsil.gifbin606 -> 0 bytes-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/plugin.properties133
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/plugin.xml782
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/schema/clientProjectType.exsd124
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/schema/objectSelectionWidget.exsd129
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceClientType.exsd257
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceServerRuntimeType.exsd325
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceTest.exsd138
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUI.properties635
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUIMessages.java395
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/action/LaunchWSEAction.java60
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ant/AntClientRootCommandFragment.java221
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntDefaultingOperation.java79
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntRestoringCommand.java39
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/CheckForServiceProjectCommand.java94
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/GenerateHandlerSkeletonCommand.java304
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/ListOptionsCommand.java122
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/OpenJavaEditorCommand.java110
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/PublishProjectCommand.java143
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/StartServerCommand.java204
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/WSINonCompliantRuntimeCommand.java87
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/EclipseIPath2URLStringTransformer.java40
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ProjectName2IProjectTransformer.java40
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerInstToIServerTransformer.java38
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerName2IServerTransformer.java36
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/DefaultingUtils.java83
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/FinishFragment.java35
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHelper.java67
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHolder.java137
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHelper.java72
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHolder.java118
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ScenarioCleanupCommand.java52
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ServerSelectionUtils.java133
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ValidationUtils.java1040
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/ClientRootFragment.java117
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientAssembleCommand.java115
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDeployCommand.java44
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDevelopCommand.java273
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientInstallCommand.java116
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientRunCommand.java64
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/plugin/WebServiceConsumptionUIPlugin.java108
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentProjectTopologyContext.java137
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentServerRuntimeContext.java101
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyContext.java42
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyDefaults.java36
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyPreferencePage.java406
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ServerRuntimePreferencePage.java358
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/TransientProjectTopologyContext.java90
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/selection/SelectionTransformer.java32
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetContributor.java54
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetFactory.java68
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartServerWidget.java443
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractHandlersWidgetDefaultingCmd.java121
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractObjectSelectionLaunchable.java53
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AddHandlerDialog.java265
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/CheckWSDLValidationCommand.java106
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetDefaultingCommand.java329
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetOutputCommand.java207
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidget.java524
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetDefaultingCommand.java162
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetOutputCommand.java180
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigClientHandlersTableWidget.java637
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigServiceHandlersTableWidget.java685
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/HandlersDefaultingCommand.java78
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IObjectSelectionLaunchable.java93
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IPackable.java26
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ImportWSILWidget.java223
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/JavaBeanSelectionLaunchable.java201
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PreferencesSelectionWidget.java81
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ProjectSelectionDialog.java122
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishToPrivateUDDICommandFragment.java101
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishWSWidget.java201
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetDefaultingCommand.java376
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetOutputCommand.java244
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TableViewerWidget.java630
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TimedWSDLSelectionConditionCommand.java93
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionConditionCommand.java135
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionDialog.java97
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionOutputCommand.java138
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionTreeWidget.java288
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetDefaultingCommand.java179
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetWrapper.java144
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WebServiceClientTypeWidget.java1052
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ClientWidgetBinding.java466
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigClientHandlersWidgetBinding.java140
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigServiceHandlersWidgetBinding.java139
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigureHandlersWidgetBinding.java256
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/GenSampleWidgetBinding.java406
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSILWidgetBinding.java88
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSWidgetBinding.java103
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionDefaultingCommand.java619
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionFragment.java40
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionOutputCommand.java78
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionDefaultingCommand.java407
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionFragment.java41
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionOutputCommand.java115
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/AbstractObjectSelectionWidget.java67
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionTransformer.java65
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionWidget.java377
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBTableViewer.java122
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/HandlerTableItem.java114
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/IObjectSelectionWidget.java94
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionTransformer.java87
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionWidget.java281
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionFragment.java92
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionOutputCommand.java297
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionRegistry.java157
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionWidget.java258
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/Timer.java75
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidateWSDLJob.java88
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidationMessageViewerWidget.java244
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionTransformer.java111
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWidget.java719
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWrapper.java32
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ClientRuntimeSelectionWidgetDefaultingCommand.java1578
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ProjectSelectionWidget.java614
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestDelegateCommand.java355
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestFragment.java62
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestWidget.java480
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/CopyWebServiceUtilsJarCommand.java137
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishDefaultCommand.java73
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishJavaTestFragment.java64
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishTestFragment.java108
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestClientDepartureInitCommand.java52
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestDefaultingFragment.java135
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestWebServiceClient.java54
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLFinishFragment.java30
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLTestLaunchCommand.java189
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceClientTestArrivalCommand.java276
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceTestClientDepartureFragment.java50
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/ExplorerServiceTestCommand.java97
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEGenerateCommand.java60
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEWebServiceTester.java34
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WebServiceExplorerExecutable.java35
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/AddModuleDependenciesCommand.java292
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCGenerateCommand.java172
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCLaunchCommand.java191
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCWebServiceTester.java41
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WSSampleFinishCommand.java322
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WebServiceWSSampleExecutable.java33
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PrivateUDDIRegistryTypeRegistry.java59
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PublicUDDIRegistryTypeRegistry.java96
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/RuntimeServerSelectionDialog.java751
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionFilter2.java202
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionMetadata.java84
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/WebServiceInfo.java26
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryNTTComm.java41
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAP.java41
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAPTest.java41
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryType.java25
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryXMethods.java43
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/AddWSDLToWSILWrapperCommand.java65
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Arguments.java75
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/DialogWWWAuthentication.java153
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/TableViewerEditor.java525
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Utils.java52
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientRuntimeDescriptor.java147
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientType.java120
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Context.java143
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/FacetMatchCache.java495
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/RuntimeDescriptor.java74
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Selection.java30
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceRuntimeDescriptor.java171
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceType.java201
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceClientImpl.java45
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceImpl.java103
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry.java216
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry2.java225
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionUtils2.java1952
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeInfo.java210
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/.classpath8
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/.cvsignore9
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/.project28
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.jdt.core.prefs57
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.pde.prefs12
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/META-INF/MANIFEST.MF60
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/about.html34
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/build.properties11
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/plugin.properties19
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/plugin.xml52
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/Consumption.properties193
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/ConsumptionMessages.java118
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Generator.java245
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/RelVisitor.java88
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Visitor.java30
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/VisitorAction.java31
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/AttributeVisitor.java77
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/FieldVisitor.java71
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/MethodVisitor.java40
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ParameterVisitor.java40
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ReturnParameterVisitor.java40
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/TypeVisitor.java38
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsBeanVisitorAction.java91
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsMethodVisitorAction.java116
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsParameterVisitorAction.java86
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofAttributeVisitorAction.java129
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofBeanVisitorAction.java425
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofFieldVisitorAction.java98
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofMethodVisitorAction.java219
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofParameterVisitorAction.java80
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofTypeVisitorAction.java114
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/VisitorActionImpl.java94
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofAttributeVisitor.java217
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofBeanVisitor.java45
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofFieldVisitor.java139
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofMethodVisitor.java84
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofParameterVisitor.java108
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofTypeVisitor.java112
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AbstractStartServer.java139
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AddModuleToServerCommand.java147
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AssociateModuleWithEARCommand.java89
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/BuildProjectCommand.java98
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CheckProjectOKCommand.java76
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeEndpointCommand.java137
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeProxyEndpointCommand.java119
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CopyWSDLCommand.java362
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CopyWSDLTreeCommand.java467
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateFacetedProjectCommand.java331
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateJavaProjectCommand.java82
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateModuleCommand.java680
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateMonitorCommand.java137
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateServerCommand.java123
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableBuildCommand.java68
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableValidationCommand.java63
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/GetMonitorCommand.java233
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/JavaMofReflectionCommand.java114
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ManageServerStartUpCommand.java139
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreBuildStateCommand.java56
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreValidationStateCommand.java58
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/SkeletonMergeCommand.java113
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/StartProjectCommand.java156
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetMatcher.java61
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetSetsByTemplateCache.java145
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetUtils.java1386
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FolderResourceFilter.java92
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/IServerDefaulter.java36
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/JavaResourceFilter.java167
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/MappingUtils.java84
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/PropertiesResourceFilter.java122
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/RequiredFacetVersion.java74
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/ServerInfo.java54
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLParserFactory.java49
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLResourceFilter.java117
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WebServiceStartServerRegistry.java100
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayElement.java99
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayType.java62
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElement.java95
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElementType.java39
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanElement.java147
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanModelElementsFactory.java168
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigDecimalType.java56
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigIntegerType.java56
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DataType.java90
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DateType.java125
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DomElementType.java123
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/FieldElement.java92
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/GregorianCalendarType.java127
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/HashtableType.java37
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MapType.java37
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MethodElement.java129
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ObjectType.java63
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ParameterElement.java83
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveArrayType.java65
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveBooleanType.java48
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveByteType.java48
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveCharType.java48
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveDoubleType.java48
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveFloatType.java48
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveIntType.java48
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveJavaTypes.java56
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveLongType.java48
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveShortType.java48
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveType.java47
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/RecognizedReturnType.java108
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SOAPElementType.java123
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleElement.java62
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleType.java140
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StateLessBeanType.java38
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StringType.java57
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeElement.java192
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeFactory.java263
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/URLType.java57
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VectorType.java37
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VoidType.java56
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/validate/ValidationManager.java112
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/BindingElement.java54
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/DefinitionElement.java48
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/MessageElement.java48
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/OperationElement.java48
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PartElement.java39
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortElement.java44
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortTypeElement.java39
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/ServiceElement.java48
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/StubbedWSDLModel.java69
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/WSDLElement.java53
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreAssemblyFragment.java17
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDeployFragment.java17
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDevelopFragment.java17
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreInstallFragment.java17
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreAssemblyFragment.java17
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDeployFragment.java17
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDevelopFragment.java17
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreInstallFragment.java17
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/plugin/WebServiceConsumptionPlugin.java57
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileAttributeGenerator.java76
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileGenerator.java138
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp1Generator.java93
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp2Generator.java102
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileTypeGenerator.java300
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/LevelsDeepVisitorAction.java119
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileGenerator.java77
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileHelpGenerator.java56
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileAttributeGenerator.java92
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileGenerator.java143
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp1Generator.java148
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp2Generator.java100
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileTypeGenerator.java110
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/TestClientFileGenerator.java88
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/GeneratePageCommand.java104
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/JavaToModelCommand.java227
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/common/SamplePropertyDescriptor.java115
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/IWSFinder.java28
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/LiveWSDLFilter.java99
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/WSFinderRegistry.java86
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/DomElementHelper.java137
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/JspUtils.java50
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementHelper.java69
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementRuntimeException.java33
    -rw-r--r--bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementSaxHandler.java142
    -rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/.cvsignore1
    -rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/.project22
    -rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/.settings/org.eclipse.pde.prefs12
    -rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/META-INF/MANIFEST.MF9
    -rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/about.html34
    -rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/build.properties4
    -rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.properties28
    -rw-r--r--bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.xml64
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/.classpath11
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/.cvsignore8
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/.project28
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.core.prefs54
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.ui.prefs3
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/META-INF/MANIFEST.MF86
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/about.html34
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/build.properties23
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/icons/dlcl16/showproperties_obj.gifbin577 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/icons/elcl16/showproperties_obj.gifbin577 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/icons/reloadgrammar.gifbin367 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/icons/validate.gifbin558 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/icons/wsdl_file_obj.gifbin572 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/plugin.properties26
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/plugin.xml492
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityElementFilter.exsd115
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityItemTreeProviders.exsd115
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/schema/internalEditorExtensions.exsd107
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/schema/propertyDescriptorProvider.exsd115
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/DefaultEditorMode.java49
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/IDesignViewerActionBarContributor.java18
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ISelectionMapper.java17
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/InternalWSDLMultiPageEditor.java562
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/Messages.java133
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ReloadDependenciesActionDelegate.java41
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourceEditorActionBarContributor.java208
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourcePageActionContributor.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/StructuredTextViewerConfigurationWSDL.java40
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLActionBarContributor.java186
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorPlugin.java457
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorResourceChangeHandler.java317
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLPreferencePage.java95
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLSelectionMapper.java39
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementAction.java330
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementDeclarationAction.java54
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddImportAction.java78
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddWSISchemaImportAction.java202
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/BaseNodeAction.java39
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/EditNamespacesAction.java125
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/IWSDLToolbarAction.java18
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/OpenInNewEditor.java64
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/RenameAction.java142
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/SmartRenameAction.java594
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLAdapterFactory.java173
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLBaseAdapter.java182
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11AddPartAction.java109
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11OpenImportAction.java60
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingElementAction.java56
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingMessageAction.java56
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingTypeAction.java56
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewElementAction.java56
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewMessageAction.java59
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewTypeAction.java82
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Binding.java294
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingMessageReference.java135
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingOperation.java106
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11CategoryAdapter.java144
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Description.java354
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11EndPoint.java223
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Import.java82
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Interface.java89
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Message.java109
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11MessageReference.java494
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Operation.java207
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11ParameterForAttribute.java132
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11ParameterForElement.java149
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11ParameterForPart.java295
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Service.java148
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Type.java65
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11TypesCategoryAdapter.java29
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddBindingCommand.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddEndPointCommand.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddFaultParameterCommand.java67
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddImportCommand.java45
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddInputParameterCommand.java70
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddInterfaceCommand.java66
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddMessageCommand.java57
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddOperationCommand.java117
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddOutputParameterCommand.java80
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddPartCommand.java46
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddSchemaCommand.java69
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11AddServiceCommand.java53
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11DeleteCommand.java124
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11DeleteParameterCommand.java113
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11EditNamespacesCommand.java178
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11GenerateBindingCommand.java46
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11RenameCommand.java256
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11ReorderMessageReferencesCommand.java122
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11ReorderParametersCommand.java171
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetAddressCommand.java207
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetBindingCommand.java36
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetElementCommand.java122
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetInterfaceCommand.java36
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11SetTypeCommand.java128
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/commands/W11TopLevelElementCommand.java186
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/specialized/W11AddressExtensibilityElementAdapter.java47
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/specialized/W11ExtensibilityElementAdapter.java18
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/visitor/W11FindInnerElementVisitor.java48
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/visitor/W11XSDVisitor.java212
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/visitor/W11XSDVisitorForFields.java109
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBaseParameterCommand.java562
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingCommand.java47
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingFaultCommand.java43
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingInputCommand.java42
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingOperationCommand.java104
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddBindingOutputCommand.java43
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddExtensionElementCommand.java79
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddFaultCommand.java79
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddFaultParameterCommand.java172
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddImportCommand.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddInputCommand.java83
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddInputParameterCommand.java285
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddMessageCommand.java109
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddMessageReferenceCommand.java71
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddOperationCommand.java145
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddOutputCommand.java82
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddOutputParameterCommand.java95
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddPartCommand.java209
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddPortCommand.java49
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddPortTypeCommand.java75
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddServiceCommand.java72
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddTypesCommand.java43
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddUnknownExtensibilityElementCommand.java80
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddXSDElementDeclarationCommand.java147
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddXSDSchemaCommand.java84
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/AddXSDTypeDefinitionCommand.java162
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/commands/WSDLElementCommand.java19
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/EditNamespacesDialog.java126
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/GenerateBindingOnSaveDialog.java99
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/NewComponentDialog.java186
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/ProtocolComponentControl.java346
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/W11BrowseComponentDialog.java139
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/dialogs/W11NewComponentDialog.java135
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/W11BindingReferenceEditManager.java110
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/W11InterfaceReferenceEditManager.java112
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/W11MessageReferenceEditManager.java128
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLBaseSearchListProvider.java110
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLBindingSearchListProvider.java44
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLComponentDescriptionProvider.java178
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLComponentFinder.java89
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLInterfaceSearchListProvider.java44
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLMessageSearchListProvider.java44
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLXSDElementReferenceEditManager.java122
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/edit/WSDLXSDTypeReferenceEditManager.java111
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ExtensibilityItemTreeProviderRegistry.java33
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ExtensibleTypeSystemProvider.java85
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/INodeAssociationProvider.java20
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/INodeReconciler.java21
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ITreeChildProvider.java23
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/ITypeSystemProvider.java30
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/NSKeyedExtensionRegistry.java142
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLEditorConfiguration.java185
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLEditorExtension.java36
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLEditorExtensionProperties.java69
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/extensions/WSDLNodeAssociationProvider.java80
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/ExtensiblityElementFilter.java18
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/HttpExtensiblityElementFilter.java51
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/MimeExtensiblityElementFilter.java46
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/SoapExtensiblityElementFilter.java61
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/filter/XSDExtensiblityElementFilter.java31
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/back.gifbin873 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/bind_asct_val_not_obj.gifbin222 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/bind_asct_val_obj.gifbin128 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/binding_obj.gifbin610 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/bindingheader_obj.gifbin576 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/browsebutton.gifbin53 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/complextype_obj.gifbin155 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/delete_obj.gifbin351 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/element_obj.gifbin351 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/error_co.gifbin82 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/fault_obj.gifbin360 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/file_obj.gifbin349 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/fldr_el.gifbin366 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/forward.gifbin874 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/hidebinding.gifbin315 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpaddress_obj.gifbin556 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpbinding_obj.gifbin376 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpoperation_obj.gifbin598 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpurlencoded_obj.gifbin596 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/httpurlreplacement_obj.gifbin232 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/import_obj.gifbin114 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/importheader_obj.gifbin336 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/input_obj.gifbin338 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/message_obj.gifbin577 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/messageheader_obj.gifbin581 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/namespace_obj.gifbin207 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/namespacedecl_obj.gifbin211 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/new_wsdl_wiz.gifbin3279 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/operation_obj.gifbin150 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/operationbinding_obj.gifbin615 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/output_no.gifbin148 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/output_obj.gifbin347 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/output_yes.gifbin343 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/page_banner.gifbin5600 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/part_obj.gifbin200 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/port_obj.gifbin220 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/porttype_obj.gifbin576 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/porttypeheader_obj.gifbin603 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/prtcmplxpltyp_obj.gifbin351 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/prtelemt_obj.gifbin599 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/prtsmpltyp_obj.gifbin350 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/quickassist.gifbin225 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/service_obj.gifbin542 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/serviceheader_obj.gifbin580 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/simpletype_obj.gifbin150 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soap_obj.gifbin589 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapaddress_obj.gifbin577 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapatt_obj.gifbin583 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapbinding_obj.gifbin637 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapbody_obj.gifbin585 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapfault_obj.gifbin605 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapheader_obj.gifbin587 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapheaderfault_obj.gifbin598 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/soapoperation_obj.gifbin598 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/types_obj.gifbin592 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/validate.gifbin558 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/wsdl_file_obj.gifbin572 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/xsd_file_obj.gifbin574 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/icons/xsd_obj.gifbin574 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/label/providers/HTTPLabelProvider.java52
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/label/providers/SOAPLabelProvider.java56
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/messages.properties118
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/EditorModeSectionFilter.java16
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11ExtensionsSection.java265
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11MessageReferenceSection.java234
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11MessageReferenceSectionFilter.java28
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11ParameterSection.java219
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/properties/sections/W11ParameterSectionFilter.java46
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/reconciler/DelegatingSourceValidatorForWSDL.java67
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLHyperlink.java117
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLHyperlinkDetector.java105
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelAdapter.java187
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelLocatorAdapterFactory.java46
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelQueryExtension.java237
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/text/WSDLModelReconcileAdapter.java154
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/ComponentReferenceUtil.java959
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/CreateWSDLElementHelper.java368
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/NameUtil.java581
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/NodeAssociationManager.java146
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/OpenOnSelectionHelper.java326
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/ReferenceEditManagerHelper.java123
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/ValidateHelper.java405
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/W11OpenExternalEditorHelper.java200
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLAdapterFactoryHelper.java46
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLEditorUtil.java294
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLResourceUtil.java145
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/WSDLSetComponentHelper.java244
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/XSDComponentHelper.java281
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/util/XSDTypeSystemProvider.java212
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/BaseRenamer.java44
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/BindingRenamer.java42
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/MessageRenamer.java63
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/PortTypeRenamer.java42
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/WSDLVisitor.java197
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/visitor/WSDLVisitorForParameters.java87
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/BindingWizard.java302
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/ContentGeneratorOptionsPage.java26
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/HttpBindingOptionsPage.java143
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/NamespaceTable.java702
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/NewWSDLWizard.java443
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/PortWizard.java162
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/SoapBindingOptionsPage.java189
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/WSDLNewFileOptionsPage.java691
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/wizards/WSDLNewFilePage.java133
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/xsd/XSDNodeAssociationProvider.java77
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDEditorCSHelpIds.java191
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDEditorPlugin.java68
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDLabelProvider.java91
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDMultiPageEditor.java324
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/ASDSelectionManager.java100
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/Messages.java70
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddBindingAction.java51
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddEndPointAction.java55
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddFaultAction.java63
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddImportAction.java51
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddInputAction.java59
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddInterfaceAction.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddMessageAction.java51
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddOperationAction.java70
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddOutputAction.java59
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddParameterAction.java57
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddSchemaAction.java51
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDAddServiceAction.java59
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDeleteAction.java94
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDirectEditAction.java84
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDragAction.java50
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDDragReorderAction.java284
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDEditNamespacesAction.java74
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDGenerateBindingAction.java41
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDOpenSchemaAction.java45
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetExistingBindingAction.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetExistingInterfaceAction.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetNewBindingAction.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ASDSetNewInterfaceAction.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/BaseSelectionAction.java157
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/IASDAddCommand.java15
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/actions/ShowPropertiesViewAction.java56
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/DesignViewContextMenuProvider.java170
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/DesignViewGraphicalViewer.java151
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/DesignViewGraphicsConstants.java49
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/KeyboardDragImpl.java78
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/connections/CenteredConnectionAnchor.java88
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/connections/TopLeftConnectionAnchor.java35
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/ASDCCombo.java1514
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/ASDComboBoxCellEditor.java311
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/ComboBoxCellEditorManager.java204
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/DirectEditSelectionTool.java60
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/LabelCellEditorLocator.java70
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/LabelEditManager.java140
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/directedit/TypeReferenceDirectEditManager.java178
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ASDEditPartFactory.java97
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ASDRootEditPart.java32
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/AbstractBoxtEditPart.java125
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BaseEditPart.java166
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BindingColumnEditPart.java64
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BindingContentEditPart.java91
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/BindingEditPart.java303
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ColumnEditPart.java66
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/DefinitionsEditPart.java159
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/EditPartNavigationHandlerUtil.java180
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/EndPointEditPart.java374
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/IFeedbackHandler.java16
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/INamedEditPart.java19
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/InterfaceEditPart.java164
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/MessageReferenceEditPart.java286
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/OperationEditPart.java168
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ParameterEditPart.java229
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ParameterTypeEditPart.java404
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/ServiceEditPart.java160
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/AbstractModelCollection.java70
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/BindingColumn.java76
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/BindingContentPlaceHolder.java23
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/IActionProvider.java16
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/InterfaceColumn.java64
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editparts/model/ServiceColumn.java43
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDDragAndDropCommand.java135
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDDragAndDropEditPolicy.java38
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDGraphNodeDragTracker.java30
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDLabelDirectEditPolicy.java44
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/editpolicies/ASDSelectionEditPolicy.java89
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/BaseLinkIconFigure.java216
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/BoxComponentFigure.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/ComponentReferenceConnection.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/HeadingFigure.java81
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/LinkIconFigure.java90
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/ListFigure.java79
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/figures/ModelDiagnosticInfo.java71
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/BindingColumnLayout.java145
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/BindingContentLayout.java105
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/BindingLayout.java60
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/ColumnData.java83
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/design/layouts/RowLayout.java182
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IASDObject.java20
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IASDObjectListener.java15
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IBinding.java29
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IBindingMessageReference.java19
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IBindingOperation.java20
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IDescription.java38
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IEndPoint.java24
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IImport.java22
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IInterface.java22
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IMessage.java24
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IMessageReference.java32
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/INamedObject.java21
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IOperation.java30
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IParameter.java39
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IService.java22
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/facade/IType.java15
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/messages.properties50
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ASDContentOutlinePage.java98
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ASDContentOutlineProvider.java156
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ICategoryAdapter.java17
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/outline/ITreeElement.java22
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ASDAbstractSection.java410
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ASDTabbedPropertySheetPage.java48
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/BindingSection.java214
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/DocumentationSection.java154
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/EndPointSection.java235
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ImportSection.java310
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/NameSection.java243
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/NamespaceSection.java259
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ParameterSection.java261
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/properties/sections/ReferenceSection.java138
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/util/ASDEditPartFactoryHelper.java41
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/util/IOpenExternalEditorHelper.java17
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/WSDLComponentRenameParticipant.java43
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/RenameComponentAction.java204
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/WSDLRefactorActionGroup.java46
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/WSDLRefactorGroupActionDelegate.java61
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/refactor/actions/WSDLSelectionDispatchAction.java39
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/search/IWSDLSearchConstants.java34
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/search/WSDLSearchContributor.java77
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-refactor/org/eclipse/wst/wsdl/ui/internal/search/WSDLSearchParticipant.java130
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLFindReferencesAction.java152
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLFindReferencesInProjectAction.java45
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLFindReferencesInWorkingSetAction.java78
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLReferencesSearchGroup.java44
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-search/org/eclipse/wst/wsdl/ui/internal/search/actions/WSDLSearchReferencesGroupActionDelegate.java46
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/Messages.java29
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/SOAPNodeEditorProvider.java96
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/SOAPSelectPartsDialog.java142
    -rw-r--r--bundles/org.eclipse.wst.wsdl.ui/src-soap/org/eclipse/wst/wsdl/ui/internal/soap/customizations/messages.properties12
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/.classpath7
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/.cvsignore10
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/.project28
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/.settings/org.eclipse.jdt.core.prefs57
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/.settings/org.eclipse.jdt.ui.prefs3
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/META-INF/MANIFEST.MF31
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/about.html34
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/build.properties9
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/exsd/extvalidator.exsd127
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/exsd/wsdl11validator.exsd132
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/lib/.cvsignore1
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/plugin.properties23
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/plugin.xml51
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ClassloaderWSDLValidatorDelegate.java82
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/Constants.java50
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ControllerValidationInfo.java32
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IValidationInfo.java81
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IValidationMessage.java75
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IValidationReport.java51
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/IWSDLValidator.java31
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidationController.java393
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidationInfoImpl.java305
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidationMessageImpl.java193
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ValidatorRegistry.java144
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/WSDLValidationConfiguration.java49
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/WSDLValidator.java126
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/WSDLValidatorDelegate.java49
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/EclipseLogger.java53
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/EclipseWSDL11ValidatorDelegate.java60
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/EclipseWSDLValidatorDelegate.java72
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/InlineSchemaModelGrammarPoolImpl.java50
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/URIResolverWrapper.java91
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/ValidateWSDLPlugin.java307
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/Validator.java147
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLDelegatingValidator.java31
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLValidator.java52
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/exception/ValidateWSDLException.java33
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/logging/ILogger.java60
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/logging/LoggerFactory.java62
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/logging/StandardLogger.java42
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/IExtensibleURIResolver.java29
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/IURIResolutionResult.java47
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolutionResult.java61
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolver.java283
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolverDelegate.java63
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/AntLogger.java65
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/ExtensionValidator.java41
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/Property.java66
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/URIResolver.java43
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/WSDLValidate.java489
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/XMLCatalogImpl.java75
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/Log4jLogger.java143
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/WSDLValidate.java333
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/WSDLValidateTextUIMessages.java56
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/ui/text/wsdlvalidatetextui.properties33
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/util/ErrorMessage.java216
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/util/LazyURLInputStream.java163
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/util/MessageGenerator.java93
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ClassloaderWSDL11ValidatorDelegate.java68
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/IWSDL11ValidationInfo.java129
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/IWSDL11Validator.java29
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ImportHolder.java610
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/LocationHolder.java66
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ReaderError.java66
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/ValidatorRegistry.java133
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11BasicValidator.java673
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11ValidationInfoImpl.java190
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11ValidatorController.java347
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDL11ValidatorDelegate.java38
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDLDocument.java2009
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDLReaderImpl.java427
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/http/HTTPValidator.java335
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/mime/MIMEValidator.java43
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/soap/SOAPValidator.java604
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/DOMError.java26
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/FileEntityResolver.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaGenerator.java681
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaValidator.java316
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineXSDResolver.java137
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/SchemaAttributeTable.java104
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/ValidateErrorHandler.java88
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/XMLEntityResolverChain.java81
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/XSDValidator.java300
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/AbstractXMLConformanceFactory.java51
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/DefaultXMLConformanceFactory.java36
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/DefaultXMLValidator.java473
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/ElementLocation.java53
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/IXMLCatalog.java40
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/IXMLValidator.java55
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/LineNumberDOMParser.java153
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalog.java364
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalogEntityHolder.java52
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalogResolver.java71
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLMessageInfoHelper.java132
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/validatewsdl.properties59
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlhttp.properties23
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlmime.properties11
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlsoap.properties45
    -rw-r--r--bundles/org.eclipse.wst.wsdl.validation/src/validatewsdlui.properties25
    -rw-r--r--bundles/org.eclipse.wst.wsdl/.classpath10
    -rw-r--r--bundles/org.eclipse.wst.wsdl/.cvsignore9
    -rw-r--r--bundles/org.eclipse.wst.wsdl/.project28
    -rw-r--r--bundles/org.eclipse.wst.wsdl/.settings/org.eclipse.jdt.core.prefs59
    -rw-r--r--bundles/org.eclipse.wst.wsdl/.settings/org.eclipse.jdt.ui.prefs3
    -rw-r--r--bundles/org.eclipse.wst.wsdl/META-INF/MANIFEST.MF36
    -rw-r--r--bundles/org.eclipse.wst.wsdl/about.html34
    -rw-r--r--bundles/org.eclipse.wst.wsdl/build.properties22
    -rw-r--r--bundles/org.eclipse.wst.wsdl/component.xml77
    -rw-r--r--bundles/org.eclipse.wst.wsdl/grabjars.xml34
    -rw-r--r--bundles/org.eclipse.wst.wsdl/lib/.cvsignore1
    -rw-r--r--bundles/org.eclipse.wst.wsdl/plugin.properties35
    -rw-r--r--bundles/org.eclipse.wst.wsdl/plugin.xml97
    -rw-r--r--bundles/org.eclipse.wst.wsdl/schema/contentGenerators.exsd128
    -rw-r--r--bundles/org.eclipse.wst.wsdl/schema/extensibilityElementFactories.exsd115
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/model/HTTP.genmodel411
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/model/com.ibm.etools.wsdl.bindings.HTTP.cat378
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/model/http.ecore27
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/model/http.mdl32383
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPAddress.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPBinding.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPFactory.java86
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPOperation.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPPackage.java612
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPUrlEncoded.java26
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/HTTPUrlReplacement.java26
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/generator/HTTPContentGenerator.java259
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPAddressImpl.java251
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPBindingImpl.java252
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPFactoryImpl.java127
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPOperationImpl.java252
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPPackageImpl.java412
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPUrlEncodedImpl.java150
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/impl/HTTPUrlReplacementImpl.java150
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPAdapterFactory.java333
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPConstants.java32
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPExtensibilityElementFactory.java56
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-http/org/eclipse/wst/wsdl/binding/http/internal/util/HTTPSwitch.java336
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/model/MIME.genmodel428
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/model/com.ibm.etools.wsdl.bindings.MIME.cat630
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/model/mime.ecore44
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/model/mime.mdl32998
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEContent.java106
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEFactory.java77
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEMimeXml.java79
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEMultipartRelated.java69
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEPackage.java559
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/MIMEPart.java44
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEContentImpl.java337
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEFactoryImpl.java164
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEMimeXmlImpl.java265
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEMultipartRelatedImpl.java244
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEPackageImpl.java427
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/impl/MIMEPartImpl.java203
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMEAdapterFactory.java298
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMEConstants.java31
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMEExtensibilityElementFactory.java54
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-mime/org/eclipse/wst/wsdl/binding/mime/internal/util/MIMESwitch.java295
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/model/SOAP.genmodel429
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/model/com.ibm.etools.wsdl.bindings.SOAP.cat945
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/model/soap.ecore46
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/model/soap.mdl32688
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPAddress.java34
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBinding.java33
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPBody.java35
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFactory.java113
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPFault.java35
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeader.java48
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderBase.java159
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPHeaderFault.java25
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPOperation.java33
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/SOAPPackage.java1068
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/generator/SOAPContentGenerator.java376
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPAddressImpl.java264
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPBindingImpl.java324
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPBodyImpl.java558
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFactoryImpl.java229
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPFaultImpl.java406
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderBaseImpl.java564
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderFaultImpl.java208
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPHeaderImpl.java303
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPOperationImpl.java325
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/impl/SOAPPackageImpl.java594
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPAdapterFactory.java333
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPConstants.java44
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPExtensibilityElementFactory.java64
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/util/SOAPSwitch.java358
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.html21
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/package.xml18
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/model/WSDL.mdl31023
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/model/com.ibm.etools.WSDL.cat6997
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/model/wsdl.ecore606
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/model/wsdl.genmodel393
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Binding.java138
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingFault.java113
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingInput.java113
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingOperation.java161
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/BindingOutput.java114
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Definition.java299
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/ExtensibilityElement.java91
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/ExtensibleElement.java81
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Fault.java31
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Import.java169
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Input.java31
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Message.java112
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/MessageReference.java85
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Namespace.java91
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Operation.java210
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Output.java31
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Part.java202
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Port.java90
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/PortType.java112
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Service.java112
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/Types.java58
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/UnknownExtensibilityElement.java53
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLElement.java149
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLFactory.java232
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLPackage.java3658
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLPlugin.java108
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/WSDLPluginImplementation.java38
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/XSDSchemaExtensibilityElement.java60
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/extensibility/ExtensibilityElementFactoryDescriptor.java54
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/extensibility/ExtensibilityElementFactoryRegistryImpl.java45
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/extensibility/ExtensibilityElementFactoryRegistryReader.java81
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/BaseGenerator.java66
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/BindingGenerator.java617
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/ContentGenerator.java42
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/PortGenerator.java225
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/extension/ContentGeneratorExtensionDescriptor.java53
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/extension/ContentGeneratorExtensionFactoryRegistry.java168
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/generator/extension/ContentGeneratorExtensionRegistryReader.java75
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/BindingFaultImpl.java425
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/BindingImpl.java786
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/BindingInputImpl.java420
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/BindingOperationImpl.java801
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/BindingOutputImpl.java420
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/DefinitionImpl.java2381
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ExtensibilityElementImpl.java409
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ExtensibleElementImpl.java238
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/FaultImpl.java179
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ImportImpl.java600
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/InputImpl.java179
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/MessageImpl.java609
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/MessageReferenceImpl.java344
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/NamespaceImpl.java234
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/OperationImpl.java1208
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/OutputImpl.java179
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/PartImpl.java764
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/PortImpl.java437
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/PortTypeImpl.java636
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/ServiceImpl.java626
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/TypesImpl.java334
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/UnknownExtensibilityElementImpl.java320
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/WSDLElementImpl.java1579
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/WSDLFactoryImpl.java523
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/WSDLPackageImpl.java2506
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/XSDSchemaExtensibilityElementImpl.java414
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/wsdl4j/WSDLFactoryImpl.java52
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/wsdl4j/WSDLReaderImpl.java229
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/impl/wsdl4j/WSDLWriterImpl.java138
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/Reconcilable.java23
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLAdapterFactory.java1039
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLDefinitionFactory.java61
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLModelLocator.java56
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLResourceFactoryImpl.java49
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLSwitch.java1074
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/WSDLUtil.java155
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/XSDSchemaLocatorAdapterFactory.java31
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/internal/util/XSDSchemaLocatorImpl.java73
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/package.html21
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/package.xml18
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/ExtensibilityElementFactory.java26
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/ExtensibilityElementFactoryRegistry.java24
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLConstants.java370
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLDiagnostic.java95
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLDiagnosticImpl.java350
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLDiagnosticSeverity.java165
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLParser.java682
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLResourceFactoryRegistry.java140
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/WSDLResourceImpl.java533
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/package.html22
    -rw-r--r--bundles/org.eclipse.wst.wsdl/src-wsdl/org/eclipse/wst/wsdl/util/package.xml19
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/.classpath7
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/.cvsignore7
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/.project28
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/.settings/org.eclipse.jdt.core.prefs12
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/.settings/org.eclipse.jdt.ui.prefs3
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/META-INF/MANIFEST.MF38
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/about.html34
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/build.properties10
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/icons/full/obj16/validate.gifbin227 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsi.ui/icons/wsi_logfile_obj.gifbin205 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsi.ui/plugin.properties18
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/plugin.xml89
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/Messages.java74
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/Messages.properties61
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/Resource.java21
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/ResourceFilter.java101
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/WSIMessageValidator.java59
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/WSIUIPlugin.java82
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/WSIValidator.java65
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/ValidateAction.java431
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/WSIValidateAction.java295
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/WSIValidationUIMessages.java32
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/actionDelegates/RequestHandlerImpl.java226
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/actionDelegates/ValidateWSILogFileActionDelegate.java76
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/actionDelegates/ValidateWSIProfileActionDelegate.java240
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/icons/wsi_logfile_wiz.gifbin2549 -> 0 bytes-rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/actions/wsivalidation.properties17
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizard.java319
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizardLogPage.java133
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizardWSDLContentPage.java908
    -rw-r--r--bundles/org.eclipse.wst.wsi.ui/src/org/eclipse/wst/wsi/ui/internal/wizards/ValidationWizardWSDLPage.java373
    -rw-r--r--bundles/org.eclipse.wst.wsi/.classpath7
    -rw-r--r--bundles/org.eclipse.wst.wsi/.cvsignore7
    -rw-r--r--bundles/org.eclipse.wst.wsi/.project28
    -rw-r--r--bundles/org.eclipse.wst.wsi/.settings/org.eclipse.jdt.core.prefs12
    -rw-r--r--bundles/org.eclipse.wst.wsi/.settings/org.eclipse.jdt.ui.prefs3
    -rw-r--r--bundles/org.eclipse.wst.wsi/META-INF/MANIFEST.MF57
    -rw-r--r--bundles/org.eclipse.wst.wsi/about.html34
    -rw-r--r--bundles/org.eclipse.wst.wsi/build.properties10
    -rw-r--r--bundles/org.eclipse.wst.wsi/component.xml1
    -rw-r--r--bundles/org.eclipse.wst.wsi/plugin.properties22
    -rw-r--r--bundles/org.eclipse.wst.wsi/plugin.xml81
    -rw-r--r--bundles/org.eclipse.wst.wsi/schema/reportArtifactTypes.exsd111
    -rw-r--r--bundles/org.eclipse.wst.wsi/schema/tads.exsd129
    -rw-r--r--bundles/org.eclipse.wst.wsi/schema/wsivalidator.exsd127
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/WSIPreferences.java74
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/WSITestToolsEclipseProperties.java142
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/WSITestToolsPlugin.java208
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/WSITestToolsProperties.java127
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/analyzer/MessageAnalyzer.java313
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/analyzer/WSDLAnalyzer.java384
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/analyzer/WSIAnalyzerException.java82
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/analyzer/WSIBasicProfileAnalyzer.java87
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/ToolEnvironment.java254
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/ToolInfo.java447
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/WSIConstants.java483
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/WSIException.java151
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/WSIFileNotFoundException.java56
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/WSIRuntimeException.java55
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/WSITag.java114
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/Analyzer.java314
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/Analyzer.properties45
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/AnalyzerContext.java100
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/AssertionFailException.java43
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/AssertionNotApplicableException.java43
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/AssertionPassException.java43
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/AssertionResultException.java65
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/BasicProfileAnalyzer.java460
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/CandidateInfo.java922
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/EnvironmentInfo.java83
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/ServiceReference.java109
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/config/AnalyzerConfig.java256
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/config/AnalyzerConfigReader.java51
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/config/AssertionResultType.java160
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/config/AssertionResultsOption.java100
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/config/UDDIReference.java116
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/config/WSDLElement.java135
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/config/WSDLReference.java78
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/config/impl/AnalyzerConfigImpl.java1060
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/config/impl/AnalyzerConfigReaderImpl.java559
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/config/impl/AssertionResultsOptionImpl.java200
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/config/impl/UDDIReferenceImpl.java197
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/config/impl/WSDLElementImpl.java202
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/analyzer/config/impl/WSDLReferenceImpl.java163
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/common/AddStyleSheet.java124
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/common/impl/AddStyleSheetImpl.java220
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/document/DocumentElement.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/document/DocumentFactory.java182
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/document/DocumentReader.java34
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/document/DocumentWriter.java67
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/document/WSIDocument.java34
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/document/impl/DocumentFactoryImpl.java166
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/document/impl/DocumentWriterImpl.java133
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/log/Log.java98
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/log/LogBuilder.java431
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/log/LogReader.java48
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/log/LogWriter.java46
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/log/MessageEntry.java217
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/log/MessageEntryHandler.java41
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/log/MimePart.java79
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/log/MimeParts.java60
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/log/RequestHandler.java132
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/log/impl/LogImpl.java219
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/log/impl/LogReaderImpl.java857
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/log/impl/LogWriterImpl.java51
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/log/impl/MessageEntryImpl.java374
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/log/impl/MimePartImpl.java139
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/log/impl/MimePartsImpl.java75
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/ChunkedData.java221
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/ConnectionListener.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/MessageEntryQueue.java220
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/Monitor.java505
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/Monitor.properties38
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/ServerSocketListener.java140
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/SocketConnection.java306
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/SocketHandler.java963
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/config/Comment.java50
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/config/ManInTheMiddle.java72
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/config/MonitorConfig.java165
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/config/MonitorConfigReader.java49
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/config/Redirect.java124
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/config/impl/CommentImpl.java75
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/config/impl/ManInTheMiddleImpl.java142
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/config/impl/MonitorConfigImpl.java561
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/config/impl/MonitorConfigReaderImpl.java479
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/monitor/config/impl/RedirectImpl.java299
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/EntryTypeList.java82
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/Profile.java24
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/ProfileArtifact.java87
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/ProfileAssertions.java123
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/ProfileAssertionsReader.java43
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/TestAssertion.java177
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/impl/EntryTypeListImpl.java94
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/impl/ProfileArtifactImpl.java123
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/impl/ProfileAssertionsImpl.java193
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/impl/ProfileAssertionsReaderImpl.java586
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/impl/TestAssertionImpl.java256
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/BaseValidator.java98
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/EntryContext.java224
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/EnvelopeValidator.java61
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/LogValidator.java27
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/MessageValidator.java83
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/ProfileValidatorFactory.java109
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/UDDIValidator.java70
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/WSDLValidator.java88
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/AssertionProcess.java66
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/AssertionProcessVisitor.java154
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/BaseMessageValidator.java1910
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/BaseValidatorImpl.java705
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/ProfileValidatorFactoryImpl.java102
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/AP1920.java119
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/AP1928.java426
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1005.java167
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1007.java64
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1008.java277
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1009.java313
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1011.java203
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1012.java102
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1013.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1031.java108
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1032.java152
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1033.java126
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1100.java103
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1107.java277
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1201.java77
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1202.java104
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1203.java147
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1204.java302
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1208.java88
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1211.java147
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1212.java165
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1213.java141
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1214.java142
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1301.java198
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1302.java181
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1305.java132
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1306.java114
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1307.java98
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1308.java97
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1309.java124
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1316.java113
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1318.java183
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1600.java269
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1601.java73
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1701.java110
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP1755.java167
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP4100.java226
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP4101.java132
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP4102.java114
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/BP4109.java107
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/EnvelopeValidatorImpl.java76
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/SSBP1601.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/envelope/SSBP9704.java126
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP1003.java59
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP1902.java124
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP1915.java136
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP1917.java153
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP1925.java133
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP1926.java210
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP1931.java91
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP1932.java80
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP1933.java257
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP1934.java103
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP1935.java348
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP1936.java72
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP1942.java264
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP1945.java73
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP1946.java64
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP5100.java53
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/AP5101.java51
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/BP1001.java101
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/BP1002.java137
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/BP1004.java73
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/BP1006.java69
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/BP1010.java126
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/BP1101.java86
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/BP1103.java80
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/BP1104.java93
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/BP1116.java150
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/BP4103.java126
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/BP4104.java87
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/BP4105.java95
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/BP4106.java77
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/BP4107.java66
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/MessageValidatorImpl.java78
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/SSBP1003.java228
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/SSBP5100.java80
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/SSBP5101.java67
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1001.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1002.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1003.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1004.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1005.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1006.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1007.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1008.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1009.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1010.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1011.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1012.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1013.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1031.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1100.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1101.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1102.java150
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1103.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1104.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1105.java110
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1107.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1108.java415
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1109.java103
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1110.java104
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1111.java111
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1116.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1121.java162
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1201.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1202.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1203.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1204.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1208.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1211.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1301.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1302.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1305.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1306.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1307.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1308.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1309.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1311.java204
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1316.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1318.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1601.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI1701.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI4100.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI4101.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI4102.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI4103.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI4104.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI4105.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI4106.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/message/WSI4107.java28
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/uddi/BP3001.java155
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/uddi/BP3002.java81
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/uddi/BP3003.java78
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/uddi/UDDIValidatorImpl.java542
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/uddi/WSI3001.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/uddi/WSI3002.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/uddi/WSI3003.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/uddi/WSI3004.java290
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/uddi/WSI3005_OBSOLETE.java119
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/uddi/WSI3006.java165
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/uddi/WSI3007.java155
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/uddi/WSI3021.java115
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/AP2901.java146
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/AP2903.java241
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/AP2904.java47
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/AP2906.java216
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/AP2907.java52
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/AP2908.java296
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/AP2909.java215
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/AP2910.java230
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/AP2911.java228
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/AP2930.java136
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/AP2940.java450
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/AP2941.java367
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/AP2944.java234
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/AP2946.java194
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2010.java119
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2011.java349
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2012.java123
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2013.java91
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2014.java286
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2017.java142
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2018.java127
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2019.java122
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2020.java162
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2021.java112
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2022.java82
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2023.java85
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2032.java86
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2034.java94
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2098.java69
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2101.java106
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2102.java210
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2103.java130
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2104.java100
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2105.java232
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2107.java200
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2108.java94
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2110.java98
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2111.java142
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2112.java203
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2113.java159
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2114.java278
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2115.java97
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2116.java88
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2117.java183
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2118.java98
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2119.java165
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2120.java247
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2121.java174
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2122.java95
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2123.java357
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2201.java189
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2202.java428
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2208.java72
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2402.java69
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2404.java76
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2406.java166
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2416.java209
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2417.java160
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2700.java81
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2701.java89
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2703.java49
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP2803.java87
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP4200.java162
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP4201.java144
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/BP4202.java131
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/SSBP2209.java29
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/SSBP2402.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/SSBP2403.java191
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSDLValidatorImpl.java2385
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2010.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2011.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2012.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2013.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2014.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2017.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2018.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2019.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2020.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2021.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2022.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2032.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2098.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2099.java157
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2100.java171
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2101.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2102.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2103.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2104.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2105.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2107.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2108.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2110.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2111.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2112.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2113.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2114.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2115.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2116.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2117.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2118.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2119.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2120.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2122.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2123.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2201.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2202.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2208.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2402.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2403.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2404.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2406.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2416.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2417.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2700.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2701.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI2703.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI4200.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI4201.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/profile/validator/impl/wsdl/WSI4202.java26
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/ArtifactReference.java67
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/AssertionResult.java148
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/BuildReport.java125
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/Entry.java153
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/EntryContainer.java35
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/EntryResult.java42
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/FailureDetail.java94
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/PrereqFailedList.java43
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/Report.java105
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/ReportArtifact.java79
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/ReportContext.java116
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/ReportWriter.java40
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/Reporter.java21
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/WriteReport.java47
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/impl/ArtifactReferenceImpl.java125
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/impl/AssertionResultImpl.java236
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/impl/DefaultReporter.java287
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/impl/EntryContainerImpl.java56
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/impl/EntryImpl.java276
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/impl/EntryResultImpl.java56
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/impl/FailureDetailImpl.java151
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/impl/PrereqFailedListImpl.java76
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/impl/ReportArtifactImpl.java115
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/impl/ReportImpl.java514
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/report/impl/ReportWriterImpl.java63
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/toolinfo.properties18
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/ArtifactType.java214
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/BasicRules.java477
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/EntryType.java296
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/ErrorList.java156
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/HTTPConstants.java600
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/HTTPUtils.java182
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/HttpHeadersValidator.java1721
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/JavaEncoding.properties31
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/MIMEConstants.java24
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/MIMEUtils.java138
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/MessageList.java171
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/NullUtil.java40
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/OperationSignature.java788
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/Pair.java77
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/SetCookie2Validator.java629
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/StringTokenizer.java212
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/TestUtils.java192
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/TypesRegistry.java581
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/UDDIUtils.java543
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/Utils.java1446
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/WSDLUtil.java160
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/WSIProperties.java347
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/XMLInfo.java27
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/util/wsi.properties46
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/WSDLDocument.java323
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/WSDLElementList.java99
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/WSDLReaderImpl.java801
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/WSDLUtils.java411
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/traversal/VisitorAdaptor.java201
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/traversal/WSDLTraversal.java3290
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/traversal/WSDLTraversalContext.java1126
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/traversal/WSDLVisitor.java233
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/xsd/FileEntityResolver.java50
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/xsd/InlineSchemaGenerator.java590
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/xsd/InlineSchemaValidator.java241
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/xsd/InlineXSDResolver.java110
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/xsd/LazyURLInputStream.java162
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/xsd/SchemaAttributeTable.java105
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/xsd/ValidateErrorHandler.java62
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/xsd/XMLCatalog.java90
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/xsd/XMLCatalogImpl.java45
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/xsd/XMLCatalogResolver.java67
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/xsd/XMLEntityResolverChain.java74
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/wsdl/xsd/XSDValidator.java190
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/xml/XMLConvertor.java69
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/xml/XMLDocumentCache.java77
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/xml/XMLDocumentCacheUser.java117
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/xml/XMLTags.java60
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/xml/XMLTraversal.java129
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/xml/XMLUtils.java1536
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/xml/XMLVisitor.java186
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/xml/dom/DOMParser.java93
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/xml/dom/ElementLocation.java91
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/xml/jaxp/DocumentBuilderFactoryImpl.java100
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/xml/jaxp/DocumentBuilderImpl.java248
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/xml/schema/TargetNamespaceProcessor.java142
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/xml/schema/XMLSchemaProcessor.java170
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/core/xml/schema/XMLSchemaValidator.java152
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/document/DocumentFactoryImpl.java64
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/report/AssertionError.java131
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/report/NullReportImpl.java54
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/report/ReportNoWriterImpl.java84
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/report/SimpleReporter.java48
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/validate/wsdl/WSDLValidator.java389
    -rw-r--r--bundles/org.eclipse.wst.wsi/src/wsivalidate.properties16
    -rw-r--r--docs/org.eclipse.jst.ws.axis.infopop/.cvsignore1
    -rw-r--r--docs/org.eclipse.jst.ws.axis.infopop/.project22
    -rw-r--r--docs/org.eclipse.jst.ws.axis.infopop/META-INF/MANIFEST.MF8
    -rw-r--r--docs/org.eclipse.jst.ws.axis.infopop/about.html34
    -rw-r--r--docs/org.eclipse.jst.ws.axis.infopop/axisconsumptionui-f1Contexts.xml90
    -rw-r--r--docs/org.eclipse.jst.ws.axis.infopop/axiscreationui-f1Contexts.xml100
    -rw-r--r--docs/org.eclipse.jst.ws.axis.infopop/build.properties6
    -rw-r--r--docs/org.eclipse.jst.ws.axis.infopop/plugin.properties3
    -rw-r--r--docs/org.eclipse.jst.ws.axis.infopop/plugin.xml19
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/.cvsignore3
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/.project22
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/META-INF/MANIFEST.MF7
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/about.html34
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/build.properties9
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/build.xml59
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/concepts/caxistover.dita47
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/concepts/caxistover.html72
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/myplugin.xml22
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/org.eclipse.jst.ws.axis.ui.doc.user.maplist8
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/org.eclipse.jst.ws.axis.ui.doc.userindex.html75
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/org.eclipse.jst.ws.axis.ui.doc.userindex.xml51
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/plugin.properties15
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/plugin.xml22
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/tasks/tsampappa.dita131
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/tasks/tsampappa.html181
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/tasks/tsklwsdla.dita123
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/tasks/tsklwsdla.html216
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/tasks/ttomcatserv.dita62
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/tasks/ttomcatserv.html101
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/tasks/twsbeana.dita168
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/tasks/twsbeana.html230
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/wsaxisbuild_toc.ditamap28
    -rw-r--r--docs/org.eclipse.jst.ws.axis.ui.doc.user/wsaxisbuild_toc.xml7
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.infopop/.cvsignore1
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.infopop/.project22
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.infopop/META-INF/MANIFEST.MF7
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.infopop/about.html34
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.infopop/build.properties7
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.infopop/plugin.properties3
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.infopop/plugin.xml20
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.infopop/wsconsumptionui-f1Contexts.xml460
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.infopop/wscreationui-f1Contexts.xml172
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/.cvsignore4
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/.project22
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/META-INF/MANIFEST.MF8
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/about.html34
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/build.properties12
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/build.xml59
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/concepts/cuddi.dita92
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/concepts/cuddi.html120
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/concepts/cwsdlud.dita111
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/concepts/cwsdlud.html156
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/addfav.gifbin237 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/adduddi.gifbin230 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/beaninfojsp.gifbin7147 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/bindnode.gifbin364 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/browsebutton.gifbin213 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/busasst.gifbin139 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/fav.gifbin265 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/find.gifbin153 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/fswsdlicon.gifbin213 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/login.gifbin179 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/loginicon.gifbin346 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/logouticon.gifbin1096 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/mptwsdlicon.gifbin891 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/newjsp.gifbin22101 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/opnode.gifbin221 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/proxyonjsp.gifbin7318 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/publish2.gifbin163 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/pubserv.gifbin240 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/refserv.gifbin273 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/runjsf.gifbin7736 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/scenario7.gifbin7006 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/servnode.gifbin571 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/soapudws.cdrbin47164 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/uddi.cdrbin39990 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/uddi.gifbin5498 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/uddiref.cdrbin42332 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/uddiref.gifbin9793 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/uddiview.gifbin159 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdlbnddetl.gifbin22014 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdldetail.gifbin15345 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdldtlicon.gifbin914 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdlexp.gifbin11235 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdlfavicon.gifbin136 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdlicon.gifbin597 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdlnode.gifbin548 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdlop.gifbin18275 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdlopret.gifbin16767 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdlopretx.gifbin18157 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdlpage.gifbin14584 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdlservdet.gifbin17660 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdlstatx.gifbin31686 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdltemp.gifbin16096 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdluddi.cdrbin45554 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsdluddi.gifbin16346 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsilpage.gifbin26640 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsilview.gifbin367 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wsinjsp.gifbin8636 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/images/wswizicon.gifbin573 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/myplugin.xml23
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/org.eclipse.jst.ws.consumption.ui.doc.user.maplist10
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/org.eclipse.jst.ws.consumption.ui.doc.userindex.html179
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/org.eclipse.jst.ws.consumption.ui.doc.userindex.xml160
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/plugin.properties15
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/plugin.xml23
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/ref/ruddi.dita77
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/ref/ruddi.html112
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/taddreg.dita78
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/taddreg.html115
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tassert.dita61
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tassert.html99
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tbkmrk.dita59
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tbkmrk.html96
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tbusproj.dita54
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tbusproj.html90
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tdiscov.dita177
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tdiscov.html275
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tgenwsil.dita72
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tgenwsil.html115
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tlogexp.dita55
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tlogexp.html93
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tpubent.dita102
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tpubent.html160
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tpublish.dita107
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tpublish.html166
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/treg.dita54
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/treg.html88
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tstrtexp.dita119
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tstrtexp.html186
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/ttestwsdl.dita103
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/ttestwsdl.html137
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tuddiexp.dita130
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tuddiexp.html189
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tunpub.dita63
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tunpub.html102
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tupdate.dita57
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/tupdate.html98
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/twsdlexp.dita142
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/twsdlexp.html200
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/wsconsumptionbuild_toc.ditamap41
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/wsconsumptionbuild_toc.xml27
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/wsconsumptiont_toc.ditamap30
    -rw-r--r--docs/org.eclipse.jst.ws.consumption.ui.doc.user/wsconsumptiont_toc.xml21
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/.cvsignore5
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/.project22
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/META-INF/MANIFEST.MF7
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/about.html34
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/build.properties11
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/build.xml59
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cjaxrpc.dita65
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cjaxrpc.html89
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cjsr109.dita40
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cjsr109.html69
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/csoap.dita108
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/csoap.html154
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cws.dita93
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cws.html137
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwsbtmup.dita38
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwsbtmup.html63
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwsdl.dita73
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwsdl.html102
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwsil.dita84
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwsil.html120
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwsilud.dita72
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwsilud.html104
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwsinwsa.dita48
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwsinwsa.html75
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwsiover.dita40
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwsiover.html63
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwsstandards.dita223
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwsstandards.html315
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwstopdown.dita39
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/concepts/cwstopdown.html65
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/images/roles.gifbin4283 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.doc.user/images/soapudws.gifbin17234 -> 0 bytes-rw-r--r--docs/org.eclipse.jst.ws.doc.user/myplugin.xml20
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/org.eclipse.jst.ws.doc.user.maplist8
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/org.eclipse.jst.ws.doc.userindex.html169
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/org.eclipse.jst.ws.doc.userindex.xml134
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/plugin.properties15
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/plugin.xml20
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/ref/rwsdl.dita55
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/ref/rwsdl.html92
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/ref/rwspref.dita156
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/ref/rwspref.html236
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/tasks/toverws.dita54
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/tasks/toverws.html87
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/tasks/twsicomply.dita68
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/tasks/twsicomply.html114
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/webservice_toc.ditamap91
    -rw-r--r--docs/org.eclipse.jst.ws.doc.user/webservice_toc.xml62
    -rw-r--r--docs/org.eclipse.jst.ws.infopop/.cvsignore1
    -rw-r--r--docs/org.eclipse.jst.ws.infopop/.project22
    -rw-r--r--docs/org.eclipse.jst.ws.infopop/META-INF/MANIFEST.MF7
    -rw-r--r--docs/org.eclipse.jst.ws.infopop/about.html34
    -rw-r--r--docs/org.eclipse.jst.ws.infopop/build.properties5
    -rw-r--r--docs/org.eclipse.jst.ws.infopop/plugin.properties3
    -rw-r--r--docs/org.eclipse.jst.ws.infopop/plugin.xml18
    -rw-r--r--docs/org.eclipse.jst.ws.infopop/webserviceui-f1Contexts.xml116
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/.cvsignore3
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/.project22
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/META-INF/MANIFEST.MF8
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/about.html34
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/build.properties7
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/build.xml59
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/myplugin.xml22
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/org.eclipse.wst.command.env.doc.user.maplist8
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/plugin.properties15
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/plugin.xml22
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/topics/cwsaxisant.dita45
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/topics/cwsaxisant.html90
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/topics/rbuwsa.dita99
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/topics/rbuwsa.html177
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/topics/rtdwsa.dita100
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/topics/rtdwsa.html178
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/topics/rwsclienta.dita89
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/topics/rwsclienta.html164
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/topics/twbwsa.dita75
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/topics/twbwsa.html141
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/topics/twbwsclienta.dita66
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/topics/twbwsclienta.html126
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/wsaxisant_toc.ditamap19
    -rw-r--r--docs/org.eclipse.wst.command.env.doc.user/wsaxisant_toc.xml15
    -rw-r--r--docs/org.eclipse.wst.command.env.infopop/.cvsignore1
    -rw-r--r--docs/org.eclipse.wst.command.env.infopop/.project22
    -rw-r--r--docs/org.eclipse.wst.command.env.infopop/META-INF/MANIFEST.MF8
    -rw-r--r--docs/org.eclipse.wst.command.env.infopop/about.html34
    -rw-r--r--docs/org.eclipse.wst.command.env.infopop/build.properties6
    -rw-r--r--docs/org.eclipse.wst.command.env.infopop/plugin.properties3
    -rw-r--r--docs/org.eclipse.wst.command.env.infopop/plugin.xml18
    -rw-r--r--docs/org.eclipse.wst.command.env.infopop/wst-command-f1.xml30
    -rw-r--r--docs/org.eclipse.wst.ws.infopop/.cvsignore1
    -rw-r--r--docs/org.eclipse.wst.ws.infopop/.project22
    -rw-r--r--docs/org.eclipse.wst.ws.infopop/META-INF/MANIFEST.MF8
    -rw-r--r--docs/org.eclipse.wst.ws.infopop/about.html34
    -rw-r--r--docs/org.eclipse.wst.ws.infopop/build.properties6
    -rw-r--r--docs/org.eclipse.wst.ws.infopop/plugin.properties13
    -rw-r--r--docs/org.eclipse.wst.ws.infopop/plugin.xml18
    -rw-r--r--docs/org.eclipse.wst.ws.infopop/webserviceui-f1Contexts.xml137
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/.cvsignore4
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/.project22
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/.settings/org.eclipse.core.resources.prefs3
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/.settings/org.eclipse.pde.prefs13
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/META-INF/MANIFEST.MF8
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/about.html34
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/build.properties11
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/build.xml59
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/concepts/cwsdled.dita57
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/concepts/cwsdled.html95
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/images/httpskel.gifbin7112 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/images/show-hide-binding.gifbin143 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/images/soapskel.gifbin7881 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/images/wsdleditor.gifbin10559 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/myplugin.xml31
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/org.eclipse.wst.wsdl.ui.doc.user.maplist10
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/org.eclipse.wst.wsdl.ui.doc.userindex.html85
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/org.eclipse.wst.wsdl.ui.doc.userindex.xml84
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/plugin.properties15
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/plugin.xml31
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/taddmess.dita87
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/taddmess.html142
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/taddoper.dita57
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/taddoper.html101
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/taddpart.dita53
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/taddpart.html88
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/taddport.dita63
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/taddport.html102
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/taddsrvc.dita45
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/taddsrvc.html76
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/tcrtimpt.dita46
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/tcrtimpt.html77
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/tcrttype.dita39
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/tcrttype.html68
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/tcrtwsdl.dita91
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/tcrtwsdl.html139
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/tedtwsdl.dita98
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/tedtwsdl.html151
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/timpwsdl.dita80
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/timpwsdl.html119
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/tsetbind.dita108
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/tsetbind.html172
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/tsetprtt.dita115
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/tasks/tsetprtt.html179
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/wswsdleditorc_toc.ditamap8
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/wswsdleditorc_toc.xml7
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/wswsdleditort_toc.ditamap34
    -rw-r--r--docs/org.eclipse.wst.wsdl.ui.doc.user/wswsdleditort_toc.xml22
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/.cvsignore3
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/.project22
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/.settings/org.eclipse.core.resources.prefs3
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/META-INF/MANIFEST.MF7
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/about.html34
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/build.properties9
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/build.xml59
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/images/traffic.gifbin27043 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/images/wsivalico.gifbin217 -> 0 bytes-rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/myplugin.xml27
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/org.eclipse.wst.wsi.ui.doc.user.maplist8
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/org.eclipse.wst.wsi.ui.doc.userindex.html60
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/org.eclipse.wst.wsi.ui.doc.userindex.xml37
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/plugin.properties15
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/plugin.xml27
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/tasks/tmonitor.dita93
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/tasks/tmonitor.html148
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/tasks/twsdlval.dita53
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/tasks/twsdlval.html79
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/tasks/twsival.dita53
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/tasks/twsival.html84
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/wswsitest_toc.ditamap11
    -rw-r--r--docs/org.eclipse.wst.wsi.ui.doc.user/wswsitest_toc.xml9
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/.cvsignore1
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/.project17
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/addPreBuiltComponents.xml79
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/build.properties6
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/eclipse_update_120.jpgbin21695 -> 0 bytes-rw-r--r--features/org.eclipse.wst.ws_core.feature/epl-v10.html328
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/feature.properties144
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/feature.xml98
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/license.html93
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/build.properties16
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/eclipse_update_120.jpgbin21695 -> 0 bytes-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/epl-v10.html328
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/feature.properties144
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/feature.xml30
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplateFeature/license.html79
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.html27
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.ini31
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.mappings6
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/about.properties26
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/build.properties2
    -rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/eclipse32.gifbin1706 -> 0 bytes-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/eclipse32.pngbin4634 -> 0 bytes-rw-r--r--features/org.eclipse.wst.ws_core.feature/sourceTemplatePlugin/plugin.properties12
    -rw-r--r--features/org.eclipse.wst.ws_sdk.feature/.cvsignore4
    -rw-r--r--features/org.eclipse.wst.ws_sdk.feature/.project17
    -rw-r--r--features/org.eclipse.wst.ws_sdk.feature/build.properties7
    -rw-r--r--features/org.eclipse.wst.ws_sdk.feature/eclipse_update_120.jpgbin21695 -> 0 bytes-rw-r--r--features/org.eclipse.wst.ws_sdk.feature/epl-v10.html328
    -rw-r--r--features/org.eclipse.wst.ws_sdk.feature/feature.properties144
    -rw-r--r--features/org.eclipse.wst.ws_sdk.feature/feature.xml32
    -rw-r--r--features/org.eclipse.wst.ws_sdk.feature/license.html93
    -rw-r--r--features/org.eclipse.wst.ws_tests.feature/.cvsignore2
    -rw-r--r--features/org.eclipse.wst.ws_tests.feature/.project17
    -rw-r--r--features/org.eclipse.wst.ws_tests.feature/build.properties5
    -rw-r--r--features/org.eclipse.wst.ws_tests.feature/eclipse_update_120.jpgbin21695 -> 0 bytes-rw-r--r--features/org.eclipse.wst.ws_tests.feature/epl-v10.html328
    -rw-r--r--features/org.eclipse.wst.ws_tests.feature/feature.properties144
    -rw-r--r--features/org.eclipse.wst.ws_tests.feature/feature.xml60
    -rw-r--r--features/org.eclipse.wst.ws_tests.feature/license.html93
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/.cvsignore1
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/.project17
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/build.properties5
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/eclipse_update_120.jpgbin21695 -> 0 bytes-rw-r--r--features/org.eclipse.wst.ws_ui.feature/epl-v10.html328
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/feature.properties144
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/feature.xml66
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/license.html93
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/build.properties19
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/eclipse_update_120.jpgbin21695 -> 0 bytes-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/epl-v10.html328
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/feature.properties144
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/feature.xml38
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplateFeature/license.html79
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.html27
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.ini31
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.mappings6
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/about.properties26
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/build.properties3
    -rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/eclipse32.gifbin1706 -> 0 bytes-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/eclipse32.pngbin4634 -> 0 bytes-rw-r--r--features/org.eclipse.wst.ws_ui.feature/sourceTemplatePlugin/plugin.properties12
    -rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/.cvsignore3
    -rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/.project17
    -rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/build.properties5
    -rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/eclipse_update_120.jpgbin21695 -> 0 bytes-rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/epl-v10.html328
    -rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/feature.properties144
    -rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/feature.xml45
    -rw-r--r--features/org.eclipse.wst.ws_userdoc.feature/license.html93
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/.classpath7
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/.cvsignore4
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/.project28
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/.settings/org.eclipse.jdt.core.prefs57
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/.settings/org.eclipse.pde.prefs12
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/META-INF/MANIFEST.MF14
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/about.html34
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/build.properties5
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaServiceProxy.java49
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaServiceSOAPStub.java175
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaService_PortType.java12
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaService_Service.java16
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/AreaService_ServiceLocator.java142
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource1/org/tempuri/AreaService/Dimensions.java146
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/Converter.java13
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterProxy.java55
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterService.java16
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterServiceLocator.java142
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/data/axisSource2/wtp/ConverterSoapBindingStub.java169
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/plugin.properties19
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/unittest/LocatorTests.java120
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/Filter.java21
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/JavaFilter.java25
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/StdoutProgressMonitor.java47
    -rw-r--r--tests/org.eclipse.jst.ws.axis.consumption.core.tests/tests/org/eclipse/jst/ws/axis/consumption/core/tests/util/Util.java259
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/.classpath7
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/.cvsignore4
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/.project28
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/.settings/org.eclipse.jdt.core.prefs57
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/.settings/org.eclipse.pde.prefs12
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/META-INF/MANIFEST.MF31
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/about.html34
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/build.properties8
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/plugin.properties19
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/plugin.xml6
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/axis/tomcat/v50/perfmsr/PerfmsrBUJavaAxisTC50.java160
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/axis/tomcat/v50/perfmsr/PerfmsrClientAxisTC50.java148
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/axis/tomcat/v50/perfmsr/PerfmsrTDJavaAxisTC50.java141
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/AllPerformanceTests.java32
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/plugin/PerformancePlugin.java71
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/util/EclipsePerformanceLog.java77
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/src/org/eclipse/jst/ws/tests/performance/util/PerformanceJUnitUtils.java49
    -rw-r--r--tests/org.eclipse.jst.ws.tests.performance/test.xml189
    -rw-r--r--tests/org.eclipse.wst.ws.tests/.classpath7
    -rw-r--r--tests/org.eclipse.wst.ws.tests/.cvsignore4
    -rw-r--r--tests/org.eclipse.wst.ws.tests/.project28
    -rw-r--r--tests/org.eclipse.wst.ws.tests/.settings/org.eclipse.jdt.core.prefs57
    -rw-r--r--tests/org.eclipse.wst.ws.tests/.settings/org.eclipse.pde.prefs13
    -rw-r--r--tests/org.eclipse.wst.ws.tests/META-INF/MANIFEST.MF31
    -rw-r--r--tests/org.eclipse.wst.ws.tests/about.html34
    -rw-r--r--tests/org.eclipse.wst.ws.tests/build.properties10
    -rw-r--r--tests/org.eclipse.wst.ws.tests/data/locator/test.wsdl45
    -rw-r--r--tests/org.eclipse.wst.ws.tests/plugin.properties19
    -rw-r--r--tests/org.eclipse.wst.ws.tests/plugin.xml6
    -rw-r--r--tests/org.eclipse.wst.ws.tests/readme.txt2
    -rw-r--r--tests/org.eclipse.wst.ws.tests/test.xml52
    -rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/data/LocatorWorkspaceSetup.java176
    -rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/plugin/TestsPlugin.java43
    -rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/AllWSJUnitTests.java90
    -rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/LaunchTest.java33
    -rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/RegistryTests.java275
    -rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/ResourceUtilsTests.java20
    -rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/WSJUnitConstants.java29
    -rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/unittest/WebServiceFinderTests.java52
    -rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/AccumulateStatusHandler.java99
    -rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/DynamicPopupJUnitWizard.java43
    -rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/JUnitUtils.java67
    -rw-r--r--tests/org.eclipse.wst.ws.tests/tests/org/eclipse/wst/ws/tests/util/ScenarioConstants.java45
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/.classpath7
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/.cvsignore5
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/.project28
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/META-INF/MANIFEST.MF30
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/about.html34
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/build.properties7
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample0.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample1.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample10.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample100.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample101.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample102.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample103.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample104.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample105.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample106.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample107.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample108.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample109.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample11.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample110.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample111.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample112.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample113.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample114.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample115.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample116.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample117.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample118.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample119.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample12.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample120.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample121.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample122.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample123.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample124.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample125.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample126.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample127.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample128.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample129.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample13.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample130.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample131.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample132.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample133.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample134.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample135.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample136.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample137.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample138.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample139.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample14.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample140.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample141.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample142.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample143.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample144.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample145.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample146.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample147.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample148.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample149.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample15.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample150.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample151.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample152.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample153.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample154.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample155.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample156.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample157.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample158.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample159.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample16.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample160.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample161.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample162.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample163.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample164.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample165.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample166.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample167.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample168.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample169.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample17.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample170.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample171.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample172.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample173.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample174.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample175.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample176.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample177.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample178.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample179.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample18.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample180.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample181.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample182.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample183.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample184.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample185.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample186.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample187.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample188.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample189.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample19.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample190.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample191.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample192.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample193.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample194.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample195.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample196.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample197.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample198.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample199.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample2.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample20.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample200.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample201.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample202.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample203.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample204.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample205.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample206.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample207.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample208.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample209.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample21.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample210.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample211.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample212.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample213.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample214.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample215.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample216.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample217.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample218.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample219.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample22.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample220.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample221.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample222.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample223.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample224.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample225.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample226.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample227.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample228.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample229.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample23.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample230.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample231.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample232.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample233.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample234.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample235.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample236.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample237.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample238.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample239.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample24.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample240.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample241.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample242.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample243.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample244.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample245.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample246.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample247.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample248.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample249.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample25.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample250.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample251.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample252.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample253.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample254.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample255.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample256.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample257.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample258.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample259.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample26.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample260.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample261.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample262.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample263.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample264.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample265.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample266.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample267.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample268.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample269.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample27.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample270.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample271.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample272.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample273.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample274.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample275.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample276.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample277.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample278.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample279.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample28.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample280.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample281.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample282.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample283.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample284.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample285.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample286.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample287.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample288.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample289.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample29.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample290.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample291.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample292.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample293.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample294.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample295.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample296.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample297.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample298.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample299.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample3.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample30.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample300.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample301.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample302.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample303.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample304.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample305.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample306.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample307.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample308.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample309.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample31.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample310.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample311.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample312.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample313.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample314.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample315.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample316.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample317.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample318.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample319.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample32.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample320.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample321.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample322.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample323.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample324.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample325.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample326.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample327.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample328.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample329.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample33.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample330.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample331.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample332.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample333.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample334.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample335.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample336.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample337.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample338.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample339.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample34.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample340.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample341.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample342.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample343.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample344.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample345.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample346.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample347.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample348.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample349.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample35.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample350.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample351.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample352.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample353.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample354.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample355.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample356.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample357.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample358.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample359.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample36.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample360.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample361.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample362.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample363.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample364.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample365.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample366.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample367.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample368.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample369.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample37.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample370.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample371.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample372.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample373.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample374.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample375.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample376.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample377.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample378.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample379.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample38.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample380.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample381.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample382.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample383.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample384.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample385.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample386.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample387.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample388.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample389.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample39.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample390.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample391.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample392.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample393.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample394.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample395.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample396.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample397.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample398.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample399.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample4.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample40.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample400.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample401.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample402.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample403.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample404.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample405.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample406.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample407.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample408.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample409.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample41.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample410.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample411.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample412.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample413.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample414.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample415.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample416.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample417.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample418.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample419.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample42.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample420.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample421.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample422.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample423.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample424.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample425.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample426.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample427.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample428.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample429.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample43.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample430.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample431.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample432.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample433.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample434.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample435.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample436.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample437.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample438.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample439.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample44.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample440.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample441.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample442.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample443.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample444.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample445.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample446.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample447.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample448.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample449.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample45.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample450.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample451.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample452.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample453.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample454.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample455.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample456.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample457.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample458.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample459.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample46.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample460.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample461.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample462.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample463.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample464.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample465.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample466.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample467.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample468.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample469.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample47.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample470.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample471.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample472.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample473.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample474.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample475.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample476.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample477.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample478.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample479.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample48.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample480.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample481.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample482.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample483.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample484.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample485.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample486.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample487.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample488.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample489.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample49.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample490.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample491.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample492.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample493.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample494.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample495.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample496.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample497.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample498.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample499.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample5.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample50.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample500.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample501.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample502.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample503.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample504.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample505.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample506.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample507.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample508.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample509.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample51.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample510.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample511.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample512.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample513.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample514.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample515.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample516.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample517.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample518.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample519.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample52.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample520.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample521.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample522.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample523.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample524.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample525.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample526.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample527.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample528.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample529.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample53.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample530.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample531.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample532.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample533.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample534.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample535.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample536.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample537.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample538.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample539.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample54.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample540.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample541.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample542.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample543.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample544.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample545.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample546.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample547.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample548.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample549.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample55.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample550.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample551.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample552.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample553.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample554.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample555.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample556.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample557.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample558.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample559.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample56.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample560.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample561.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample562.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample563.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample564.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample565.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample566.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample567.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample568.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample569.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample57.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample570.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample571.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample572.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample573.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample574.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample575.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample576.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample577.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample578.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample579.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample58.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample580.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample581.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample582.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample583.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample584.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample585.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample586.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample587.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample588.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample589.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample59.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample590.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample591.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample592.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample593.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample594.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample595.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample596.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample597.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample598.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample599.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample6.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample60.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample600.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample601.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample602.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample603.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample604.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample605.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample606.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample607.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample608.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample609.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample61.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample610.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample611.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample612.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample613.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample614.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample615.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample616.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample617.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample618.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample619.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample62.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample620.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample621.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample622.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample623.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample624.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample625.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample626.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample627.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample628.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample629.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample63.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample630.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample631.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample632.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample633.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample634.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample635.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample636.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample637.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample638.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample639.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample64.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample640.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample641.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample642.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample643.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample644.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample645.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample646.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample647.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample648.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample649.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample65.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample650.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample651.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample652.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample653.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample654.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample655.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample656.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample657.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample658.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample659.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample66.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample660.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample661.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample662.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample663.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample664.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample665.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample666.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample667.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample668.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample669.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample67.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample670.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample671.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample672.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample673.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample674.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample675.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample676.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample677.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample678.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample679.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample68.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample680.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample681.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample682.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample683.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample684.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample685.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample686.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample687.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample688.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample689.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample69.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample690.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample691.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample692.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample693.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample694.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample695.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample696.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample697.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample698.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample699.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample7.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample70.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample700.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample701.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample702.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample703.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample704.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample705.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample706.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample707.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample708.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample709.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample71.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample710.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample711.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample712.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample713.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample714.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample715.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample716.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample717.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample718.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample719.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample72.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample720.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample721.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample722.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample723.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample724.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample725.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample726.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample727.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample728.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample729.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample73.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample730.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample731.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample732.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample733.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample734.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample735.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample736.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample737.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample738.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample739.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample74.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample740.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample741.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample742.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample743.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample744.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample745.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample746.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample747.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample748.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample749.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample75.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample750.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample751.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample752.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample753.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample754.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample755.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample756.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample757.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample758.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample759.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample76.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample760.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample761.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample762.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample763.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample764.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample765.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample766.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample767.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample768.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample769.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample77.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample770.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample771.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample772.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample773.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample774.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample775.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample776.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample777.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample778.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample779.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample78.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample780.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample781.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample782.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample783.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample784.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample785.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample786.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample787.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample788.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample789.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample79.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample790.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample791.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample792.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample793.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample794.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample795.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample796.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample797.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample798.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample799.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample8.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample80.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample800.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample801.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample802.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample803.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample804.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample805.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample806.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample807.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample808.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample809.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample81.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample810.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample811.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample812.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample813.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample814.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample815.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample816.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample817.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample818.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample819.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample82.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample820.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample821.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample822.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample823.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample824.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample825.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample826.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample827.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample828.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample829.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample83.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample830.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample831.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample832.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample833.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample834.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample835.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample836.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample837.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample838.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample839.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample84.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample840.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample841.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample842.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample843.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample844.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample845.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample846.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample847.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample848.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample849.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample85.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample850.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample851.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample852.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample853.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample854.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample855.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample856.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample857.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample858.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample859.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample86.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample860.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample861.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample862.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample863.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample864.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample865.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample866.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample867.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample868.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample869.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample87.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample870.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample871.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample872.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample873.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample874.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample875.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample876.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample877.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample878.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample879.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample88.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample880.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample881.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample882.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample883.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample884.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample885.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample886.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample887.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample888.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample889.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample89.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample890.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample891.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample892.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample893.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample894.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample895.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample896.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample897.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample898.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample899.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample9.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample90.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample900.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample901.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample902.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample903.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample904.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample905.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample906.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample907.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample908.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample909.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample91.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample910.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample911.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample912.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample913.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample914.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample915.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample916.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample917.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample918.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample919.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample92.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample920.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample921.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample922.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample923.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample924.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample925.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample926.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample927.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample928.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample929.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample93.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample930.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample931.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample932.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample933.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample934.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample935.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample936.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample937.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample938.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample939.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample94.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample940.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample941.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample942.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample943.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample944.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample945.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample946.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample947.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample948.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample949.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample95.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample950.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample951.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample952.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample953.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample954.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample955.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample956.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample957.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample958.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample959.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample96.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample960.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample961.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample962.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample963.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample964.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample965.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample966.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample967.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample968.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample969.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample97.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample970.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample971.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample972.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample973.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample974.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample975.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample976.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample977.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample978.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample979.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample98.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample980.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample981.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample982.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample983.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample984.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample985.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample986.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample987.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample988.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample989.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample99.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample990.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample991.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample992.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample993.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample994.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample995.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample996.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample997.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample998.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsCrossDepends/sample999.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample0.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample1.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample10.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample100.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample101.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample102.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample103.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample104.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample105.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample106.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample107.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample108.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample109.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample11.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample110.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample111.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample112.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample113.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample114.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample115.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample116.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample117.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample118.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample119.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample12.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample120.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample121.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample122.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample123.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample124.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample125.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample126.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample127.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample128.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample129.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample13.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample130.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample131.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample132.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample133.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample134.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample135.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample136.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample137.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample138.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample139.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample14.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample140.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample141.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample142.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample143.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample144.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample145.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample146.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample147.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample148.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample149.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample15.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample150.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample151.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample152.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample153.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample154.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample155.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample156.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample157.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample158.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample159.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample16.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample160.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample161.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample162.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample163.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample164.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample165.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample166.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample167.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample168.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample169.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample17.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample170.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample171.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample172.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample173.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample174.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample175.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample176.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample177.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample178.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample179.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample18.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample180.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample181.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample182.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample183.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample184.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample185.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample186.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample187.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample188.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample189.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample19.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample190.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample191.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample192.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample193.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample194.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample195.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample196.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample197.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample198.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample199.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample2.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample20.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample200.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample201.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample202.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample203.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample204.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample205.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample206.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample207.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample208.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample209.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample21.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample210.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample211.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample212.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample213.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample214.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample215.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample216.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample217.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample218.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample219.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample22.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample220.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample221.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample222.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample223.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample224.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample225.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample226.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample227.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample228.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample229.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample23.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample230.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample231.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample232.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample233.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample234.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample235.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample236.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample237.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample238.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample239.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample24.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample240.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample241.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample242.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample243.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample244.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample245.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample246.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample247.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample248.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample249.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample25.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample250.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample251.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample252.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample253.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample254.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample255.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample256.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample257.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample258.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample259.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample26.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample260.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample261.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample262.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample263.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample264.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample265.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample266.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample267.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample268.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample269.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample27.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample270.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample271.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample272.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample273.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample274.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample275.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample276.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample277.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample278.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample279.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample28.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample280.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample281.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample282.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample283.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample284.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample285.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample286.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample287.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample288.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample289.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample29.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample290.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample291.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample292.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample293.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample294.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample295.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample296.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample297.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample298.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample299.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample3.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample30.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample300.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample301.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample302.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample303.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample304.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample305.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample306.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample307.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample308.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample309.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample31.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample310.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample311.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample312.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample313.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample314.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample315.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample316.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample317.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample318.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample319.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample32.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample320.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample321.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample322.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample323.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample324.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample325.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample326.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample327.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample328.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample329.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample33.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample330.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample331.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample332.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample333.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample334.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample335.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample336.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample337.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample338.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample339.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample34.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample340.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample341.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample342.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample343.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample344.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample345.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample346.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample347.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample348.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample349.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample35.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample350.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample351.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample352.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample353.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample354.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample355.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample356.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample357.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample358.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample359.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample36.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample360.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample361.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample362.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample363.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample364.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample365.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample366.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample367.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample368.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample369.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample37.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample370.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample371.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample372.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample373.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample374.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample375.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample376.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample377.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample378.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample379.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample38.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample380.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample381.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample382.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample383.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample384.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample385.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample386.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample387.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample388.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample389.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample39.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample390.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample391.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample392.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample393.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample394.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample395.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample396.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample397.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample398.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample399.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample4.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample40.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample400.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample401.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample402.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample403.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample404.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample405.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample406.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample407.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample408.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample409.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample41.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample410.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample411.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample412.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample413.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample414.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample415.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample416.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample417.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample418.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample419.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample42.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample420.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample421.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample422.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample423.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample424.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample425.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample426.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample427.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample428.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample429.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample43.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample430.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample431.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample432.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample433.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample434.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample435.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample436.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample437.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample438.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample439.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample44.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample440.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample441.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample442.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample443.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample444.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample445.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample446.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample447.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample448.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample449.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample45.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample450.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample451.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample452.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample453.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample454.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample455.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample456.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample457.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample458.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample459.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample46.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample460.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample461.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample462.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample463.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample464.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample465.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample466.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample467.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample468.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample469.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample47.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample470.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample471.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample472.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample473.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample474.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample475.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample476.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample477.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample478.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample479.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample48.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample480.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample481.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample482.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample483.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample484.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample485.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample486.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample487.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample488.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample489.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample49.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample490.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample491.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample492.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample493.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample494.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample495.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample496.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample497.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample498.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample499.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample5.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample50.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample500.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample501.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample502.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample503.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample504.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample505.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample506.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample507.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample508.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample509.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample51.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample510.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample511.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample512.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample513.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample514.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample515.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample516.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample517.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample518.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample519.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample52.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample520.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample521.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample522.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample523.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample524.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample525.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample526.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample527.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample528.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample529.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample53.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample530.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample531.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample532.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample533.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample534.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample535.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample536.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample537.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample538.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample539.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample54.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample540.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample541.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample542.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample543.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample544.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample545.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample546.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample547.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample548.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample549.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample55.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample550.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample551.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample552.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample553.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample554.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample555.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample556.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample557.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample558.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample559.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample56.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample560.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample561.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample562.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample563.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample564.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample565.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample566.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample567.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample568.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample569.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample57.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample570.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample571.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample572.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample573.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample574.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample575.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample576.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample577.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample578.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample579.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample58.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample580.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample581.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample582.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample583.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample584.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample585.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample586.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample587.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample588.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample589.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample59.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample590.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample591.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample592.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample593.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample594.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample595.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample596.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample597.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample598.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample599.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample6.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample60.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample600.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample601.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample602.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample603.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample604.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample605.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample606.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample607.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample608.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample609.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample61.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample610.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample611.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample612.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample613.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample614.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample615.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample616.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample617.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample618.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample619.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample62.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample620.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample621.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample622.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample623.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample624.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample625.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample626.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample627.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample628.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample629.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample63.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample630.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample631.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample632.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample633.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample634.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample635.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample636.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample637.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample638.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample639.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample64.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample640.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample641.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample642.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample643.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample644.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample645.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample646.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample647.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample648.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample649.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample65.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample650.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample651.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample652.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample653.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample654.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample655.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample656.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample657.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample658.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample659.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample66.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample660.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample661.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample662.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample663.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample664.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample665.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample666.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample667.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample668.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample669.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample67.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample670.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample671.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample672.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample673.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample674.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample675.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample676.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample677.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample678.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample679.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample68.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample680.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample681.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample682.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample683.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample684.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample685.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample686.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample687.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample688.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample689.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample69.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample690.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample691.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample692.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample693.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample694.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample695.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample696.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample697.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample698.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample699.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample7.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample70.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample700.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample701.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample702.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample703.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample704.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample705.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample706.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample707.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample708.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample709.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample71.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample710.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample711.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample712.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample713.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample714.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample715.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample716.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample717.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample718.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample719.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample72.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample720.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample721.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample722.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample723.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample724.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample725.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample726.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample727.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample728.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample729.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample73.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample730.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample731.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample732.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample733.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample734.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample735.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample736.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample737.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample738.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample739.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample74.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample740.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample741.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample742.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample743.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample744.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample745.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample746.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample747.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample748.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample749.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample75.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample750.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample751.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample752.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample753.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample754.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample755.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample756.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample757.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample758.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample759.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample76.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample760.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample761.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample762.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample763.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample764.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample765.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample766.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample767.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample768.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample769.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample77.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample770.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample771.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample772.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample773.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample774.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample775.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample776.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample777.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample778.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample779.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample78.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample780.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample781.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample782.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample783.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample784.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample785.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample786.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample787.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample788.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample789.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample79.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample790.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample791.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample792.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample793.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample794.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample795.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample796.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample797.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample798.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample799.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample8.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample80.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample800.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample801.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample802.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample803.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample804.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample805.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample806.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample807.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample808.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample809.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample81.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample810.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample811.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample812.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample813.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample814.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample815.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample816.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample817.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample818.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample819.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample82.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample820.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample821.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample822.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample823.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample824.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample825.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample826.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample827.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample828.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample829.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample83.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample830.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample831.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample832.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample833.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample834.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample835.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample836.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample837.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample838.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample839.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample84.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample840.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample841.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample842.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample843.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample844.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample845.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample846.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample847.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample848.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample849.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample85.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample850.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample851.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample852.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample853.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample854.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample855.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample856.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample857.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample858.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample859.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample86.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample860.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample861.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample862.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample863.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample864.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample865.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample866.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample867.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample868.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample869.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample87.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample870.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample871.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample872.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample873.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample874.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample875.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample876.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample877.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample878.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample879.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample88.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample880.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample881.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample882.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample883.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample884.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample885.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample886.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample887.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample888.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample889.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample89.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample890.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample891.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample892.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample893.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample894.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample895.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample896.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample897.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample898.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample899.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample9.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample90.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample900.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample901.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample902.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample903.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample904.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample905.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample906.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample907.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample908.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample909.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample91.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample910.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample911.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample912.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample913.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample914.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample915.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample916.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample917.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample918.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample919.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample92.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample920.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample921.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample922.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample923.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample924.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample925.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample926.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample927.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample928.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample929.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample93.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample930.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample931.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample932.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample933.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample934.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample935.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample936.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample937.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample938.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample939.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample94.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample940.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample941.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample942.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample943.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample944.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample945.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample946.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample947.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample948.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample949.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample95.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample950.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample951.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample952.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample953.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample954.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample955.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample956.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample957.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample958.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample959.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample96.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample960.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample961.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample962.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample963.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample964.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample965.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample966.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample967.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample968.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample969.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample97.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample970.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample971.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample972.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample973.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample974.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample975.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample976.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample977.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample978.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample979.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample98.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample980.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample981.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample982.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample983.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample984.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample985.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample986.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample987.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample988.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample989.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample99.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample990.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample991.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample992.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample993.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample994.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample995.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample996.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample997.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample998.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsNoDepends/sample999.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample0.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample0.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample1.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample1.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample10.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample10.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample100.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample101.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample102.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample103.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample104.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample105.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample106.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample107.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample108.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample109.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample11.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample11.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample110.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample111.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample112.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample113.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample114.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample115.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample116.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample117.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample118.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample119.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample12.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample12.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample120.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample121.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample122.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample123.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample124.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample125.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample126.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample127.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample128.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample129.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample13.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample13.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample130.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample131.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample132.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample133.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample134.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample135.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample136.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample137.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample138.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample139.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample14.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample14.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample140.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample141.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample142.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample143.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample144.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample145.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample146.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample147.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample148.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample149.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample15.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample15.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample150.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample151.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample152.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample153.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample154.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample155.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample156.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample157.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample158.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample159.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample16.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample16.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample160.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample161.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample162.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample163.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample164.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample165.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample166.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample167.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample168.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample169.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample17.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample17.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample170.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample171.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample172.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample173.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample174.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample175.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample176.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample177.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample178.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample179.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample18.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample18.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample180.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample181.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample182.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample183.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample184.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample185.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample186.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample187.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample188.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample189.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample19.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample19.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample190.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample191.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample192.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample193.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample194.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample195.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample196.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample197.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample198.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample199.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample2.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample2.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample20.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample20.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample200.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample201.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample202.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample203.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample204.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample205.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample206.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample207.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample208.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample209.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample21.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample21.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample210.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample211.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample212.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample213.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample214.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample215.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample216.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample217.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample218.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample219.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample22.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample22.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample220.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample221.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample222.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample223.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample224.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample225.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample226.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample227.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample228.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample229.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample23.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample23.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample230.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample231.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample232.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample233.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample234.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample235.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample236.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample237.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample238.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample239.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample24.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample24.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample240.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample241.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample242.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample243.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample244.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample245.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample246.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample247.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample248.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample249.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample25.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample25.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample250.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample251.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample252.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample253.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample254.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample255.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample256.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample257.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample258.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample259.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample26.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample26.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample260.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample261.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample262.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample263.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample264.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample265.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample266.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample267.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample268.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample269.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample27.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample27.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample270.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample271.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample272.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample273.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample274.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample275.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample276.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample277.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample278.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample279.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample28.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample28.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample280.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample281.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample282.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample283.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample284.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample285.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample286.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample287.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample288.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample289.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample29.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample29.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample290.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample291.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample292.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample293.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample294.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample295.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample296.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample297.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample298.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample299.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample3.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample3.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample30.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample30.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample300.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample301.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample302.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample303.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample304.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample305.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample306.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample307.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample308.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample309.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample31.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample31.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample310.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample311.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample312.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample313.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample314.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample315.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample316.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample317.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample318.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample319.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample32.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample32.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample320.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample321.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample322.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample323.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample324.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample325.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample326.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample327.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample328.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample329.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample33.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample33.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample330.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample331.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample332.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample333.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample334.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample335.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample336.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample337.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample338.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample339.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample34.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample34.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample340.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample341.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample342.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample343.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample344.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample345.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample346.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample347.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample348.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample349.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample35.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample35.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample350.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample351.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample352.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample353.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample354.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample355.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample356.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample357.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample358.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample359.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample36.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample36.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample360.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample361.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample362.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample363.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample364.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample365.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample366.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample367.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample368.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample369.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample37.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample37.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample370.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample371.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample372.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample373.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample374.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample375.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample376.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample377.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample378.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample379.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample38.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample38.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample380.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample381.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample382.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample383.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample384.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample385.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample386.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample387.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample388.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample389.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample39.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample39.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample390.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample391.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample392.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample393.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample394.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample395.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample396.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample397.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample398.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample399.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample4.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample4.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample40.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample40.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample400.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample401.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample402.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample403.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample404.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample405.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample406.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample407.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample408.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample409.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample41.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample41.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample410.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample411.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample412.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample413.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample414.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample415.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample416.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample417.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample418.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample419.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample42.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample42.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample420.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample421.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample422.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample423.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample424.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample425.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample426.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample427.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample428.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample429.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample43.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample43.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample430.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample431.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample432.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample433.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample434.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample435.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample436.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample437.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample438.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample439.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample44.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample44.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample440.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample441.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample442.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample443.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample444.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample445.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample446.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample447.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample448.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample449.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample45.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample45.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample450.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample451.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample452.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample453.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample454.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample455.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample456.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample457.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample458.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample459.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample46.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample46.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample460.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample461.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample462.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample463.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample464.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample465.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample466.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample467.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample468.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample469.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample47.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample47.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample470.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample471.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample472.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample473.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample474.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample475.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample476.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample477.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample478.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample479.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample48.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample48.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample480.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample481.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample482.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample483.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample484.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample485.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample486.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample487.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample488.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample489.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample49.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample49.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample490.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample491.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample492.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample493.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample494.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample495.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample496.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample497.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample498.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample499.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample5.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample5.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample50.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample50.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample500.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample501.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample502.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample503.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample504.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample505.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample506.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample507.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample508.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample509.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample51.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample51.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample510.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample511.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample512.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample513.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample514.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample515.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample516.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample517.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample518.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample519.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample52.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample52.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample520.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample521.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample522.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample523.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample524.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample525.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample526.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample527.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample528.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample529.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample53.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample53.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample530.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample531.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample532.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample533.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample534.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample535.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample536.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample537.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample538.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample539.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample54.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample54.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample540.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample541.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample542.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample543.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample544.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample545.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample546.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample547.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample548.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample549.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample55.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample55.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample550.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample551.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample552.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample553.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample554.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample555.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample556.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample557.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample558.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample559.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample56.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample56.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample560.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample561.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample562.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample563.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample564.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample565.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample566.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample567.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample568.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample569.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample57.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample57.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample570.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample571.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample572.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample573.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample574.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample575.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample576.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample577.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample578.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample579.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample58.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample58.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample580.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample581.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample582.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample583.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample584.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample585.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample586.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample587.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample588.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample589.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample59.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample59.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample590.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample591.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample592.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample593.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample594.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample595.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample596.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample597.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample598.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample599.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample6.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample6.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample60.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample60.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample600.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample601.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample602.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample603.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample604.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample605.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample606.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample607.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample608.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample609.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample61.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample61.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample610.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample611.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample612.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample613.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample614.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample615.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample616.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample617.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample618.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample619.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample62.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample62.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample620.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample621.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample622.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample623.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample624.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample625.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample626.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample627.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample628.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample629.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample63.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample63.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample630.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample631.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample632.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample633.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample634.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample635.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample636.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample637.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample638.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample639.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample64.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample64.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample640.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample641.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample642.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample643.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample644.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample645.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample646.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample647.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample648.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample649.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample65.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample65.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample650.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample651.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample652.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample653.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample654.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample655.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample656.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample657.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample658.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample659.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample66.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample66.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample660.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample661.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample662.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample663.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample664.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample665.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample666.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample667.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample668.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample669.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample67.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample67.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample670.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample671.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample672.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample673.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample674.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample675.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample676.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample677.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample678.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample679.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample68.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample68.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample680.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample681.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample682.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample683.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample684.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample685.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample686.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample687.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample688.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample689.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample69.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample69.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample690.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample691.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample692.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample693.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample694.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample695.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample696.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample697.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample698.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample699.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample7.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample7.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample70.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample70.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample700.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample701.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample702.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample703.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample704.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample705.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample706.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample707.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample708.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample709.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample71.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample71.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample710.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample711.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample712.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample713.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample714.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample715.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample716.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample717.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample718.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample719.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample72.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample72.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample720.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample721.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample722.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample723.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample724.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample725.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample726.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample727.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample728.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample729.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample73.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample73.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample730.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample731.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample732.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample733.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample734.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample735.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample736.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample737.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample738.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample739.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample74.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample74.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample740.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample741.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample742.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample743.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample744.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample745.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample746.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample747.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample748.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample749.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample75.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample75.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample750.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample751.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample752.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample753.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample754.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample755.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample756.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample757.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample758.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample759.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample76.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample76.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample760.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample761.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample762.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample763.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample764.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample765.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample766.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample767.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample768.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample769.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample77.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample77.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample770.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample771.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample772.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample773.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample774.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample775.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample776.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample777.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample778.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample779.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample78.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample78.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample780.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample781.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample782.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample783.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample784.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample785.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample786.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample787.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample788.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample789.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample79.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample79.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample790.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample791.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample792.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample793.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample794.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample795.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample796.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample797.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample798.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample799.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample8.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample8.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample80.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample80.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample800.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample801.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample802.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample803.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample804.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample805.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample806.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample807.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample808.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample809.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample81.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample81.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample810.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample811.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample812.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample813.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample814.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample815.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample816.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample817.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample818.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample819.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample82.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample82.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample820.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample821.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample822.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample823.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample824.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample825.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample826.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample827.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample828.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample829.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample83.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample83.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample830.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample831.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample832.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample833.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample834.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample835.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample836.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample837.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample838.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample839.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample84.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample84.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample840.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample841.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample842.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample843.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample844.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample845.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample846.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample847.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample848.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample849.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample85.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample85.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample850.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample851.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample852.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample853.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample854.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample855.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample856.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample857.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample858.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample859.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample86.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample86.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample860.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample861.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample862.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample863.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample864.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample865.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample866.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample867.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample868.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample869.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample87.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample87.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample870.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample871.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample872.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample873.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample874.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample875.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample876.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample877.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample878.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample879.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample88.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample88.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample880.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample881.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample882.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample883.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample884.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample885.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample886.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample887.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample888.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample889.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample89.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample89.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample890.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample891.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample892.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample893.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample894.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample895.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample896.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample897.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample898.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample899.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample9.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample9.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample90.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample90.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample900.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample901.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample902.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample903.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample904.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample905.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample906.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample907.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample908.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample909.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample91.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample91.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample910.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample911.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample912.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample913.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample914.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample915.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample916.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample917.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample918.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample919.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample92.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample92.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample920.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample921.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample922.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample923.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample924.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample925.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample926.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample927.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample928.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample929.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample93.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample93.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample930.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample931.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample932.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample933.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample934.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample935.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample936.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample937.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample938.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample939.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample94.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample94.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample940.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample941.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample942.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample943.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample944.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample945.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample946.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample947.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample948.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample949.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample95.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample95.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample950.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample951.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample952.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample953.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample954.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample955.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample956.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample957.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample958.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample959.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample96.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample96.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample960.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample961.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample962.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample963.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample964.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample965.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample966.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample967.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample968.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample969.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample97.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample97.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample970.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample971.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample972.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample973.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample974.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample975.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample976.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample977.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample978.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample979.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample98.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample98.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample980.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample981.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample982.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample983.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample984.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample985.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample986.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample987.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample988.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample989.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample99.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample99.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample990.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample991.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample992.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample993.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample994.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample995.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample996.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample997.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample998.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample999.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100KB.wsdl3107
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample0.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample1.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample10.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample11.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample12.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample13.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample14.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample15.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample16.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample17.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample18.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample19.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample2.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample20.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample21.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample22.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample23.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample24.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample25.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample26.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample27.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample28.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample29.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample3.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample30.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample31.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample32.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample33.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample34.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample35.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample36.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample37.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample38.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample39.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample4.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample40.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample41.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample42.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample43.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample44.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample45.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample46.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample47.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample48.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample49.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample5.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample50.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample51.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample52.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample53.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample54.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample55.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample56.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample57.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample58.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample59.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample6.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample60.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample61.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample62.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample63.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample64.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample65.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample66.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample67.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample68.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample69.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample7.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample70.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample71.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample72.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample73.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample74.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample75.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample76.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample77.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample78.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample79.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample8.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample80.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample81.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample82.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample83.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample84.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample85.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample86.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample87.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample88.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample89.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample9.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample90.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample91.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample92.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample93.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample94.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample95.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample96.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample97.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample98.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsCrossDepends/sample99.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample0.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample1.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample10.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample11.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample12.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample13.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample14.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample15.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample16.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample17.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample18.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample19.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample2.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample20.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample21.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample22.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample23.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample24.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample25.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample26.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample27.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample28.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample29.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample3.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample30.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample31.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample32.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample33.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample34.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample35.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample36.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample37.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample38.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample39.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample4.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample40.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample41.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample42.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample43.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample44.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample45.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample46.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample47.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample48.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample49.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample5.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample50.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample51.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample52.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample53.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample54.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample55.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample56.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample57.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample58.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample59.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample6.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample60.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample61.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample62.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample63.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample64.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample65.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample66.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample67.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample68.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample69.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample7.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample70.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample71.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample72.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample73.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample74.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample75.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample76.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample77.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample78.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample79.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample8.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample80.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample81.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample82.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample83.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample84.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample85.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample86.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample87.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample88.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample89.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample9.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample90.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample91.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample92.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample93.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample94.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample95.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample96.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample97.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample98.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsNoDepends/sample99.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample0.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample0.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample1.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample1.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample10.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample10.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample11.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample11.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample12.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample12.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample13.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample13.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample14.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample14.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample15.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample15.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample16.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample16.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample17.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample17.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample18.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample18.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample19.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample19.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample2.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample2.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample20.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample20.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample21.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample21.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample22.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample22.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample23.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample23.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample24.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample24.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample25.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample25.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample26.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample26.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample27.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample27.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample28.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample28.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample29.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample29.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample3.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample3.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample30.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample30.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample31.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample31.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample32.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample32.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample33.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample33.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample34.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample34.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample35.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample35.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample36.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample36.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample37.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample37.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample38.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample38.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample39.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample39.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample4.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample4.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample40.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample40.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample41.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample41.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample42.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample42.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample43.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample43.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample44.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample44.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample45.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample45.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample46.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample46.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample47.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample47.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample48.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample48.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample49.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample49.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample5.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample5.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample50.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample50.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample51.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample51.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample52.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample52.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample53.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample53.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample54.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample54.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample55.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample55.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample56.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample56.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample57.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample57.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample58.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample58.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample59.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample59.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample6.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample6.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample60.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample60.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample61.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample61.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample62.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample62.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample63.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample63.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample64.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample64.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample65.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample65.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample66.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample66.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample67.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample67.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample68.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample68.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample69.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample69.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample7.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample7.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample70.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample70.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample71.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample71.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample72.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample72.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample73.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample73.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample74.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample74.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample75.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample75.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample76.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample76.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample77.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample77.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample78.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample78.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample79.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample79.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample8.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample8.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample80.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample80.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample81.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample81.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample82.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample82.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample83.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample83.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample84.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample84.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample85.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample85.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample86.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample86.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample87.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample87.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample88.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample88.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample89.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample89.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample9.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample9.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample90.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample90.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample91.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample91.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample92.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample92.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample93.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample93.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample94.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample94.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample95.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample95.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample96.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample96.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample97.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample97.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample98.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample98.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample99.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/100WSDLsXSDDepends/sample99.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10KB.wsdl317
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsCrossDepends/sample0.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsCrossDepends/sample1.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsCrossDepends/sample2.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsCrossDepends/sample3.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsCrossDepends/sample4.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsCrossDepends/sample5.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsCrossDepends/sample6.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsCrossDepends/sample7.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsCrossDepends/sample8.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsCrossDepends/sample9.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsNoDepends/sample0.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsNoDepends/sample1.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsNoDepends/sample2.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsNoDepends/sample3.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsNoDepends/sample4.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsNoDepends/sample5.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsNoDepends/sample6.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsNoDepends/sample7.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsNoDepends/sample8.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsNoDepends/sample9.wsdl36
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample0.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample0.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample1.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample1.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample10.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample11.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample12.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample13.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample14.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample15.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample16.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample17.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample18.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample19.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample2.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample2.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample20.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample21.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample22.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample23.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample24.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample25.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample26.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample27.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample28.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample29.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample3.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample3.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample30.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample31.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample32.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample33.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample34.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample35.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample36.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample37.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample38.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample39.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample4.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample4.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample40.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample41.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample42.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample43.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample44.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample45.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample46.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample47.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample48.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample49.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample5.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample5.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample50.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample51.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample52.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample53.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample54.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample55.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample56.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample57.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample58.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample59.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample6.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample6.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample60.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample61.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample62.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample63.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample64.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample65.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample66.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample67.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample68.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample69.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample7.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample7.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample70.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample71.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample72.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample73.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample74.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample75.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample76.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample77.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample78.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample79.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample8.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample8.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample80.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample81.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample82.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample83.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample84.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample85.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample86.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample87.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample88.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample89.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample9.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample9.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample90.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample91.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample92.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample93.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample94.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample95.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample96.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample97.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample98.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/10WSDLsXSDDepends/sample99.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1KB.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1MB.wsdl31007
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/200KB.wsdl6207
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/500KB.wsdl15507
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/StockQuote/StockQuote.wsdl68
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/AllTests.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/OpenEditorOAGISWSDLTestcase.java141
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/OpenStockQuoteWSDLSetup.java84
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/OpenStockQuoteWSDLTestCase.java87
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/PerformancePlugin.java92
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ReadOAGISWSDLTestcase.java68
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ReadStockQuoteWSDLEMFTestCase.java53
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ReadStockQuoteWSDLTestCase.java44
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateOAGISWSDLTestcase.java84
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateOAGISWSITestcase.java83
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateStockQuoteWSDLTestCase.java60
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateStockQuoteWSITestCase.java60
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateWSDLProjectTestCase.java128
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open100KBFileTestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open10KBFileTestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open1KBFileTestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open1MBFileTestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open200KBFileTestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open500KBFileTestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/OpenWSDLEditorTestCase.java28
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx100TestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx10TestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx1TestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx25TestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx50TestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx75TestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenWSDLEditorTestCase.java33
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatRunWSDLValidatorTestCase.java34
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex100TestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex10TestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex1TestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex25TestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex50TestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex75TestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RunWSDLValidatorTestCase.java30
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1000WSDLsCrossDependsTestCase.java50
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1000WSDLsNoDependsTestCase.java50
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1000WSDLsXSDDependsTestCase.java50
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100KBFileTestCase.java33
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100WSDLsCrossDependsTestCase.java50
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100WSDLsNoDependsTestCase.java50
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100WSDLsXSDDependsTestCase.java50
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10KBFileTestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10WSDLsCrossDependsTestCase.java50
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10WSDLsNoDependsTestCase.java50
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10WSDLsXSDDependsTestCase.java50
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1KBFileTestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1MBFileTestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate200KBFileTestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate500KBFileTestCase.java32
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/plugin.properties2
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/test.xml647
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.ui/.classpath7
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.ui/.cvsignore4
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.ui/.project28
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.ui/about.html34
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.ui/build.properties4
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.ui/plugin.xml44
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.ui/src/org/eclipse/wst/wsdl/tests/ui/ConvertWSDL20ActionDelegate.java79
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests.ui/src/org/eclipse/wst/wsdl/tests/ui/GenerateWSDLActionDelegate.java61
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/.classpath7
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/.cvsignore4
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/.project28
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/about.html34
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/build.properties7
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/plugin.xml26
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/BindingFaultReconciliation/BindingFaultSample.wsdl128
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/BindingOperationReconciliation/BindingOperationReconciliation.wsdl109
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/DuplicateSAXException/SAXException.wsdl9
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/LoadsNamelessDefinition/MissingName.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/LoadsNamelessDefinition/WithName.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/LocalNamespace/LocalNamespace.wsdl59
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/OperationStyle/OperationStyleTest.wsdl120
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/TypeAndElementResolution/Test.wsdl31
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/TypeAndElementResolution/Test1.xsd5
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/TypeAndElementResolution/Test2.xsd12
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/WSDLElementResolution/firstlevel.wsdl7
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/WSDLElementResolution/main.wsdl24
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/BugFixes/WSDLElementResolution/secondlevel.wsdl22
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/LoadStoreCompare/.cvsignore1
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/LoadStoreCompare/Imported.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/samples/LoadStoreCompare/LoadAndPrintTest.wsdl47
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/AllTestCases.java50
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/BugFixesTest.java756
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/InlineSchemaTest.java226
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/LoadAndSerializationTest.java241
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/LocationTrackingTest.java106
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/MyResolver.java33
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/ParserTest.java73
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/RefactoringTest.java230
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/SemanticTest.java513
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/UtilTest.java279
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/WSDL4JAPITest.java458
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/WSDLEMFAPITest.java612
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/WSDLGenerationTest.java267
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/WSDLTestsPlugin.java109
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/DefinitionLoader.java107
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/DefinitionVisitor.java211
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/WSDL4JDefinitionVisitor.java223
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/WSDLConverter.java608
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/WSDLModelLocatorAdapterFactory.java46
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/XMLDiff.java169
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/XSDSchemaLocationResolverAdapterFactory.java31
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/src/org/eclipse/wst/wsdl/tests/util/XSDSchemaLocationResolverImpl.java31
    -rw-r--r--tests/org.eclipse.wst.wsdl.tests/test.xml53
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/.classpath7
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/.cvsignore4
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/.project28
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/.settings/org.eclipse.core.resources.prefs3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/.settings/org.eclipse.jdt.core.prefs62
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/.settings/org.eclipse.jdt.ui.prefs3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/.settings/org.eclipse.pde.prefs13
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/META-INF/MANIFEST.MF29
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/about.html34
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/build.properties9
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/plugin.properties13
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/eclipse/ValidatorTest.java252
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/eclipse/ValidatorWrapper.java117
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLValidatorTest.java42
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/eclipse/WSDLValidatorWrapper.java37
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/eclipse/validatewsdl.properties2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/resolver/URIResolverTest.java203
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/AntLoggerTest.java187
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/AntLoggerTestTask.java103
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/WSDLValidateTask.java29
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/ui/ant/WSDLValidateTest.java143
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/ui/text/WSDLValidateTest.java221
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/ui/text/WSDLValidateTestLogger.java103
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/ui/text/WSDLValidateWrapper.java113
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaGeneratorTest.java222
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/wsdl11/xsd/InlineSchemaGeneratorWrapper.java98
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/internal/xml/XMLCatalogTest.java53
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/tests/internal/AllWSDLTests.java54
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/tests/internal/BaseTestCase.java369
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/tests/internal/LineNumberAdjustmentsTest.java46
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/tests/internal/PathsTest.java585
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/tests/internal/WSDLTest.java628
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/tests/internal/WSDLValidatorTestsPlugin.java79
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/src/org/eclipse/wst/wsdl/validation/tests/internal/XSDTest.java222
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/test.xml59
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/.cvsignore1
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/LineNumberAdjustments/cvc-complex-type.2.3/cvc-complex-type.2.3.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/LineNumberAdjustments/cvc-complex-type.2.4.b/cvc-complex-type.2.4.b.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/AngleHatInFilename/AngleHat^InFilenameInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/AngleHatInFilename/AngleHat^InFilenameValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/AngleHat^InPath/AngleHatInPathInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/AngleHat^InPath/AngleHatInPathValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/CloseBracket)InPath/CloseBracketInPathInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/CloseBracket)InPath/CloseBracketInPathValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/CloseBracketInFilename/CloseBracket)InFilenameInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/CloseBracketInFilename/CloseBracket)InFilenameValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/Dash-InPath/DashInPathInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/Dash-InPath/DashInPathValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/DashInFilename/Dash-InFilenameInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/DashInFilename/Dash-InFilenameValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/Exclamation!InPath/ExclamationInPathInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/Exclamation!InPath/ExclamationInPathValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/ExclamationInFilename/Exclamation!InFilenameInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/ExclamationInFilename/Exclamation!InFilenameValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/OpenBracket(InPath/OpenBracketInPathInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/OpenBracket(InPath/OpenBracketInPathValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/OpenBracketInFilename/OpenBracket(InFilenameInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/OpenBracketInFilename/OpenBracket(InFilenameValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/Period.InPath/PeriodInPathInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/Period.InPath/PeriodInPathValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/PeriodInFilename/Period.InFilenameInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/PeriodInFilename/Period.InFilenameValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/PlatformURL/one.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/Quote'InPath/QuoteInPathInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/Quote'InPath/QuoteInPathValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/QuoteInFilename/Quote'InFilenameInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/QuoteInFilename/Quote'InFilenameValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/Space InPath/SpaceInPathInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/Space InPath/SpaceInPathValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/SpaceInFilename/Space InFilenameInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/SpaceInFilename/Space InFilenameValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/TildeInFilename/Tilde~InFilenameInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/TildeInFilename/Tilde~InFilenameValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/Tilde~InPath/TildeInPathInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/Tilde~InPath/TildeInPathValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/UnderscoreInFilename/Underscore_InFilenameInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/UnderscoreInFilename/Underscore_InFilenameValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/Underscore_InPath/UnderscoreInPathInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/Paths/Underscore_InPath/UnderscoreInPathValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/BindingElement/InvalidStyle/BindingInvalidStyle.wsdl-log9
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/BindingElement/InvalidUse/BindingInvalidUse.wsdl-log9
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/CaseInsensitiveOperationNames/CaseInsensitiveOperationNames.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Cyclic/PorttypeRefMessage1.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Cyclic/PorttypeRefMessage2.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/AlphabeticalOrderOfImports/ImportOneAndTwo.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/AlphabeticalOrderOfImports/one.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/AlphabeticalOrderOfImports/two.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/ImportEmptyLocation/ImportEmptyLocation.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/ImportEmptyNamespace/ImportEmptyNamespace.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/ImportEmptyNamespaceAndLocation/ImportEmptyNamespaceAndLocation.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/ImportNoLocationAttribute/ImportNoLocationAttribute.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/ImportNonExistantFile.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/ImportSchemaWithWSDLImport.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/ImportSchemaWithWSDLImportInvalidNS.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/ImportWSDLWithWSDL.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/ImportWSDLWithWSDLInvalidFilename.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/ImportWSDLWithWSDLInvalidNS.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/ImportWithIncorrectSlash/ImportWithIncorrectSlash.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/ImportXMLInvalidWSDL/ImportXMLInvalidWSDL.wsdl-log9
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/ImportingWSDLWithImportedSchema.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/NoSchemeSchemaNamespaceImport/NoSchemeSchemaNamespaceImport.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/SimpleImport/test-1.0.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/WSDLImportingSchemaImportingSchema.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/WSDLImportingTypes.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/Import/WSDLNamespaceAAA.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/InvalidSchemaWithPartReferences/InvalidSchemaWithPartReferences.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/MessageElement/InvalidElement/MessageInvalidElement.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/MessageElement/InvalidType/MessageInvalidType.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/NamespaceDoesntResolve/NamespaceDoesntResolve.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/NamespaceResolvesHTML/NamespaceResolvesHTML.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/PortTypeElement/InvalidInput/PortTypeInvalidInput.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/PortTypeElement/InvalidOutput/PortTypeInvalidOutput.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/SelfContained/Empty.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/SelfContained/NoDefaultNamespace/NoDefaultNamespace.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/SelfContained/ReferenceInlineTypes.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/SelfContained/SOAPBodyEncodedNoNamespace.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/SelfContained/SOAPBodyEncodedWithNamespace.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/SelfImport/ImportFileWithSelfImport/ImportFileWithSelfImport.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/SelfImport/SimpleFile/SelfImport.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/SelfImport/SimpleFileInvalid/SelfImport.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/ServiceElement/InvalidBinding/ServiceInvalidBinding.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/WSDL/ServiceElement/NoAddress/ServiceNoAddress.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/XSD/Entities/normalizeEntitiesInvalid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/XSD/Entities/normalizeEntitiesValid.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/XSD/ImportInlineSchemaWithInclude/ImportInlineSchemaWithInclude.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/XSD/ImportNoNSSchema/ImportNoNSSchema.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/XSD/ImportNoNSSchemaAndSecondSchemaWithNS/ImportNoNSSchemaAndSecondSchemaWithNS.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/XSD/InlineSchemaGeneratedImports/NoImportForUnprefixedAttribute.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/XSD/InlineSchemaNoNamespace/InlineSchemaNoNamespace.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/XSD/NoNSElementReference/NoNSElementReference.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/XSD/OneErrorForInlineXSDRefInvalidInlineXSD/OneErrorForInlineXSDRefInvalidInlineXSD.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/XSD/ReferToAnotherInlineType/ReferToAnotherInlineType.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/XSD/ReferToAnotherInlineType/ReferToAnotherInlineTypeNoImport.wsdl-log9
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/XSD/RestrictionPatternWithColon/RestrictionPatternWithColon.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/XSD/SchemaDocElemWithSourceAndSubElem/SchemaDocElemWithSourceAndSubElem.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/idealResults/XSD/ValueColon/ValueColon.wsdl-log8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/LineNumberAdjustments/cvc-complex-type.2.3/cvc-complex-type.2.3.wsdl21
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/LineNumberAdjustments/cvc-complex-type.2.4.b/cvc-complex-type.2.4.b.wsdl19
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/AngleHatInFilename/AngleHat^InFilenameInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/AngleHatInFilename/AngleHat^InFilenameValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/AngleHat^InPath/AngleHatInPathInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/AngleHat^InPath/AngleHatInPathValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/CloseBracket)InPath/CloseBracketInPathInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/CloseBracket)InPath/CloseBracketInPathValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/CloseBracketInFilename/CloseBracket)InFilenameInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/CloseBracketInFilename/CloseBracket)InFilenameValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/Dash-InPath/DashInPathInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/Dash-InPath/DashInPathValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/DashInFilename/Dash-InFilenameInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/DashInFilename/Dash-InFilenameValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/Exclamation!InPath/ExclamationInPathInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/Exclamation!InPath/ExclamationInPathValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/ExclamationInFilename/Exclamation!InFilenameInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/ExclamationInFilename/Exclamation!InFilenameValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/OpenBracket(InPath/OpenBracketInPathInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/OpenBracket(InPath/OpenBracketInPathValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/OpenBracketInFilename/OpenBracket(InFilenameInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/OpenBracketInFilename/OpenBracket(InFilenameValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/Period.InPath/PeriodInPathInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/Period.InPath/PeriodInPathValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/PeriodInFilename/Period.InFilenameInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/PeriodInFilename/Period.InFilenameValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/PlatformURL/one.wsdl6
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/PlatformURL/two.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/Quote'InPath/QuoteInPathInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/Quote'InPath/QuoteInPathValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/QuoteInFilename/Quote'InFilenameInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/QuoteInFilename/Quote'InFilenameValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/Space InPath/SpaceInPathInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/Space InPath/SpaceInPathValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/SpaceInFilename/Space InFilenameInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/SpaceInFilename/Space InFilenameValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/TildeInFilename/Tilde~InFilenameInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/TildeInFilename/Tilde~InFilenameValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/Tilde~InPath/TildeInPathInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/Tilde~InPath/TildeInPathValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/UnderscoreInFilename/Underscore_InFilenameInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/UnderscoreInFilename/Underscore_InFilenameValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/Underscore_InPath/UnderscoreInPathInvalid.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/Paths/Underscore_InPath/UnderscoreInPathValid.wsdl3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/BindingElement/InvalidStyle/BindingInvalidStyle.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/BindingElement/InvalidUse/BindingInvalidUse.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/CaseInsensitiveOperationNames/CaseInsensitiveOperationNames.wsdl25
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Cyclic/PorttypeRefMessage1.wsdl22
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Cyclic/PorttypeRefMessage2.wsdl22
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/AlphabeticalOrderOfImports/ImportOneAndTwo.wsdl12
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/AlphabeticalOrderOfImports/one.wsdl10
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/AlphabeticalOrderOfImports/two.wsdl18
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportEmptyLocation/ImportEmptyLocation.wsdl11
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportEmptyNamespace/ImportEmptyNamespace.wsdl11
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportEmptyNamespace/simple.wsdl6
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportEmptyNamespaceAndLocation/ImportEmptyNamespaceAndLocation.wsdl11
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportNoLocationAttribute/ImportNoLocationAttribute.wsdl11
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportNonExistantFile.wsdl4
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportSchemaWithWSDLImport.wsdl7
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportSchemaWithWSDLImportInvalidNS.wsdl4
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportWSDLWithWSDL.wsdl4
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportWSDLWithWSDLInvalidFilename.wsdl4
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportWSDLWithWSDLInvalidNS.wsdl4
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportWithIncorrectSlash/B.xsd4
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportWithIncorrectSlash/C.xsd8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportWithIncorrectSlash/ImportWithIncorrectSlash.wsdl9
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportXMLInvalidWSDL/ImportXMLInvalidWSDL.wsdl4
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportXMLInvalidWSDL/XMLInvalidWSDL.wsdl39
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportingSchemaNotInDir.xsd6
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/ImportingWSDLWithImportedSchema.wsdl7
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/NoSchemeSchemaNamespaceImport/NoSchemeSchemaNamespaceImport.wsdl35
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/SchemaNamespaceAAA.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/SimpleImport/import-1.0.wsdl6
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/SimpleImport/test-1.0.wsdl9
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/WSDLImportingSchemaImportingSchema.wsdl8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/WSDLImportingTypes.wsdl8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/WSDLNamespaceAAA.wsdl4
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/WSDLOnlyTypes.wsdl9
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/schema.xsd5
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/simplewsdl.wsdl2
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/subfolder/ImportedImportingSchema.wsdl11
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/subfolder/ImportedWSDLImportedSchema.xsd8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/Import/subfolder/PlainSchema.xsd8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/InvalidSchemaWithPartReferences/InvalidSchemaWithPartReferences.wsdl34
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/MessageElement/InvalidElement/MessageInvalidElement.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/MessageElement/InvalidType/MessageInvalidType.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/NamespaceDoesntResolve/NamespaceDoesntResolve.wsdl43
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/NamespaceResolvesHTML/NamespaceResolvesHTML.wsdl44
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/PortTypeElement/InvalidInput/PortTypeInvalidInput.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/PortTypeElement/InvalidOutput/PortTypeInvalidOutput.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/SelfContained/Empty.wsdl0
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/SelfContained/NoDefaultNamespace/NoDefaultNamespace.wsdl6
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/SelfContained/ReferenceInlineTypes.wsdl12
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/SelfContained/SOAPBodyEncodedNoNamespace.wsdl32
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/SelfContained/SOAPBodyEncodedWithNamespace.wsdl32
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/SelfImport/ImportFileWithSelfImport/ImportFileWithSelfImport.wsdl42
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/SelfImport/ImportFileWithSelfImport/SelfImport.wsdl42
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/SelfImport/SimpleFile/SelfImport.wsdl42
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/SelfImport/SimpleFileInvalid/SelfImport.wsdl42
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/ServiceElement/InvalidBinding/ServiceInvalidBinding.wsdl38
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/WSDL/ServiceElement/NoAddress/ServiceNoAddress.wsdl37
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/CatalogSchemas/schema1.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/CatalogSchemas/schema2.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/Entities/normalizeEntitiesInvalid.wsdl17
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/Entities/normalizeEntitiesValid.wsdl17
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/ImportInlineSchemaWithInclude/ImportInlineSchemaWithInclude.wsdl24
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/ImportInlineSchemaWithInclude/schema.xsd11
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/ImportNoNSSchema/ImportNoNSSchema.wsdl27
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/ImportNoNSSchema/NoTns.xsd8
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/ImportNoNSSchemaAndSecondSchemaWithNS/ImportNoNSSchemaAndSecondSchemaWithNS.wsdl24
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/ImportNoNSSchemaAndSecondSchemaWithNS/noTNS.xsd3
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/InlineSchemaGeneratedImports/NoImportForUnprefixedAttribute.wsdl24
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/InlineSchemaNoNamespace/InlineSchemaNoNamespace.wsdl24
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/NoNSElementReference/NoNSElementReference.wsdl15
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/OneErrorForInlineXSDRefInvalidInlineXSD/OneErrorForInlineXSDRefInvalidInlineXSD.wsdl20
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/ReferToAnotherInlineType/ReferToAnotherInlineType.wsdl29
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/ReferToAnotherInlineType/ReferToAnotherInlineTypeNoImport.wsdl27
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/RestrictionPatternWithColon/RestrictionPatternWithColon.wsdl14
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/SchemaDocElemWithSourceAndSubElem/SchemaDocElemWithSourceAndSubElem.wsdl17
    -rw-r--r--tests/org.eclipse.wst.wsdl.validation.tests/testresources/samples/XSD/ValueColon/ValueColon.wsdl19
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/.classpath7
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/.cvsignore4
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/.project28
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/.settings/org.eclipse.core.resources.prefs3
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/.settings/org.eclipse.jdt.core.prefs12
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/.settings/org.eclipse.jdt.ui.prefs3
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/META-INF/MANIFEST.MF19
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/about.html34
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/build.properties9
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/plugin.properties3
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/plugin.xml6
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/CoreConformanceTest.java104
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/CoreMessageLogConformanceTest.java139
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/CoreWSDLConformanceTest.java189
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/MessageLogConformanceAPTest.java15
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/MessageLogConformanceSSBPTest.java17
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/MessageLogConformanceSecureWSTest.java29
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/RegressionBucket.java61
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/WSDLConformanceAPTest.java75
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/WSDLConformanceSSBPTest.java73
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/src/org/eclipse/wst/wsi/tests/internal/WSITestsPlugin.java78
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/test.xml53
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Encryption/Encryption.wsimsg56
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Encryption/testcase.xml7
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/NoSecurity/NoSecurity.wsimsg56
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/NoSecurity/testcase.xml7
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Signature/Signature.wsimsg56
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/Signature/testcase.xml7
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/SignatureAndEncryption/SignatureAndEncryption.wsimsg56
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/SecureWS/SignatureAndEncryption/testcase.xml7
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-1/1309-1.wsimsg53
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-1/testcase.xml8
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-2/1309-2.wsimsg53
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1309-2/testcase.xml11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1600-1/1600-1.wsimsg53
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bp/1600-1/testcase.xml10
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bugzilla/141966/141966.wsimsg41
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/messageLogs/bugzilla/141966/testcase.xml11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/Encryption.wsdl72
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/NoSecurity.wsdl72
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/Signature.wsdl72
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/SecureWS/SignatureAndEncryption.wsdl72
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/ap/2941-1/2941-1.wsdl111
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/ap/2941-1/testcase.xml7
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-1/2012-1.wsdl82
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-1/testcase.xml10
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-2/2012-2.wsdl109
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2012-2/testcase.xml11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2013-1/2013-1.wsdl99
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2013-1/testcase.xml13
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-1/2014-1.wsdl42
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-1/testcase.xml8
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-2/2014-2.wsdl42
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-2/testcase.xml8
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-3/2014-3.wsdl42
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2014-3/testcase.xml11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-1/2017-1.wsdl105
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-1/testcase.xml11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-2/2017-2.wsdl110
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2017-2/testcase.xml8
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-1/2018-1.wsdl42
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-1/testcase.xml8
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/2018-2.wsdl45
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/2018a.wsdl10
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/2018b.wsdl10
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-2/testcase.xml8
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-3/2018-3.wsdl42
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-3/testcase.xml11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/2018-4.wsdl44
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/2018a.wsdl10
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/2018b.wsdl10
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-4/testcase.xml11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/2018-5.wsdl13
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/2018a.wsdl43
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/2018b.wsdl10
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2018-5/testcase.xml11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-1/2019-1.wsdl109
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-1/testcase.xml11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-2/2019-2.wsdl109
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-2/testcase.xml11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-3/2019-3.wsdl116
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-3/testcase.xml11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-4/2019-4.wsdl117
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2019-4/testcase.xml11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-1/2020-1.wsdl97
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-1/testcase.xml12
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-2/2020-2.wsdl97
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2020-2/testcase.xml13
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/2105-1.wsdl45
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/2105a.wsdl10
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/2105b.wsdl10
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-1/testcase.xml11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/2105-2.wsdl45
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/2105a.wsdl10
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/2105b.wsdl10
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2105-2/testcase.xml11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-1/2117-1.wsdl97
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-1/testcase.xml12
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-2/2117-2.wsdl104
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-2/testcase.xml14
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-3/2117-3.wsdl105
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2117-3/testcase.xml14
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2406-1/2406-1.wsdl33
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bp/2406-1/testcase.xml10
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/bugzilla/emptySoapBody/emptySoapBody.wsdl44
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2010-1/2010-1.wsdl87
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2010-1/testcase.xml13
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/2011-1.wsdl84
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/2011.xsd9
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/next.xsd11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-1/testcase.xml7
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-2/2011-2.wsdl84
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-2/2011.xsd8
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-2/testcase.xml18
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/2011-3.wsdl84
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/2011.xsd9
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/next.xsd11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-3/testcase.xml18
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-4/2011-4.wsdl84
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-4/2011.xsd9
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-4/testcase.xml17
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/2011-5.wsdl84
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/2011.xsd9
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/next.xsd8
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2011-5/testcase.xml18
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-1/2021-1.wsdl106
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-1/testcase.xml14
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-2/2021-2.wsdl106
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-2/testcase.xml14
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-3/2021-3.wsdl106
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-3/testcase.xml14
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-4/2021-4.wsdl117
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-4/testcase.xml14
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-5/2021-5.wsdl117
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-5/testcase.xml14
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-6/2021-6.wsdl117
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2021-6/testcase.xml14
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-1/2022-1.wsdl106
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-1/testcase.xml16
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-2/2022-2.wsdl117
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2022-2/testcase.xml16
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-1/2032-1.wsdl106
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-1/testcase.xml15
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-2/2032-2.wsdl117
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/redundant/2032-2/testcase.xml15
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook-rpc/addressBook-rpc.wsdl97
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook-rpc/testcase.xml8
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook/addressBook.wsdl109
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/addressBook/testcase.xml8
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppCatalog/sampleAppCatalog.wsdl17
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppCatalog/testcase.xml11
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppManufacturer/sampleAppManufacturer.wsdl26
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppManufacturer/testcase.xml10
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppWarehouse/sampleAppWarehouse.wsdl20
    -rw-r--r--tests/org.eclipse.wst.wsi.tests/testResources/samples/wsdl/wsi/sampleAppWarehouse/testcase.xml10
    6169 files changed, 0 insertions, 607060 deletions
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/.classpath b/bundles/org.eclipse.jst.ws.consumption.ui/.classpath
    deleted file mode 100644
    index cb0105380..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/.classpath
    +++ /dev/null
    @@ -1,7 +0,0 @@
    -<?xml version="1.0" encoding="UTF-8"?>
    -<classpath>
    - <classpathentry kind="src" path="src/"/>
    - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
    - <classpathentry kind="output" path="bin"/>
    -</classpath>
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/.cvsignore b/bundles/org.eclipse.jst.ws.consumption.ui/.cvsignore
    deleted file mode 100644
    index d6f454747..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/.cvsignore
    +++ /dev/null
    @@ -1,7 +0,0 @@
    -bin
    -build.xml
    -temp.folder
    -wsc-ui.jar
    -@dot
    -src.zip
    -javaCompiler...args
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/.project b/bundles/org.eclipse.jst.ws.consumption.ui/.project
    deleted file mode 100644
    index e1026041e..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/.project
    +++ /dev/null
    @@ -1,28 +0,0 @@
    -<?xml version="1.0" encoding="UTF-8"?>
    -<projectDescription>
    - <name>org.eclipse.jst.ws.consumption.ui</name>
    - <comment></comment>
    - <projects>
    - </projects>
    - <buildSpec>
    - <buildCommand>
    - <name>org.eclipse.jdt.core.javabuilder</name>
    - <arguments>
    - </arguments>
    - </buildCommand>
    - <buildCommand>
    - <name>org.eclipse.pde.ManifestBuilder</name>
    - <arguments>
    - </arguments>
    - </buildCommand>
    - <buildCommand>
    - <name>org.eclipse.pde.SchemaBuilder</name>
    - <arguments>
    - </arguments>
    - </buildCommand>
    - </buildSpec>
    - <natures>
    - <nature>org.eclipse.jdt.core.javanature</nature>
    - <nature>org.eclipse.pde.PluginNature</nature>
    - </natures>
    -</projectDescription>
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.jst.ws.consumption.ui/.settings/org.eclipse.jdt.core.prefs
    deleted file mode 100644
    index 160fd76fa..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/.settings/org.eclipse.jdt.core.prefs
    +++ /dev/null
    @@ -1,57 +0,0 @@
    -#Mon Jan 30 10:36:02 EST 2006
    -eclipse.preferences.version=1
    -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
    -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
    -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
    -org.eclipse.jdt.core.compiler.compliance=1.4
    -org.eclipse.jdt.core.compiler.debug.lineNumber=generate
    -org.eclipse.jdt.core.compiler.debug.localVariable=generate
    -org.eclipse.jdt.core.compiler.debug.sourceFile=generate
    -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    -org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
    -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
    -org.eclipse.jdt.core.compiler.problem.deprecation=ignore
    -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
    -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
    -org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
    -org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    -org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
    -org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
    -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
    -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
    -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
    -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
    -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
    -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
    -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
    -org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
    -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
    -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
    -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
    -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
    -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
    -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
    -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
    -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
    -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
    -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
    -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
    -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
    -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
    -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
    -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
    -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
    -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
    -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
    -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
    -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
    -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
    -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
    -org.eclipse.jdt.core.compiler.problem.unusedImport=warning
    -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
    -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
    -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
    -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
    -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
    -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    -org.eclipse.jdt.core.compiler.source=1.3
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.jst.ws.consumption.ui/.settings/org.eclipse.pde.prefs
    deleted file mode 100644
    index e53eddf8a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/.settings/org.eclipse.pde.prefs
    +++ /dev/null
    @@ -1,12 +0,0 @@
    -#Mon Jan 30 10:41:20 EST 2006
    -compilers.p.deprecated=1
    -compilers.p.no-required-att=0
    -compilers.p.not-externalized-att=1
    -compilers.p.unknown-attribute=0
    -compilers.p.unknown-class=0
    -compilers.p.unknown-element=1
    -compilers.p.unknown-resource=0
    -compilers.p.unresolved-ex-points=0
    -compilers.p.unresolved-import=0
    -compilers.use-project=true
    -eclipse.preferences.version=1
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/META-INF/MANIFEST.MF b/bundles/org.eclipse.jst.ws.consumption.ui/META-INF/MANIFEST.MF
    deleted file mode 100644
    index fee49aff1..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/META-INF/MANIFEST.MF
    +++ /dev/null
    @@ -1,78 +0,0 @@
    -Manifest-Version: 1.0
    -Bundle-ManifestVersion: 2
    -Bundle-Name: %PLUGIN_NAME
    -Bundle-SymbolicName: org.eclipse.jst.ws.consumption.ui; singleton:=true
    -Bundle-Version: 1.0.204.qualifier
    -Bundle-Activator: org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin
    -Bundle-Vendor: %PLUGIN_PROVIDER
    -Bundle-Localization: plugin
    -Export-Package: org.eclipse.jst.ws.internal.consumption.ui;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.action;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.ant;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.command;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.command.data;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.common;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.extension;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.plugin;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.preferences;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.selection;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.server;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.widgets;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.widgets.object;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.widgets.test;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.wizard;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.wsil;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.ui.wsrt;x-internal:=true
    -Require-Bundle: org.eclipse.wst.ws.parser;bundle-version="[1.0.100,1.1.0)",
    - org.eclipse.wst.command.env;bundle-version="[1.0.101,1.1.0)",
    - org.eclipse.wst.command.env.ui;bundle-version="[1.0.101,1.1.0)",
    - org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
    - org.eclipse.jst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.wst.ws.explorer;bundle-version="[1.0.101,1.1.0)",
    - org.eclipse.jst.ws;bundle-version="[1.0.101,1.1.0)",
    - org.eclipse.jst.ws.ui;bundle-version="[1.0.100,1.1.0)",
    - org.eclipse.jst.ws.consumption;bundle-version="[1.0.101,1.1.0)",
    - org.eclipse.jem;bundle-version="[1.2.0,1.3.0)",
    - org.eclipse.jem.workbench;bundle-version="[1.2.0,1.3.0)",
    - org.eclipse.emf.common;bundle-version="[2.2.0,2.4.0)",
    - org.eclipse.emf.ecore;bundle-version="[2.2.0,2.4.0)",
    - org.eclipse.jdt.core;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.jdt.ui;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.core.resources;bundle-version="[3.2.0,3.4.0)",
    - org.eclipse.wst.ws;bundle-version="[1.0.100,1.1.0)",
    - org.eclipse.jem.workbench;bundle-version="[1.2.0,1.3.0)",
    - org.eclipse.emf.ecore.xmi;bundle-version="[2.2.0,2.4.0)",
    - org.eclipse.wst.server.core;bundle-version="[1.0.102,1.1.0)",
    - org.eclipse.wst.server.ui;bundle-version="[1.0.102,1.1.0)",
    - org.eclipse.wst.wsdl;bundle-version="[1.0.100,1.1.0)",
    - org.eclipse.jst.j2ee;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.jst.j2ee.core;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.jst.j2ee.ejb;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.jst.j2ee.web;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.wst.common.emf;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.wst.common.emfworkbench.integration;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.wst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.jst.j2ee.webservice;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.jst.j2ee.webservice.ui;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.wst.common.modulecore;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.wst.ws.ui;bundle-version="[1.0.100,1.1.0)",
    - org.wsdl4j;bundle-version="[1.4.0,1.5.0)",
    - org.eclipse.jem.util;bundle-version="[1.2.0,1.3.0)",
    - org.eclipse.wst.wsdl.validation;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.wst.common.frameworks.ui;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.wst.common.environment;bundle-version="[1.0.100,1.1.0)",
    - org.eclipse.wst.common.project.facet.core;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.jst.server.core;bundle-version="[1.0.102,1.1.0)",
    - org.eclipse.debug.core;bundle-version="[3.2.0,4.0.0)",
    - com.ibm.icu;bundle-version="[3.4.4,4.0.0)",
    - org.apache.xerces;bundle-version="[2.8.0,2.9.0)",
    - org.eclipse.ui.forms;bundle-version="[3.2.0,4.0.0)"
    -Eclipse-LazyStart: true
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/about.html b/bundles/org.eclipse.jst.ws.consumption.ui/about.html
    deleted file mode 100644
    index 4ec598958..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/about.html
    +++ /dev/null
    @@ -1,34 +0,0 @@
    -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
    -<HTML>
    -
    -<head>
    -<title>About</title>
    -<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
    -</head>
    -
    -<BODY lang="EN-US">
    -
    -<H3>About This Content</H3>
    -
    -<P>May 2, 2006</P>
    -
    -<H3>License</H3>
    -
    -<P>The Eclipse Foundation makes available all content in this plug-in
    -("Content"). Unless otherwise indicated below, the Content is provided to you
    -under the terms and conditions of the Eclipse Public License Version 1.0
    -("EPL"). A copy of the EPL is available at
    -<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
    -For purposes of the EPL, "Program" will mean the Content.</P>
    -
    -<P>If you did not receive this Content directly from the Eclipse Foundation, the
    -Content is being redistributed by another party ("Redistributor") and different
    -terms and conditions may apply to your use of any object code in the Content.
    -Check the Redistributor’s license that was provided with the Content. If no such
    -license exists, contact the Redistributor. Unless otherwise indicated below, the
    -terms and conditions of the EPL still apply to any source code in the Content
    -and such source code may be obtained at
    -<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
    -
    -</BODY>
    -</HTML>
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/build.properties b/bundles/org.eclipse.jst.ws.consumption.ui/build.properties
    deleted file mode 100644
    index ffb8cb268..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/build.properties
    +++ /dev/null
    @@ -1,8 +0,0 @@
    -source.. = src/
    -bin.includes = .,\
    - icons/,\
    - plugin.properties,\
    - plugin.xml,\
    - META-INF/,\
    - about.html
    -src.includes = schema/
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_assemble.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_assemble.jpg
    deleted file mode 100644
    index e67667975..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_assemble.jpg
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_deploy.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_deploy.jpg
    deleted file mode 100644
    index 7cfc866ab..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_deploy.jpg
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_develop.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_develop.jpg
    deleted file mode 100644
    index d659e2419..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_develop.jpg
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_install.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_install.jpg
    deleted file mode 100644
    index 08225080c..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_install.jpg
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_none.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_none.jpg
    deleted file mode 100644
    index 91c8fa95f..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_none.jpg
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_run.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_run.jpg
    deleted file mode 100644
    index 363ac70e9..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_run.jpg
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_test.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_test.jpg
    deleted file mode 100644
    index 36b94451d..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/client_test.jpg
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/config_handler_wiz.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/config_handler_wiz.gif
    deleted file mode 100644
    index 8da3a2131..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/config_handler_wiz.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/configure_handlers.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/configure_handlers.gif
    deleted file mode 100644
    index a113c85cc..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/configure_handlers.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/generated_sample.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/generated_sample.gif
    deleted file mode 100644
    index eaba51f62..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/generated_sample.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/newclient_webserv_wiz.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/newclient_webserv_wiz.gif
    deleted file mode 100644
    index 1ee05fa2e..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/ctool16/newclient_webserv_wiz.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/dtool/configure_handlers.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/dtool/configure_handlers.gif
    deleted file mode 100644
    index 1060dd967..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/dtool/configure_handlers.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/dtool/generated_sample.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/dtool/generated_sample.gif
    deleted file mode 100644
    index 590d3965f..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/dtool/generated_sample.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/wizban/webservicesclient_wiz.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/wizban/webservicesclient_wiz.gif
    deleted file mode 100644
    index 68b7a2651..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/full/wizban/webservicesclient_wiz.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/gen_sample_wiz.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/gen_sample_wiz.gif
    deleted file mode 100644
    index 927ad5ad4..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/gen_sample_wiz.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws.gif
    deleted file mode 100644
    index 641fe843a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws_wiz.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws_wiz.gif
    deleted file mode 100644
    index a3061e6ff..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/import_ws_wiz.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/registry.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/registry.gif
    deleted file mode 100644
    index 5b43cae7b..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/registry.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale0_bground.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale0_bground.jpg
    deleted file mode 100644
    index 4da5ca0c0..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale0_bground.jpg
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale1_bground.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale1_bground.jpg
    deleted file mode 100644
    index df1207dfa..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale1_bground.jpg
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale2_bground.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale2_bground.jpg
    deleted file mode 100644
    index 9741fde03..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale2_bground.jpg
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale3_bground.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale3_bground.jpg
    deleted file mode 100644
    index 35d4e22d7..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale3_bground.jpg
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale4_bground.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale4_bground.jpg
    deleted file mode 100644
    index 82bbd5cf4..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale4_bground.jpg
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale5_bground.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale5_bground.jpg
    deleted file mode 100644
    index b0806f7c3..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale5_bground.jpg
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale6_bground.jpg b/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale6_bground.jpg
    deleted file mode 100644
    index 818bcffee..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/scale6_bground.jpg
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/existing_server_obj.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/existing_server_obj.gif
    deleted file mode 100644
    index afb6cb7d7..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/existing_server_obj.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/servers_obj.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/servers_obj.gif
    deleted file mode 100644
    index afb6cb7d7..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/servers/servers_obj.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/html.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/html.gif
    deleted file mode 100644
    index 53e7dbd12..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/html.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wiz_banner_wsil.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wiz_banner_wsil.gif
    deleted file mode 100644
    index 11b34b7db..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wiz_banner_wsil.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wsil.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wsil.gif
    deleted file mode 100644
    index 618a946cd..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/import_wsil.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsdl.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsdl.gif
    deleted file mode 100644
    index 8fb844f5b..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsdl.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsil.gif b/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsil.gif
    deleted file mode 100644
    index 7c5916fb6..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/icons/wsil/wsil.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/plugin.properties b/bundles/org.eclipse.jst.ws.consumption.ui/plugin.properties
    deleted file mode 100644
    index 66e02b191..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/plugin.properties
    +++ /dev/null
    @@ -1,133 +0,0 @@
    -###############################################################################
    -# Copyright (c) 2001, 2006 IBM Corporation and others.
    -# All rights reserved. This program and the accompanying materials
    -# are made available under the terms of the Eclipse Public License v1.0
    -# which accompanies this distribution, and is available at
    -# http://www.eclipse.org/legal/epl-v10.html
    -#
    -# Contributors:
    -# IBM Corporation - initial API and implementation
    -# yyyymmdd bug Email and other contact information
    -# -------- -------- -----------------------------------------------------------
    -# 20060515 141536 pmoogk@ca.ibm.com - Peter Moogk
    -###############################################################################
    -
    -#
    -# Messages in plugin.xml.
    -#
    -PLUGIN_NAME=Web Services Consumption Graphical User Interface
    -PLUGIN_PROVIDER=Eclipse.org
    -
    -FEATURE_DESCRIPTION=Web services
    -WEBSERVICES_CATEGORY=Web services
    -
    -XP_wsImpl=Web service implementations
    -XP_wsClientImpl=Web service client implementations
    -XP_runtimes=Web service runtimes
    -XP_serviceRuntimes=Combination of a Web service runime, service implementation type, and required facets
    -XP_clientRuntimes=Combination of a Web service runime, client implementation type, and required facets
    -XP_tester=Web service test facilities
    -
    -XP_PUBLIC_UDDI_REGISTRY_TYPES=Public UDDI Registry Types
    -XP_PRIVATE_UDDI_REGISTRY_TYPES=Private UDDI Registry Types
    -XP_WEB_SERVICE_CLIENT_TYPES=Web Service Client Types
    -XP_WEB_SERVICE_TEST=Web Service Test
    -XP_WEB_SERVICE_SERVER_RUNTIME_TYPES=Web Service Server Runtime Types
    -XP_WEB_SERVICE_CLIENT_PROJECT_TYPE=clientProjectType
    -XP_OBJECT_SELECTION_WIDGET=objectSelectionWidget
    -
    -#
    -# Wizards.
    -#
    -WIZARD_TITLE_WSC=Web Service Client
    -
    -PLUGIN_NEW_WIZARD_NAME_WS_CLIENT=Web Service Client
    -PLUGIN_IMPORT_WIZARD_NAME_WS=Web Service
    -PLUGIN_NEW_WIZARD_DESC_WS_CLIENT=Access an existing XML web service
    -PLUGIN_IMPORT_WIZARD_DESC_WS=A wizard for importing a web service
    -IMPORT_WIZARD_DESC_WSIL=Import WSDL references to a WSIL document
    -
    -#
    -# Web Samples IDs
    -#
    -SAMPLE_TYPE_WEBSERVICES_ID=Web service sample JSPs
    -
    -#
    -# Pop-up actions
    -#
    -ACTION_GENERATE_JAVA_PROXY=Generate Client
    -ACTION_GEN_SAMPLE=Generate Sample JSPs
    -
    -#
    -# Dialogs
    -#
    -CHECKBOX_SHOW_GENERATE_JAVA_PROXY_DIALOG=Hide &Generate Java bean Proxy Dialog
    -CHECKBOX_SHOW_PROXY2SAMPLE_DIALOG=Hide &Proxy To Sample Generation Dialog
    -TOOLTIP_PPAD_CHECKBOX_WSDL2PROXY=Hide the dialog for generating the Java bean proxy action.
    -TOOLTIP_PPAD_CHECKBOX_PROXY2SAMPLE=Hide the dialog for generating the sample application action.
    -
    -#
    -# Web Services Preferance Pages
    -#
    -# Categories
    -
    -PREFERENCE_CATEGORY_SERVER_RUNTIME=Server and Runtime
    -PREFERENCE_CATEGORY_PROJECT_TOPOLOGY=Project Topology
    -PREFERENCE_CATEGORY_TEST_FACILITY=Test Facility Defaults
    -PREFERENCE_CATEGORY_DIALOGS=Popup Dialog Selection
    -
    -
    -#
    -# Pop-up actions
    -#
    -MENU_RUN=&Run
    -
    -#
    -# WebServiceTestPage
    -#
    -WSEXPLORER_ID=Web Services Explorer
    -
    -#
    -# WebServicePublishPage
    -#
    -TOOLTIP_LAUNCH_WS_EXPLORER=Launch the Web Services Explorer
    -COMMAND_LAUNCH_WS_EXPLORER=Launch the Web Services Explorer
    -
    -#
    -# PublicUDDIRegistryType
    -#
    -PUBLICUDDIREGISTRYTYPE_NAME_SAP=SAP UDDI Registry
    -PUBLICUDDIREGISTRYTYPE_NAME_SAP_TEST=SAP UDDI Test Registry
    -PUBLICUDDIREGISTRYTYPE_NAME_XMETHODS=XMethods Registry
    -PUBLICUDDIREGISTRYTYPE_NAME_NTTCOMM=NTT Communications Registry
    -
    -#
    -# WSIL proxy
    -#
    -IMPORT_WIZARD_NAME_WSIL=WSIL
    -POPUP_GENERATE_WSIL=Generate WSIL
    -
    -#
    -# Web Service Server Runtime Type
    -#
    -WEBSERVICETYPE_NAME_WSDL=Skeleton Java bean Web Service
    -WEBSERVICETYPE_NAME_JAVA=Java bean Web Service
    -
    -#
    -# Web service client implementation type
    -#
    -JAVA_PROXY=Java Proxy
    -#
    -# Client project type
    -#
    -LABEL_CLIENT_TYPE_WEB=Web
    -LABEL_CLIENT_TYPE_EJB=EJB
    -LABEL_CLIENT_TYPE_APP_CLIENT=Application Client
    -LABEL_CLIENT_TYPE_CONTAINERLESS=Java
    -
    -#
    -# Handlers Configuration wizard page
    -#
    -POPUP_ADD_HANDLERS=Configure Handlers
    -POPUP_CONFIG_CLIENT_HANDLERS=Configure Client Handlers
    -LABEL_HANDLERS_CONFIG=Configure Handlers
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/plugin.xml b/bundles/org.eclipse.jst.ws.consumption.ui/plugin.xml
    deleted file mode 100644
    index e9ce6ae99..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/plugin.xml
    +++ /dev/null
    @@ -1,782 +0,0 @@
    -<?xml version="1.0" encoding="UTF-8"?>
    -<?eclipse version="3.0"?>
    -
    -<plugin>
    -
    - <!-- The following extension point is internal and likely to be removed in a future release. -->
    - <extension-point
    - id="publicUDDIRegistryType"
    - name="%XP_PUBLIC_UDDI_REGISTRY_TYPES"/>
    -
    - <!-- The following extension point is internal and likely to be removed in a future release. -->
    - <extension-point
    - id="privateUDDIRegistryType"
    - name="%XP_PRIVATE_UDDI_REGISTRY_TYPES"/>
    -
    - <!-- The following extension point is internal and likely to be removed in a future release. -->
    - <extension-point
    - id="webServiceTest"
    - name="%XP_WEB_SERVICE_TEST"
    - schema="schema/webServiceTest.exsd"/>
    -
    - <!-- The following extension point is internal, though likely to be made public with changes in a future release. -->
    - <extension-point
    - id="objectSelectionWidget"
    - name="%XP_OBJECT_SELECTION_WIDGET"
    - schema="schema/objectSelectionWidget.exsd"/>
    -
    - <!-- UDDI Registry Types -->
    -
    - <extension
    - point="org.eclipse.jst.ws.consumption.ui.publicUDDIRegistryType">
    - <publicUDDIRegistryType
    - name="%PUBLICUDDIREGISTRYTYPE_NAME_SAP_TEST"
    - class="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistrySAPTest"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistrySAPTest">
    - </publicUDDIRegistryType>
    - </extension>
    -
    - <extension
    - point="org.eclipse.jst.ws.consumption.ui.publicUDDIRegistryType">
    - <publicUDDIRegistryType
    - name="%PUBLICUDDIREGISTRYTYPE_NAME_SAP"
    - class="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistrySAP"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistrySAP">
    - </publicUDDIRegistryType>
    - </extension>
    -
    - <extension
    - point="org.eclipse.jst.ws.consumption.ui.publicUDDIRegistryType">
    - <publicUDDIRegistryType
    - name="%PUBLICUDDIREGISTRYTYPE_NAME_XMETHODS"
    - class="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistryXMethods"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistryXMethods">
    - </publicUDDIRegistryType>
    - </extension>
    -
    - <extension
    - point="org.eclipse.jst.ws.consumption.ui.publicUDDIRegistryType">
    - <publicUDDIRegistryType
    - name="%PUBLICUDDIREGISTRYTYPE_NAME_NTTCOMM"
    - class="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistryNTTComm"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistryNTTComm">
    - </publicUDDIRegistryType>
    - </extension>
    -
    - <!-- Test Facilities -->
    -
    - <extension
    - point="org.eclipse.jst.ws.consumption.ui.webServiceTest">
    -
    - <webServiceTest
    - methodsneeded="true"
    - name="%SAMPLE_TYPE_WEBSERVICES_ID"
    - java="true"
    - codegen="true"
    - class="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample.WebServiceWSSampleExecutable"
    - id="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WebServiceSampleTest">
    - </webServiceTest>
    -
    - <webServiceTest
    - methodsneeded="false"
    - name="%WSEXPLORER_ID"
    - java="false"
    - codegen="false"
    - class="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer.WebServiceExplorerExecutable"
    - id="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer.WebServiceExplorerExecutable">
    - </webServiceTest>
    -
    - </extension>
    -
    - <!-- Dynamic Wizards -->
    -
    - <extension
    - point="org.eclipse.ui.newWizards">
    - <wizard
    - name="%PLUGIN_NEW_WIZARD_NAME_WS_CLIENT"
    - icon="icons/full/ctool16/newclient_webserv_wiz.gif"
    - category="org.eclipse.jst.ws.ui.new"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
    - <description>
    - %PLUGIN_NEW_WIZARD_DESC_WS_CLIENT
    - </description>
    - <selection
    - class="org.eclipse.core.resources.IResource">
    - </selection>
    - </wizard>
    - </extension>
    -
    - <extension
    - point="org.eclipse.wst.command.env.dynamicWizard">
    - <dynamicWizard
    - iconbanner="icons/full/wizban/webservicesclient_wiz.gif"
    - class="org.eclipse.jst.ws.internal.consumption.ui.widgets.binding.ClientWidgetBinding"
    - title="%WIZARD_TITLE_WSC"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
    - </dynamicWizard>
    - </extension>
    -
    - <extension
    - point="org.eclipse.wst.command.env.dynamicWizard">
    - <dynamicWizard
    - iconbanner="icons/gen_sample_wiz.gif"
    - class="org.eclipse.jst.ws.internal.consumption.ui.widgets.binding.GenSampleWidgetBinding"
    - title="%WIZARD_TITLE_WSC"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.gensamplewizard">
    - </dynamicWizard>
    - </extension>
    -
    - <!-- Handler extensions -->
    - <extension
    - point="org.eclipse.wst.command.env.dynamicWizard">
    - <dynamicWizard
    - iconbanner="icons/config_handler_wiz.gif"
    - class="org.eclipse.jst.ws.internal.consumption.ui.widgets.binding.ConfigServiceHandlersWidgetBinding"
    - title="%LABEL_HANDLERS_CONFIG"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.service">
    - </dynamicWizard>
    - </extension>
    -
    - <extension
    - point="org.eclipse.wst.command.env.dynamicWizard">
    - <dynamicWizard
    - iconbanner="icons/config_handler_wiz.gif"
    - class="org.eclipse.jst.ws.internal.consumption.ui.widgets.binding.ConfigClientHandlersWidgetBinding"
    - title="%LABEL_HANDLERS_CONFIG"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.client">
    - </dynamicWizard>
    - </extension>
    -
    - <extension
    - point="org.eclipse.wst.command.env.dynamicWizard">
    - <dynamicWizard
    - iconbanner="icons/config_handler_wiz.gif"
    - class="org.eclipse.jst.ws.internal.consumption.ui.widgets.binding.ConfigureHandlersWidgetBinding"
    - title="%LABEL_HANDLERS_CONFIG"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers">
    - </dynamicWizard>
    - </extension>
    -
    - <extension
    - point="org.eclipse.ui.importWizards">
    - <category
    - id="org.eclipse.jst.ws.consumption.ui.wsimport.category"
    - name="%WEBSERVICES_CATEGORY"/>
    - </extension>
    -
    - <extension
    - point="org.eclipse.ui.importWizards">
    - <wizard
    - name="%PLUGIN_IMPORT_WIZARD_NAME_WS"
    - icon="icons/import_ws.gif"
    - category="org.eclipse.jst.ws.consumption.ui.wsimport.category"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard"
    - id="org.eclipse.jst.ws.consumption.ui.wsimport">
    - <description>
    - %PLUGIN_IMPORT_WIZARD_DESC_WS
    - </description>
    - </wizard>
    - </extension>
    -
    - <extension
    - point="org.eclipse.wst.command.env.dynamicWizard">
    - <dynamicWizard
    - iconbanner="icons/import_ws_wiz.gif"
    - name="%PLUGIN_IMPORT_WIZARD_NAME_WS"
    - class="org.eclipse.jst.ws.internal.consumption.ui.widgets.binding.ImportWSWidgetBinding"
    - id="org.eclipse.jst.ws.consumption.ui.wsimport">
    - </dynamicWizard>
    - </extension>
    -
    - <extension
    - point="org.eclipse.ui.importWizards">
    - <wizard
    - name="%IMPORT_WIZARD_NAME_WSIL"
    - icon="icons/wsil/import_wsil.gif"
    - category="org.eclipse.jst.ws.consumption.ui.wsimport.category"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard"
    - id="org.eclipse.jst.ws.consumption.ui.wsilimport">
    - <description>
    - %IMPORT_WIZARD_DESC_WSIL
    - </description>
    - </wizard>
    - </extension>
    -
    - <extension
    - point="org.eclipse.wst.command.env.dynamicWizard">
    - <dynamicWizard
    - iconbanner="icons/wsil/import_wiz_banner_wsil.gif"
    - name="%IMPORT_WIZARD_NAME_WSIL"
    - class="org.eclipse.jst.ws.internal.consumption.ui.widgets.binding.ImportWSILWidgetBinding"
    - id="org.eclipse.jst.ws.consumption.ui.wsilimport">
    - </dynamicWizard>
    - </extension>
    -
    - <!-- Preference Pages -->
    -
    - <extension
    - point="org.eclipse.ui.preferencePages">
    -
    - <page
    - name="%PREFERENCE_CATEGORY_SERVER_RUNTIME"
    - category="org.eclipse.wst.ws.internal.ui.preferences.name"
    - class="org.eclipse.jst.ws.internal.consumption.ui.preferences.ServerRuntimePreferencePage"
    - id="org.eclipse.jst.ws.internal.consumption.ui.preferences.ServerRuntimePreferencePage">
    - </page>
    -
    - <page
    - name="%PREFERENCE_CATEGORY_DIALOGS"
    - category="org.eclipse.wst.ws.internal.ui.preferences.name"
    - class="org.eclipse.wst.command.internal.env.ui.preferences.ActionDialogsPreferencePage"
    - id="org.eclipse.jst.wss.popup.category">
    - </page>
    -
    - <page
    - name="%PREFERENCE_CATEGORY_TEST_FACILITY"
    - category="org.eclipse.wst.ws.internal.ui.preferences.name"
    - class="org.eclipse.jst.ws.internal.ui.preferences.TestFacilityDefaultsPreferencePage"
    - id="org.eclipse.jst.ws.internal.ui.preferences.TestFacilityDefaultsPreferencePage">
    - </page>
    -
    - <page
    - name="%PREFERENCE_CATEGORY_PROJECT_TOPOLOGY"
    - category="org.eclipse.wst.ws.internal.ui.preferences.name"
    - class="org.eclipse.jst.ws.internal.consumption.ui.preferences.ProjectTopologyPreferencePage"
    - id="org.eclipse.jst.ws.internal.consumption.ui.preferences.ProjectTopologyPreferencePage">
    - </page>
    -
    - </extension>
    -
    - <!-- Main Menu Actions -->
    -
    - <extension point="org.eclipse.ui.actionSets">
    -
    - <actionSet
    - label="%COMMAND_LAUNCH_WS_EXPLORER"
    - visible="true"
    - id="org.eclipse.jst.ws.consumption">
    - <menu
    - label="%MENU_RUN"
    - path="additions"
    - id="org.eclipse.ui.run">
    - <separator name="explorer">
    - </separator>
    - </menu>
    - <action
    - label="%COMMAND_LAUNCH_WS_EXPLORER"
    - icon="icons/registry.gif"
    - tooltip="%TOOLTIP_LAUNCH_WS_EXPLORER"
    - class="org.eclipse.jst.ws.internal.consumption.ui.action.LaunchWSEAction"
    - menubarPath="org.eclipse.ui.run/explorer"
    - toolbarPath="additions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.action.LaunchWSEAction">
    - </action>
    - </actionSet>
    -
    - </extension>
    -
    - <!-- "Don't Show Me" Extensions -->
    -
    - <extension
    - point="org.eclipse.wst.command.env.actionDialogPreferenceType">
    -
    - <actionDialogPreferenceType
    - showcheckbox="true"
    - name="%CHECKBOX_SHOW_GENERATE_JAVA_PROXY_DIALOG"
    - category="org.eclipse.jst.wss.popup.category"
    - tooltip="%TOOLTIP_PPAD_CHECKBOX_WSDL2PROXY"
    - infopop="org.eclipse.jst.ws.consumption.ui.PPAD0004"
    - alwayshide="false"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
    - </actionDialogPreferenceType>
    -
    - <actionDialogPreferenceType
    - name="%CHECKBOX_SHOW_PROXY2SAMPLE_DIALOG"
    - category="org.eclipse.jst.wss.popup.category"
    - tooltip="%TOOLTIP_PPAD_CHECKBOX_PROXY2SAMPLE"
    - infopop="org.eclipse.jst.ws.consumption.ui.PPAD0005"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.gensamplewizard">
    - </actionDialogPreferenceType>
    -
    - <actionDialogPreferenceType
    - showcheckbox="false"
    - alwayshide="false"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil">
    - </actionDialogPreferenceType>
    -
    - <!-- actionDialogPreferenceType
    - showcheckbox="false"
    - alwayshide="false"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
    - </actionDialogPreferenceType -->
    -
    - </extension>
    -
    - <!-- Popups -->
    -
    - <extension
    - point="org.eclipse.ui.popupMenus">
    -
    - <objectContribution
    - objectClass="org.eclipse.core.resources.IFile"
    - nameFilter="*.wsdl"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil">
    - <action
    - label="%POPUP_GENERATE_WSIL"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
    - id="org.eclipse.jst.ws.consumption.ui.wsilimport">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.core.resources.IFile"
    - nameFilter="*.wsdl"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
    - <action
    - label="%ACTION_GENERATE_JAVA_PROXY"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.core.resources.IFile"
    - nameFilter="*.wsil"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
    - <action
    - label="%ACTION_GENERATE_JAVA_PROXY"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.core.resources.IFile"
    - nameFilter="*.java"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.gensamplewizard">
    - <action
    - label="%ACTION_GEN_SAMPLE"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.gensamplewizard">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.jdt.internal.core.CompilationUnit"
    - nameFilter="*.java"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.gensamplewizard">
    - <action
    - label="%ACTION_GEN_SAMPLE"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.gensamplewizard">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.wst.wsdl.Service"
    - nameFilter="*"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
    - <action
    - label="%ACTION_GENERATE_JAVA_PROXY"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="additions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.wst.wsdl.Service"
    - nameFilter="*"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil">
    - <action
    - label="%POPUP_GENERATE_WSIL"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="additions"
    - id="org.eclipse.jst.ws.consumption.ui.wsilimport">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.core.resources.IFile"
    - nameFilter="webservices.xml"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
    - <action
    - label="%POPUP_ADD_HANDLERS"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.service">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.wst.wsdl.Service"
    - nameFilter="*"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
    - <action
    - label="%POPUP_ADD_HANDLERS"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="additions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.service">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.jst.j2ee.internal.webservice.WebServiceNavigatorGroupType"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
    - <action
    - label="%POPUP_ADD_HANDLERS"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="additions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers">
    - </action>
    - <visibility>
    - <objectState
    - name="type"
    - value="Handlers">
    - </objectState>
    - </visibility>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.wst.wsdl.util.WSDLResourceImpl"
    - nameFilter="*"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
    - <action
    - label="%POPUP_ADD_HANDLERS"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="additions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.service">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.core.resources.IFile"
    - nameFilter="webservicesclient.xml"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
    - <action
    - label="%POPUP_CONFIG_CLIENT_HANDLERS"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.client">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.core.resources.IFile"
    - nameFilter="ejb-jar.xml"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
    - <action
    - label="%POPUP_CONFIG_CLIENT_HANDLERS"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.client">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.core.resources.IFile"
    - nameFilter="web.xml"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
    - <action
    - label="%POPUP_CONFIG_CLIENT_HANDLERS"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.client">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.core.resources.IFile"
    - nameFilter="application-client.xml"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
    - <action
    - label="%POPUP_CONFIG_CLIENT_HANDLERS"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.popupMenu/popupActions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.client">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef"
    - nameFilter="*"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.editor">
    - <action
    - label="%POPUP_CONFIG_CLIENT_HANDLERS"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="additions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.handlers.client">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.wst.wsdl.util.WSDLResourceImpl"
    - nameFilter="*"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
    - <action
    - label="%ACTION_GENERATE_JAVA_PROXY"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="additions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef"
    - nameFilter="*"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
    - <action
    - label="%ACTION_GENERATE_JAVA_PROXY"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="additions"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.clientwizard">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.wst.wsdl.util.WSDLResourceImpl"
    - nameFilter="*"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil">
    - <action
    - label="%POPUP_GENERATE_WSIL"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="additions"
    - id="org.eclipse.jst.ws.consumption.ui.wsilimport">
    - </action>
    - </objectContribution>
    -
    - <objectContribution
    - objectClass="org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef"
    - nameFilter="*"
    - id="org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil">
    - <action
    - label="%POPUP_GENERATE_WSIL"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="additions"
    - id="org.eclipse.jst.ws.consumption.ui.wsilimport">
    - </action>
    - </objectContribution>
    - </extension>
    -
    - <!-- Object Selection Widgets -->
    -
    - <extension
    - point="org.eclipse.jst.ws.consumption.ui.objectSelectionWidget">
    - <objectSelectionWidget
    - class="org.eclipse.jst.ws.internal.consumption.ui.widgets.JavaBeanSelectionLaunchable"
    - external_modify="true"
    - id="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.JavaBeanSelectionWidget"
    - transformer="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.JavaBeanSelectionTransformer">
    - </objectSelectionWidget>
    - </extension>
    -
    - <extension
    - point="org.eclipse.jst.ws.consumption.ui.objectSelectionWidget">
    - <objectSelectionWidget
    - class="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.EJBSelectionWidget"
    - external_modify="false"
    - id="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.EJBSelectionWidget"
    - transformer="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.EJBSelectionTransformer">
    - </objectSelectionWidget>
    - </extension>
    -
    - <extension
    - point="org.eclipse.jst.ws.consumption.ui.objectSelectionWidget">
    - <objectSelectionWidget
    - class="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionWidget"
    - external_modify="true"
    - id="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionWidget"
    - transformer="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionTransformer">
    - </objectSelectionWidget>
    - </extension>
    -
    - <!-- The following extension point is internal, though likely to be made public with changes in a future release. -->
    - <extension-point id="wsImpl" name="%XP_wsImpl"/>
    -
    - <!-- The following extension point is internal, though likely to be made public with changes in a future release. -->
    - <extension-point id="wsClientImpl" name="%XP_wsClientImpl"/>
    -
    - <!-- The following extension point is internal, though likely to be made public with changes in a future release. -->
    - <extension-point id="runtimes" name="%XP_runtimes" />
    -
    - <!-- The following extension point is internal, though likely to be made public with changes in a future release. -->
    - <extension-point id="serviceRuntimes" name="%XP_serviceRuntimes" />
    -
    - <!-- The following extension point is internal, though likely to be made public with changes in a future release. -->
    - <extension-point id="clientRuntimes" name="%XP_clientRuntimes" />
    -
    - <!-- The following extension point is internal, though likely to be made public with changes in a future release. -->
    - <extension-point id="tester" name="%XP_tester"/>
    -
    -<!-- Test Extensions beginning -->
    -
    -<extension point="org.eclipse.jst.ws.consumption.ui.tester">
    - <tester
    - id="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WebServiceSampleTest"
    - label="%SAMPLE_TYPE_WEBSERVICES_ID"
    - testWSDL="no"
    - wsClientImplIds="org.eclipse.jst.ws.client.type.java"
    - moduletypes="webmodule"
    - methodsneeded="true"
    - codeGenerated="true"
    - serverRequired="true"
    - allowClientRuntimesRestriction="true"
    - class="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample.GSTCWebServiceTester">
    - </tester>
    -</extension>
    -<extension point="org.eclipse.jst.ws.consumption.ui.tester">
    - <tester
    - id="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer.WebServiceExplorer"
    - label="%WSEXPLORER_ID"
    - testWSDL="yes"
    - wsClientImplIds="org.eclipse.jst.ws.client.type.java"
    - moduletypes="webmodule"
    - methodsneeded="false"
    - codeGenerated="false"
    - serverRequired="false"
    - class="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer.WSEWebServiceTester">
    - </tester>
    -</extension>
    -
    -<!-- Test Extensions end -->
    -
    -<extension point="org.eclipse.jst.ws.consumption.ui.wsImpl">
    - <webServiceImpl
    - id="org.eclipse.jst.ws.wsImpl.java"
    - label="%WEBSERVICETYPE_NAME_JAVA"
    - resourceTypeMetadata="File IResource CompilationUnit"
    - extensionMetadata=".java .class"
    - objectSelectionWidget="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.JavaBeanSelectionWidget">
    - </webServiceImpl>
    -</extension>
    -<extension point="org.eclipse.jst.ws.consumption.ui.wsClientImpl">
    - <webServiceClientImpl
    - id="org.eclipse.jst.ws.client.type.java"
    - label="%JAVA_PROXY">
    - </webServiceClientImpl>
    -</extension>
    -
    - <extension point="org.eclipse.wst.command.env.ui.widgetRegistry">
    - <widgetFactory
    - id="StartClientServer"
    - insertBeforeCommandId="org.eclipse.jst.ws.internal.consumption.ui.extension.PreClientRunCommand"
    - class="org.eclipse.jst.ws.internal.consumption.ui.server.StartClientWidgetFactory"/>
    - </extension>
    -
    - <extension point="org.eclipse.wst.command.env.antScenario">
    - <antScenario
    - class="org.eclipse.jst.ws.internal.consumption.ui.ant.AntClientRootCommandFragment"
    - scenarioType="client"/>
    - </extension>
    -
    - <extension
    - point="org.eclipse.wst.command.env.antDataMapping">
    - <map
    - key="InitialSelection"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand"
    - property="InitialInitialSelection"
    - required="true"
    - transform="org.eclipse.jst.ws.internal.common.String2SelectionTransformer"/>
    - <map
    - key="InitialSelection"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.WSDLSelectionWidgetDefaultingCommand"
    - property="InitialSelection"
    - required="true"
    - transform="org.eclipse.jst.ws.internal.common.String2SelectionTransformer"/>
    -
    - <map
    - key="Client.RuntimeId"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetOutputCommand"
    - property="ClientTypeRuntimeServer"
    - transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
    -
    - <map
    - key="Client.ServerId"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetOutputCommand"
    - property="ClientTypeRuntimeServer"
    - transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
    -
    - <map
    - key="Client.TypeId"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetOutputCommand"
    - property="ClientTypeRuntimeServer"
    - transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
    - <map
    - key="TestService"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
    - property="TestService"/>
    -
    - <map
    - key="MonitorService"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
    - property="MonitorService"/>
    -
    - <map
    - key="Client.RuntimeId"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
    - property="ClientTypeRuntimeServer"
    - transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
    - <map
    - key="Client.ServerId"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
    - property="ClientTypeRuntimeServer"
    - transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
    - <map
    - key="Client.TypeId"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
    - property="ClientTypeRuntimeServer"
    - transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
    - <map
    - key="ClientProjectName"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
    - property="ClientProjectName"/>
    - <map
    - key="ClientProjectName"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand"
    - property="ClientProjectName"/>
    - <map
    - key="ClientEarProjectName"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
    - property="ClientEarProjectName"/>
    - <map
    - key="ClientComponentType"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand"
    - property="ClientComponentType"/>
    - <map
    - key="Client.RuntimeId"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionFragment"
    - property="ClientTypeRuntimeServer"
    - transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
    - <map
    - key="Client.ServerId"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionFragment"
    - property="ClientTypeRuntimeServer"
    - transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
    - <map
    - key="Client.TypeId"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionFragment"
    - property="ClientTypeRuntimeServer"
    - transform="org.eclipse.jst.ws.internal.common.String2TypeRuntimeServerModifier"/>
    -
    - <!-- mappings for listing options -->
    - <map
    - key="ListRuntimes"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.command.ListOptionsCommand"
    - property="ListRuntimes"
    - transform="org.eclipse.wst.command.internal.env.ant.String2BooleanTransformer"
    - />
    -
    - <map
    - key="ListServers"
    - operation="org.eclipse.jst.ws.internal.consumption.ui.command.ListOptionsCommand"
    - property="ListServers"
    - transform="org.eclipse.wst.command.internal.env.ant.String2BooleanTransformer"
    - />
    - </extension>
    -</plugin>
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/schema/clientProjectType.exsd b/bundles/org.eclipse.jst.ws.consumption.ui/schema/clientProjectType.exsd
    deleted file mode 100644
    index ee40db453..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/schema/clientProjectType.exsd
    +++ /dev/null
    @@ -1,124 +0,0 @@
    -<?xml version='1.0' encoding='UTF-8'?>
    -<!-- Schema file written by PDE -->
    -<schema targetNamespace="org.eclipse.jst.ws.consumption.ui">
    -<annotation>
    - <appInfo>
    - <meta.schema plugin="org.eclipse.jst.ws.consumption.ui" id="clientProjectType" name="Client Project Type"/>
    - </appInfo>
    - <documentation>
    - This extension point defines client container types.
    - </documentation>
    - </annotation>
    -
    - <element name="extension">
    - <complexType>
    - <sequence>
    - <element ref="clientProjectType" minOccurs="1" maxOccurs="unbounded"/>
    - </sequence>
    - <attribute name="point" type="string" use="required">
    - <annotation>
    - <documentation>
    - a fully qualified identifier of the target extension point
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string">
    - <annotation>
    - <documentation>
    - an optional identifier of the extension instance
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="name" type="string">
    - <annotation>
    - <documentation>
    - an optional name of the extension instance
    - </documentation>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <element name="clientProjectType">
    - <complexType>
    - <attribute name="include" type="string" use="required">
    - <annotation>
    - <documentation>
    - This attribute contains a blank delimited list of Project Nature Ids. The listed IDs indicate that this type only works with these particular project types. For example, if this type only works with web projects an ID of org.eclipse.jst.j2ee.web.WebNature would be specified.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="exclude" type="string" use="required">
    - <annotation>
    - <documentation>
    - This attribute contains a blank delimited list of Project Nature Ids. The listed IDs indicate that this type DOES NOT work with these particular project types. For example, if this type does not work with web projects an ID of org.eclipse.jst.j2ee.web.WebNature would be specified.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="label" type="string" use="required">
    - <annotation>
    - <documentation>
    - This label represents this client project type. It is displayed to the user so it must be translated.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string" use="required">
    - <annotation>
    - <documentation>
    - A unique identifier for this client project type. This identifier is referenced in the clientProjectType attribute of the webServiceClientType element of an org.eclipse.jst.ws.consumption.ui.webServiceClientType extension.
    - </documentation>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="since"/>
    - </appInfo>
    - <documentation>
    - &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="examples"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="apiInfo"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="implementation"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="copyright"/>
    - </appInfo>
    - <documentation>
    - Copyright (c) 2005 IBM Corporation and others.&lt;br&gt;
    -All rights reserved. This program and the accompanying materials are made
    -available under the terms of the Eclipse Public License v1.0 which accompanies
    -this distribution, and is available at &lt;a
    -href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
    - </documentation>
    - </annotation>
    -
    -</schema>
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/schema/objectSelectionWidget.exsd b/bundles/org.eclipse.jst.ws.consumption.ui/schema/objectSelectionWidget.exsd
    deleted file mode 100644
    index 752d42953..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/schema/objectSelectionWidget.exsd
    +++ /dev/null
    @@ -1,129 +0,0 @@
    -<?xml version='1.0' encoding='UTF-8'?>
    -<!-- Schema file written by PDE -->
    -<schema targetNamespace="org.eclipse.jst.ws.consumption.ui">
    -<annotation>
    - <appInfo>
    - <meta.schema plugin="org.eclipse.jst.ws.consumption.ui" id="objectSelectionWidget" name="Object Selection Widget"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <element name="extension">
    - <complexType>
    - <sequence>
    - <element ref="objectSelectionWidget" minOccurs="1" maxOccurs="unbounded"/>
    - </sequence>
    - <attribute name="point" type="string" use="required">
    - <annotation>
    - <documentation>
    - a fully qualified identifier of the target extension point
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string">
    - <annotation>
    - <documentation>
    - an optional identifier of the extension instance
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="name" type="string">
    - <annotation>
    - <documentation>
    - an optional name of the extension instance
    - </documentation>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <element name="objectSelectionWidget">
    - <annotation>
    - <documentation>
    - This extension point entry allows an extender to add new ways of browsing/finding artifacts that can be used to create Web services.
    - </documentation>
    - </annotation>
    - <complexType>
    - <attribute name="class" type="string" use="required">
    - <annotation>
    - <documentation>
    - This class defines Selection Widget to be displayed on the Object Selection page of the Web services wizards. This class must implement the org.eclipse.jst.ws.consumption.ui.widgets.object.IObjectSelectionWidget interface.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string" use="required">
    - <annotation>
    - <documentation>
    - This id uniquely identifies this objectSelectionWidget element.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="transformer" type="string">
    - <annotation>
    - <documentation>
    - This attribute specifies a class that must implement the org.eclipse.wst.command.internal.env.core.data.Transformer interface. This interface contains a transform method. Even though the type of the input parameter and the return value are of type Object it is expected that they will be used with the type org.eclipse.jface.viewers.IStructuredSelection. This transformation method allows the extender to modify the initial selection to an IStructuredSelection object that is more readily usable by the runtime server type.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="external_modify" type="boolean" use="default" value="false">
    - <annotation>
    - <documentation>
    - This attribute specifies whether the object selection can be specified outside the object selection widget. An example, of this would be on page one of the web service widget by typing in a text field. If set to true, the extender of ObjectSelectionWidget must provide a validate(String) implementation that does any necessary validation and sets the object selection on the widget. The default value of this attribute is false. Any text fields will be set to READ_ONLY style so the object selection can only be modified with object selection widget implementation directly.
    - </documentation>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="since"/>
    - </appInfo>
    - <documentation>
    - &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="examples"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="apiInfo"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="implementation"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="copyright"/>
    - </appInfo>
    - <documentation>
    - Copyright (c) 2005 IBM Corporation and others.&lt;br&gt;
    -All rights reserved. This program and the accompanying materials are made
    -available under the terms of the Eclipse Public License v1.0 which accompanies
    -this distribution, and is available at &lt;a
    -href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
    - </documentation>
    - </annotation>
    -
    -</schema>
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceClientType.exsd b/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceClientType.exsd
    deleted file mode 100644
    index 53bdd3c4b..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceClientType.exsd
    +++ /dev/null
    @@ -1,257 +0,0 @@
    -<?xml version='1.0' encoding='UTF-8'?>
    -<!-- Schema file written by PDE -->
    -<schema targetNamespace="org.eclipse.jst.ws.consumption.ui">
    -<annotation>
    - <appInfo>
    - <meta.schema plugin="org.eclipse.jst.ws.consumption.ui" id="webServiceClientType" name="Web Service Client Types"/>
    - </appInfo>
    - <documentation>
    - This extension point defines Web Service Client types. This is done by defining webServiceClientType elements. These elements refer to a server and a Web Service runtime. These are respectively defined in the webServiceServer element and the webServiceRuntime element.
    - </documentation>
    - </annotation>
    -
    - <element name="extension">
    - <complexType>
    - <sequence>
    - <element ref="webServiceServer" minOccurs="1" maxOccurs="unbounded"/>
    - <element ref="webServiceRuntime" minOccurs="1" maxOccurs="unbounded"/>
    - <element ref="webServiceClientType" minOccurs="1" maxOccurs="unbounded"/>
    - </sequence>
    - <attribute name="point" type="string" use="required">
    - <annotation>
    - <documentation>
    - a fully qualified identifier of the target extension point
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string">
    - <annotation>
    - <documentation>
    - an optional identifier of the extension instance
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="name" type="string">
    - <annotation>
    - <documentation>
    - an optional name of the extension instance
    - </documentation>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <element name="webServiceServer">
    - <annotation>
    - <documentation>
    - This element specifies information about a particular server type.
    - </documentation>
    - </annotation>
    - <complexType>
    - <attribute name="factoryId" type="string" use="required">
    - <annotation>
    - <documentation>
    - This is the factory id for a server. This id is defined by
    -the org.eclipse.wst.server.core.serverTypes extension point.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="isDefault" type="boolean" use="required">
    - <annotation>
    - <documentation>
    - This parameter indicates if this server should be used as the default server. Note: this default parameter is only used in the absence of other information. If the user has defined a particular server as their default then this parameter is ignored. Should contain a value of either &quot;true&quot; or &quot;false&quot;.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string" use="required">
    - <annotation>
    - <documentation>
    - This is a local ID for this server. The server attribute of the webserviceClientType element refers to this ID.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="runtimeTypeIds" type="string">
    - <annotation>
    - <documentation>
    - This attribute is currently a place holder for future development. Please, do not use.
    - </documentation>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <element name="webServiceRuntime">
    - <annotation>
    - <documentation>
    - This element specifies information about a particular Web Services runtime.
    - </documentation>
    - </annotation>
    - <complexType>
    - <attribute name="label" type="string" use="required">
    - <annotation>
    - <documentation>
    - This label is displayed to the user for this runtime. Therefore, is must be translated.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="description" type="string">
    - <annotation>
    - <documentation>
    - A description of this Web Services runtime.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="isDefault" type="boolean" use="required">
    - <annotation>
    - <documentation>
    - This parameter indicates if this runtime should be used as the default runtime. Note: this default parameter is only used in the absence of other information. If the user has defined a particular runtime as their default then this parameter is ignored. Should contain a value of either &quot;true&quot; or &quot;false&quot;.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="j2eeversion" type="string" use="required">
    - <annotation>
    - <documentation>
    - This attribute specifies the J2EE versions supported by this runtime. The allowable values are 12, 13, and 14. If more than one J2EE version is supported each J2EE level should be specified with a blank delimiter.(eg. if J2EE version 1.2 and 1.3 are supported then this attribute string would be &quot;12 13&quot;.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string" use="required">
    - <annotation>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <element name="webServiceClientType">
    - <annotation>
    - <documentation>
    - This element specifies information about a particular Web Services client type.
    - </documentation>
    - </annotation>
    - <complexType>
    - <attribute name="id" type="string" use="required">
    - <annotation>
    - <documentation>
    - This is the ID for this Web Service Client type.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="name" type="string" use="required">
    - <annotation>
    - <documentation>
    - This is the name for this Web Service Client type. It is displayed to the user so it must be translated.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="clientType" type="string" use="required">
    - <annotation>
    - <documentation>
    - This is the kind of Web Service Client type being defined. (ie. the value of the Java client is org.eclipse.jst.ws.client.type.java.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="runtime" type="string" use="required">
    - <annotation>
    - <documentation>
    - This is the runtime ID for this Web Service client type. There should be a corresponding webServiceRuntime element with an attribute called id that has this value.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="server" type="string" use="required">
    - <annotation>
    - <documentation>
    - This attribute specifies the server for this Web Service client type. There should be a corresponding webServiceServer element with an attribute called id that has this value.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="clientProjectType" type="string" use="default" value="org.eclipse.jst.ws.consumption.ui.clientProjectType.Web">
    - <annotation>
    - <documentation>
    - This attribute contains a space delimited list of client project type ids supported by this by this webServiceClientType element. The client project type ids are defined by the org.eclipse.jst.ws.consumption.ui.clientProjectType extension point.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="developBinding" type="string">
    - <annotation>
    - <documentation>
    - This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE development phase. The Command and UI elements in this binding always come first in the wizard.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="assemblyBinding" type="string">
    - <annotation>
    - <documentation>
    - This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE assembly phase. The Command and UI elements in this binding always come after the development phase binding in the wizard.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="deployBinding" type="string">
    - <annotation>
    - <documentation>
    - This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE deploy phase. The Command and UI elements in this binding always come after the assembly phase binding in the wizard.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="installBinding" type="string">
    - <annotation>
    - <documentation>
    - This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE install phase. The Command and UI elements in this binding always come after the deploy phase binding in the wizard.
    - </documentation>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="since"/>
    - </appInfo>
    - <documentation>
    - &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="examples"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="apiInfo"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="implementation"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="copyright"/>
    - </appInfo>
    - <documentation>
    - Copyright (c) 2005 IBM Corporation and others.&lt;br&gt;
    -All rights reserved. This program and the accompanying materials are made
    -available under the terms of the Eclipse Public License v1.0 which accompanies
    -this distribution, and is available at &lt;a
    -href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
    - </documentation>
    - </annotation>
    -
    -</schema>
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceServerRuntimeType.exsd b/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceServerRuntimeType.exsd
    deleted file mode 100644
    index cbdd71195..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceServerRuntimeType.exsd
    +++ /dev/null
    @@ -1,325 +0,0 @@
    -<?xml version='1.0' encoding='UTF-8'?>
    -<!-- Schema file written by PDE -->
    -<schema targetNamespace="org.eclipse.jst.ws.consumption.ui">
    -<annotation>
    - <appInfo>
    - <meta.schema plugin="org.eclipse.jst.ws.consumption.ui" id="webServiceServerRuntimeType" name="Web Service Server Runtime Types"/>
    - </appInfo>
    - <documentation>
    - This extension point defines Web Service Server types. This is done by defining webServiceServerRuntimeType elements. These elements refer to a server and a Web Service runtime. These are respectively defined in the webServiceServer element and the webServiceRuntime element.
    - </documentation>
    - </annotation>
    -
    - <element name="extension">
    - <complexType>
    - <sequence>
    - <element ref="webServiceServer" minOccurs="1" maxOccurs="unbounded"/>
    - <element ref="webServiceRuntime" minOccurs="1" maxOccurs="unbounded"/>
    - <element ref="webServiceServerRuntimeType" minOccurs="1" maxOccurs="unbounded"/>
    - <element ref="webServiceType" minOccurs="1" maxOccurs="unbounded"/>
    - </sequence>
    - <attribute name="point" type="string" use="required">
    - <annotation>
    - <documentation>
    - a fully qualified identifier of the target extension point
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string">
    - <annotation>
    - <documentation>
    - an optional identifier of the extension instance
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="name" type="string">
    - <annotation>
    - <documentation>
    - an optional name of the extension instance
    - </documentation>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <element name="webServiceServer">
    - <annotation>
    - <documentation>
    - This element specifies information about a particular server type.
    - </documentation>
    - </annotation>
    - <complexType>
    - <attribute name="factoryId" type="string" use="required">
    - <annotation>
    - <documentation>
    - This is the factory id for a server. This id is defined by
    -the org.eclipse.wst.server.core.serverTypes extension point.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="isDefault" type="boolean" use="required">
    - <annotation>
    - <documentation>
    - This parameter indicates if this server should be used as the default server. Note: this default parameter is only used in the absence of other information. If the user has defined a particular server as their default then this parameter is ignored. Should contain a value of either &quot;true&quot; or &quot;false&quot;.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string" use="required">
    - <annotation>
    - <documentation>
    - This is a local ID for this server. The server attribute of the webserviceServerRuntimeType element refers to this ID.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="runtimeTypeIds" type="string">
    - <annotation>
    - <documentation>
    - This attribute is currently a place holder for future development. Please, do not use.
    - </documentation>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <element name="webServiceRuntime">
    - <annotation>
    - <documentation>
    - This element specifies information about a particular Web Services runtime.
    - </documentation>
    - </annotation>
    - <complexType>
    - <attribute name="label" type="string" use="required">
    - <annotation>
    - <documentation>
    - This label is displayed to the user for this runtime. Therefore, is must be translated.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="description" type="string">
    - <annotation>
    - <documentation>
    - A description of this Web Services runtime.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="isDefault" type="boolean" use="required">
    - <annotation>
    - <documentation>
    - This parameter indicates if this runtime should be used as the default runtime. Note: this default parameter is only used in the absence of other information. If the user has defined a particular runtime as their default then this parameter is ignored. Should contain a value of either &quot;true&quot; or &quot;false&quot;.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="j2eeversion" type="string" use="required">
    - <annotation>
    - <documentation>
    - This attribute specifies the J2EE versions supported by this runtime. The allowable values are 12, 13, and 14. If more than one J2EE version is supported each J2EE level should be specified with a blank delimiter.(eg. if J2EE version 1.2 and 1.3 are supported then this attribute string would be &quot;12 13&quot;.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string" use="required">
    - <annotation>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <element name="webServiceServerRuntimeType">
    - <annotation>
    - <documentation>
    - This element specifies information about a particular Web Services server runtime type. An entry for this element defines a valid combination of server, runtime, and webservice type.
    - </documentation>
    - </annotation>
    - <complexType>
    - <attribute name="id" type="string" use="required">
    - <annotation>
    - <documentation>
    - This is the ID for this Web Service Server Runtime type.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="name" type="string" use="required">
    - <annotation>
    - <documentation>
    - This is the name for this Web Service Server Runtime type. It is displayed to the user so it must be translated.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="runtime" type="string" use="required">
    - <annotation>
    - <documentation>
    - This is the runtime ID for this Web Service Server Runtime type. There should be a corresponding webServiceRuntime element with an attribute called id that has this value.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="server" type="string" use="required">
    - <annotation>
    - <documentation>
    - This attribute specifies the server for this Web Service Server Runtime type. There should be a corresponding webServiceServer element with an attribute called id that has this value.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="type" type="string" use="required">
    - <annotation>
    - <documentation>
    - This is the kind of Web Service Runtime type being defined. (eg. the value of a Java Bean Webservice is org.eclipse.jst.ws.type.java)
    -There should be a corresponding webServiceType element with an attribute called id that has this value.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="developBinding" type="string">
    - <annotation>
    - <documentation>
    - This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE development phase. The Command and UI elements in this binding always come first in the wizard.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="assemblyBinding" type="string">
    - <annotation>
    - <documentation>
    - This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE assembly phase. The Command and UI elements in this binding always come after the development phase binding in the wizard.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="deployBinding" type="string">
    - <annotation>
    - <documentation>
    - This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE deploy phase. The Command and UI elements in this binding always come after the assembly phase binding in the wizard.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="installBinding" type="string">
    - <annotation>
    - <documentation>
    - This attribute specifies a CommandWidgetBinding class. This class specifies the Commands and UI elements associate with J2EE install phase. The Command and UI elements in this binding always come after the deploy phase binding in the wizard.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="requireEJBModule" type="boolean" use="required">
    - <annotation>
    - <documentation>
    - If the Webservice for this Server Runtime Type is required to be in an EJB module then the value of this attribute should be true.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="requireWebModule" type="boolean" use="required">
    - <annotation>
    - <documentation>
    - If the Webservice for this Server Runtime Type is required to be in an Web module then the value of this attribute should be true.
    - </documentation>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <element name="webServiceType">
    - <annotation>
    - <documentation>
    - This element defines a particular Web service kind. Such as a Java Bean web service, a Skeleton Web service, an EJB Web service, etc.
    - </documentation>
    - </annotation>
    - <complexType>
    - <attribute name="id" type="string" use="required">
    - <annotation>
    - <documentation>
    - This a unique ID for this Web service type. It is referenced in the webServiceServerRuntimeType element with the type attribute.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="label" type="string" use="required">
    - <annotation>
    - <documentation>
    - This is a translatable label for this web service type.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="resourceTypeMetadata" type="string" use="required">
    - <annotation>
    - <documentation>
    - This attribute contains a blank delimited list class Names. (ie.No package prefix) The classes listed define the allowable Eclipse resources that this web service type understands and turn into a Web service. For example, if a user selects a Java source file in the package explorer view and then starts the Web services wizard a CompilationUnit object will be passed in as part of an IStructuredSelection. By putting &quot;CompilationUnit&quot; as one of the classes in this attribute it indicates that this type can create a Web service from the CompilationUnit.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="extensionMetadata" type="string" use="required">
    - <annotation>
    - <documentation>
    - This attribute allows this Web service type to restrict names of the input files that it understands. For example, if the value is set to &quot;.java .class&quot; it indicates that this Web service type only understands resource names that end with .java or end with .class.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="objectSelectionWidget" type="string" use="required">
    - <annotation>
    - <documentation>
    - On page 2 of the Web service wizard there is an Object selection page. This selection page can be customized using this attribute, since different Web service types may need different methods of selecting them. The value of this attribute should be the id of a org.eclipse.jst.ws.consumption.ui.objectSelectionWidget extension. The predefined id for a Java selection widget is org.eclipse.jst.ws.consumption.ui.widgets.object.JavaBeanSelectionWidget. The predefined id for a WSDL selection widget is org.eclipse.jst.ws.consumption.ui.widgets.object.WSDLSelectionWidget. The predefined id for an EJB selection widget is org.eclipse.jst.ws.consumption.ui.widgets.object.EJBSelectionWidget.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="includeNatures" type="string" use="required">
    - <annotation>
    - <documentation>
    - This attribute contains a blank delimited list of Project Nature Ids. The listed IDs indicate that this type only works with these particular project types. For example, if this type only works with web projects an ID of org.eclipse.jst.j2ee.web.WebNature would be specified.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="excludeNatures" type="string" use="required">
    - <annotation>
    - <documentation>
    - This attribute contains a blank delimited list of Project Nature Ids. The listed IDs indicate that this type DOES NOT work with these particular project types. For example, if this type does not work with web projects an ID of org.eclipse.jst.j2ee.web.WebNature would be specified.
    - </documentation>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="since"/>
    - </appInfo>
    - <documentation>
    - &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="examples"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="apiInfo"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="implementation"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="copyright"/>
    - </appInfo>
    - <documentation>
    - Copyright (c) 2005 IBM Corporation and others.&lt;br&gt;
    -All rights reserved. This program and the accompanying materials are made
    -available under the terms of the Eclipse Public License v1.0 which accompanies
    -this distribution, and is available at &lt;a
    -href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
    - </documentation>
    - </annotation>
    -
    -</schema>
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceTest.exsd b/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceTest.exsd
    deleted file mode 100644
    index 20bf63005..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/schema/webServiceTest.exsd
    +++ /dev/null
    @@ -1,138 +0,0 @@
    -<?xml version='1.0' encoding='UTF-8'?>
    -<!-- Schema file written by PDE -->
    -<schema targetNamespace="org.eclipse.jst.ws.consumption.ui">
    -<annotation>
    - <appInfo>
    - <meta.schema plugin="org.eclipse.jst.ws.consumption.ui" id="webServiceTest" name="Web Service Test"/>
    - </appInfo>
    - <documentation>
    - This extension point defines Web service test facilities that can be plugged into the Web services wizards.
    - </documentation>
    - </annotation>
    -
    - <element name="extension">
    - <complexType>
    - <sequence>
    - <element ref="webServiceTest" minOccurs="1" maxOccurs="unbounded"/>
    - </sequence>
    - <attribute name="point" type="string" use="required">
    - <annotation>
    - <documentation>
    - a fully qualified identifier of the target extension point
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string">
    - <annotation>
    - <documentation>
    - an optional identifier of the extension instance
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="name" type="string">
    - <annotation>
    - <documentation>
    - an optional name of the extension instance
    - </documentation>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <element name="webServiceTest">
    - <complexType>
    - <attribute name="methodsneeded" type="boolean">
    - <annotation>
    - <documentation>
    - This attribute indicates if this test facility need to methods from a proxy bean.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="name" type="string">
    - <annotation>
    - <documentation>
    - The value of this attribute is displayed to the user for this test facility. It must be translated.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="java" type="boolean">
    - <annotation>
    - <documentation>
    - This attribute indicates whether this test facility is intended for clients that generate a Java bean as output.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="codegen" type="boolean">
    - <annotation>
    - <documentation>
    - This attribute indicates if this test facility generates code or not, such as JSP files.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="class" type="string">
    - <annotation>
    - <documentation>
    - This attribute contains a class name. The class must implement org.eclipse.jst.ws.ext.WebServiceExecutable. This class allows the extender to provide the Commands that will execute for this test facility.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string">
    - <annotation>
    - <documentation>
    - This is a unique identifier for this test facility.
    - </documentation>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="since"/>
    - </appInfo>
    - <documentation>
    - &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="examples"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="apiInfo"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="implementation"/>
    - </appInfo>
    - <documentation>
    -
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="copyright"/>
    - </appInfo>
    - <documentation>
    - Copyright (c) 2005 IBM Corporation and others.&lt;br&gt;
    -All rights reserved. This program and the accompanying materials are made
    -available under the terms of the Eclipse Public License v1.0 which accompanies
    -this distribution, and is available at &lt;a
    -href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
    - </documentation>
    - </annotation>
    -
    -</schema>
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUI.properties b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUI.properties
    deleted file mode 100644
    index c2c1a27e0..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUI.properties
    +++ /dev/null
    @@ -1,635 +0,0 @@
    -###############################################################################
    -# Copyright (c) 2004, 2006 IBM Corporation and others.
    -# All rights reserved. This program and the accompanying materials
    -# are made available under the terms of the Eclipse Public License v1.0
    -# which accompanies this distribution, and is available at
    -# http://www.eclipse.org/legal/epl-v10.html
    -#
    -# Contributors:
    -# IBM Corporation - initial API and implementation
    -# yyyymmdd bug Email and other contact information
    -# -------- -------- -----------------------------------------------------------
    -# 20060204 124143 rsinha@ca.ibm.com - Rupam Kuehner
    -# 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner
    -# 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    -# 20060321 128827 joan - Joan Haggarty
    -# 20060329 128069 rsinha@ca.ibm.com - Rupam Kuehner
    -# 20060407 135443 joan@ca.ibm.com - Joan Haggarty
    -# 20060411 136134 kathy@ca.ibm.com - Kathy Chan
    -# 20060417 136390 joan@ca.ibm.com - Joan Haggarty
    -# 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
    -# 20060418 136335 joan@ca.ibm.com - Joan Haggarty
    -# 20060420 136158 rsinha@ca.ibm.com - Rupam Kuehner
    -# 20060420 120714 kathy@ca.ibm.com - Kathy Chan
    -# 20060420 135912 joan@ca.ibm.com - Joan Haggarty
    -# 20060510 141115 rsinha@ca.ibm.com - Rupam Kuehner
    -# 20060509 119296 pmoogk@ca.ibm.com - Peter Moogk
    -# 20060602 145054 kathy@ca.ibm.com - Kathy Chan
    -###############################################################################
    -
    -#
    -# Messages in plugin.xml.
    -#
    -
    -PLUGIN_NEW_WIZARD_NAME_WS_CLIENT=Web Service Client
    -#
    -# Web services "Internet" preferences extension.
    -#
    -
    -#
    -# Web Samples IDs
    -#
    -
    -#
    -# Pop-up actions
    -#
    -ACTION_GENERATE_JAVA_PROXY=Generate Client
    -
    -#
    -# Dialogs
    -#
    -CHECKBOX_SHOW_GENERATE_JAVA_PROXY_DIALOG=Show Generate Java bean Proxy Dialog
    -TOOLTIP_PPAD_CHECKBOX_WSDL2PROXY=Show the dialog for generating the Java bean proxy action.
    -
    -#
    -# Web Services Preferance Pages
    -#
    -# Categories
    -#
    -
    -#
    -# Preferences Tooltips
    -#
    -
    -#
    -#Server Runtime Preferences
    -#
    -TOOLTIP_SRPF_COMBO_SERVER=The preferred server type
    -TOOLTIP_SRPF_COMBO_RUNTIME=The preferred Web service runtime
    -TOOLTIP_SRPF_COMBO_J2EE=The preferred J2EE version
    -
    -#
    -# General messages.
    -#
    -MSG_ERROR_TASK_EXCEPTED=IWAB0234E An internal error occurred. Details: {0}
    -MSG_ERROR_NO_SERVER_RUNTIME=No suitable server can be found for the {0} Web service runtime. Go to Window > Preferences. Select Server > Installed Runtimes and configure a server runtime.
    -
    -
    -#
    -# Wizard page task labels and descriptions
    -# (used only for progress indication).
    -#
    -
    -#
    -# Common wizard strings.
    -#
    -LABEL_FOLDER_NAME=Folder:
    -LABEL_JSP_FOLDER_NAME=JSP folder:
    -LABEL_WEB_PROJECT_NAME=Web project:
    -LABEL_WEBSERVICETYPE=&Web service type:
    -LABEL_WEBSERVICEIMPL=Service implementation:
    -LABEL_WEBSERVICEDEF=Service definition:
    -LABEL_J2EE_VERSION=J2EE version:
    -LABEL_NA=N/A
    -
    -BUTTON_BROWSE=B&rowse...
    -BUTTON_BROWSE_FILES=Browse files...
    -
    -BOTTOMUP_LABEL=Bottom up
    -TOPDOWN_LABEL=Top down
    -CLIENT_LABEL=Client
    -COMBINED_TYPE_AND_RUNTIME_LABEL={0} {1}
    -
    -#
    -# Wizards.
    -#
    -WIZARD_TITLE_WSC=Web Service Client
    -
    -#
    -# WebServiceProjectPage
    -#
    -PAGE_TITLE_WS_PROJECT=Web Services
    -PAGE_DESC_WS_PROJECT=Review your Web service options and make any necessary changes before proceeding to the next page.
    -BUTTON_START_WEB_PROJECT=&Start Web service in Web project
    -#BUTTON_DEPLOY_WEB_PROJECT=Deploy Web service to a server type
    -BUTTON_INSTALL_SERVICE_WEB_PROJECT=&Install Web service on server
    -BUTTON_INSTALL_CLIENT_WEB_PROJECT=Install Web service &client on server (managed clients only)
    -GROUP_SCENARIO_SERVICE=Service
    -GROUP_SCENARIO_CLIENT=Client proxy
    -LABEL_WEBSERVICECLIENTTYPE=&Client type:
    -
    -TOOLTIP_WSWSCEN_SERVICEPROJECT_LINK=Click on the link to edit service project and EAR settings.
    -TOOLTIP_WSWSCEN_CLIENTPROJECT_LINK=Click on the link to edit client project and EAR settings.
    -
    -DIALOG_TITILE_SERVICE_IMPL_SELECTION=Select Service Implementation
    -DIALOG_TITILE_SERVICE_DEF_SELECTION=Select Service Definition
    -DIALOG_TITILE_SERVICE_PROJECT_SETTINGS=Specify Service Project Settings
    -DIALOG_TITILE_CLIENT_PROJECT_SETTINGS=Specify Client Project Settings
    -
    -# Items common to WebServiceRuntimeSelectionPage and WebServiceClientRuntimeSelectionPage
    -# WebServiceRuntimeSelectionPage
    -LABEL_SUMMARY=Configuration:
    -LABEL_SUMMARY_NO_CLIENT=Configuration: No client generation.
    -PAGE_TITLE_WS_RUNTIME_SELECTION=Service Deployment Configuration
    -PAGE_DESC_WS_RUNTIME_SELECTION=Choose from the list of runtimes and deployment servers, or use the default settings.
    -LABEL_RUNTIMES_LIST=Web service runtime:
    -LABEL_SERVERS_LIST=Server:
    -LABEL_EDIT_BUTTON=Edit...
    -LABEL_SERVICE_EAR_MODULE=Service EAR module:
    -LABEL_CLIENT_EAR_MODULE=Client EAR module:
    -LABEL_CLIENT_MODULE=Client module:
    -LABEL_SERVICE_MODULE=Service module:
    -LABEL_CLIENT_PROJECT=Client project:
    -LABEL_SERVICE_PROJECT=Service project:
    -LABEL_CLIENT_EAR_PROJECT=Client EAR project:
    -LABEL_SERVICE_EAR_PROJECT=Service EAR project:
    -
    -#
    -# Client component type labels
    -#
    -LABEL_CLIENT_COMP_TYPE_WEB=Web
    -LABEL_CLIENT_COMP_TYPE_EJB=EJB
    -LABEL_CLIENT_COMP_TYPE_APP_CLIENT=Application Client
    -LABEL_CLIENT_COMP_TYPE_CONTAINERLESS=Java
    -
    -
    -TOOLTIP_PWRS_TEXT_RUNTIME=Click on the link to specify the web service runtime.
    -TOOLTIP_PWRS_TEXT_SERVER=Click on the link to specify a server.
    -TOOLTIP_PWRS_J2EE_VERSION=J2EE version to be used.
    -
    -LABEL_SELECTION_VIEW_TITLE=Server-Side Deployment Selection:
    -LABEL_SELECTION_VIEW_RUNTIME=Choose Web service runtime first
    -LABEL_SELECTION_VIEW_SERVER=Choose server first
    -LABEL_SELECTION_VIEW_EXPLORE=Explore options
    -
    -LABEL_TREE_EXISTING_SERVERS=Existing Servers
    -LABEL_TREE_SERVER_TYPES=Server Types
    -
    -MSG_NO_OBJECT_SELECTION=Select a service implementation.
    -MSG_NO_SERVICE_SELECTION=Select a service definition.
    -MSG_INVALID_SERVICE_IMPL=The service implementation selected is invalid.
    -MSG_INVALID_SERVICE_DEF=The service definition selected is invalid.
    -MSG_INVALID_SRT_SELECTIONS={0} does not support the {1} Web service runtime. Choose a different server or runtime to proceed through the Web services wizard.
    -MSG_NO_RUNTIME=No runtime specified for the {0} scenario.
    -MSG_NO_SERVER=No server specified for the {0} scenario.
    -MSG_ERROR_STUB_ONLY={0} has only stub runtimes associated with it. Choose a different server or configure a non-stub runtime in the server preferences.
    -MSG_WARN_STUB_ONLY={0} has only stub runtimes associated with it so the server will not be created or started.
    -MSG_WARN_NO_SERVICE_SERVER=No server has been selected. The Web service will not be deployed, installed, or run.
    -MSG_WARN_NO_CLIENT_SERVER=No server has been selected. The Web service client will not be deployed, installed, or run.
    -
    -MSG_SERVER_TARGET_MISMATCH=The project, {0}, has a server target which is not compatible with the selected server type
    -MSG_J2EE_MISMATCH=The project, {0}, has a different J2EE level from the selected J2EE level
    -MSG_SERVICE_PROJECT_EMPTY=The service project {0} cannot be empty. Select a service project {0}.
    -MSG_SERVICE_PROJECT_TYPE_EMPTY=Select a service project type.
    -MSG_SERVICE_EAR_EMPTY=The service EAR {0} cannot be empty. Select a service EAR {0}.
    -MSG_CLIENT_PROJECT_EMPTY=The client project {0} cannot be empty. Select a client project {0}.
    -MSG_CLIENT_PROJECT_TYPE_EMPTY=Select a client project type.
    -MSG_CLIENT_EAR_EMPTY=The client EAR {0} cannot be empty. Select a client EAR {0}.
    -
    -MSG_INVALID_EJB_PROJECT={0} is not an EJB project. Choose an EJB project, or enter a new EJB project name.
    -MSG_INVALID_WEB_PROJECT={0} is not a Web project. Choose a Web project, or enter a new Web project name.
    -MSG_INVALID_PROJECT_TYPE={0} is not a {1} project. Choose a {1} project, or enter a new project name.
    -MSG_MODULE=module
    -MSG_MODULE_NAME_AND_PROJECT_NAME_NOT_THE_SAME=The flexible project preference is off. Therefore, project names and module names must be the same for new modules.
    -
    -MSG_SERVICE_RUNTIME_DOES_NOT_SUPPORT_PROJECT=The {0} Web service runtime does not support the service project {1}.
    -MSG_SERVICE_SERVER_DOES_NOT_SUPPORT_PROJECT=The {0} server does not support the service project {1}.
    -MSG_SERVICE_RUNTIME_DOES_NOT_SUPPORT_TEMPLATE=The {0} Web service runtime does not support the service project type {1}.
    -MSG_SERVICE_SERVER_DOES_NOT_SUPPORT_TEMPLATE=The {0} server does not support the service project type {1}.
    -
    -MSG_CLIENT_RUNTIME_DOES_NOT_SUPPORT_PROJECT=The {0} Web service runtime does not support the client project {1}.
    -MSG_CLIENT_SERVER_DOES_NOT_SUPPORT_PROJECT=The {0} server does not support the client project {1}.
    -MSG_CLIENT_RUNTIME_DOES_NOT_SUPPORT_TEMPLATE=The {0} Web service runtime does not support the client project type {1}.
    -MSG_CLIENT_SERVER_DOES_NOT_SUPPORT_TEMPLATE=The {0} server does not support the client project type {1}.
    -
    -MSG_SAME_CLIENT_AND_SERVICE_EARS=Your selected service and client {0} modules have the same name. Proceeding with this configuration may result in runtime errors.
    -MSG_SAME_CLIENT_AND_SERVICE_COMPONENTS=Your selected service and client {0} modules have the same name. Proceeding with this configuration will result in runtime errors.
    -MSG_SAME_CLIENT_AND_SERVICE_PROJECTS=Your selected service and client projects are the same. Proceeding with this configuration will result in errors.
    -MSG_WRONG_CLIENT_PROJECT_TYPE=The selected client project, {0}, is not a {1} project. Please select a {1} project or enter a new project name.
    -MSG_CLIENT_SUB=client
    -MSG_SERVICE_SUB=service
    -MSG_GENERAL_PROJECT_AND_EAR=Select the {0} project and the EAR project with which you want it to be associated.
    -MSG_EAR_PROJECT_WILL_BE_CREATED=If an EAR or project does not exist or is currently unassociated, it will be created and \nassociated as required when you click Next.
    -
    -MSG_EAR_WILL_BE_ASSOCIATED=The selected {0} project will be associated with the EAR project.
    -MSG_PROJECT_WILL_BE_CREATED=The {0} project will be created and associated with the EAR project.
    -MSG_EAR_WILL_BE_CREATED=The {0} EAR project will be created and associated with the project.
    -MSG_PROJECT_AND_EAR_CREATED=The {0} project and EAR project will be created and associated with one another.
    -
    -MSG_CLIENT_CANNOT_ASSOCIATE=The client project, {0}, cannot be associated with the EAR, {1}. Choose an EAR with a J2EE level of {2} or higher.
    -MSG_SERVICE_CANNOT_ASSOCIATE=The service project, {0}, cannot be associated with the EAR, {1}. Choose an EAR with a J2EE level of {2} or higher.
    -
    -MSG_PROJECT_MUST_EXIST=No server can be found and {0} does not exist. Choose an existing project or use the preferences to configure a server runtime.
    -
    -
    -# WebServiceClientRuntimeSelectionPage
    -PAGE_TITLE_WS_CLIENT_RUNTIME_SELECTION=Client Environment Configuration
    -PAGE_DESC_WS_CLIENT_RUNTIME_SELECTION=Choose from the list of supported runtimes and servers for the client environment, or use the default settings.
    -
    -LABEL_CLIENT_SELECTION_VIEW_TITLE=Client-Side Environment Selection:
    -LABEL_CLIENT_TYPE=Client Project type:
    -LABEL_SERVICE_TYPE=Service Project type:
    -LABEL_WEB=Web
    -LABEL_EJB=EJB
    -LABEL_NO_LABEL=
    -
    -#
    -# Items common to WebServiceMappingsPage, WebServiceMappingsPage (client), and WebServiceSOAPBindingPage
    -#
    -PAGE_MSG_VALIDATION_INTERNAL_ERROR=An internal error occurred during page validation. See logs for details.
    -
    -#
    -# WebServiceMappingsPage
    -#
    -PAGE_TITLE_WS_XML2BEAN=Web Service Skeleton XML to Java Mappings
    -PAGE_DESC_N2P_MAPPINGS=Define custom mapping for namespace to package.
    -MSG_MAPPING_DUPLICATE_ENTRIES=Duplicate {0} mapped to the same {1}.
    -
    -
    -#
    -# The two ITEM_* strings are entries in a list box of mappings.
    -# There are two forms, one when the page is in Java-to-XML mode:
    -# <java-bean-name>, <encoding-style>
    -# and one when the page is in XML-to-Java mode:
    -# <xml-namespace-uri>:<xml-short-name>, <encoding-style>
    -# where:
    -# <java-bean-name> is a fully-qualified Java class name
    -# <xml-namespace-uri> is the namespace of an XML type
    -# <xml-short-name> is the XML type name within the namespace
    -# <encoding-style> is the encoding style (SOAP or Literal XML)
    -#
    -
    -#
    -# WebServiceProxyPage
    -#
    -BUTTON_GENERATE_PROXY=&Generate a proxy
    -
    -#
    -# WebServiceSkeletonConfigPage
    -#
    -PAGE_DESC_WSSKEL_CONFIG=Define a skeleton Java bean as a Web service.
    -PAGE_TITLE_WSSKEL_CONFIG=Web Service Skeleton Java Bean Configuration
    -TOOLTIP_PBSC_TEXT_SKELETON_FOLDER=Folder for generated Java skeleton.
    -TOOLTIP_PBSC_BUTTON_SKELETON_FOLDER_BROWSE=Browse folders.
    -LABEL_SKELETON_ROOT_NAME=Skeleton folder:
    -
    -#
    -# WebServiceBeanClassPage
    -#
    -LABEL_BEAN_CLASS_NAME=Bean:
    -PAGE_MSG_BEAN_CANNOT_BE_EMPTY=Please select a Java bean class.
    -BUTTON_BROWSE_CLASSES=Browse classes...
    -
    -
    -#
    -# WebServiceTestPage
    -#
    -PAGE_TITLE_WSTEST=Test Web Service
    -PAGE_DESC_WSTEST=Select a test facility
    -CHECKBOX_TEST_WEBSERVICE=&Test the Web service
    -CHECKBOX_MONITOR_WEBSERVICE=&Monitor the Web service
    -CHECKBOX_OVERWRITE_FILES=&Overwrite files without warning
    -MSG_ERROR_UNABLE_TO_LAUNCH_WSDL_TEST=An error occurred. Unable to launch WSDL test facility.
    -
    -#
    -# WebServiceExplorerPage
    -#
    -BUTTON_LAUNCH_SERVICE_TEST=Launch
    -
    -#
    -# WebServiceClientTestPage
    -#
    -PAGE_TITLE_WS_SAMPLE=Web Service Client Test
    -PAGE_DESC_WS_SAMPLE=Do you want to test the generated proxy?
    -BUTTON_TEST=Test the generated proxy
    -LABEL_TEST_TYPES=Test facility
    -BUTTON_RUN_TEST=Run test on server
    -LABEL_METHODS=Methods
    -LABEL_JSP_PROJECT_NAME=JSP project:
    -MSG_ERROR_JTS_PROXY_NOT_COMPILED=IWAB0357E The Generated proxy was not found. WebService sample jsps cannot be generated.
    -MSG_ERROR_MALFORMED_URL=IWAB0358E Test client URL is malformed.
    -MSG_ERROR_MODULE_DEPENDENCY=Unable to establish module dependency from {0} to {1}.
    -
    -#
    -# WebServiceBeanMethodsPage
    -#
    -BUTTON_SELECT_ALL=Select All
    -BUTTON_DESELECT_ALL=Deselect All
    -TOOLTIP_PBME_BUTTON_SELECT_ALL=Select all methods
    -TOOLTIP_PBME_BUTTON_DESELECT_ALL=Deselect all methods
    -
    -#
    -# WebServiceWSDLSelectionPage
    -#
    -PAGE_TITLE_WSDL_SELECTION=Web Service WSDL File Selection
    -PAGE_DESC_WSDL_SELECTION=Select a WSDL file.
    -
    -#
    -# WebServicePublishPage
    -#
    -PAGE_TITLE_WS_PUBLISH=Web Service Publication
    -PAGE_DESC_WS_PUBLISH=Do you want to publish your Web service?
    -PAGE_TITLE_WS_FIND=Find a Web service
    -PAGE_DESC_WS_FIND=Do you want to find a Web service?
    -BUTTON_WS_PUBLISH=&Launch the Web Services Explorer to publish this Web service to a UDDI Registry
    -BUTTON_WS_PUBLISH_PRIVATE_UDDI=Launch the Web Services Explorer to publish this Web service to the Unit Test UDDI Registry
    -BUTTON_WS_FIND=Launch the Web Services Explorer to find a Web service from a UDDI Registry
    -BUTTON_WS_FIND_PRIVATE_UDDI=Launch the Web Services Explorer to find a Web service from the Unit Test UDDI Registry
    -LABEL_PUBLIC_UDDI_REGISTRIES=Public UDDI Registry
    -
    -#
    -# EJB UI strings
    -#
    -LABEL_EJB_BEAN_NAME=EJB bean
    -TABLE_TITLE_EJB_BEAN_NAMES=Stateless EJB beans
    -TABLE_TITLE_EJB_PROJECT_NAME=EJB project
    -LABEL_EAR_PROJECTS=EAR projects
    -TOOLTIP_EAR_PROJECTS=Enterprise application projects.
    -TOOLTIP_TABLE_BEAN_NAMES=Select an EJB.
    -LABEL_SHOW_ALL_STATELESS_SESSION_EJBS=<<Show all stateless session EJBs>>
    -
    -#
    -# Tooltips for WebServiceWSDLSelectionPage
    -#
    -TOOLTIP_PWWS_PAGE=
    -
    -#
    -# Tooltips for Web Service Wizard Scenario Page
    -#
    -BUTTON_WSWSCEN_PUBLISH=&Publish the Web service
    -TOOLTIP_WSWSCEN_SCALE_DEVELOP=Develop
    -TOOLTIP_WSWSCEN_SCALE_ASSEMBLE=Assemble
    -TOOLTIP_WSWSCEN_SCALE_DEPLOY=Deploy
    -TOOLTIP_WSWSCEN_SCALE_INSTALL=Install
    -TOOLTIP_WSWSCEN_SCALE_RUN=Start
    -TOOLTIP_WSWSCEN_SCALE_TEST=Test
    -TOOLTIP_WSWSCEN_SCALE_SERVICE=Move the slider to set the level of service generation.
    -TOOLTIP_WSWSCEN_SCALE_CLIENT=Move the slider to set the level of client generation. Service must be started to enable client generation.
    -TOOLTIP_WSWSCEN_SCALE_CLIENT_ONLY=Move the slider to set the level of client generation.
    -TOOLTIP_WSWSCEN_TEXT_IMPL=Implementation for the web service.
    -TOOLTIP_WSWSCEN_BUTTON_BROWSE_IMPL=Browse implementation files for specified service type.
    -TOOLTIP_WSWSCEN_BUTTON_OVERWRITE_FILES=Existing files will be overwritten with no warning during generation.
    -
    -#
    -# Tooltips for beans.WebServiceBeanClassPage
    -#
    -TOOLTIP_PBCL_PAGE=
    -TOOLTIP_PBCL_TEXT_BEAN_CLASS=Selected Java bean.
    -TOOLTIP_PBCL_BUTTON_BEAN_CLASS_BROWSE=Browse classes.
    -TOOLTIP_PBCL_BUTTON_BEAN_RESOURCE_BROWSE=Browse Java files.
    -
    -#
    -# Tooltips for beans.WebServiceTestPage
    -#
    -TOOLTIP_PSTP_COMBOBOX_TEST=Test facilities available to test the service.
    -TOOLTIP_PSTP_LAUNCH_BUTTON=Launch the selected test facility.
    -
    -#
    -# Tooltips for WebServiceRuntimeSelectionPage
    -#
    -TOOLTIP_PWRS_PAGE=
    -TOOLTIP_PWRS_LIST_RUNTIMES=Select from the following deployment runtime(s).
    -TOOLTIP_PWRS_LIST_SERVERS=Select from application server(s).
    -TOOLTIP_PWRS_RADIO_SERVER=Server oriented selection.
    -TOOLTIP_PWRS_RADIO_RUNTIME=Runtime oriented selection.
    -TOOLTIP_PWRS_RADIO_EXPLORE=Explore combinations.
    -
    -#
    -# Tooltips for WebServiceClientRuntimeSelectionPage
    -#
    -TOOLTIP_PWCR_COMBO_CLIENT_TYPE=Client project type.
    -TOOLTIP_PWCR_COMBO_SERVICE_TYPE=Service project type.
    -
    -#
    -# Tooltips for WebServiceProjectPage
    -#
    -TOOLTIP_PWPR_COMBO_TYPE=Web service implementation type.
    -TOOLTIP_PWPR_GROUP_SCENARIO_SERVICE=Service defaults for this wizard scenario.
    -TOOLTIP_PWPR_CHECKBOX_GENERATE_PROXY=Enable/disable proxy generation for this scenario.
    -TOOLTIP_PWPR_CHECKBOX_START_WEB_PROJECT=Start Web service in Web project for this scenario.
    -TOOLTIP_PWPR_CHECKBOX_INSTALL_SERVICE_WEB_PROJECT=Install the Web service on the server for this scenario.
    -TOOLTIP_PWPR_CHECKBOX_INSTALL_CLIENT_WEB_PROJECT=Install the Web service client on the server for this scenario (managed client only).
    -TOOLTIP_PWPR_CHECKBOX_LAUNCH_WS=Launch the Web Services Explorer to publish the Web service in this scenario to a UDDI Registry.
    -TOOLTIP_PWPR_CHECKBOX_TEST_SERVICE=Select this to explore the Web service created.
    -TOOLTIP_PWPR_CHECKBOX_MONITOR_SERVICE=Select this to monitor the SOAP traffic of this Web service.
    -TOOLTIP_PWPR_GROUP_SCENARIO_CLIENT=Client proxy defaults for this wizard scenario.
    -TOOLTIP_PWPR_COMBO_CLIENTTYPE=Client proxy selection type.
    -
    -#
    -# Tooltips for WebServicePublishPage
    -#
    -TOOLTIP_PWPB_PAGE=
    -TOOLTIP_PWPB_CHECKBOX_WS_LAUNCH=Publish the Web service.
    -
    -#
    -# WSIL proxy
    -#
    -PAGE_WSIL_IMPORT=WSIL Import Page
    -TITLE_WSIL_IMPORT=WSIL Import
    -DESC_WSIL_IMPORT=Import WSDL references to a WSIL document
    -PAGE_TITLE_WS_SELECTION=Web Service Selection Page
    -PAGE_DESC_WS_SELECTION=Enter a web service URI.
    -
    -PAGE_MSG_LOADING_WEB_SERVICE_URI=Loading Web service URI...
    -PAGE_MSG_INVALID_WEB_SERVICE_URI=Invalid Web service URI. Enter a URI to a WSDL, WSIL or HTML document.
    -PAGE_MSG_NO_SUCH_FILE=File "{0}" does not exist.
    -PAGE_MSG_SELECTION_MUST_BE_WSDL=Selection must be WSDL.
    -PAGE_MSG_INVALID_WSIL_FILE_NAME=Invalid WSIL file name. WSIL file name must end with .wsil
    -
    -MSG_ERROR_URI_NOT_RESOLVABLE=IWAB0469E "{0}" is not resolvable.
    -MSG_ERROR_WSDL_HAS_NO_SERVICE_ELEMENT=IWAB0551E WSDL file at {0} has no service element.
    -
    -LABEL_WSIL_URI=WSIL URI:
    -LABEL_BROWSE=Browse
    -LABEL_WSDL=WSDL:
    -LABEL_WSDL_URI=WSDL URI
    -LABEL_IMPORT=Import...
    -LABEL_ADD=Add
    -LABEL_REMOVE=Remove
    -LABEL_WS_SELECTION=Enter a URI to a WSDL, WSIL or HTML document:
    -LABEL_SELECT_WSDL=Select a WSDL
    -LABEL_VALIDATE_MESSAGES=WSDL validation messages:
    -
    -TOOLTIP_WSIL_IMPORT_PAGE=This page allows you to add WSDL references to a WSIL document.
    -TOOLTIP_WSIL_TEXT_WSIL=Enter the location of a new or existing WSIL document.
    -TOOLTIP_WSIL_BUTTON_BROWSE_WSIL=Browse for a WSIL document.
    -TOOLTIP_WSIL_TABLE_WSDL=Enter the URIs of the WSDLs that are going to be added as service references.
    -TOOLTIP_PCON_PAGE=Select a web service for consumption.
    -TOOLTIP_PCON_TEXT_WS=Enter a URI to a WSDL, WSIL or HTML document.
    -TOOLTIP_PCON_BUTTON_BROWSE_WS=Browse for a web service resource.
    -TOOLTIP_VALIDATE_TEXT_MESSAGE=Messages from WSDL validation.
    -TOOLTIP_TABLE_VALIDATE_MESSAGE=Use the Web Service Profile Compliance and Validation preference to enable or disable WSDL validation.
    -
    -#
    -# Table column heading for ValidationMessageViewerWidget
    -#
    -TABLE_COLUMN_VALIDATION_SEVERITY=Severity
    -TABLE_COLUMN_VALIDATION_LINE=Line
    -TABLE_COLUMN_VALIDATION_COLUMN=Column
    -TABLE_COLUMN_VALIDATION_MESSAGE=Message
    -#
    -# Tooltips for client.WebServiceClienTestPage
    -#
    -TOOLTIP_PWSM_PAGE=
    -TOOLTIP_PWSM_CHECKBOX_TEST=Enable/disable Test.
    -TOOLTIP_PWSM_COMBOBOX_TEST=Select the test type.
    -TOOLTIP_PWSM_CHECKBOX_LAUNCH=Run test on a server.
    -TOOLTIP_PWSM_TEXT_JSP_FOLDER=Destination folder of generated sample files.
    -TOOLTIP_PWSM_BUTTON_JSP_FOLDER_BROWSE=Browse folders.
    -TOOLTIP_PWSM_BUTTON_SELECT_ALL=Select all methods.
    -TOOLTIP_PWSM_BUTTON_DESELECT_ALL=Deselect all methods.
    -TOOLTIP_PWSM_COMBO_PROJECT=Web project for generated sample.
    -TOOLTIP_PWSM_TEXT_SAMPLE_FOLDER=Destination folder of generated sample files.
    -TOOLTIP_PWSM_TREE_METHODS=Methods to generate into the sample.
    -TOOLTIP_PWSM_EAR_PROJECT=EAR project for the generated sample.
    -
    -#
    -# HTTP Basic Auth
    -#
    -DIALOG_TITLE_HTTP_BASIC_AUTH=HTTP Basic Authentication
    -LABEL_URL=URL:
    -LABEL_HTTP_BASIC_AUTH_USERNAME=User name:
    -LABEL_HTTP_BASIC_AUTH_PASSWORD=Password:
    -
    -TOOLTIP_HTTP_BASIC_AUTH_USERNAME=Enter your HTTP basic authentication user name.
    -TOOLTIP_HTTP_BASIC_AUTH_PASSWORD=Enter your HTTP basic authentication password.
    -
    -#
    -# Generate Handler Skeleton
    -#
    -MSG_ERROR_GENERATE_HANDLER_SKELETON=IWAB0359E Error in generating handler skeleton.
    -MSG_ERROR_WRITE_FILE=IWAB0360E Error in writing file {0}.
    -
    -#
    -# Handlers Configuration wizard page
    -#
    -LABEL_HANDLERS_CONFIG=Handler configuration
    -LABEL_BUTTON_ADD=Add
    -LABEL_BUTTON_REMOVE=Remove
    -LABEL_BUTTON_MOVE_UP=Move up
    -LABEL_BUTTON_MOVE_DOWN=Move down
    -LABEL_BUTTON_GEN_SKELETON=Generate skeleton classes for new handlers
    -LABEL_COMBO_SOURCE_LOC=Output folder:
    -LABEL_COMBO_WS_CLIENT_REF=Client Service References:
    -LABEL_COMBO_WS_SERVICE_DESC=Service Descriptions:
    -MSG_TEXT_NUM_OF_SERVICES=You have selected {0} services.
    -MSG_TEXT_NUM_OF_CLIENTS=You have selected {0} client services.
    -
    -LABEL_HANDLER_NAME=Name
    -LABLE_HANDLER_CLASS=Class name
    -LABEL_HANDLER_PORT=Port name
    -
    -DIALOG_TITLE_WS_ADD_HANDLER=Add New Handler
    -LABEL_TEXT_HANDLER_NAME=Name:
    -LABEL_TEXT_HANDLER_CLASS=Class name:
    -LABEL_TEXT_HANDLER_PORT=Port name:
    -
    -PAGE_TITLE_SERVICE_HDLR_CONFIG=Service Handlers Configuration
    -PAGE_DESC_SERVICE_HDLR_CONFIG=Configure service-side handlers
    -PAGE_TITLE_CLIENT_HDLR_CONFIG=Client Handlers Configuration
    -PAGE_DESC_CLIENT_HDLR_CONFIG=Configure client-side handlers
    -PAGE_DESC_MULTIPLE_SERVICES_CONFIG=Add handlers to multiple Web services.
    -PAGE_DESC_MULTIPLE_CLIENTS_CONFIG=Add handlers to multiple Web service clients.
    -
    -TOOLTIP_EDIT_WS_HANDLERS=Configure Web Service Handlers
    -TOOLTIP_BUTTON_GEN_SKELETON=Select to generate skeleton classes for new handlers.
    -TOOLTIP_COMBO_SOURCE_LOC=Select the output location for file generation.
    -TOOLTIP_TEXT_HANDLER_NAME=Handler name
    -TOOLTIP_TEXT_HANDLER_CLASS=Handler class name
    -TOOLTIP_TEXT_HANDLER_PORT=Handler port component name
    -TOOLTIP_WS_CLIENT_REF=Select a client service-reference to show its handlers.
    -TOOLTIP_WS_SERVICE_DESC=Select a service description to show its handlers.
    -
    -#
    -# ClientHandlersWidgetDefaultingCommand
    -#
    -MSG_ERROR_WEB_SERVICE_CLIENTS_NOT_FOUND=No Web service clients were found. Create a Web service client before configuring Web service client handlers.
    -
    -#
    -# ServiceHandlersWidgetDefaultingCommand
    -#
    -MSG_ERROR_WEB_SERVICES_NOT_FOUND=No Web services were found. Create a Web service before configuring Web service handlers.
    -MSG_ERROR_WSDD_NOT_FOUND=Unable to launch handler wizard. No deployment descriptor was found for this Web service.
    -MSG_ERROR_INVALID_MULTIPLE_SERVICE_SELECT=Invalid multiple selection of Services. Ensure all selections are Services.#
    -
    -# OpenJavaEditorCommand
    -#
    -MSG_ERROR_UNABLE_TO_OPEN_JAVA_EDITOR=IWAB0029E Unable to open class {0} from project {1} in the Java editor.
    -
    -#
    -# CheckIfServiceProject
    -#
    -MSG_WARN_IS_SERVICE_PROJECT=The selected client project, {0}, contains the Web service. Proceeding with this configuration may result in runtime errors when invoking the Web service. Would you like to proceed?
    -MSG_USER_ABORTED=User pressed cancel in warning dialog which warned about the selected client project being the service project.
    -
    -#
    -# Missing third party file error message
    -#
    -MSG_MISSING_THIRD_PARTY_FILES=Missing third party files. Refer to http://www.eclipse.org/webtools/wst/components/ws/download_instructions_for_jars.html
    -
    -#
    -# WSDLSelectionOutputCommand
    -#
    -MSG_WARNING_NO_SERVICE_ELEMENT=The WSDL file does not contain a Service element. Therefore a service interface and Java proxy will not be generated and as a result, a Java test client will not be launched. Click OK to proceed, or click Cancel to select another WSDL file. Alternately, exit the wizard and use the WSDL editor to create a Service WSDL document.
    -
    -#
    -# CheckWSDLValidationCommand
    -#
    -STILL_VALIDATING_WSDL=Wizard WSDL validation in Progress. \n- Click Cancel to cancel the current WSDL validation and continue. \n- Click Cancel and Update to update the preference to always cancel incomplete WSDL validation while traversing the wizard. \n- Click Wait to wait for WSDL validation to complete.
    -CANCEL_VALIDATION_LABEL=Cancel
    -CANCEL_VALIDATION_DESCRIPTION=Cancel the current WSDL validation and continue
    -CANCEL_ALL_VALIDATION_LABEL=Cancel and Update
    -CANCEL_ALL_VALIDATION_DESCRIPTION=Update the preference to always cancel incomplete WSDL validation while traversing the wizard.
    -WAIT_VALIDATION_LABEL=Wait
    -WAIT_VALIDATION_DESCRIPTION=Wait for WSDL validation to complete
    -TASK_LABEL_CHECK_WSDL_VALIDATION=Check for WSDL validation
    -TASK_DESC_CHECK_WSDL_VALIDATION=Check if WSDL validation has completed
    -
    -#
    -# WSDLValidation messages
    -#
    -MESSAGE_VALIDATE_NO_WSDL=Wizard WSDL validation is disabled.
    -MESSAGE_VALIDATE_REMOTE_WSDL=Wizard WSDL validation is only enabled for remote files.
    -MESSAGE_VALIDATE_ALL_WSDL=Wizard WSDL validation is enabled.
    -MESSAGE_VALIDATE_IN_PROGRESS=WSDL validation in progress ...
    -ERROR_MESSAGES_IN_VALIDATION=The WSDL file contains validation error(s).
    -WARNING_MESSAGES_IN_VALIDATION=The WSDL file contains validation warning(s).
    -WARNING_IF_CONTINUE=Continuing with the wizard may result in generation or runtime problem.
    -VALIDATION_COMPLETED=WSDL validation completes with no warning or error.
    -TOOLTIP_VALIDATE_TEXT_MESSAGE_SUMMARY=WSDL validation preference can be changed using the Web Services Profile Compliance and Validation preference.
    -
    -LABEL_BUTTON_STOP_WSDL_VALIDATION=Stop Validation
    -TOOLTIP_STOP_VALIDATION_BUTTON=Stops the current WSDL validation operation.
    -
    -
    -#
    -# Start server page
    -#
    -PAGE_TITLE_WS_START_SERVER=Start Server
    -PAGE_DESC_WS_START_SERVER=Start the server from this page.
    -LABEL_START_SERVER_TEXT1=In order to proceed the server "{0}" must be started.
    -LABEL_START_SERVER_TEXT2=Once the server is started the "next" button will be enabled.
    -LABEL_START_SERVER_TEXT3=The "back" button can be used while the server is starting to
    -LABEL_START_SERVER_TEXT4=change any previous settings in this wizard.
    -LABEL_START_SERVER_BUTTON=Start server
    -TOOLTIP_START_SERVER_BUTTON=Start the server
    -TEXT_SERVER_STATUS=Currently the server is {0}.
    -TEXT_SERVER_MSG=Server {0}
    -TEXT_SERVER_STARTED=started
    -TEXT_SERVER_STARTING=starting
    -TEXT_SERVER_STOPPED=stopped
    -
    -#
    -# Ant task List options
    -#
    -
    -# Note to translation do not translate keyword RuntimeId
    -MSG_INFO_ANT_RUNTIME_HEADING=Web Service Runtime IDs (RuntimeId)
    -MSG_INFO_ANT_SERVER_RUNTIME=Server runtime: {0}
    -MSG_INFO_ANT_CLIENT_RUNTIME=Client runtime: {0}
    -
    -# Note to translation do not translate keyword ServerId
    -MSG_INFO_ANT_SERVER_HEADING=Server IDs (ServerId)
    -MSG_INFO_ANT_SERVER=Server: {0}
    -
    -MSG_INFO_WSDL_OPERATION_TIMED_OUT=Could not retrieve the WSDL file {0}. Do you want to continue to wait for this file?
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUIMessages.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUIMessages.java
    deleted file mode 100644
    index a54562a85..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ConsumptionUIMessages.java
    +++ /dev/null
    @@ -1,395 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060204 124143 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060329 128069 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060411 136134 kathy@ca.ibm.com - Kathy Chan
    - * 20060417 136390/136159 joan@ca.ibm.com - Joan Haggarty
    - * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060418 136335 joan@ca.ibm.com - Joan Haggarty
    - * 20060420 136158 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060420 120714 kathy@ca.ibm.com - Kathy Chan
    - * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
    - * 20060426 138647 joan@ca.ibm.com - Joan Haggarty
    - * 20060510 141115 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060509 119296 pmoogk@ca.ibm.com - Peter Moogk
    - * 20060719 139977 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui;
    -
    -import org.eclipse.osgi.util.NLS;
    -
    -public final class ConsumptionUIMessages extends NLS {
    -
    - private static final String BUNDLE_NAME = "org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUI";//$NON-NLS-1$
    -
    - private ConsumptionUIMessages() {
    - // Do not instantiate
    - }
    -
    - public static String PLUGIN_NEW_WIZARD_NAME_WS_CLIENT;
    - public static String ACTION_GENERATE_JAVA_PROXY;
    - public static String CHECKBOX_SHOW_GENERATE_JAVA_PROXY_DIALOG;
    - public static String TOOLTIP_PPAD_CHECKBOX_WSDL2PROXY;
    - public static String TOOLTIP_SRPF_COMBO_SERVER;
    - public static String TOOLTIP_SRPF_COMBO_RUNTIME;
    - public static String TOOLTIP_SRPF_COMBO_J2EE;
    - public static String MSG_ERROR_TASK_EXCEPTED;
    - public static String MSG_ERROR_NO_SERVER_RUNTIME;
    - public static String LABEL_FOLDER_NAME;
    - public static String LABEL_JSP_FOLDER_NAME;
    - public static String LABEL_WEB_PROJECT_NAME;
    - public static String LABEL_WEBSERVICETYPE;
    - public static String LABEL_WEBSERVICEIMPL;
    - public static String LABEL_WEBSERVICEDEF;
    - public static String LABEL_J2EE_VERSION;
    - public static String LABEL_NA;
    - public static String BUTTON_BROWSE;
    - public static String BUTTON_BROWSE_FILES;
    - public static String BOTTOMUP_LABEL;
    - public static String TOPDOWN_LABEL;
    - public static String CLIENT_LABEL;
    - public static String COMBINED_TYPE_AND_RUNTIME_LABEL;
    - public static String WIZARD_TITLE_WSC;
    - public static String PAGE_TITLE_WS_PROJECT;
    - public static String PAGE_DESC_WS_PROJECT;
    - public static String BUTTON_START_WEB_PROJECT;
    - public static String BUTTON_INSTALL_SERVICE_WEB_PROJECT;
    - public static String BUTTON_INSTALL_CLIENT_WEB_PROJECT;
    - public static String GROUP_SCENARIO_SERVICE;
    - public static String GROUP_SCENARIO_CLIENT;
    - public static String LABEL_WEBSERVICECLIENTTYPE;
    - public static String PAGE_TITLE_WS_RUNTIME_SELECTION;
    - public static String PAGE_DESC_WS_RUNTIME_SELECTION;
    - public static String LABEL_SUMMARY;
    - public static String LABEL_SUMMARY_NO_CLIENT;
    - public static String LABEL_RUNTIMES_LIST;
    - public static String LABEL_SERVERS_LIST;
    - public static String LABEL_EDIT_BUTTON;
    - public static String LABEL_SERVICE_EAR_MODULE;
    - public static String LABEL_CLIENT_EAR_MODULE;
    - public static String LABEL_CLIENT_MODULE;
    - public static String LABEL_SERVICE_MODULE;
    - public static String LABEL_CLIENT_PROJECT;
    - public static String LABEL_SERVICE_PROJECT;
    - public static String LABEL_CLIENT_EAR_PROJECT;
    - public static String LABEL_SERVICE_EAR_PROJECT;
    - public static String LABEL_CLIENT_COMP_TYPE_WEB;
    - public static String LABEL_CLIENT_COMP_TYPE_EJB;
    - public static String LABEL_CLIENT_COMP_TYPE_APP_CLIENT;
    - public static String LABEL_CLIENT_COMP_TYPE_CONTAINERLESS;
    - public static String TOOLTIP_PWRS_TEXT_RUNTIME;
    - public static String TOOLTIP_PWRS_TEXT_SERVER;
    - public static String TOOLTIP_PWRS_J2EE_VERSION;
    - public static String LABEL_SELECTION_VIEW_TITLE;
    - public static String LABEL_SELECTION_VIEW_RUNTIME;
    - public static String LABEL_SELECTION_VIEW_SERVER;
    - public static String LABEL_SELECTION_VIEW_EXPLORE;
    - public static String LABEL_TREE_EXISTING_SERVERS;
    - public static String LABEL_TREE_SERVER_TYPES;
    - public static String MSG_NO_OBJECT_SELECTION;
    - public static String MSG_NO_SERVICE_SELECTION;
    - public static String MSG_INVALID_SERVICE_DEF;
    - public static String MSG_INVALID_SERVICE_IMPL;
    - public static String MSG_INVALID_SRT_SELECTIONS;
    - public static String MSG_NO_RUNTIME;
    - public static String MSG_NO_SERVER;
    - public static String MSG_ERROR_STUB_ONLY;
    - public static String MSG_WARN_STUB_ONLY;
    - public static String MSG_WARN_NO_SERVICE_SERVER;
    - public static String MSG_WARN_NO_CLIENT_SERVER;
    - public static String MSG_SERVER_TARGET_MISMATCH;
    - public static String MSG_J2EE_MISMATCH;
    - public static String MSG_SERVICE_PROJECT_EMPTY;
    - public static String MSG_SERVICE_PROJECT_TYPE_EMPTY;
    - public static String MSG_SERVICE_EAR_EMPTY;
    - public static String MSG_CLIENT_PROJECT_EMPTY;
    - public static String MSG_CLIENT_PROJECT_TYPE_EMPTY;
    - public static String MSG_CLIENT_EAR_EMPTY;
    - public static String MSG_INVALID_EJB_PROJECT;
    - public static String MSG_INVALID_WEB_PROJECT;
    - public static String MSG_INVALID_PROJECT_TYPE;
    - public static String MSG_MODULE;
    - public static String MSG_MODULE_NAME_AND_PROJECT_NAME_NOT_THE_SAME;
    - public static String MSG_SERVICE_RUNTIME_DOES_NOT_SUPPORT_PROJECT;
    - public static String MSG_SERVICE_SERVER_DOES_NOT_SUPPORT_PROJECT;
    - public static String MSG_SERVICE_RUNTIME_DOES_NOT_SUPPORT_TEMPLATE;
    - public static String MSG_SERVICE_SERVER_DOES_NOT_SUPPORT_TEMPLATE;
    - public static String MSG_CLIENT_RUNTIME_DOES_NOT_SUPPORT_PROJECT;
    - public static String MSG_CLIENT_SERVER_DOES_NOT_SUPPORT_PROJECT;
    - public static String MSG_CLIENT_RUNTIME_DOES_NOT_SUPPORT_TEMPLATE;
    - public static String MSG_CLIENT_SERVER_DOES_NOT_SUPPORT_TEMPLATE;
    - public static String MSG_SAME_CLIENT_AND_SERVICE_EARS;
    - public static String MSG_SAME_CLIENT_AND_SERVICE_COMPONENTS;
    - public static String MSG_SAME_CLIENT_AND_SERVICE_PROJECTS;
    - public static String MSG_WRONG_CLIENT_PROJECT_TYPE;
    - public static String MSG_CLIENT_SUB;
    - public static String MSG_SERVICE_SUB;
    - public static String MSG_GENERAL_PROJECT_AND_EAR;
    - public static String MSG_EAR_PROJECT_WILL_BE_CREATED;
    - public static String MSG_EAR_WILL_BE_ASSOCIATED;
    - public static String MSG_PROJECT_WILL_BE_CREATED;
    - public static String MSG_EAR_WILL_BE_CREATED;
    - public static String MSG_PROJECT_AND_EAR_CREATED;
    - public static String PAGE_TITLE_WS_CLIENT_RUNTIME_SELECTION;
    - public static String PAGE_DESC_WS_CLIENT_RUNTIME_SELECTION;
    - public static String LABEL_CLIENT_SELECTION_VIEW_TITLE;
    - public static String LABEL_CLIENT_TYPE;
    - public static String LABEL_SERVICE_TYPE;
    - public static String LABEL_WEB;
    - public static String LABEL_EJB;
    - public static String LABEL_NO_LABEL;
    - public static String PAGE_MSG_VALIDATION_INTERNAL_ERROR;
    - public static String PAGE_TITLE_WS_XML2BEAN;
    - public static String PAGE_DESC_N2P_MAPPINGS;
    - public static String MSG_MAPPING_DUPLICATE_ENTRIES;
    - public static String BUTTON_GENERATE_PROXY;
    - public static String PAGE_DESC_WSSKEL_CONFIG;
    - public static String PAGE_TITLE_WSSKEL_CONFIG;
    - public static String TOOLTIP_PBSC_TEXT_SKELETON_FOLDER;
    - public static String TOOLTIP_PBSC_BUTTON_SKELETON_FOLDER_BROWSE;
    - public static String LABEL_SKELETON_ROOT_NAME;
    - public static String LABEL_BEAN_CLASS_NAME;
    - public static String PAGE_MSG_BEAN_CANNOT_BE_EMPTY;
    - public static String BUTTON_BROWSE_CLASSES;
    - public static String PAGE_TITLE_WSTEST;
    - public static String PAGE_DESC_WSTEST;
    - public static String CHECKBOX_TEST_WEBSERVICE;
    - public static String CHECKBOX_MONITOR_WEBSERVICE;
    - public static String MSG_ERROR_UNABLE_TO_LAUNCH_WSDL_TEST;
    - public static String BUTTON_LAUNCH_SERVICE_TEST;
    - public static String PAGE_TITLE_WS_SAMPLE;
    - public static String PAGE_DESC_WS_SAMPLE;
    - public static String BUTTON_TEST;
    - public static String LABEL_TEST_TYPES;
    - public static String BUTTON_RUN_TEST;
    - public static String LABEL_METHODS;
    - public static String LABEL_JSP_PROJECT_NAME;
    - public static String MSG_ERROR_JTS_PROXY_NOT_COMPILED;
    - public static String MSG_ERROR_MALFORMED_URL;
    - public static String BUTTON_SELECT_ALL;
    - public static String BUTTON_DESELECT_ALL;
    - public static String TOOLTIP_PBME_BUTTON_SELECT_ALL;
    - public static String TOOLTIP_PBME_BUTTON_DESELECT_ALL;
    - public static String PAGE_TITLE_WSDL_SELECTION;
    - public static String PAGE_DESC_WSDL_SELECTION;
    - public static String PAGE_TITLE_WS_PUBLISH;
    - public static String PAGE_DESC_WS_PUBLISH;
    - public static String PAGE_TITLE_WS_FIND;
    - public static String PAGE_DESC_WS_FIND;
    - public static String BUTTON_WS_PUBLISH;
    - public static String BUTTON_WSWSCEN_PUBLISH;
    - public static String BUTTON_WS_PUBLISH_PRIVATE_UDDI;
    - public static String BUTTON_WS_FIND;
    - public static String BUTTON_WS_FIND_PRIVATE_UDDI;
    - public static String LABEL_PUBLIC_UDDI_REGISTRIES;
    - public static String LABEL_EJB_BEAN_NAME;
    - public static String TABLE_TITLE_EJB_BEAN_NAMES;
    - public static String TABLE_TITLE_EJB_PROJECT_NAME;
    - public static String LABEL_EAR_PROJECTS;
    - public static String LABEL_SHOW_ALL_STATELESS_SESSION_EJBS;
    - public static String CHECKBOX_OVERWRITE_FILES;
    - public static String DIALOG_TITILE_SERVICE_PROJECT_SETTINGS;
    - public static String DIALOG_TITILE_CLIENT_PROJECT_SETTINGS;
    - public static String DIALOG_TITILE_SERVICE_IMPL_SELECTION;
    - public static String DIALOG_TITILE_SERVICE_DEF_SELECTION;
    - public static String TOOLTIP_WSWSCEN_SERVICEPROJECT_LINK;
    - public static String TOOLTIP_WSWSCEN_CLIENTPROJECT_LINK;
    - public static String TOOLTIP_WSWSCEN_SCALE_DEVELOP;
    - public static String TOOLTIP_WSWSCEN_SCALE_ASSEMBLE;
    - public static String TOOLTIP_WSWSCEN_SCALE_DEPLOY;
    - public static String TOOLTIP_WSWSCEN_SCALE_INSTALL;
    - public static String TOOLTIP_WSWSCEN_SCALE_RUN;
    - public static String TOOLTIP_WSWSCEN_SCALE_TEST;
    - public static String TOOLTIP_WSWSCEN_SCALE_SERVICE;
    - public static String TOOLTIP_WSWSCEN_SCALE_CLIENT;
    - public static String TOOLTIP_WSWSCEN_SCALE_CLIENT_ONLY;
    - public static String TOOLTIP_WSWSCEN_TEXT_IMPL;
    - public static String TOOLTIP_WSWSCEN_BUTTON_OVERWRITE_FILES;
    - public static String TOOLTIP_WSWSCEN_BUTTON_BROWSE_IMPL;
    - public static String TOOLTIP_EAR_PROJECTS;
    - public static String TOOLTIP_TABLE_BEAN_NAMES;
    - public static String TOOLTIP_PWWS_PAGE;
    - public static String TOOLTIP_PBCL_PAGE;
    - public static String TOOLTIP_PBCL_TEXT_BEAN_CLASS;
    - public static String TOOLTIP_PBCL_BUTTON_BEAN_CLASS_BROWSE;
    - public static String TOOLTIP_PBCL_BUTTON_BEAN_RESOURCE_BROWSE;
    - public static String TOOLTIP_PSTP_COMBOBOX_TEST;
    - public static String TOOLTIP_PSTP_LAUNCH_BUTTON;
    - public static String TOOLTIP_PWRS_PAGE;
    - public static String TOOLTIP_PWRS_LIST_RUNTIMES;
    - public static String TOOLTIP_PWRS_LIST_SERVERS;
    - public static String TOOLTIP_PWRS_RADIO_SERVER;
    - public static String TOOLTIP_PWRS_RADIO_RUNTIME;
    - public static String TOOLTIP_PWRS_RADIO_EXPLORE;
    - public static String TOOLTIP_PWCR_COMBO_CLIENT_TYPE;
    - public static String TOOLTIP_PWCR_COMBO_SERVICE_TYPE;
    - public static String TOOLTIP_PWPR_COMBO_TYPE;
    - public static String TOOLTIP_PWPR_GROUP_SCENARIO_SERVICE;
    - public static String TOOLTIP_PWPR_CHECKBOX_GENERATE_PROXY;
    - public static String TOOLTIP_PWPR_CHECKBOX_START_WEB_PROJECT;
    - public static String TOOLTIP_PWPR_CHECKBOX_INSTALL_SERVICE_WEB_PROJECT;
    - public static String TOOLTIP_PWPR_CHECKBOX_INSTALL_CLIENT_WEB_PROJECT;
    - public static String TOOLTIP_PWPR_CHECKBOX_LAUNCH_WS;
    - public static String TOOLTIP_PWPR_CHECKBOX_TEST_SERVICE;
    - public static String TOOLTIP_PWPR_CHECKBOX_MONITOR_SERVICE;
    - public static String TOOLTIP_PWPR_GROUP_SCENARIO_CLIENT;
    - public static String TOOLTIP_PWPR_COMBO_CLIENTTYPE;
    - public static String TOOLTIP_PWPB_PAGE;
    - public static String TOOLTIP_PWPB_CHECKBOX_WS_LAUNCH;
    - public static String PAGE_WSIL_IMPORT;
    - public static String TITLE_WSIL_IMPORT;
    - public static String DESC_WSIL_IMPORT;
    - public static String PAGE_TITLE_WS_SELECTION;
    - public static String PAGE_DESC_WS_SELECTION;
    - public static String PAGE_MSG_LOADING_WEB_SERVICE_URI;
    - public static String PAGE_MSG_INVALID_WEB_SERVICE_URI;
    - public static String PAGE_MSG_NO_SUCH_FILE;
    - public static String PAGE_MSG_SELECTION_MUST_BE_WSDL;
    - public static String PAGE_MSG_INVALID_WSIL_FILE_NAME;
    - public static String MSG_ERROR_URI_NOT_RESOLVABLE;
    - public static String MSG_ERROR_WSDL_HAS_NO_SERVICE_ELEMENT;
    - public static String LABEL_WSIL_URI;
    - public static String LABEL_BROWSE;
    - public static String LABEL_WSDL;
    - public static String LABEL_WSDL_URI;
    - public static String LABEL_IMPORT;
    - public static String LABEL_ADD;
    - public static String LABEL_REMOVE;
    - public static String LABEL_WS_SELECTION;
    - public static String LABEL_SELECT_WSDL;
    - public static String LABEL_VALIDATE_MESSAGES;
    - public static String TOOLTIP_WSIL_IMPORT_PAGE;
    - public static String TOOLTIP_WSIL_TEXT_WSIL;
    - public static String TOOLTIP_WSIL_BUTTON_BROWSE_WSIL;
    - public static String TOOLTIP_WSIL_TABLE_WSDL;
    - public static String TOOLTIP_PCON_PAGE;
    - public static String TOOLTIP_PCON_TEXT_WS;
    - public static String TOOLTIP_PCON_BUTTON_BROWSE_WS;
    - public static String TOOLTIP_VALIDATE_TEXT_MESSAGE;
    - public static String TOOLTIP_TABLE_VALIDATE_MESSAGE;
    - public static String TABLE_COLUMN_VALIDATION_SEVERITY;
    - public static String TABLE_COLUMN_VALIDATION_LINE;
    - public static String TABLE_COLUMN_VALIDATION_COLUMN;
    - public static String TABLE_COLUMN_VALIDATION_MESSAGE;
    - public static String TOOLTIP_PWSM_PAGE;
    - public static String TOOLTIP_PWSM_CHECKBOX_TEST;
    - public static String TOOLTIP_PWSM_COMBOBOX_TEST;
    - public static String TOOLTIP_PWSM_CHECKBOX_LAUNCH;
    - public static String TOOLTIP_PWSM_TEXT_JSP_FOLDER;
    - public static String TOOLTIP_PWSM_BUTTON_JSP_FOLDER_BROWSE;
    - public static String TOOLTIP_PWSM_BUTTON_SELECT_ALL;
    - public static String TOOLTIP_PWSM_BUTTON_DESELECT_ALL;
    - public static String TOOLTIP_PWSM_COMBO_PROJECT;
    - public static String TOOLTIP_PWSM_TEXT_SAMPLE_FOLDER;
    - public static String TOOLTIP_PWSM_TREE_METHODS;
    - public static String TOOLTIP_PWSM_EAR_PROJECT;
    - public static String DIALOG_TITLE_HTTP_BASIC_AUTH;
    - public static String LABEL_URL;
    - public static String LABEL_HTTP_BASIC_AUTH_USERNAME;
    - public static String LABEL_HTTP_BASIC_AUTH_PASSWORD;
    - public static String TOOLTIP_HTTP_BASIC_AUTH_USERNAME;
    - public static String TOOLTIP_HTTP_BASIC_AUTH_PASSWORD;
    - public static String MSG_ERROR_GENERATE_HANDLER_SKELETON;
    - public static String MSG_ERROR_WRITE_FILE;
    - public static String LABEL_HANDLERS_CONFIG;
    - public static String LABEL_BUTTON_ADD;
    - public static String LABEL_BUTTON_REMOVE;
    - public static String LABEL_BUTTON_MOVE_UP;
    - public static String LABEL_BUTTON_MOVE_DOWN;
    - public static String LABEL_BUTTON_GEN_SKELETON;
    - public static String LABEL_COMBO_SOURCE_LOC;
    - public static String LABEL_COMBO_WS_CLIENT_REF;
    - public static String LABEL_COMBO_WS_SERVICE_DESC;
    - public static String MSG_TEXT_NUM_OF_SERVICES;
    - public static String MSG_TEXT_NUM_OF_CLIENTS;
    - public static String LABEL_HANDLER_NAME;
    - public static String LABLE_HANDLER_CLASS;
    - public static String LABEL_HANDLER_PORT;
    - public static String DIALOG_TITLE_WS_ADD_HANDLER;
    - public static String LABEL_TEXT_HANDLER_NAME;
    - public static String LABEL_TEXT_HANDLER_CLASS;
    - public static String LABEL_TEXT_HANDLER_PORT;
    - public static String PAGE_TITLE_SERVICE_HDLR_CONFIG;
    - public static String PAGE_DESC_SERVICE_HDLR_CONFIG;
    - public static String PAGE_TITLE_CLIENT_HDLR_CONFIG;
    - public static String PAGE_DESC_CLIENT_HDLR_CONFIG;
    - public static String PAGE_DESC_MULTIPLE_SERVICES_CONFIG;
    - public static String PAGE_DESC_MULTIPLE_CLIENTS_CONFIG;
    - public static String TOOLTIP_EDIT_WS_HANDLERS;
    - public static String TOOLTIP_BUTTON_GEN_SKELETON;
    - public static String TOOLTIP_COMBO_SOURCE_LOC;
    - public static String TOOLTIP_TEXT_HANDLER_NAME;
    - public static String TOOLTIP_TEXT_HANDLER_CLASS;
    - public static String TOOLTIP_TEXT_HANDLER_PORT;
    - public static String TOOLTIP_WS_CLIENT_REF;
    - public static String TOOLTIP_WS_SERVICE_DESC;
    - public static String MSG_ERROR_UNABLE_TO_OPEN_JAVA_EDITOR;
    - public static String MSG_WARN_IS_SERVICE_PROJECT;
    - public static String MSG_USER_ABORTED;
    - public static String MSG_MISSING_THIRD_PARTY_FILES;
    - public static String MSG_WARNING_NO_SERVICE_ELEMENT;
    - public static String STILL_VALIDATING_WSDL;
    - public static String CANCEL_VALIDATION_LABEL;
    - public static String CANCEL_VALIDATION_DESCRIPTION;
    - public static String CANCEL_ALL_VALIDATION_LABEL;
    - public static String CANCEL_ALL_VALIDATION_DESCRIPTION;
    - public static String WAIT_VALIDATION_LABEL;
    - public static String WAIT_VALIDATION_DESCRIPTION;
    - public static String TASK_LABEL_CHECK_WSDL_VALIDATION;
    - public static String TASK_DESC_CHECK_WSDL_VALIDATION;
    - public static String MESSAGE_VALIDATE_NO_WSDL;
    - public static String MESSAGE_VALIDATE_REMOTE_WSDL;
    - public static String MESSAGE_VALIDATE_ALL_WSDL;
    - public static String MESSAGE_VALIDATE_IN_PROGRESS;
    - public static String ERROR_MESSAGES_IN_VALIDATION;
    - public static String WARNING_MESSAGES_IN_VALIDATION;
    - public static String WARNING_IF_CONTINUE;
    - public static String VALIDATION_COMPLETED;
    - public static String TOOLTIP_VALIDATE_TEXT_MESSAGE_SUMMARY;
    - public static String LABEL_BUTTON_STOP_WSDL_VALIDATION;
    - public static String TOOLTIP_STOP_VALIDATION_BUTTON;
    - public static String PAGE_TITLE_WS_START_SERVER;
    - public static String PAGE_DESC_WS_START_SERVER;
    - public static String LABEL_START_SERVER_TEXT1;
    - public static String LABEL_START_SERVER_TEXT2;
    - public static String LABEL_START_SERVER_TEXT3;
    - public static String LABEL_START_SERVER_TEXT4;
    - public static String LABEL_START_SERVER_BUTTON;
    - public static String TOOLTIP_START_SERVER_BUTTON;
    - public static String TEXT_SERVER_STATUS;
    - public static String TEXT_SERVER_MSG;
    - public static String TEXT_SERVER_STARTED;
    - public static String TEXT_SERVER_STARTING;
    - public static String TEXT_SERVER_STOPPED;
    - public static String MSG_INFO_ANT_RUNTIME_HEADING;
    - public static String MSG_INFO_ANT_SERVER_RUNTIME;
    - public static String MSG_INFO_ANT_CLIENT_RUNTIME;
    - public static String MSG_INFO_ANT_SERVER_HEADING;
    - public static String MSG_INFO_ANT_SERVER;
    - public static String MSG_ERROR_WEB_SERVICE_CLIENTS_NOT_FOUND;
    - public static String MSG_ERROR_WEB_SERVICES_NOT_FOUND;
    - public static String MSG_ERROR_WSDD_NOT_FOUND;
    - public static String MSG_CLIENT_CANNOT_ASSOCIATE;
    - public static String MSG_SERVICE_CANNOT_ASSOCIATE;
    - public static String MSG_PROJECT_MUST_EXIST;
    - public static String MSG_ERROR_INVALID_MULTIPLE_SERVICE_SELECT;
    - public static String MSG_ERROR_MODULE_DEPENDENCY;
    - public static String MSG_INFO_WSDL_OPERATION_TIMED_OUT;
    -
    -
    - static {
    - NLS.initializeMessages(BUNDLE_NAME, ConsumptionUIMessages.class);
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/action/LaunchWSEAction.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/action/LaunchWSEAction.java
    deleted file mode 100644
    index 1266fece9..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/action/LaunchWSEAction.java
    +++ /dev/null
    @@ -1,60 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.action;
    -
    -import org.eclipse.jface.action.IAction;
    -import org.eclipse.jface.viewers.ISelection;
    -import org.eclipse.ui.IWorkbenchWindow;
    -import org.eclipse.ui.IWorkbenchWindowActionDelegate;
    -import org.eclipse.wst.command.internal.env.core.context.TransientResourceContext;
    -import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
    -import org.eclipse.wst.command.internal.env.ui.eclipse.EclipseStatusHandler;
    -import org.eclipse.wst.ws.internal.explorer.LaunchOption;
    -import org.eclipse.wst.ws.internal.explorer.LaunchOptions;
    -import org.eclipse.wst.ws.internal.explorer.WSExplorerLauncherCommand;
    -import org.eclipse.wst.ws.internal.explorer.plugin.ExplorerPlugin;
    -
    -
    -public class LaunchWSEAction implements IWorkbenchWindowActionDelegate
    -{
    - public void run(IAction action)
    - {
    - EclipseStatusHandler handler = new EclipseStatusHandler();
    - TransientResourceContext context = new TransientResourceContext();
    - EclipseEnvironment environment = new EclipseEnvironment( null, context, handler );
    - WSExplorerLauncherCommand cmd = new WSExplorerLauncherCommand();
    -
    - String stateLocation = ExplorerPlugin.getInstance().getPluginStateLocation();
    - String defaultFavoritesLocation = ExplorerPlugin.getInstance().getDefaultFavoritesLocation();
    - LaunchOption[] launchOptions = new LaunchOption[] {
    - new LaunchOption(LaunchOptions.STATE_LOCATION,stateLocation),
    - new LaunchOption(LaunchOptions.DEFAULT_FAVORITES_LOCATION,defaultFavoritesLocation)
    - };
    - cmd.setLaunchOptions(launchOptions);
    - cmd.setEnvironment( environment );
    - cmd.execute( null, null );
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#dispose()
    - */
    - public void dispose() { }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#init(org.eclipse.ui.IWorkbenchWindow)
    - */
    - public void init(IWorkbenchWindow window) { }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
    - */
    - public void selectionChanged(IAction action, ISelection selection) { }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ant/AntClientRootCommandFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ant/AntClientRootCommandFragment.java
    deleted file mode 100644
    index 5f713b905..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/ant/AntClientRootCommandFragment.java
    +++ /dev/null
    @@ -1,221 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    - * 20060530 144358 kathy@ca.ibm.com - Kathy Chan
    - * 20060530 144350 kathy@ca.ibm.com - Kathy Chan
    - * 20060825 155114 pmoogk@ca.ibm.com - Peter Moogk
    - * 20061011 159283 makandre@ca.ibm.com - Andrew Mak, project not associated to EAR when using ant on command-line
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.ant;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.command.AntDefaultingOperation;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.AntRestoringCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.CheckForServiceProjectCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.ListOptionsCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.data.EclipseIPath2URLStringTransformer;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.FinishFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.ScenarioCleanupCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.extension.ClientRootFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.extension.PreClientDevelopCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetOutputCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.WSDLSelectionOutputCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.WSDLSelectionWidgetDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionOutputCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestDelegateCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.FinishDefaultCommand;
    -import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
    -import org.eclipse.wst.ws.internal.extensions.AssembleClientFragment;
    -import org.eclipse.wst.ws.internal.extensions.DeployClientFragment;
    -import org.eclipse.wst.ws.internal.extensions.DevelopClientFragment;
    -
    -/**
    - *
    - * Command fragment for generating a web service client using Ant task.
    - * Run headless Eclipse or within workspace using Run as Ant Build. This fragment eliminates any UI specific
    - * commands and data mappings between commands and widgets. Widget to command mappings are
    - * replaced by Ant property file to command mappings which are enabled by a antDataMapping extension
    - * point in the org.eclipse.wst.command.env plugin.
    - *
    - * @author joan
    - *
    - */
    -
    -public class AntClientRootCommandFragment extends SequenceFragment{
    -
    - public AntClientRootCommandFragment()
    - {
    -
    - add( new SimpleFragment( new ScenarioCleanupCommand(), "" ));
    -
    - add( new SimpleFragment(new ListOptionsCommand(), ""));
    - add (new SimpleFragment(new AntDefaultingOperation(), ""));
    -
    - add( new SimpleFragment( new ClientWizardWidgetDefaultingCommand(true), "" ) );
    - add( new SimpleFragment( new ClientWizardWidgetOutputCommand(), "" ));
    - add( new SimpleFragment( new WSDLSelectionWidgetDefaultingCommand(), ""));
    -
    - add( new SimpleFragment( new WSDLSelectionOutputCommand(), ""));
    - add( new SimpleFragment( new ClientRuntimeSelectionWidgetDefaultingCommand(), ""));
    -
    - add( new SimpleFragment( new ClientExtensionDefaultingCommand( true ), ""));
    - add( new ClientRootFragment() );
    - add( new SimpleFragment( new ClientExtensionOutputCommand(), "" ) );
    -
    - add(new FinishFragment());
    - add( new SimpleFragment( new AntRestoringCommand(), "" ));
    - add( new SimpleFragment( new ScenarioCleanupCommand(), "" ));
    -
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.provisional.env.core.data.DataMappingRegistry)
    - */
    - public void registerDataMappings(DataMappingRegistry dataRegistry)
    - {
    - // Map ClientWizardWidgetDefaultingCommand command.
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "TestService", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ResourceContext", ClientWizardWidgetOutputCommand.class);
    -
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "DevelopClient", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "AssembleClient", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "DeployClient", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "StartClient", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ResourceContext", ClientRuntimeSelectionWidgetDefaultingCommand.class);
    -
    -
    - // Map ClientWizardWidgetOutputCommand command.
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "ClientTypeRuntimeServer", ClientRuntimeSelectionWidgetDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "TestService", WSDLSelectionOutputCommand.class);
    - dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "TestService", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "TestService", ClientRuntimeSelectionWidgetDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "ResourceContext", ClientRuntimeSelectionWidgetDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "ResourceContext", ClientExtensionDefaultingCommand.class);
    -
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "InstallClient", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "StartClient", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "DevelopClient", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "AssembleClient", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "DeployClient", ClientExtensionDefaultingCommand.class);
    -
    -
    - // Map ClientRuntimeSelectionWidgetDefaultingCommand command
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientRuntimeId", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "Runtime2ClientTypes", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarComponentName", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentName", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentType", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientJ2EEVersion", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientNeedEAR", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "Runtime2ClientTypes", CheckForServiceProjectCommand.class);
    -
    -// Map AntDefaultingOperation
    - dataRegistry.addMapping(AntDefaultingOperation.class, "ClientIdsFixed", ClientRuntimeSelectionWidgetDefaultingCommand.class);
    - dataRegistry.addMapping(AntDefaultingOperation.class, "StartService", PreClientDevelopCommand.class);
    - dataRegistry.addMapping(AntDefaultingOperation.class, "InstallClient", PreClientDevelopCommand.class);
    - dataRegistry.addMapping(AntDefaultingOperation.class, "DeployClient", PreClientDevelopCommand.class);
    -
    - // Map WSDLSelectionWidgetDefaultingCommand command.
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "GenWSIL", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WsilURI", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WebServiceURI", WSDLSelectionOutputCommand.class, "WsdlURI", new EclipseIPath2URLStringTransformer());
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "Project", WSDLSelectionOutputCommand.class);
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "ComponentName", WSDLSelectionOutputCommand.class);
    -
    - // WSDLSelectionOutputCommand
    - dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WsdlURI", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WebServicesParser", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "Project", ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientInitialProject", null);
    - dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WsdlURI", ClientRuntimeSelectionWidgetDefaultingCommand.class);
    - dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "ComponentName", ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientInitialComponentName", null);
    - dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WebServicesParser", ClientRuntimeSelectionWidgetDefaultingCommand.class);
    - dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WsdlURI", CheckForServiceProjectCommand.class);
    - dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WebServicesParser", CheckForServiceProjectCommand.class);
    -
    - // Setup the PreClientDevelopCommand.
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientRuntimeId", PreClientDevelopCommand.class );
    - dataRegistry.addMapping( ClientWizardWidgetOutputCommand.class, "TestService", PreClientDevelopCommand.class);
    - dataRegistry.addMapping( ClientWizardWidgetOutputCommand.class, "ResourceContext", PreClientDevelopCommand.class);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", PreClientDevelopCommand.class );
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientJ2EEVersion", PreClientDevelopCommand.class);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProject", PreClientDevelopCommand.class, "Module", null );
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProjectType", PreClientDevelopCommand.class, "ModuleType", null);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProjectEAR", PreClientDevelopCommand.class, "Ear", null );
    - dataRegistry.addMapping( ClientWizardWidgetOutputCommand.class, "ResourceContext", PreClientDevelopCommand.class);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "WsdlURI", PreClientDevelopCommand.class );
    -
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "DevelopClient", PreClientDevelopCommand.class);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "AssembleClient", PreClientDevelopCommand.class);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "DeployClient", PreClientDevelopCommand.class );
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "StartClient", PreClientDevelopCommand.class, "StartService", null);
    -
    - dataRegistry.addMapping( PreClientDevelopCommand.class, "WebService", ClientExtensionOutputCommand.class, "WebServiceClient", null );
    -
    - // Map ClientExtensionDefaultingCommand command.
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", ClientExtensionFragment.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "GenerateProxy", ClientTestFragment.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientNeedEAR", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientEarProjectName", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientEarComponentName", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProject",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "WsdlURI", ClientTestDelegateCommand.class);
    -
    - // Map ClientExtensionOutputCommand command.
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ServerInstanceId", FinishDefaultCommand.class);
    -
    - // MAP post server config call
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProjectEAR", ClientExtensionOutputCommand.class, "EarProjectName", null);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientServerInstance", ClientExtensionOutputCommand.class, "ExistingServerId", null);
    -
    - //Mappings to enable peek-ahead for Page 3 of the client wizard
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", DevelopClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", DevelopClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", DevelopClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", DevelopClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", DevelopClientFragment.class, "Project", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentName", DevelopClientFragment.class, "Module", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", DevelopClientFragment.class, "EarProject", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarComponentName", DevelopClientFragment.class, "Ear", null );
    -
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", AssembleClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", AssembleClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", AssembleClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", AssembleClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", AssembleClientFragment.class, "Project", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentName", AssembleClientFragment.class, "Module", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", AssembleClientFragment.class, "EarProject", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarComponentName", AssembleClientFragment.class, "Ear", null );
    -
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", DeployClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", DeployClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", DeployClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", DeployClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", DeployClientFragment.class, "Project", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentName", DeployClientFragment.class, "Module", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", DeployClientFragment.class, "EarProject", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarComponentName", DeployClientFragment.class, "Ear", null );
    -
    - dataRegistry.addMapping(AntDefaultingOperation.class, "RendererValidation", AntRestoringCommand.class);
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntDefaultingOperation.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntDefaultingOperation.java
    deleted file mode 100644
    index 3fbf57ba6..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntDefaultingOperation.java
    +++ /dev/null
    @@ -1,79 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20061011 159283 makandre@ca.ibm.com - Andrew Mak, project not associated to EAR when using ant on command-line
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.command;
    -
    -import org.eclipse.core.commands.ExecutionException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.common.internal.emf.resource.RendererFactory;
    -
    -public class AntDefaultingOperation extends AbstractDataModelOperation{
    -
    - private boolean rendererValidation;
    -
    - public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
    - // TODO Auto-generated method stub
    -
    - rendererValidation = RendererFactory.getDefaultRendererFactory().isValidating();
    - RendererFactory.getDefaultRendererFactory().setValidating(false);
    -
    - return Status.OK_STATUS;
    - }
    -
    - public IStatus undo(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
    -
    - RendererFactory.getDefaultRendererFactory().setValidating(rendererValidation);
    -
    - return Status.OK_STATUS;
    - }
    -
    - public boolean getServiceIdsFixed()
    - {
    - return true;
    - }
    -
    - public boolean getClientIdsFixed()
    - {
    - return true;
    - }
    -
    - public boolean getStartService()
    - {
    - return false;
    - }
    -
    - public boolean getInstallService()
    - {
    - return false;
    - }
    -
    - public boolean getDeployService()
    - {
    - return true;
    - }
    -
    - public boolean getDeployClient()
    - {
    - return true;
    - }
    -
    - public boolean getRendererValidation()
    - {
    - return rendererValidation;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntRestoringCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntRestoringCommand.java
    deleted file mode 100644
    index 5c7390239..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/AntRestoringCommand.java
    +++ /dev/null
    @@ -1,39 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20061011 159283 makandre@ca.ibm.com - Andrew Mak, project not associated to EAR when using ant on command-line
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.command;
    -
    -import org.eclipse.core.commands.ExecutionException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.common.internal.emf.resource.RendererFactory;
    -
    -public class AntRestoringCommand extends AbstractDataModelOperation{
    -
    - private boolean rendererValidation;
    -
    - public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
    -
    - RendererFactory.getDefaultRendererFactory().setValidating(rendererValidation);
    -
    - return Status.OK_STATUS;
    - }
    -
    - public void setRendererValidation(boolean rendererValidation)
    - {
    - this.rendererValidation = rendererValidation;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/CheckForServiceProjectCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/CheckForServiceProjectCommand.java
    deleted file mode 100644
    index 1b4d032cc..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/CheckForServiceProjectCommand.java
    +++ /dev/null
    @@ -1,94 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.command;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.ValidationUtils;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.environment.StatusException;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -
    -
    -/**
    - * This command checks to see if the selected client project is the
    - * service project. If so, the user is warned.
    - */
    -public class CheckForServiceProjectCommand extends AbstractDataModelOperation
    -{
    - //SelectionListChoices runtime2ClientTypes;
    - String clientProjectName;
    - String wsdlURI;
    - WebServicesParser webServicesParser;
    -
    - public CheckForServiceProjectCommand()
    - {
    - }
    -
    -
    - public void setClientProjectName(String name)
    - {
    - clientProjectName = name;
    - }
    -
    - public void setWsdlURI(String wsdlURI)
    - {
    - this.wsdlURI = wsdlURI;
    - }
    -
    - public void setWebServicesParser(WebServicesParser webServicesParser)
    - {
    - this.webServicesParser = webServicesParser;
    - }
    -
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.core.Command#execute(org.eclipse.wst.command.internal.env.core.common.Environment)
    - */
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment environment = getEnvironment();
    - IStatus status = Status.OK_STATUS;
    - if (clientProjectName==null || wsdlURI==null || wsdlURI.length()==0 || webServicesParser==null)
    - return status;
    -
    - if (clientProjectName==null || clientProjectName.length()==0)
    - return status;
    -
    - IProject clientProject = ProjectUtilities.getProject(clientProjectName);
    - ValidationUtils vu = new ValidationUtils();
    - boolean isServiceProject = vu.isProjectServiceProject(clientProject, wsdlURI, webServicesParser);
    - if (isServiceProject)
    - {
    - IStatus wStatus = StatusUtils.warningStatus( NLS.bind(ConsumptionUIMessages.MSG_WARN_IS_SERVICE_PROJECT, new String[]{clientProjectName}) );
    - try
    - {
    - environment.getStatusHandler().report(wStatus);
    - }
    - catch (StatusException se)
    - {
    - //User decided to abort. Return an error status
    - IStatus eStatus = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_USER_ABORTED );
    - return eStatus;
    - }
    - }
    -
    - return status;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/GenerateHandlerSkeletonCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/GenerateHandlerSkeletonCommand.java
    deleted file mode 100644
    index e4abdc6a8..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/GenerateHandlerSkeletonCommand.java
    +++ /dev/null
    @@ -1,304 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060517 142027 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.command;
    -
    -import java.io.BufferedWriter;
    -import java.io.IOException;
    -import java.io.OutputStream;
    -import java.io.OutputStreamWriter;
    -import java.util.ArrayList;
    -import java.util.Enumeration;
    -import java.util.Hashtable;
    -import java.util.List;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.MultiStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerDescriptionHolder;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerServiceRefHolder;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.ui.eclipse.EnvironmentUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -
    -
    -public class GenerateHandlerSkeletonCommand extends AbstractDataModelOperation
    -{
    - private IPath outputLocation_;
    - private boolean genSkeleton_;
    - private String handlerNameForEdit_ = null;
    -
    - private HandlerServiceRefHolder[] handlerServiceRefHolder_;
    - private HandlerDescriptionHolder[]handlerDescriptionHolder_;
    -
    - public GenerateHandlerSkeletonCommand()
    - {
    - }
    -
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    -
    - IStatus returnStatus = Status.OK_STATUS;
    -
    - if (!genSkeleton_) return returnStatus;
    -
    - // form the map of classname to locations
    - if (handlerDescriptionHolder_!=null){
    - for (int i=0;i<handlerDescriptionHolder_.length;i++){
    - Hashtable handlerTable = new Hashtable();
    - IPath outPath = handlerDescriptionHolder_[i].getSourceOutputPath();
    - List handlers = handlerDescriptionHolder_[i].getHandlerList();
    - for (int j=0;j<handlers.size();j++){
    - HandlerTableItem hti = (HandlerTableItem)handlers.get(j);
    - String className = hti.getHandlerClassName();
    - if (className!=null && outPath!=null)
    - handlerTable.put(className, outPath);
    - }
    - returnStatus = genHandlersClasses(handlerTable, monitor);
    - }
    -
    - }
    - else {
    - for (int i=0;i<handlerServiceRefHolder_.length;i++){
    - Hashtable handlerTable = new Hashtable();
    - IPath outPath = handlerServiceRefHolder_[i].getSourceOutputPath();
    - List handlers = handlerServiceRefHolder_[i].getHandlerList();
    - for (int j=0;j<handlers.size();j++){
    - HandlerTableItem hti = (HandlerTableItem)handlers.get(j);
    - String className = hti.getHandlerClassName();
    - if (className!=null && outPath!=null)
    - handlerTable.put(className, outPath);
    - }
    - returnStatus = genHandlersClasses(handlerTable, monitor);
    - }
    - }
    -
    -
    - return returnStatus;
    -
    - }
    -
    - private IStatus genHandlersClasses(Hashtable handlersForGen, IProgressMonitor monitor){
    - IEnvironment env = getEnvironment();
    - MultiStatus status = null;
    - IStatus returnStatus = Status.OK_STATUS;
    - boolean error = false;
    -
    - IStatus writeStatus;
    - Enumeration keys = handlersForGen.keys();
    - while (keys.hasMoreElements()) {
    - String className = (String)keys.nextElement();
    - writeStatus = writeFile(env, className, (IPath)handlersForGen.get(className), monitor );
    - // handle status return
    - if (writeStatus.getSeverity() == Status.ERROR) { // write status is OK or ERROR
    - error = true;
    - if (status == null) {
    - status = StatusUtils.multiStatus( ConsumptionUIMessages.MSG_ERROR_GENERATE_HANDLER_SKELETON, new IStatus[0] );
    - }
    - status.add(writeStatus);
    - }
    - }
    -
    - if (error)
    - {
    - env.getStatusHandler().reportError(status);
    - returnStatus = status;
    - }
    -
    - return returnStatus;
    -
    - }
    -
    -
    - private IStatus writeFile (IEnvironment env, String className, IPath outputLocation, IProgressMonitor monitor )
    - {
    - IStatus status = Status.OK_STATUS;
    - int index;
    -
    - String simpleClassName = className;
    - String packageName = null;
    - IPath filePath = outputLocation;
    - if (className != null) {
    - index = className.lastIndexOf('.');
    - if (index != -1) {
    - simpleClassName = className.substring(index + 1);
    - packageName = className.substring(0, index);
    -
    - String packageSegment = packageName;
    - int j = 0;
    - j = packageSegment.indexOf('.');
    - while (j != -1) {
    - filePath = filePath.append(packageSegment.substring(0, j));
    - packageSegment = packageSegment.substring(j + 1);
    - j = packageSegment.indexOf('.');
    - }
    - filePath = filePath.append(packageSegment);
    - }
    - else {
    - packageName = "";
    - }
    - }
    -
    - filePath = filePath.append(simpleClassName);
    -
    - filePath = filePath.addFileExtension("java");
    -
    - // check if Handler already exists; do not overwrite existing Handlers
    - IResource workspaceRes = ResourceUtils.findResource(filePath);
    - if (workspaceRes!=null && workspaceRes.exists()) {
    - return status;
    - }
    -
    - if (handlerNameForEdit_ == null){
    - handlerNameForEdit_ = className;
    - outputLocation_ = outputLocation;
    - }
    -
    - OutputStream outputStream = FileResourceUtils.newFileOutputStream( EnvironmentUtils.getResourceContext(env), filePath, monitor, env.getStatusHandler());
    - // create buffered writer for writing file
    - BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(outputStream));
    - try {
    - if (packageName.length() != 0) {
    - bw.write("package " +packageName+";");
    - bw.newLine();
    - bw.newLine();
    - }
    - bw.write("import javax.xml.rpc.handler.GenericHandler;");
    - bw.newLine();
    - bw.write("import javax.xml.rpc.handler.MessageContext;");
    - bw.newLine();
    - bw.write("import javax.xml.namespace.QName;");
    - bw.newLine();
    - bw.newLine();
    -
    - bw.write("public class "+simpleClassName+" extends GenericHandler");
    - bw.newLine();
    - bw.write("{");
    - bw.newLine();
    - bw.newLine();
    -
    - bw.write(" public QName[] getHeaders ()");
    - bw.newLine();
    - bw.write(" {");
    - bw.newLine();
    - bw.write(" // Fill in method body");
    - bw.newLine();
    - bw.write(" return null;");
    - bw.newLine();
    - bw.write(" }");
    - bw.newLine();
    - bw.newLine();
    - bw.write(" public boolean handleRequest( MessageContext context )");
    - bw.newLine();
    - bw.write(" {");
    - bw.newLine();
    - bw.write(" // Fill in method body or delete method to use GenericHandler");
    - bw.newLine();
    - bw.write(" return true;");
    - bw.newLine();
    - bw.write(" }");
    - bw.newLine();
    - bw.newLine();
    - bw.write(" public boolean handleResponse( MessageContext context )");
    - bw.newLine();
    - bw.write(" {");
    - bw.newLine();
    - bw.write(" // Fill in method body or delete method to use GenericHandler ");
    - bw.newLine();
    - bw.write(" return true;");
    - bw.newLine();
    - bw.write(" }");
    - bw.newLine();
    - bw.newLine();
    - bw.write(" public boolean handleFault( MessageContext context )");
    - bw.newLine();
    - bw.write(" {");
    - bw.newLine();
    - bw.write(" // Fill in method body or delete method to use GenericHandler");
    - bw.newLine();
    - bw.write(" return true;");
    - bw.newLine();
    - bw.write(" }");
    - bw.newLine();
    -
    - bw.newLine();
    - bw.write("}");
    - bw.close();
    - status = Status.OK_STATUS;
    - }
    - catch (IOException e)
    - {
    - status = StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_ERROR_WRITE_FILE, new String[]{ className }), e );
    - if (bw != null) {
    - try {
    - bw.close();
    - } catch (IOException e1) {
    - }
    - }
    - }
    - return status;
    - }
    -
    - public void setGenSkeletonEnabled(boolean genSkeleton)
    - {
    - this.genSkeleton_ = genSkeleton;
    - }
    -
    - public IProject getProject(){
    - IProject project = null;
    - if (outputLocation_!=null){
    - project = ResourceUtils.getProjectOf(outputLocation_);
    - }
    - return project;
    - }
    -
    - public List getClassNames(){
    - List classes = new ArrayList();
    - if (handlerNameForEdit_!=null){
    - classes.add(handlerNameForEdit_);
    - }
    - return classes;
    - }
    -
    - /**
    - * An array of HandlerDescriptionHolders
    - * @return
    - */
    - public void setHandlerServiceRefHolder(HandlerServiceRefHolder[] handlerHolders){
    - this.handlerServiceRefHolder_ = handlerHolders;
    - }
    -
    - /**
    - * An array of HandlerDescriptionHolders
    - * @return
    - */
    - public void setHandlerDescriptionHolders(HandlerDescriptionHolder[] handlerHolders){
    - this.handlerDescriptionHolder_ = handlerHolders;
    - }
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/ListOptionsCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/ListOptionsCommand.java
    deleted file mode 100644
    index d51a7c21f..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/ListOptionsCommand.java
    +++ /dev/null
    @@ -1,122 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.command;
    -
    -import java.util.Iterator;
    -import java.util.Vector;
    -
    -import org.eclipse.core.commands.ExecutionException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IServerType;
    -import org.eclipse.wst.server.core.ServerCore;
    -
    -/**
    - * Command lists valid property values where requested.
    - * Requests made via a Ant property value setting which is mapped to this command in the plugin.xml
    - */
    -
    -public class ListOptionsCommand extends AbstractDataModelOperation {
    -
    - private boolean runtimes_ = false;
    - private boolean servers_ = false;
    -
    - public IStatus execute(IProgressMonitor monitor, IAdaptable info)
    - throws ExecutionException {
    -
    - if (runtimes_)
    - {
    - String[] typeIds = WebServiceRuntimeExtensionUtils2.getServiceTypeLabels().getIds_();
    - Vector runtimeIds = new Vector();
    - for (int k = 0; k < typeIds.length; k++) {
    -
    - String typeId = typeIds[k];
    - String[] runtimes = WebServiceRuntimeExtensionUtils2.getRuntimesByServiceType(typeId);
    -
    - for (int j = 0; j < runtimes.length; j++) {
    - String runtime = runtimes[j];
    - if (!runtimeIds.contains(runtime))
    - {
    - runtimeIds.add(runtime);
    - }
    - }
    - }
    -
    - Status statusObj = new Status(IStatus.INFO,
    - WebServiceConsumptionUIPlugin.ID,
    - IStatus.OK,
    - ConsumptionUIMessages.MSG_INFO_ANT_RUNTIME_HEADING,
    - null);
    - getEnvironment().getStatusHandler().reportInfo(statusObj);
    -
    -
    - for (Iterator iterator = runtimeIds.iterator(); iterator
    - .hasNext();) {
    - getEnvironment().getStatusHandler().reportInfo(new Status(IStatus.INFO,
    - WebServiceConsumptionUIPlugin.ID,
    - IStatus.OK,
    - NLS.bind(ConsumptionUIMessages.MSG_INFO_ANT_SERVER_RUNTIME,
    - iterator.next()), null));
    - }
    -
    -
    - String[] clientRuntimes = WebServiceRuntimeExtensionUtils2.getAllRuntimesForClientSide();
    -
    - for (int i = 0; i < clientRuntimes.length; i++) {
    -
    - getEnvironment().getStatusHandler().reportInfo(new Status(IStatus.INFO,
    - WebServiceConsumptionUIPlugin.ID,
    - IStatus.OK,
    - NLS.bind(ConsumptionUIMessages.MSG_INFO_ANT_CLIENT_RUNTIME,
    - clientRuntimes[i]), null));
    - }
    - }
    -
    - if (servers_)
    - {
    - getEnvironment().getStatusHandler().reportInfo(new Status(IStatus.INFO,
    - WebServiceConsumptionUIPlugin.ID,
    - IStatus.OK,
    - ConsumptionUIMessages.MSG_INFO_ANT_SERVER_HEADING, null));
    -
    - IServerType[] serverTypes = ServerCore.getServerTypes();
    - for (int i=0; i<serverTypes.length; i++)
    - {
    - getEnvironment().getStatusHandler().reportInfo(new Status(IStatus.INFO,
    - WebServiceConsumptionUIPlugin.ID,
    - IStatus.OK,
    - NLS.bind(ConsumptionUIMessages.MSG_INFO_ANT_SERVER,
    - serverTypes[i].getId()), null));
    -
    - }
    - }
    -
    - return OK_STATUS;
    - }
    -
    - public void setListRuntimes(boolean value)
    - {
    - runtimes_=value;
    - }
    -
    - public void setListServers(boolean value)
    - {
    - servers_=value;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/OpenJavaEditorCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/OpenJavaEditorCommand.java
    deleted file mode 100644
    index 53bedd530..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/OpenJavaEditorCommand.java
    +++ /dev/null
    @@ -1,110 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004,2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.command;
    -
    -import java.util.Iterator;
    -import java.util.List;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.core.runtime.jobs.Job;
    -import org.eclipse.jdt.core.IJavaProject;
    -import org.eclipse.jdt.core.IType;
    -import org.eclipse.jdt.core.JavaCore;
    -import org.eclipse.jdt.ui.JavaUI;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.ui.progress.UIJob;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -
    -public class OpenJavaEditorCommand extends AbstractDataModelOperation
    -{
    - private List classNames;
    - private IProject project;
    - private boolean isEnabled_ = true; // is true by default
    -
    - public OpenJavaEditorCommand()
    - {
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - if (isEnabled_) {
    - OpenJavaEditorJob job = new OpenJavaEditorJob(classNames, project);
    - job.setPriority(Job.LONG);
    - job.schedule();
    - }
    - return Status.OK_STATUS;
    - }
    -
    - public void setClassNames(List classNames)
    - {
    - this.classNames = classNames;
    - }
    -
    - public void setProject(IProject project)
    - {
    - this.project = project;
    - }
    -
    - public void setIsEnabled(boolean isEnabled){
    - this.isEnabled_ = isEnabled;
    - }
    -
    - private class OpenJavaEditorJob extends UIJob
    - {
    - private List classNames;
    - private IProject project;
    -
    - public OpenJavaEditorJob(List classNames, IProject project)
    - {
    - super("org.eclipse.jst.ws.internal.consumption.ui.command.OpenJavaEditorJob");
    - this.classNames = classNames;
    - this.project = project;
    - }
    -
    - public IStatus runInUIThread(IProgressMonitor monitor)
    - {
    - if (project != null && classNames != null)
    - {
    - IJavaProject javaProject = JavaCore.create(project);
    - for (Iterator it = classNames.iterator(); it.hasNext();)
    - {
    - String className = (String)it.next();
    - try
    - {
    - IType type = javaProject.findType(className);
    - JavaUI.openInEditor(type);
    - }
    - catch (Throwable t)
    - {
    - return new org.eclipse.core.runtime.Status(org.eclipse.core.runtime.Status.ERROR, WebServiceConsumptionUIPlugin.ID, 0, NLS.bind(ConsumptionUIMessages.MSG_ERROR_UNABLE_TO_OPEN_JAVA_EDITOR, new String[]{className, project.getName()}), t);
    - }
    - }
    - return Status.OK_STATUS;
    - }
    - else if (project!=null || classNames.isEmpty()){
    - // do nothing ; nothing to open
    - return Status.OK_STATUS;
    - }
    - else
    - return new org.eclipse.core.runtime.Status(org.eclipse.core.runtime.Status.ERROR, WebServiceConsumptionUIPlugin.ID, 0, NLS.bind(ConsumptionUIMessages.MSG_ERROR_UNABLE_TO_OPEN_JAVA_EDITOR, new String[]{classNames != null ? classNames.toString() : "", project != null ? project.getName() : ""}), null);
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/PublishProjectCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/PublishProjectCommand.java
    deleted file mode 100644
    index 1336782f3..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/PublishProjectCommand.java
    +++ /dev/null
    @@ -1,143 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.command;
    -
    -import java.lang.reflect.InvocationTargetException;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jface.operation.IRunnableWithProgress;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.common.ServerUtils;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.environment.ILog;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.internal.Server;
    -
    -public class PublishProjectCommand extends AbstractDataModelOperation
    -{
    -
    -
    -private String project;
    -private String serverTypeID;
    -private IServer existingServer;
    -
    -
    -/**
    - * Default CTOR;
    - */
    -public PublishProjectCommand() {
    -}
    -
    -/**
    - * Execute the command
    - */
    -public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    -{
    - IEnvironment env = getEnvironment();
    -
    - IStatus status = Status.OK_STATUS;
    - try
    - {
    - ProgressUtils.report( monitor, ConsumptionMessages.PROGRESS_INFO_PUBLISH_WEB_PROJECT );
    -
    - if (project == null){
    - status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_PROJECT_NOT_FOUND );
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    -
    - IProject iProject = (IProject)ResourceUtils.findResource(project);
    - IServer instance = ServerUtils.getServerForModule(ServerUtils.getModule(iProject), serverTypeID, existingServer, true, monitor);
    - if (instance == null)
    - {
    - status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_INSTANCE_NOT_FOUND);
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    -
    - if (((Server)instance).shouldPublish()) {
    - IStatus returnedStatus = publish(instance,IServer.PUBLISH_INCREMENTAL, monitor);
    - status = returnedStatus;
    -
    - //getStatusMonitor().reportStatus (instance.publish(getProgressMonitor()));
    - env.getLog().log(ILog.OK, 5026, this, "execute", new String("project="+project+" successfully published"));
    - //ILog.write(PublishProjectCommand.class,"execute",ILog.OK,"project="+project+" successfully published");
    - }
    - return status;
    - }
    - catch (Exception e) {
    - status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_PUBLISH, e);
    - env.getStatusHandler().reportError(status);
    - return status;
    -
    - }
    -}
    -
    -private IStatus publish(final IServer server, final int kind, IProgressMonitor monitor )
    -{
    - final IStatus[] istatus = new IStatus[1];
    - istatus[0] = Status.OK_STATUS;
    - monitor.subTask(ConsumptionMessages.PROGRESS_INFO_PUBLISHING_SERVER);
    -
    - IRunnableWithProgress runnable = new IRunnableWithProgress()
    - {
    - public void run(IProgressMonitor shellMonitor) throws InvocationTargetException, InterruptedException
    - {
    - istatus[0] = server.publish(kind, shellMonitor);
    - }
    - };
    -
    - try
    - {
    - PlatformUI.getWorkbench().getProgressService().run(true,false,runnable);
    - }
    - catch(InvocationTargetException ite)
    - {
    - istatus[0] = new org.eclipse.core.runtime.Status( IStatus.ERROR, "id", 0, ite.getMessage(), ite );
    - ite.printStackTrace();
    - }
    - catch(InterruptedException ie)
    - {
    - istatus[0] = new org.eclipse.core.runtime.Status( IStatus.ERROR, "id", 0, ie.getMessage(), ie );
    - ie.printStackTrace();
    - }
    -
    - return istatus[0];
    -}
    -
    -public void setProject(String project)
    -{
    - this.project = project;
    -}
    -
    -public void setServerTypeID(String serverTypeID)
    -{
    - this.serverTypeID = serverTypeID;
    -}
    -
    -public void setExistingServer(IServer existingServer)
    -{
    - this.existingServer = existingServer;
    -}
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/StartServerCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/StartServerCommand.java
    deleted file mode 100644
    index 1a42b5348..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/StartServerCommand.java
    +++ /dev/null
    @@ -1,204 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.command;
    -
    -import java.lang.reflect.InvocationTargetException;
    -
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.debug.core.ILaunchManager;
    -import org.eclipse.jface.operation.IRunnableWithProgress;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.EnvironmentService;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.environment.ILog;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.ServerCore;
    -import org.eclipse.wst.server.core.internal.Server;
    -
    -/**
    - * (Re)Starts and publishes the server specifed by the serverInstanceId attribute.
    - *
    - *
    - */
    -public class StartServerCommand extends AbstractDataModelOperation
    -{
    - private ILog log;
    - private boolean doAsyncPublish_;
    -
    - private String serverInstanceId;
    -
    -
    - public StartServerCommand()
    - {
    - log = EnvironmentService.getEclipseLog();
    - doAsyncPublish_ = true;
    - }
    -
    - public StartServerCommand( boolean doAsyncPublish )
    - {
    - this();
    -
    - doAsyncPublish_ = doAsyncPublish;
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    - IStatus status = Status.OK_STATUS;
    -
    - IServer server = ServerCore.findServer(serverInstanceId);
    - if (server == null)
    - {
    - status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_INSTANCE_NOT_FOUND);
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    -
    - int serverState = server.getServerState();
    -
    - // Publish if required
    - if (((Server)server).shouldPublish()) {
    - if (server.canPublish().getSeverity() == IStatus.OK)
    - {
    - status = publish(server, IServer.PUBLISH_INCREMENTAL, monitor );
    - if (status.getSeverity() == Status.ERROR)
    - {
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    - }
    - }
    -
    - // start/restart server if required
    -
    - switch (serverState)
    - {
    - case IServer.STATE_STOPPED:
    - if (server.canStart(ILaunchManager.RUN_MODE).getSeverity()==IStatus.OK)
    - {
    - status = start(server, monitor );
    - if (status.getSeverity() == Status.ERROR)
    - {
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    - }
    - break;
    - case IServer.STATE_STARTED:
    - boolean shouldRestart = ((Server)server).shouldRestart();
    -
    - if (shouldRestart && server.canRestart(ILaunchManager.RUN_MODE).getSeverity()==IStatus.OK)
    - {
    - status = restart(server, monitor );
    - if (status.getSeverity() == Status.ERROR)
    - {
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    - }
    - }
    -
    - return status;
    - }
    -
    - private IStatus publish(final IServer server, final int kind, IProgressMonitor monitor )
    - {
    - IStatus status = Status.OK_STATUS;
    - final IStatus[] istatus = new IStatus[1];
    - monitor.subTask(ConsumptionMessages.PROGRESS_INFO_PUBLISHING_SERVER);
    - IRunnableWithProgress runnable = new IRunnableWithProgress()
    - {
    - public void run(IProgressMonitor shellMonitor) throws InvocationTargetException, InterruptedException
    - {
    - istatus[0] = server.publish(kind, shellMonitor);
    - }
    - };
    -
    - try
    - {
    - if( doAsyncPublish_ )
    - {
    - PlatformUI.getWorkbench().getProgressService().run(true,false,runnable);
    - }
    - else
    - {
    - runnable.run( monitor );
    - }
    -
    - }
    - catch(InvocationTargetException ite)
    - {
    - istatus[0] = new org.eclipse.core.runtime.Status( IStatus.ERROR, "id", 0, ite.getMessage(), ite );
    - ite.printStackTrace();
    - }
    - catch(InterruptedException ie)
    - {
    - istatus[0] = new org.eclipse.core.runtime.Status( IStatus.ERROR, "id", 0, ie.getMessage(), ie );
    - ie.printStackTrace();
    - }
    -
    -
    - if (istatus[0].getSeverity() != IStatus.OK)
    - {
    - status = istatus[0];
    - return status;
    - }
    -
    - log.log(ILog.INFO, 5051, this, "publishProject", "IServer=" + server + ", Publish command completed");
    - return status;
    - }
    -
    - private IStatus restart(IServer server, IProgressMonitor monitor )
    - {
    - IStatus status = Status.OK_STATUS;
    - try
    - {
    - monitor.subTask(ConsumptionMessages.PROGRESS_INFO_STARTING_SERVER);
    - server.synchronousRestart(ILaunchManager.RUN_MODE, monitor);
    - log.log(ILog.INFO, 5052, this, "execute", "IServer=" + server + ", Restart command completed");
    - return status;
    - } catch (CoreException e)
    - {
    - status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_SERVER, e);
    - return status;
    - }
    -
    - }
    -
    - private IStatus start(IServer server, IProgressMonitor monitor )
    - {
    - IStatus status = Status.OK_STATUS;
    - try
    - {
    - monitor.subTask(ConsumptionMessages.PROGRESS_INFO_STARTING_SERVER);
    - server.synchronousStart(ILaunchManager.RUN_MODE, monitor);
    - log.log(ILog.INFO, 5053, this, "execute", "IServer=" + server + ", Start command completed");
    - return status;
    - } catch (CoreException e)
    - {
    - status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_SERVER, e);
    - return status;
    - }
    - }
    -
    - public void setServerInstanceId(String serverInstanceId)
    - {
    - this.serverInstanceId = serverInstanceId;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/WSINonCompliantRuntimeCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/WSINonCompliantRuntimeCommand.java
    deleted file mode 100644
    index 507cdad38..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/WSINonCompliantRuntimeCommand.java
    +++ /dev/null
    @@ -1,87 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2003, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060420 120714 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.command;
    -
    -import java.util.Vector;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.WstWSPluginMessages;
    -import org.eclipse.wst.ws.internal.plugin.WSPlugin;
    -import org.eclipse.wst.ws.internal.preferences.PersistentWSIAPContext;
    -import org.eclipse.wst.ws.internal.preferences.PersistentWSISSBPContext;
    -import org.eclipse.wst.ws.internal.preferences.WSIComplianceUtils;
    -
    -
    -
    -public class WSINonCompliantRuntimeCommand extends AbstractDataModelOperation
    -{
    -
    - private IProject serviceProject_;
    -
    - public WSINonCompliantRuntimeCommand()
    - {
    - }
    -
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment environment = getEnvironment();
    -
    - PersistentWSISSBPContext wsiSSBPContext = WSPlugin.getInstance().getWSISSBPContext();
    - PersistentWSIAPContext wsiAPContext = WSPlugin.getInstance().getWSIAPContext();
    - Vector statusSSBP = new Vector();
    - statusSSBP.add( new Status( WSIComplianceUtils.getWSISeverity(serviceProject_, wsiSSBPContext), "id", 0,
    - WstWSPluginMessages.WSI_SSBP_INCOMPLIANT_RUNTIME, null ) );
    - Status[] statusesSSBP = (Status[]) statusSSBP.toArray(new Status[statusSSBP.size()]);
    -
    - Vector statusAP = new Vector();
    - statusAP.add( new Status( WSIComplianceUtils.getWSISeverity(serviceProject_, wsiAPContext), "id", 0,
    - WstWSPluginMessages.WSI_AP_INCOMPLIANT_RUNTIME, null ));
    - Status[] statusesAP = (Status[]) statusAP.toArray(new Status[statusAP.size()]);
    -
    - if (WSIComplianceUtils.checkWSICompliance (environment.getStatusHandler(), statusesAP, serviceProject_, wsiAPContext))
    - {
    - if (WSIComplianceUtils.checkWSICompliance (environment.getStatusHandler(), statusesSSBP, serviceProject_, wsiSSBPContext))
    - {
    - return Status.OK_STATUS;
    - }
    - else
    - {
    - // Set message to empty string so that an error dialog does
    - // not pop-up telling the user that they cannot continue
    - // because they choose not to ignore the WS-I non-compliance warning.
    - return StatusUtils.errorStatus( "" );
    - }
    - }
    - else
    - {
    - // Set message to empty string so that an error dialog does
    - // not pop-up telling the user that they cannot continue
    - // because they choose not to ignore the WS-I non-compliance warning.
    - return StatusUtils.errorStatus( "" );
    - }
    - }
    -
    - public void setServiceProject(IProject serviceProject) {
    - this.serviceProject_ = serviceProject;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/EclipseIPath2URLStringTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/EclipseIPath2URLStringTransformer.java
    deleted file mode 100644
    index 8387d2e62..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/EclipseIPath2URLStringTransformer.java
    +++ /dev/null
    @@ -1,40 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.command.data;
    -
    -import java.net.MalformedURLException;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.wst.command.internal.env.core.data.Transformer;
    -
    -
    -public class EclipseIPath2URLStringTransformer implements Transformer
    -{
    - public Object transform(Object value)
    - {
    - String s = value.toString();
    - if (s.indexOf(":") < 0)
    - {
    - IResource res = ResourcesPlugin.getWorkspace().getRoot().findMember(value.toString());
    - if (res.exists())
    - {
    - try
    - {
    - s = res.getLocation().toFile().toURL().toString();
    - }
    - catch (MalformedURLException murle)
    - {
    - }
    - }
    - }
    - return s;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ProjectName2IProjectTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ProjectName2IProjectTransformer.java
    deleted file mode 100644
    index ac65f4176..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ProjectName2IProjectTransformer.java
    +++ /dev/null
    @@ -1,40 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060221 124302 rsinha@ca.ibm.com - Rupam Kuehner
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.command.data;
    -
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.wst.command.internal.env.core.data.Transformer;
    -
    -public class ProjectName2IProjectTransformer implements Transformer
    -{
    - public Object transform(Object value)
    - {
    - if (value != null)
    - {
    - String project = (String) value;
    - int slashIndex = project.indexOf('/');
    - String projectName = project;
    -
    - if (slashIndex != -1)
    - {
    - projectName = project.substring(0, slashIndex);
    - }
    -
    - return ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
    - } else
    - {
    - return null;
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerInstToIServerTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerInstToIServerTransformer.java
    deleted file mode 100644
    index 3ba0cd072..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerInstToIServerTransformer.java
    +++ /dev/null
    @@ -1,38 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -/*
    - * Created on Apr 20, 2004
    - */
    -package org.eclipse.jst.ws.internal.consumption.ui.command.data;
    -
    -import org.eclipse.wst.command.internal.env.core.data.Transformer;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.ServerCore;
    -
    -/*
    - * Transforms a server instance id to an IServer
    - */
    -public class ServerInstToIServerTransformer implements Transformer {
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.internal.env.core.data.Transformer#transform(java.lang.Object)
    - */
    - public Object transform(Object value) {
    -
    - String existingServerInstId = (String)value;
    - IServer serverInst = null;
    - if (existingServerInstId != null) {
    - serverInst = ServerCore.findServer(existingServerInstId);
    - }
    - return serverInst;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerName2IServerTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerName2IServerTransformer.java
    deleted file mode 100644
    index e1160c50a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/command/data/ServerName2IServerTransformer.java
    +++ /dev/null
    @@ -1,36 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.command.data;
    -
    -import org.eclipse.wst.command.internal.env.core.data.Transformer;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.ServerCore;
    -
    -public class ServerName2IServerTransformer implements Transformer
    -{
    - public Object transform(Object value)
    - {
    - {
    - String serverName = value.toString();
    - IServer[] servers = ServerCore.getServers();
    - if (servers != null && servers.length!=0)
    - {
    - for (int i = 0; i < servers.length; i++)
    - {
    - IServer server = (IServer)servers[i];
    - if ((server.getName()).equals(serverName))
    - return server;
    - }
    - }
    - }
    - return null;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/DefaultingUtils.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/DefaultingUtils.java
    deleted file mode 100644
    index ec3795d4b..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/DefaultingUtils.java
    +++ /dev/null
    @@ -1,83 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060427 138058 joan@ca.ibm.com - Joan Haggarty
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.common;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
    -
    -public class DefaultingUtils {
    -
    - public DefaultingUtils()
    - {
    -
    - }
    -
    - /**
    - *
    - * Uses the following steps to determine a valid default EAR project name:
    - *
    - * 1. If project does exist:
    - * a - look for an existing, referencing EAR component, if one exists return that EAR name
    - * b - look for an existing EAR component with the same J2EE version as the project
    - * 2. If can't find an appropriate existing EAR component or project does not exist in the
    - * workspace, return a new EAR name of form projectNameEAR
    - * 3. If project name is null or an empty string return the default EAR name
    - *
    - * @param projectName a string representing the name of the project for the service
    - * @return a string to be used as the default EAR project name for the project name provided
    - */
    - public static String getDefaultEARProjectName(String projectName)
    - {
    -
    - if (projectName != null && projectName.length() > 0) {
    -
    - IProject proj = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
    -
    - if (proj.exists()) {
    -
    - //Step 1a - return a referencing EAR project
    - IVirtualComponent[] ears = J2EEUtils.getReferencingEARComponents(proj);
    - if (ears != null && ears.length > 0) {
    - return ears[0].getName();
    - }
    -
    - //Step 1b - return an appropriate existing EAR project
    - IVirtualComponent[] allEarComps = J2EEUtils.getAllEARComponents();
    -
    - if (allEarComps.length > 0)
    - {
    - for (int i=0; i < allEarComps.length; i++)
    - {
    - IProject earProject = allEarComps[i].getProject();
    - IStatus associationStatus = J2EEUtils.canAssociateProjectToEAR(proj, earProject);
    - if (associationStatus.getSeverity()==IStatus.OK)
    - {
    - return allEarComps[i].getName();
    - }
    - }
    - }
    - }
    -
    - //Step 2 - return project name with EAR on the end
    - return projectName + ResourceUtils.getDefaultEARExtension();
    - }
    -
    - //Step 3 - return the default EAR project name
    - return ResourceUtils.getDefaultServiceEARProjectName();
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/FinishFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/FinishFragment.java
    deleted file mode 100644
    index a603ed932..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/FinishFragment.java
    +++ /dev/null
    @@ -1,35 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -/*
    - * Created on May 4, 2004
    - *
    - * TODO To change the template for this generated file go to
    - * Window - Preferences - Java - Code Style - Code Templates
    - */
    -package org.eclipse.jst.ws.internal.consumption.ui.common;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.FinishTestFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -
    -
    -/**
    - * @author gilberta
    - *
    - * TODO To change the template for this generated type comment go to
    - * Window - Preferences - Java - Code Style - Code Templates
    - */
    -public class FinishFragment extends SequenceFragment
    -{
    - public FinishFragment()
    - {
    - add(new FinishTestFragment() );
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHelper.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHelper.java
    deleted file mode 100644
    index de63bbbec..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHelper.java
    +++ /dev/null
    @@ -1,67 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - * -------- -------- -----------------------------------------------------------
    - */
    -package org.eclipse.jst.ws.internal.consumption.ui.common;
    -
    -import java.util.List;
    -import java.util.Vector;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
    -
    -
    -
    -public class HandlerDescriptionHelper {
    -
    - /**
    - * Helper method for getting the HandlerDescriptorHolder given the name
    - * @param hdhs
    - * @param descName
    - * @return
    - */
    - public static HandlerDescriptionHolder getForDescriptionName(HandlerDescriptionHolder[] hdhs, String descName){
    - for (int i=0;i<hdhs.length;i++){
    - String name = hdhs[i].getDescriptionName();
    - if (name!=null && name.equals(descName)){
    - return hdhs[i];
    - }
    - }
    - return null;
    - }
    -
    - /**
    - * Helper method for getting all description names
    - * @param hdhs
    - * @return
    - */
    - public static String[] getAllDescriptionNames(HandlerDescriptionHolder[] hdhs){
    - String[] names = new String[hdhs.length];
    - for(int i=0;i<hdhs.length;i++){
    - names[i]=hdhs[i].getDescriptionName();
    - }
    - return names;
    - }
    -
    - public static String[] getAllHandlerClassNames(HandlerDescriptionHolder[] hdhs){
    - Vector v = new Vector();
    - for (int i=0;i<hdhs.length;i++){
    - List list = hdhs[i].getHandlerList();
    - if (list!=null && !list.isEmpty()){
    - for (int j=0;j<list.size();j++){
    - HandlerTableItem hti = (HandlerTableItem)list.get(j);
    - v.add(hti.getHandlerClassName());
    - }
    - }
    - }
    - return (String[])v.toArray(new String[0]);
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHolder.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHolder.java
    deleted file mode 100644
    index 00cbadde2..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerDescriptionHolder.java
    +++ /dev/null
    @@ -1,137 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060518 142554 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.common;
    -
    -import java.util.List;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.j2ee.webservice.wsdd.Handler;
    -import org.eclipse.jst.j2ee.webservice.wsdd.PortComponent;
    -import org.eclipse.jst.j2ee.webservice.wsdd.WebServiceDescription;
    -import org.eclipse.jst.j2ee.webservice.wsdd.WsddFactory;
    -import org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.WsddFactoryImpl;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
    -
    -
    -public class HandlerDescriptionHolder {
    -
    - private String descriptionName;
    - private List handlerList;
    - private WebServiceDescription descriptionObject;
    - private IPath sourceOutputPath;
    -
    -
    - public IPath getSourceOutputPath() {
    - return sourceOutputPath;
    - }
    -
    - public void setSourceOutputPath(IPath sourceOutputPath) {
    - this.sourceOutputPath = sourceOutputPath;
    - }
    -
    - public IProject getProject(){
    - if (descriptionObject!=null)
    - return ProjectUtilities.getProject(descriptionObject);
    - else
    - return null;
    - }
    -
    - /*
    - * get the WebServiceDescription object
    - */
    - public WebServiceDescription getDescriptionObject() {
    - return descriptionObject;
    - }
    -
    - /**
    - * set WebServiceDescription object
    - * @param descriptionObject
    - */
    - public void setDescriptionObject(WebServiceDescription descriptionObject) {
    - this.descriptionObject = descriptionObject;
    - }
    -
    - /**
    - * get Description name
    - * @return
    - */
    - public String getDescriptionName() {
    - return descriptionName;
    - }
    -
    - /**
    - * set Description name
    - * @param descriptionName
    - */
    - public void setDescriptionName(String descriptionName) {
    - this.descriptionName = descriptionName;
    - }
    -
    - /**
    - * get List of HandlerTableItem associated with this service description
    - * @return
    - */
    - public List getHandlerList() {
    - return handlerList;
    - }
    -
    - /**
    - * set List of HandlerTableItem associated with this service description
    - * @param handlerList
    - */
    - public void setHandlerList(List handlerList) {
    - this.handlerList = handlerList;
    - }
    -
    - public void addHandlerToAllPorts(){
    -
    - if (handlerList!=null && !handlerList.isEmpty()){
    -
    - for (int z=0;z<handlerList.size();z++){
    - HandlerTableItem hti = (HandlerTableItem)handlerList.get(z);
    - if (descriptionObject!=null) {
    - List portComponents = descriptionObject.getPortComponents();
    - for (int x=0;x<portComponents.size();x++){
    - PortComponent wsPort = (PortComponent) portComponents.get(x);
    - List wsHandlers = wsPort.getHandlers();
    - if (wsHandlers!=null){
    - boolean alreadyExists = false;
    - for (int y=0;y<wsHandlers.size();y++){
    - Handler handler = (Handler)wsHandlers.get(y);
    - if (handler.getHandlerClass().equals(hti.getHandlerClassName())){
    - alreadyExists = true;
    - }
    - }
    -
    - if (!alreadyExists) {
    - //create it and add to the list
    - WsddFactory wsddFactory = new WsddFactoryImpl();
    - Handler newHandler = wsddFactory.createHandler();
    - newHandler.setHandlerName(hti.getHandlerName());
    - newHandler.setHandlerClass(hti.getHandlerClassName());
    - wsHandlers.add(newHandler);
    - }
    - }
    - }
    - }
    - }
    - }
    -
    - }
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHelper.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHelper.java
    deleted file mode 100644
    index 3daff3bfd..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHelper.java
    +++ /dev/null
    @@ -1,72 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - * -------- -------- -----------------------------------------------------------
    - */
    -package org.eclipse.jst.ws.internal.consumption.ui.common;
    -
    -import java.util.List;
    -import java.util.Vector;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
    -
    -
    -public class HandlerServiceRefHelper {
    -
    - /**
    - * Helper method for getting the HandlerServiceRefHolder given the name
    - * @param hsrh
    - * @param descName
    - * @return
    - */
    - public static HandlerServiceRefHolder getForServiceRefName(HandlerServiceRefHolder[] hsrh, String descName){
    - for (int i=0;i<hsrh.length;i++){
    - String name = hsrh[i].getServiceRefName();
    - if (name!=null && name.equals(descName)){
    - return hsrh[i];
    - }
    - }
    - return null;
    - }
    -
    - /**
    - * Gets all the handler Class names associated with each service ref
    - * @param hsrh
    - * @return
    - */
    - public static String[] getAllHandlerClassNames(HandlerServiceRefHolder[] hsrh){
    - Vector v = new Vector();
    - for (int i=0;i<hsrh.length;i++){
    - List list = hsrh[i].getHandlerList();
    - if (list!=null && !list.isEmpty()){
    - for (int j=0;j<list.size();j++){
    - HandlerTableItem hti = (HandlerTableItem)list.get(j);
    - v.add(hti.getHandlerClassName());
    - }
    - }
    - }
    - return (String[])v.toArray(new String[0]);
    - }
    -
    - /**
    - * Get all the service Ref names
    - * @param hsrh
    - * @return
    - */
    - public static String[] getAllServiceRefNames(HandlerServiceRefHolder[] hsrh){
    - String[] names = new String[hsrh.length];
    - for(int i=0;i<hsrh.length;i++){
    - names[i]=hsrh[i].getServiceRefName();
    - }
    - return names;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHolder.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHolder.java
    deleted file mode 100644
    index b1b004bdf..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/HandlerServiceRefHolder.java
    +++ /dev/null
    @@ -1,118 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060404 134913sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060517 142339 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.common;
    -
    -import java.util.List;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.jem.java.JavaClass;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.j2ee.webservice.wsclient.Handler;
    -import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
    -import org.eclipse.jst.j2ee.webservice.wsclient.Webservice_clientFactory;
    -import org.eclipse.jst.j2ee.webservice.wsclient.internal.impl.Webservice_clientFactoryImpl;
    -import org.eclipse.jst.ws.internal.common.JavaMOFUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
    -
    -
    -public class HandlerServiceRefHolder {
    -
    - private String serviceRefName;
    - private List handlerList;
    - private ServiceRef serviceRef;
    - private IPath sourceOutputPath;
    -
    - public IPath getSourceOutputPath() {
    - return sourceOutputPath;
    - }
    -
    - public void setSourceOutputPath(IPath sourceOutputPath) {
    - this.sourceOutputPath = sourceOutputPath;
    - }
    -
    - public IProject getProject() {
    - if (serviceRef!=null)
    - return ProjectUtilities.getProject(serviceRef);
    - else
    - return null;
    - }
    -
    - public List getHandlerList() {
    - return handlerList;
    - }
    -
    - public void setHandlerList(List handlerList) {
    - this.handlerList = handlerList;
    - }
    -
    - public ServiceRef getServiceRef() {
    - return serviceRef;
    - }
    -
    - public void setServiceRef(ServiceRef serviceRef) {
    - this.serviceRef = serviceRef;
    - }
    -
    - public String getServiceRefName() {
    - return serviceRefName;
    - }
    -
    - public void setServiceRefName(String serviceRefName) {
    - this.serviceRefName = serviceRefName;
    - }
    -
    - public void addHandlerToServiceRef(){
    - if (handlerList!=null && !handlerList.isEmpty()){
    -
    - for (int x=0;x<handlerList.size();x++){
    - HandlerTableItem hti = (HandlerTableItem)handlerList.get(x);
    - if (serviceRef!=null){
    - List existingHandlers = serviceRef.getHandlers();
    - boolean alreadyExists = false;
    - for (int i=0;i<existingHandlers.size();i++){
    - Handler handler = (Handler)existingHandlers.get(i);
    - if (handler.getHandlerClass().getJavaName().equals(hti.getHandlerClassName())){
    - alreadyExists = true;
    - }
    - }
    -
    - if (!alreadyExists) {
    -
    - Webservice_clientFactory wsClientFactory = new Webservice_clientFactoryImpl();
    - Handler newHandler = wsClientFactory.createHandler();
    - newHandler.setHandlerName(hti.getHandlerName());
    - try {
    - IProject project = ProjectUtilities.getProject(serviceRef);
    - if (project!=null) {
    - JavaClass javaClass = JavaMOFUtils.getJavaClass(hti.getHandlerClassName(), project);
    - if (javaClass != null) {
    - newHandler.setHandlerClass(javaClass);
    - }
    - existingHandlers.add(newHandler);
    - }
    - }
    - catch(Exception e){
    - e.printStackTrace();
    - }
    - }
    -
    - }
    -
    - }
    - }
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ScenarioCleanupCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ScenarioCleanupCommand.java
    deleted file mode 100644
    index a9b44f6b5..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ScenarioCleanupCommand.java
    +++ /dev/null
    @@ -1,52 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060825 155114 pmoogk@ca.ibm.com - Peter Moogk
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.common;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.common.WSDLParserFactory;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.ObjectSelectionRegistry;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -/**
    - * This command is intended to clean up data after either the
    - * client or service wizards. Currently is just resets the
    - * parser factory.
    - *
    - */
    -public class ScenarioCleanupCommand extends AbstractDataModelOperation
    -{
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - WSDLParserFactory.killParser();
    - ObjectSelectionRegistry.getInstance().cleanup();
    -
    - return Status.OK_STATUS;
    - }
    -
    -
    - public IStatus undo( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - // Even if the user cancels out of the wizard we want to
    - // kill the parser.
    - WSDLParserFactory.killParser();
    - ObjectSelectionRegistry.getInstance().cleanup();
    -
    - return Status.OK_STATUS;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ServerSelectionUtils.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ServerSelectionUtils.java
    deleted file mode 100644
    index 02886f136..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ServerSelectionUtils.java
    +++ /dev/null
    @@ -1,133 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060324 116750 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20070119 159458 mahutch@ca.ibm.com - Mark Hutchinson
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.common;
    -
    -import java.util.ArrayList;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IConfigurationElement;
    -import org.eclipse.core.runtime.IExtensionRegistry;
    -import org.eclipse.core.runtime.Platform;
    -import org.eclipse.jst.ws.internal.consumption.common.IServerDefaulter;
    -import org.eclipse.jst.ws.internal.consumption.common.ServerInfo;
    -import org.eclipse.wst.server.core.IRuntime;
    -import org.eclipse.wst.server.core.IRuntimeType;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.ServerCore;
    -
    -
    -public class ServerSelectionUtils
    -{
    -
    - public static IRuntime getRuntimeTarget(String projectName)
    - {
    - if( projectName != null && projectName.length() > 0 ){ //$NON-NLS-1$
    - IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
    - if( project != null && project.exists() ){
    - return ServerCore.getProjectProperties(project).getRuntimeTarget();
    - }
    - }
    - return null;
    - }
    -
    - public static IServer getFirstExistingServerFromFactoryId(String factoryId)
    - {
    - IServer[] servers = ServerCore.getServers();
    - if (servers==null || servers.length!=0)
    - return null;
    - else
    - {
    - for (int i=0; i<servers.length; i++)
    - {
    - IServer server = (IServer)servers[i];
    - if (server.getServerType().getId().equals(factoryId))
    - {
    - return server;
    - }
    - }
    - }
    - return null;
    - }
    -
    - public static IServer[] getCompatibleExistingServers(IRuntime runtime)
    - {
    - if (runtime == null)
    - return null;
    -
    - IServer[] servers = ServerCore.getServers();
    - if (servers==null || servers.length==0)
    - return null;
    -
    - ArrayList compatibleServersList = new ArrayList();
    - IRuntimeType runtimeType = runtime.getRuntimeType();
    - if (runtimeType != null)
    - {
    - String runtimeId = runtimeType.getId();
    - for (int i=0; i<servers.length; i++)
    - {
    - IServer server = (IServer)servers[i];
    - IRuntimeType runtimeType2 = server.getRuntime().getRuntimeType();
    - if (runtimeType2 != null)
    - {
    - String serverRuntimeId = runtimeType2.getId();
    - if (serverRuntimeId.equals(runtimeId))
    - compatibleServersList.add(server);
    - }
    -
    - }
    - }
    - if (compatibleServersList.size()<1)
    - return null;
    -
    -
    - Object[] compatibleServersArray = compatibleServersList.toArray();
    - IServer[] compatibleServers = new IServer[compatibleServersArray.length];
    - for (int j=0; j<compatibleServersArray.length; j++)
    - {
    - compatibleServers[j] = (IServer)compatibleServersArray[j];
    - }
    -
    - return compatibleServers;
    - }
    -
    - public static ServerInfo getExtenderRecommendation(IProject project)
    - {
    - try
    - {
    - IExtensionRegistry reg = Platform.getExtensionRegistry();
    - IConfigurationElement[] elements = reg.getConfigurationElementsFor("org.eclipse.jst.ws.consumption", "serverDefaulter");
    - for (int i=0; i<elements.length; i++)
    - {
    - Object serverDefaulterObject = elements[i].createExecutableExtension("class");
    - if (serverDefaulterObject instanceof IServerDefaulter)
    - {
    - IServerDefaulter serverDefaulter = (IServerDefaulter)serverDefaulterObject;
    - ServerInfo serverInfo = serverDefaulter.recommendDefaultServer(project);
    - if (serverInfo != null)
    - return serverInfo;
    - }
    -
    - }
    - } catch (CoreException ce)
    - {
    - return null;
    - }
    -
    - return null;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ValidationUtils.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ValidationUtils.java
    deleted file mode 100644
    index b38af5c9f..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/ValidationUtils.java
    +++ /dev/null
    @@ -1,1040 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060222 115834 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060420 136158 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060420 136705 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060421 136761 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060425 137831 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060427 138058 joan@ca.ibm.com - Joan Haggarty
    - * 20060905 156230 kathy@ca.ibm.com - Kathy Chan, Handling projects with no target runtime
    - * 20070119 159458 mahutch@ca.ibm.com - Mark Hutchinson
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.common;
    -
    -import java.util.ArrayList;
    -import java.util.HashSet;
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Map;
    -import java.util.Set;
    -
    -import javax.wsdl.Definition;
    -import javax.wsdl.Port;
    -import javax.wsdl.Service;
    -
    -import org.eclipse.core.resources.IContainer;
    -import org.eclipse.core.resources.IFile;
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.emf.ecore.resource.Resource;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jem.util.emf.workbench.WorkbenchResourceHelperBase;
    -import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
    -import org.eclipse.jst.j2ee.webservice.internal.WebServiceConstants;
    -import org.eclipse.jst.j2ee.webservice.wsdd.PortComponent;
    -import org.eclipse.jst.j2ee.webservice.wsdd.WSDLPort;
    -import org.eclipse.jst.j2ee.webservice.wsdd.WebServiceDescription;
    -import org.eclipse.jst.j2ee.webservice.wsdd.WebServices;
    -import org.eclipse.jst.j2ee.webservice.wsdd.WsddResource;
    -import org.eclipse.jst.server.core.FacetUtil;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.common.ServerUtils;
    -import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -import org.eclipse.jst.ws.internal.context.ScenarioContext;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.core.selection.SelectionListChoices;
    -import org.eclipse.wst.common.componentcore.ComponentCore;
    -import org.eclipse.wst.common.componentcore.internal.util.IModuleConstants;
    -import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
    -import org.eclipse.wst.common.project.facet.core.IFacetedProject;
    -import org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate;
    -import org.eclipse.wst.common.project.facet.core.IProjectFacet;
    -import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
    -import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
    -import org.eclipse.wst.common.project.facet.core.VersionFormatException;
    -import org.eclipse.wst.server.core.IRuntime;
    -import org.eclipse.wst.server.core.IRuntimeType;
    -import org.eclipse.wst.server.core.IServerType;
    -import org.eclipse.wst.server.core.ServerCore;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
    -
    -/**
    - *
    - */
    -public class ValidationUtils
    -{
    - //Constants to help decide how much validation to do.
    - public static final int VALIDATE_NONE = 0;
    - public static final int VALIDATE_ALL = 1;
    - public static final int VALIDATE_SERVER_RUNTIME_CHANGES = 2;
    - public static final int VALIDATE_PROJECT_CHANGES = 3;
    - public static final int VALIDATE_SCALE_CHANGES = 4;
    -
    - /**
    - *
    - */
    - public ValidationUtils()
    - {
    - }
    -
    - /**
    - * Returns a new validation state based on the current validation state
    - * and the requested validation state. If the requested validation state
    - * does not cover all the validation covered by the current validation
    - * state, VALIDATE_ALL is returned. Otherwise, the requested validation
    - * state is returned.
    - *
    - * @param currentValidationState the validaton state at the time the caller's requests a change
    - * @param requestedValidationState the validation state being requested by the caller.
    - * @return Returns VALIDATE_ALL if the requested validation state
    - * does not cover all the validation covered by the current validation
    - * state. Returned requestedValidationState otherwise.
    - */
    - public int getNewValidationState(int currentValidationState, int requestedValidationState) {
    - int newValidationState;
    - if (currentValidationState == VALIDATE_NONE
    - || currentValidationState == requestedValidationState) {
    - newValidationState = requestedValidationState;
    - } else {
    - newValidationState = VALIDATE_ALL;
    - }
    -
    - return newValidationState;
    -
    - }
    -
    - /**
    - * Returns IStatus resulting from checking for empty fields. Used for validation of page 1 of the
    - * Web service/client wizards.
    - * @param validationState one of VALIDATE_NONE, VALIDATE_ALL, VALIDATE_SERVER_RUNTIME_CHANGES, VALIDATE_PROJECT_CHANGES, VALIDATE_SCALE_CHANGES
    - * @param typeId Web service type id (isClient=false) or Web service client implementation type id (isClient=true)
    - * @param serviceImpl String representation of the object selection from page 1
    - * @param runtimeId Web service runtime id
    - * @param serverId server type id
    - * @param projectName name of project
    - * @param needEar boolean <code>true</code> if EAR is required, <code>false</code> if not.
    - * @param earProjectName name of EAR project
    - * @param projectTypeId template id
    - * @param isClient boolean <code>true</code> if the method is being called for client side validation,
    - * <code>false</code> for service side validation.
    - * @return IStatus with severity IStatus.OK if all mandatory fields are non-null and non-empty.
    - * IStatus with severity IStatus.ERROR otherwise.
    - */
    - public IStatus checkMissingFieldStatus(int validationState, String typeId, String serviceImpl, String runtimeId, String serverId,
    - String projectName, boolean needEar, String earProjectName, String projectTypeId,
    - boolean isClient)
    - {
    - // Object selection
    - if (validationState==VALIDATE_ALL && !isClient)
    - {
    - if (serviceImpl.length() == 0) {
    - int scenario = WebServiceRuntimeExtensionUtils2.getScenarioFromTypeId(typeId);
    - if (scenario == WebServiceScenario.BOTTOMUP)
    - {
    - return StatusUtils
    - .errorStatus(ConsumptionUIMessages.MSG_NO_OBJECT_SELECTION);
    - }
    - else
    - {
    - return StatusUtils
    - .errorStatus(ConsumptionUIMessages.MSG_NO_SERVICE_SELECTION);
    - }
    - }
    - }
    -
    - // Web service runtime
    - if (validationState == VALIDATE_ALL || validationState == VALIDATE_SERVER_RUNTIME_CHANGES) {
    - if (runtimeId == null || runtimeId.length() == 0) {
    - if (isClient) {
    - return StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_RUNTIME,
    - new String[] { ConsumptionUIMessages.MSG_CLIENT_SUB }));
    - } else {
    - return StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_RUNTIME,
    - new String[] { ConsumptionUIMessages.MSG_SERVICE_SUB }));
    - }
    - }
    - }
    -
    - if (validationState == VALIDATE_ALL || validationState == VALIDATE_PROJECT_CHANGES) {
    - // Project
    - if (projectName == null || projectName.length() == 0) {
    - if (isClient) {
    - return StatusUtils.errorStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_CLIENT_PROJECT_EMPTY, new String[] { "" }));
    - } else {
    - return StatusUtils.errorStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_SERVICE_PROJECT_EMPTY, new String[] { "" }));
    - }
    - }
    -
    - // Project type (if project does not exist)
    - IProject project = ProjectUtilities.getProject(projectName);
    - if (!project.exists()) {
    - if (projectTypeId == null || projectTypeId.length() == 0) {
    -
    - if (isClient) {
    - return StatusUtils
    - .errorStatus(ConsumptionUIMessages.MSG_CLIENT_PROJECT_TYPE_EMPTY);
    - } else {
    - return StatusUtils
    - .errorStatus(ConsumptionUIMessages.MSG_SERVICE_PROJECT_TYPE_EMPTY);
    - }
    - }
    - }
    -
    - // Ear (if need ear)
    - if (needEar) {
    - if (earProjectName == null || earProjectName.length() == 0) {
    - if (isClient) {
    - return StatusUtils.errorStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_CLIENT_EAR_EMPTY, new String[] { "" }));
    - } else {
    - return StatusUtils.errorStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_SERVICE_EAR_EMPTY, new String[] { "" }));
    - }
    - }
    - }
    - }
    -
    - // Server (if Web service runtime requires a server or project does not
    - // exist)
    - if (validationState == VALIDATE_ALL || validationState == VALIDATE_SERVER_RUNTIME_CHANGES
    - || validationState == VALIDATE_PROJECT_CHANGES) {
    - if (serverId == null || serverId.length() == 0) {
    - RuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getRuntimeById(runtimeId);
    - if (desc.getServerRequired()) {
    - if (isClient) {
    - StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_SERVER,
    - new String[] { ConsumptionUIMessages.MSG_CLIENT_SUB }));
    - } else {
    - StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_SERVER,
    - new String[] { ConsumptionUIMessages.MSG_SERVICE_SUB }));
    - }
    - } else {
    - IProject project = ProjectUtilities.getProject(projectName);
    - if (!project.exists()) {
    - return StatusUtils.errorStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_PROJECT_MUST_EXIST,
    - new String[] { projectName }));
    -
    - }
    - }
    - }
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    - /**
    - * Returns IStatus resulting from checking for errors. Used for validation of page 1 of the
    - * Web service/client wizards.
    - * @param validationState one of VALIDATE_NONE, VALIDATE_ALL, VALIDATE_SERVER_RUNTIME_CHANGES, VALIDATE_PROJECT_CHANGES, VALIDATE_SCALE_CHANGES
    - * @param typeId Web service type id (isClient=false) or Web service client implementation type id (isClient=true)
    - * @param runtimeId Web service runtime id
    - * @param serverId server type id
    - * @param projectName name of project
    - * @param needEar boolean <code>true</code> if EAR is required, <code>false</code> if not.
    - * @param earProjectName name of EAR project
    - * @param projectTypeId template id
    - * @param isClient boolean <code>true</code> if the method is being called for client side validation,
    - * <code>false</code> for service side validation.
    - * @return IStatus with severity IStatus.OK if no errors are present,
    - * IStatus with severity IStatus.ERROR otherwise.
    - */
    - public IStatus checkErrorStatus(int validationState, String typeId, String runtimeId, String serverId,
    - String projectName, boolean needEar, String earProjectName, String projectTypeId,
    - boolean isClient) {
    -
    - // Ensure server, Web service runtime, and Web service type are
    - // compatible
    -
    - // Labels
    - String serverLabel = "";
    - if (serverId != null && serverId.length()>0)
    - {
    - serverLabel = WebServiceRuntimeExtensionUtils2.getServerLabelById(serverId);
    - }
    - String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(runtimeId);
    -
    - if (validationState == VALIDATE_ALL || validationState == VALIDATE_SERVER_RUNTIME_CHANGES) {
    - if (serverId != null && serverId.length() > 0) {
    - if (isClient) {
    - if (!WebServiceRuntimeExtensionUtils2
    - .isServerClientRuntimeTypeSupported(serverId,
    - runtimeId, typeId)) {
    - return StatusUtils
    - .errorStatus(NLS
    - .bind(
    - ConsumptionUIMessages.MSG_INVALID_SRT_SELECTIONS,
    - new String[] { serverLabel,
    - runtimeLabel }));
    - }
    - } else {
    - if (!WebServiceRuntimeExtensionUtils2
    - .isServerRuntimeTypeSupported(serverId, runtimeId,
    - typeId)) {
    - return StatusUtils
    - .errorStatus(NLS
    - .bind(
    - ConsumptionUIMessages.MSG_INVALID_SRT_SELECTIONS,
    - new String[] { serverLabel,
    - runtimeLabel }));
    - }
    - }
    - }
    - }
    -
    - // If the project exists, ensure it supports the Web service type, Web
    - // service runtime, and server. If the Ear also exists and the project
    - // and Ear are not already associated, ensure they can be.
    - // If the project does not exist, ensure the project type supports the
    - // Web service type, Web service runtime, and server
    - if (validationState == VALIDATE_ALL || validationState == VALIDATE_SERVER_RUNTIME_CHANGES
    - || validationState == VALIDATE_PROJECT_CHANGES) {
    - ValidationUtils valUtils = new ValidationUtils();
    - IProject project = ProjectUtilities.getProject(projectName);
    - if (project.exists()) {
    -
    - if (isClient) {
    - // Check if the runtime supports it.
    - if (!WebServiceRuntimeExtensionUtils2.doesClientTypeAndRuntimeSupportProject(
    - typeId, runtimeId, projectName)) {
    - return StatusUtils.errorStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_CLIENT_RUNTIME_DOES_NOT_SUPPORT_PROJECT,
    - new String[] { runtimeLabel, projectName }));
    - }
    -
    - // Check if the server supports it.
    - if (serverId != null && serverId.length() > 0) {
    - if (!valUtils.doesServerSupportProject(serverId, projectName)) {
    - return StatusUtils.errorStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_CLIENT_SERVER_DOES_NOT_SUPPORT_PROJECT,
    - new String[] { serverLabel, projectName }));
    - }
    - }
    - } else {
    - // Check if the runtime supports it.
    - if (!WebServiceRuntimeExtensionUtils2.doesServiceTypeAndRuntimeSupportProject(
    - typeId, runtimeId, projectName)) {
    - return StatusUtils.errorStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_SERVICE_RUNTIME_DOES_NOT_SUPPORT_PROJECT,
    - new String[] { runtimeLabel, projectName }));
    - }
    -
    - // Check if the server supports it.
    - if (serverId != null && serverId.length() > 0)
    - {
    - if (!valUtils.doesServerSupportProject(serverId, projectName)) {
    - return StatusUtils.errorStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_SERVICE_SERVER_DOES_NOT_SUPPORT_PROJECT,
    - new String[] { serverLabel, projectName }));
    - }
    - }
    - }
    - } else {
    - // Look at the project type to ensure that it is suitable for
    - // the
    - // selected runtime and server.
    - String templateId = projectTypeId;
    - String templateLabel = FacetUtils.getTemplateLabelById(templateId);
    -
    - if (isClient) {
    - // Check if the runtime supports it.
    - if (!WebServiceRuntimeExtensionUtils2.doesClientTypeAndRuntimeSupportTemplate(
    - typeId, runtimeId, templateId)) {
    -
    - return StatusUtils.errorStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_CLIENT_RUNTIME_DOES_NOT_SUPPORT_TEMPLATE,
    - new String[] { runtimeLabel, templateLabel }));
    - }
    -
    - // Check if the server supports it.
    - if (serverId != null && serverId.length()>0)
    - {
    - if (!valUtils.doesServerSupportTemplate(serverId, templateId)) {
    - return StatusUtils.errorStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_CLIENT_SERVER_DOES_NOT_SUPPORT_TEMPLATE,
    - new String[] { serverLabel, templateLabel }));
    - }
    - }
    -
    - } else {
    - // Check if the runtime supports it.
    - if (!WebServiceRuntimeExtensionUtils2.doesServiceTypeAndRuntimeSupportTemplate(
    - typeId, runtimeId, templateId)) {
    - return StatusUtils
    - .errorStatus(NLS
    - .bind(
    - ConsumptionUIMessages.MSG_SERVICE_RUNTIME_DOES_NOT_SUPPORT_TEMPLATE,
    - new String[] { runtimeLabel, templateLabel }));
    - }
    -
    - // Check if the server supports it.
    - if (serverId != null && serverId.length()>0)
    - {
    - if (!valUtils.doesServerSupportTemplate(serverId, templateId)) {
    - return StatusUtils.errorStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_SERVICE_SERVER_DOES_NOT_SUPPORT_TEMPLATE,
    - new String[] { serverLabel, templateLabel }));
    - }
    - }
    - }
    -
    - }
    -
    - }
    -
    - if (validationState == VALIDATE_ALL || validationState == VALIDATE_PROJECT_CHANGES) {
    - // Check if project/EAR association is good.
    - if (needEar) {
    - IProject project = ProjectUtilities.getProject(projectName);
    - IProject ep = ProjectUtilities.getProject(earProjectName);
    - if (project.exists() && ep.exists()) {
    - if (!J2EEUtils.isComponentAssociated(ep, project)) {
    - IStatus associateStatus = J2EEUtils.canAssociateProjectToEAR(project, ep);
    - if (associateStatus.getSeverity() == IStatus.ERROR) {
    - if (isClient) {
    - return StatusUtils.errorStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_CLIENT_CANNOT_ASSOCIATE,
    - new String[] { projectName, ep.getName(),
    - associateStatus.getMessage() }));
    - } else {
    - return StatusUtils.errorStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_SERVICE_CANNOT_ASSOCIATE,
    - new String[] { projectName, ep.getName(),
    - associateStatus.getMessage() }));
    - }
    -
    - }
    - }
    - }
    - }
    - }
    -
    - return Status.OK_STATUS;
    -
    - }
    -
    - /**
    - * Returns IStatus resulting from checking for warnings. Used for validation of page 1 of the
    - * Web service/client wizards.
    - * @param validationState one of VALIDATE_NONE, VALIDATE_ALL, VALIDATE_SERVER_RUNTIME_CHANGES, VALIDATE_PROJECT_CHANGES, VALIDATE_SCALE_CHANGES
    - * @param scaleSetting one of <BR/>
    - * ScenarioContext.WS_TEST<BR/>
    - * ScenarioContext.WS_START<BR/>
    - * ScenarioContext.WS_INSTALL<BR/>
    - * ScenarioContext.WS_DEPLOY<BR/>
    - * ScenarioContext.WS_ASSEMBLE<BR/>
    - * ScenarioContext.WS_DEVELOP<BR/>
    - * ScenarioContext.WS_NONE
    - * @param serverId server type id
    - * @param isClient boolean <code>true</code> if the method is being called for client side validation,
    - * <code>false</code> for service side validation.
    - * @return IStatus with severity IStatus.OK if no errors are present,
    - * IStatus with severity IStatus.WARNING otherwise.
    - */
    - public IStatus checkWarningStatus(int validationState, int scaleSetting, String serverId,
    - boolean isClient) {
    - // Return a warning if there is no server selection and scale setting is
    - // anything beyond assemble.
    - if (validationState == VALIDATE_ALL || validationState == VALIDATE_SCALE_CHANGES
    - || validationState == VALIDATE_SERVER_RUNTIME_CHANGES) {
    - if (serverId == null || serverId.length() == 0) {
    - if (scaleSetting < ScenarioContext.WS_ASSEMBLE) {
    - if (isClient) {
    - return StatusUtils.warningStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_WARN_NO_CLIENT_SERVER, new String[0]));
    - } else {
    - return StatusUtils.warningStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_WARN_NO_SERVICE_SERVER, new String[0]));
    - }
    - }
    - } else {
    - // Return a warning if the selected server has only stub
    - // runtimes
    - // and the scale setting is anything beyond deploy.
    - IServerType serverType = ServerCore.findServerType(serverId);
    - if (serverType != null) {
    - // Find a Runtime which is not a stub
    - IRuntime nonStubRuntime = ServerUtils.getNonStubRuntime(serverId);
    - if ((scaleSetting < ScenarioContext.WS_DEPLOY) && nonStubRuntime == null) {
    - String servertypeLabel = WebServiceRuntimeExtensionUtils2
    - .getServerLabelById(serverId);
    - return StatusUtils.warningStatus(NLS.bind(
    - ConsumptionUIMessages.MSG_WARN_STUB_ONLY,
    - new String[] { servertypeLabel }));
    - }
    - }
    -
    - }
    - }
    -
    - return Status.OK_STATUS;
    -
    - }
    -
    - /**
    - * Returns whether or not the provided server type supports the facet versions on the provided project
    - * @param serverFactoryId server type id
    - * @param projectName name of a project that may or may not exist.
    - * @return boolean <code>true</code>
    - * <ul>
    - * <li>if the server type supports the facet versions on the project or</li>
    - * <li>if the project is not a faceted project or</li>
    - * <li>if the project does not exist.</li>
    - * </ul>
    - * Returns <code>false</code> otherwise.
    - */
    - public boolean doesServerSupportProject(String serverFactoryId, String projectName)
    - {
    - IProject project = ProjectUtilities.getProject(projectName);
    - IFacetedProject fProject = null;
    - if (project.exists())
    - {
    - try
    - {
    - fProject = ProjectFacetsManager.create(project);
    - } catch (CoreException ce)
    - {
    -
    - }
    -
    - if (fProject != null)
    - {
    - Set facets = fProject.getProjectFacets();
    - return doesServerSupportFacets(serverFactoryId, facets);
    - }
    - else
    - {
    - //If it's not a faceted project, we have nothing to compare to - assume it's good.
    - return true;
    - }
    - }
    - else
    - {
    - //If the project doesn't exist, we have nothing to compare to - assume it's good.
    - return true;
    - }
    -
    - }
    -
    - /**
    - * Returns whether or not the provided server type supports the facet versions in the provided set.
    - * @param serverFactoryId server type id
    - * @param facets set containing elements of type {@link IProjectFacetVersion}
    - * @return boolean <code>true</code> if the server type supports the facet versions in the provided set,
    - * <code>false</code> otherwise.
    - */
    - public boolean doesServerSupportFacets(String serverFactoryId, Set facets)
    - {
    - Set runtimes = FacetUtils.getRuntimes(new Set[]{facets});
    - Iterator itr = runtimes.iterator();
    - IServerType st = ServerCore.findServerType(serverFactoryId);
    - String runtimeTypeId = st.getRuntimeType().getId();
    - while (itr.hasNext())
    - {
    - org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = (org.eclipse.wst.common.project.facet.core.runtime.IRuntime)itr.next();
    - IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
    - IRuntimeType runtimeType = sRuntime.getRuntimeType();
    - if (runtimeType != null && runtimeTypeId.equals(runtimeType.getId()))
    - {
    - //found a match
    - return true;
    - }
    - }
    -
    - return false;
    - }
    -
    - /**
    - * Returns whether or not the provided server type supports at least one version of
    - * each of the fixed facets on the provided template
    - * @param serverFactoryId server type id
    - * @param templateId id of a {@link IFacetedProjectTemplate}
    - * @return boolean <code>true</code> if the server type supports at least one version of
    - * each of the fixed facets on the provided template, <code>false</code> otherwise.
    - */
    - public boolean doesServerSupportTemplate(String serverFactoryId, String templateId)
    - {
    - IFacetedProjectTemplate template = ProjectFacetsManager.getTemplate(templateId);
    - Set templateFacets = template.getFixedProjectFacets();
    - Iterator templateFacetsItr = templateFacets.iterator();
    - while (templateFacetsItr.hasNext())
    - {
    - boolean serverSupportsThisOne = false;
    - IProjectFacet fixedFacet = (IProjectFacet)templateFacetsItr.next();
    - List versions = null;
    - try
    - {
    - versions = fixedFacet.getSortedVersions(true);
    - } catch (VersionFormatException e)
    - {
    - Set versionSet = fixedFacet.getVersions();
    - Iterator itr = versionSet.iterator();
    - versions = new ArrayList();
    - while (itr.hasNext())
    - {
    - versions.add(itr.next());
    - }
    - } catch (CoreException e)
    - {
    - Set versionSet = fixedFacet.getVersions();
    - Iterator itr = versionSet.iterator();
    - versions = new ArrayList();
    - while (itr.hasNext())
    - {
    - versions.add(itr.next());
    - }
    - }
    - Iterator versionsItr = versions.iterator();
    - while(versionsItr.hasNext())
    - {
    - IProjectFacetVersion pfv = (IProjectFacetVersion)versionsItr.next();
    - Set pfvs = new HashSet();
    - pfvs.add(pfv);
    - if (doesServerSupportFacets(serverFactoryId, pfvs))
    - {
    - serverSupportsThisOne = true;
    - break;
    - }
    - }
    -
    - if (!serverSupportsThisOne)
    - {
    - return false;
    - }
    - }
    -
    - return true;
    - }
    -
    - /**
    - * Returns whether or not the provided project or project type (if the project is null or does not exist)
    - * rules out the need for an EAR.
    - * @param projectName name of a project
    - * @param projectTypeId id of a {@link IFacetedProjectTemplate}. Must be non-empty if the project is null or
    - * does not exist.
    - * @return boolean <code>true</code> if the need for an EAR is not ruled out, <code>false</code> otherwise.
    - */
    - public boolean projectOrProjectTypeNeedsEar(String projectName, String projectTypeId)
    - {
    - // If the project is a simple Java project or the project type is
    - // Java utility return false.
    - if (projectName != null && projectName.length() > 0) {
    - IProject project = ResourceUtils.getWorkspaceRoot().getProject(projectName);
    - if (project.exists()) {
    - if (FacetUtils.isJavaProject(project)) {
    - return false;
    - }
    - }
    - }
    -
    - // Project didn't rule out the need for an EAR
    - // so check the proect type
    - String templateId = projectTypeId;
    - if (templateId != null && templateId.length() > 0) {
    - if (FacetUtils.isUtilityTemplate(templateId)) {
    - return false;
    - }
    - }
    -
    - return true;
    - }
    -
    - /**
    - * Returns whether or not an J2EE 1.3 EAR project can be installed on a server of
    - * the provided server type.
    - * @param serverTypeId server type id
    - * @return boolean <code>true</code> if a J2EE 1.3 EAR project can be installed on a server of
    - * the provided server type, <code>false</code> otherwise.
    - */
    - public boolean serverNeedsEAR(String serverTypeId)
    - {
    - if (serverTypeId == null) {
    - return false;
    - }
    - if (serverTypeId.length() > 0) {
    - String targetId = ServerUtils.getRuntimeTargetIdFromFactoryId(serverTypeId);
    - if (targetId != null && targetId.length() > 0) {
    - if (!ServerUtils.isTargetValidForEAR(targetId, "13")) // rm j2ee
    - {
    - return false;
    - }
    - }
    - }
    -
    - return true;
    - }
    -
    - public IStatus validateProjectTargetAndJ2EE(String projectName, String compName, String earName, String earCompName, String serverFactoryId, String j2eeLevel)
    - {
    - IProject p = ProjectUtilities.getProject(projectName);
    - IProject earP = null;
    - if (earName!=null && !earName.equalsIgnoreCase("")) {
    - earP = ProjectUtilities.getProject(earName);
    - }
    - IStatus targetStatus = doesProjectTargetMatchServerType(p, serverFactoryId);
    - if (earP!=null && targetStatus.getSeverity()==Status.OK)
    - {
    - //check the EAR
    - IStatus earTargetStatus = doesProjectTargetMatchServerType(earP, serverFactoryId);
    - if(earTargetStatus.getSeverity()==Status.ERROR)
    - {
    - return earTargetStatus;
    - }
    - }
    - else
    - {
    - return targetStatus;
    - }
    -
    -
    - //Validate service side J2EE level
    - IStatus j2eeStatus = doesProjectMatchJ2EELevel(p, compName, j2eeLevel);
    - if(earP!=null && j2eeStatus.getSeverity()==Status.OK)
    - {
    - IStatus earJ2EEStatus = doesProjectMatchJ2EELevel(earP, earCompName, j2eeLevel);
    - if(earJ2EEStatus.getSeverity()==Status.ERROR)
    - {
    - return earJ2EEStatus;
    - }
    - }
    - else
    - {
    - return j2eeStatus;
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    - //TODO: This method is obselete - should be removed.
    - private IStatus doesProjectTargetMatchServerType(IProject p, String serverFactoryId)
    - {
    - if (p!=null && p.exists())
    - {
    - IRuntime projectTarget = ServerSelectionUtils.getRuntimeTarget(p.getName());
    - if (projectTarget!=null)
    - {
    - String projectTargetId = projectTarget.getRuntimeType().getId();
    - String serverTargetId = ServerUtils.getRuntimeTargetIdFromFactoryId(serverFactoryId);
    - if (serverTargetId!=null && serverTargetId.length()>0)
    - {
    - if(!projectTargetId.equals(serverTargetId))
    - {
    - return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_SERVER_TARGET_MISMATCH,new String[]{p.getName()}) );
    - }
    - }
    - }
    - }
    - return Status.OK_STATUS;
    - }
    -
    - //TODO: This method is obselete - should be removed.
    - private IStatus doesProjectMatchJ2EELevel(IProject p, String compName, String j2eeLevel)
    - {
    -
    - try {
    - if (p!=null && p.exists())
    - {
    - int projectJ2EELevel = J2EEUtils.getJ2EEVersion(p);
    - if (projectJ2EELevel!=-1)
    - {
    - String projectJ2EELevelString = String.valueOf(projectJ2EELevel);
    - if (j2eeLevel!=null && j2eeLevel.length()>0)
    - {
    - if (!projectJ2EELevelString.equals(j2eeLevel))
    - {
    - return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_J2EE_MISMATCH,new String[]{p.getName()}) );
    - }
    - }
    - }
    - }
    - } catch(Exception e){
    -
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    - //TODO: This method is obselete - should be removed.
    - public IStatus validateProjectType(String projectName, SelectionListChoices runtime2ClientTypes)
    - {
    - IStatus status = Status.OK_STATUS;
    - IProject p = ProjectUtilities.getProject(projectName);
    - if (p==null || !p.exists())
    - {
    - //Project does not exist which means a new project of the correct type will be created
    - //We're done. All is good.
    - return status;
    - }
    -
    - //If the project exists, we should see it in the project list for the selected client
    - //project type.
    - String[] projectNames = runtime2ClientTypes.getChoice().getChoice().getList().getList();
    - for (int i=0; i<projectNames.length; i++)
    - {
    - if (projectName.equals(projectNames[i]))
    - {
    - //Found the project. All is good.
    - return status;
    - }
    - }
    -
    - //Didn't find the project. Return an error.
    - //Get the label for the client type id
    - String clientTypeLabel = getClientTypeLabel(runtime2ClientTypes.getChoice().getList().getSelection());
    - String message = NLS.bind(ConsumptionUIMessages.MSG_WRONG_CLIENT_PROJECT_TYPE,new String[]{projectName, clientTypeLabel});
    - IStatus eStatus = StatusUtils.errorStatus( message );
    - return eStatus;
    -
    - }
    -
    - //TODO: This method is obselete - should be removed.
    - private String getClientTypeLabel( String type )
    - {
    - if (type.equals(IModuleConstants.JST_WEB_MODULE))
    - {
    - return ConsumptionUIMessages.LABEL_CLIENT_COMP_TYPE_WEB;
    - }
    - else if (type.equals(IModuleConstants.JST_EJB_MODULE))
    - {
    - return ConsumptionUIMessages.LABEL_CLIENT_COMP_TYPE_EJB;
    - }
    - else if (type.equals(IModuleConstants.JST_APPCLIENT_MODULE))
    - {
    - return ConsumptionUIMessages.LABEL_CLIENT_COMP_TYPE_APP_CLIENT;
    - }
    - else if (type.equals(IModuleConstants.JST_UTILITY_MODULE))
    - {
    - return ConsumptionUIMessages.LABEL_CLIENT_COMP_TYPE_CONTAINERLESS;
    - }
    - else
    - {
    - //No known label, return the typeId itself.
    - return type;
    - }
    - }
    -
    - /**
    - * Returns whether or not this project is likely hosting any of the services
    - * in the provided WSDL as a J2EE Web service.
    - * @param p IProject in the workspace
    - * @param wsdlURL URL of a WSDL document
    - * @param parser
    - * @return boolean <code>true</code> if the project contains a webservices.xml
    - * deployment descriptor that points to at least one of the ports in the provided WSDL.
    - * Returns <code>false</code> otherwise.
    - */
    - public boolean isProjectServiceProject(IProject p, String wsdlURL, WebServicesParser parser)
    - {
    - if (p==null || wsdlURL==null || wsdlURL.length()==0 || parser==null)
    - return false;
    -
    - IResource wsXML = getWebServcesXML(p);
    - if (wsXML==null)
    - return false;
    -
    -
    - //Make a list of all the wsdl-port's in webservices.xml
    - if (!(wsXML instanceof IFile))
    - {
    - return false;
    - }
    -
    - Resource res = WorkbenchResourceHelperBase.getResource((IFile)wsXML, true);
    - WsddResource wsddRes = (WsddResource)res;
    - WebServices webServices = wsddRes.getWebServices();
    - Iterator wsDescs = webServices.getWebServiceDescriptions().iterator();
    - ArrayList wsdlPortList = new ArrayList();
    - while(wsDescs.hasNext())
    - {
    - WebServiceDescription wsDesc = (WebServiceDescription)wsDescs.next();
    - Iterator pcs = wsDesc.getPortComponents().iterator();
    - while(pcs.hasNext())
    - {
    - PortComponent pc = (PortComponent)pcs.next();
    - WSDLPort wsdlPort = pc.getWsdlPort();
    - wsdlPortList.add(new QualifiedName(wsdlPort.getNamespaceURI(), wsdlPort.getLocalPart()));
    - }
    - }
    -
    - ArrayList portList = getPortNamesFromWsdl(wsdlURL, parser);
    -
    - //If any of the QualifiedNames in portList equals any of the QualifiedNames
    - //in wsdlPortList, this is the service project. Return true.
    - Object[] ports = portList.toArray();
    - Object[] wsdlPorts = wsdlPortList.toArray();
    - for (int i = 0; i < ports.length; i++)
    - {
    - QualifiedName portName = (QualifiedName) ports[i];
    - for (int j = 0; j < wsdlPorts.length; j++)
    - {
    - QualifiedName wsdlPortName = (QualifiedName) wsdlPorts[j];
    - if (portName.equals(wsdlPortName))
    - {
    - return true;
    - }
    - }
    - }
    -
    - return false;
    - }
    -
    - /**
    - * Returns the IResource corresponding to the webservices.xml in the provided project.
    - * @param p an IProject in the workspace.
    - * @return IResource corresponding to the webservices.xml in the provided project,
    - * null if there is no webservices.xml in the project.
    - */
    - private IResource getWebServcesXML(IProject p)
    - {
    - //Get the module root.
    - IResource moduleRoot = getModuleRoot(p);
    - if (!(moduleRoot instanceof IContainer))
    - return null;
    -
    - IResource webServicesXML = null;
    - if (J2EEProjectUtilities.isDynamicWebProject(p))
    - {
    - StringBuffer wsPath = new StringBuffer();
    - wsPath.append("WEB-INF/");
    - wsPath.append(WebServiceConstants.WEBSERVICE_DD_SHORT_NAME);
    - webServicesXML = ((IContainer) moduleRoot).findMember(wsPath.toString());
    - }
    - else
    - {
    - StringBuffer wsPath = new StringBuffer();
    - wsPath.append("META-INF/");
    - wsPath.append(WebServiceConstants.WEBSERVICE_DD_SHORT_NAME);
    - webServicesXML = ((IContainer) moduleRoot).findMember(wsPath.toString());
    - }
    - return webServicesXML;
    - }
    -
    - private IResource getModuleRoot(IProject p)
    - {
    - IPath modulePath = null;
    - try
    - {
    - IVirtualComponent vc = ComponentCore.createComponent(p);
    - if (vc != null)
    - {
    - modulePath = vc.getRootFolder().getWorkspaceRelativePath();
    - }
    - }
    - catch(Exception ex)
    - {
    -
    - }
    -
    - IResource res = ResourceUtils.findResource(modulePath);
    - return res;
    - }
    -
    - /**
    - * Returns a list of WSDL ports in the provided WSDL
    - * @param wsdlURL URL of a WSDL document
    - * @param parser
    - * @return ArrayList containing elements of type {@link QualifiedName}
    - */
    - private ArrayList getPortNamesFromWsdl(String wsdlURL, WebServicesParser parser)
    - {
    - ArrayList portNameList = new ArrayList();
    - Definition def = parser.getWSDLDefinition(wsdlURL);
    - Map services = def.getServices();
    - Service service = null;
    - for (Iterator it = services.values().iterator(); it.hasNext();)
    - {
    - service = (Service)it.next();
    - String namespace = service.getQName().getNamespaceURI();
    - Map ports = service.getPorts();
    - for (Iterator it2 = ports.values().iterator(); it2.hasNext();)
    - {
    - Port port = (Port)it2.next();
    - portNameList.add(new QualifiedName(namespace, port.getName()));
    - }
    - }
    -
    - return portNameList;
    -
    - }
    -
    - private class QualifiedName
    - {
    - String namespaceURI;
    -
    - String localPart;
    -
    - /**
    - * @param namespaceURI
    - * @param localPart
    - */
    - public QualifiedName(String namespaceURI, String localPart)
    - {
    - super();
    - this.namespaceURI = namespaceURI;
    - this.localPart = localPart;
    - }
    -
    - /**
    - * @return Returns the localPart.
    - */
    - public String getLocalPart()
    - {
    - return localPart;
    - }
    -
    - /**
    - * @param localPart
    - * The localPart to set.
    - */
    - public void setLocalPart(String localPart)
    - {
    - this.localPart = localPart;
    - }
    -
    - /**
    - * @return Returns the namespaceURI.
    - */
    - public String getNamespaceURI()
    - {
    - return namespaceURI;
    - }
    -
    - /**
    - * @param namespaceURI
    - * The namespaceURI to set.
    - */
    - public void setNamespaceURI(String namespaceURI)
    - {
    - this.namespaceURI = namespaceURI;
    - }
    -
    - public boolean equals(QualifiedName qn)
    - {
    - return (qn.getNamespaceURI().equals(namespaceURI) && qn.getLocalPart()
    - .equals(localPart));
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/ClientRootFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/ClientRootFragment.java
    deleted file mode 100644
    index 3e4feacd4..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/ClientRootFragment.java
    +++ /dev/null
    @@ -1,117 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.extension;
    -
    -import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
    -import org.eclipse.wst.command.internal.env.ui.widgets.DataObjectCommand;
    -import org.eclipse.wst.ws.internal.extensions.AssembleClientFragment;
    -import org.eclipse.wst.ws.internal.extensions.DeployClientFragment;
    -import org.eclipse.wst.ws.internal.extensions.DevelopClientFragment;
    -import org.eclipse.wst.ws.internal.extensions.InstallClientFragment;
    -import org.eclipse.wst.ws.internal.extensions.RunClientFragment;
    -
    -public class ClientRootFragment extends SequenceFragment
    -{
    - public ClientRootFragment()
    - {
    - add( new SimpleFragment( new PreClientDevelopCommand(), "" ) );
    - add( new DevelopClientFragment() );
    - add( new SimpleFragment( new PreClientAssembleCommand(), "" ) );
    - add( new AssembleClientFragment() );
    - add( new SimpleFragment( new PreClientDeployCommand(), "" ) );
    - add( new DeployClientFragment() );
    - add( new SimpleFragment( new PreClientInstallCommand(), "" ) );
    - add( new InstallClientFragment() );
    - add( new SimpleFragment( new PreClientRunCommand(),
    - "org.eclipse.jst.ws.internal.consumption.ui.extension.PreClientRunCommand" ) );
    - add( new RunClientFragment() );
    - }
    -
    - public void registerDataMappings(DataMappingRegistry registry)
    - {
    - registry.addMapping( PreClientDevelopCommand.class, "WebService", DevelopClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Environment", DevelopClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Context", DevelopClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Selection", DevelopClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Project", DevelopClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Module", DevelopClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "EarProject", DevelopClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Ear", DevelopClientFragment.class );
    -
    - // Map the PreClientDevelopCommand into the dataObject.
    - registry.addMapping( PreClientDevelopCommand.class, "DataObject", DataObjectCommand.class );
    -
    - registry.addMapping( PreClientDevelopCommand.class, "WebService", AssembleClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Environment", AssembleClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Context", AssembleClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Selection", AssembleClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Project", AssembleClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Module", AssembleClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "EarProject", AssembleClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Ear", AssembleClientFragment.class );
    -
    - registry.addMapping( PreClientDevelopCommand.class, "WebService", DeployClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Environment", DeployClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Context", DeployClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Selection", DeployClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Project", DeployClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Module", DeployClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "EarProject", DeployClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Ear", DeployClientFragment.class );
    -
    - registry.addMapping( PreClientDevelopCommand.class, "WebService", InstallClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Environment", InstallClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Context", InstallClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Selection", InstallClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Project", InstallClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Module", InstallClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "EarProject", InstallClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Ear", InstallClientFragment.class );
    -
    - registry.addMapping( PreClientDevelopCommand.class, "WebService", RunClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Environment", RunClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Context", RunClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Selection", RunClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Project", RunClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Module", RunClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "EarProject", RunClientFragment.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Ear", RunClientFragment.class );
    -
    - //Mappings from framework to framework commands
    - registry.addMapping( PreClientDevelopCommand.class, "Context", PreClientAssembleCommand.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Context", PreClientDeployCommand.class );
    -
    - registry.addMapping( PreClientDevelopCommand.class, "WebService", PreClientAssembleCommand.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Project", PreClientAssembleCommand.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Module", PreClientAssembleCommand.class );
    - registry.addMapping( PreClientDevelopCommand.class, "EarProject", PreClientAssembleCommand.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Ear", PreClientAssembleCommand.class );
    -
    - registry.addMapping( PreClientDevelopCommand.class, "WebService", PreClientInstallCommand.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Project", PreClientInstallCommand.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Context", PreClientInstallCommand.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Module", PreClientInstallCommand.class );
    - registry.addMapping( PreClientDevelopCommand.class, "EarProject", PreClientInstallCommand.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Ear", PreClientInstallCommand.class );
    -
    - registry.addMapping( PreClientDevelopCommand.class, "WebService", PreClientRunCommand.class );
    - registry.addMapping( PreClientDevelopCommand.class, "Context", PreClientRunCommand.class );
    -
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientAssembleCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientAssembleCommand.java
    deleted file mode 100644
    index 35951ceaf..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientAssembleCommand.java
    +++ /dev/null
    @@ -1,115 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.extension;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.j2ee.internal.plugin.IJ2EEModuleConstants;
    -import org.eclipse.jst.ws.internal.consumption.command.common.AssociateModuleWithEARCommand;
    -import org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand;
    -import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.wsrt.IContext;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
    -
    -public class PreClientAssembleCommand extends AbstractDataModelOperation
    -{
    - private IWebServiceClient webServiceClient_;
    - private String project_;
    - private String module_;
    - private String earProject_;
    - private String ear_;
    - private IContext context_;
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IStatus status = Status.OK_STATUS;
    -
    - if (context_ != null && context_.getAssemble()) {
    - IEnvironment environment = getEnvironment();
    -
    - // Check if EAR module is req'd, ie. !=null
    - if (earProject_==null)
    - return Status.OK_STATUS;
    -
    - // Create the client EAR module
    - CreateFacetedProjectCommand command = new CreateFacetedProjectCommand();
    - command.setProjectName(earProject_);
    - command.setTemplateId(IJ2EEModuleConstants.JST_EAR_TEMPLATE);
    -
    - // RequiredFacetVersions is set to an empty array because we don't need to impose any additional constraints.
    - // We just want to create the highest level of EAR project that the selected server supports.
    - command.setRequiredFacetVersions(new RequiredFacetVersion[0]);
    -
    - command.setServerFactoryId(webServiceClient_.getWebServiceClientInfo().getServerFactoryId());
    - command.setServerInstanceId(webServiceClient_.getWebServiceClientInfo().getServerInstanceId());
    - status = command.execute( monitor, adaptable );
    - if (status.getSeverity() == Status.ERROR)
    - {
    - environment.getStatusHandler().reportError( status );
    - return status;
    - }
    -
    -
    - //Associate the client module and service EAR
    - AssociateModuleWithEARCommand associateCommand = new AssociateModuleWithEARCommand();
    - associateCommand.setProject(project_);
    - associateCommand.setModule(module_);
    - associateCommand.setEARProject(earProject_);
    - associateCommand.setEar(ear_);
    - associateCommand.setEnvironment( environment );
    - status = associateCommand.execute( monitor, adaptable );
    - if (status.getSeverity()==Status.ERROR)
    - {
    - environment.getStatusHandler().reportError( status );
    - }
    -
    - }
    - return status;
    - }
    -
    - public void setProject( String project )
    - {
    - project_ = project;
    - }
    -
    - public void setModule( String module )
    - {
    - module_ = module;
    - }
    -
    - public void setEarProject( String earProject )
    - {
    - earProject_ = earProject;
    - }
    -
    - public void setEar( String ear )
    - {
    - ear_ = ear;
    - }
    -
    - public void setWebService( IWebServiceClient webServiceClient )
    - {
    - webServiceClient_ = webServiceClient;
    - }
    -
    - public void setContext (IContext context) {
    - context_ = context;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDeployCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDeployCommand.java
    deleted file mode 100644
    index cb571d8b0..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDeployCommand.java
    +++ /dev/null
    @@ -1,44 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.extension;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.wsrt.IContext;
    -
    -public class PreClientDeployCommand extends AbstractDataModelOperation
    -{
    - private IContext context_;
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - if (context_ != null && context_.getDeploy())
    - {
    - //If and when there are framework specific deploy things to be done,
    - //do them here.
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    - public void setContext(IContext context)
    - {
    - context_=context;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDevelopCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDevelopCommand.java
    deleted file mode 100644
    index 8c03870bb..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientDevelopCommand.java
    +++ /dev/null
    @@ -1,273 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2007 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060516 126965 kathy@ca.ibm.com - Kathy Chan
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    - * 20070123 167487 makandre@ca.ibm.com - Andrew Mak
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.extension;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand;
    -import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.common.HTTPUtility;
    -import org.eclipse.wst.ws.internal.wsrt.IContext;
    -import org.eclipse.wst.ws.internal.wsrt.ISelection;
    -import org.eclipse.wst.ws.internal.wsrt.IWebService;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceRuntime;
    -import org.eclipse.wst.ws.internal.wsrt.SimpleContext;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceClientInfo;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceState;
    -
    -public class PreClientDevelopCommand extends AbstractDataModelOperation
    -{
    -
    - private TypeRuntimeServer typeRuntimeServer_;
    - private String clientRuntimeId_;
    - private IContext context_;
    - private ISelection selection_;
    - private String project_;
    - private String module_;
    - private String moduleType_;
    - private String earProject_;
    - private String ear_;
    - private IWebServiceClient webServiceClient_;
    - private String j2eeLevel_;
    - private ResourceContext resourceContext_;
    - private boolean develop_;
    - private boolean assemble_;
    - private boolean deploy_;
    - private boolean test_;
    - private boolean install_;
    - private boolean run_;
    - private String wsdlURI_;
    - private Object dataObject_;
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IStatus status = Status.OK_STATUS;
    -
    - if (develop_) {
    - IEnvironment environment = getEnvironment();
    -
    - // Split up the project and module
    - int index = module_.indexOf("/");
    - if (index!=-1){
    - project_ = module_.substring(0,index);
    - module_ = module_.substring(index+1);
    - }
    -
    - if (ear_!=null && ear_.length()>0)
    - {
    - int earIndex = ear_.indexOf("/");
    - if (earIndex!=-1) {
    - earProject_ = ear_.substring(0,earIndex);
    - ear_ = ear_.substring(earIndex+1);
    - }
    - }
    -
    - IWebServiceRuntime wsrt = WebServiceRuntimeExtensionUtils2
    - .getClientRuntime(clientRuntimeId_);
    - WebServiceClientInfo wsInfo = new WebServiceClientInfo();
    -
    - wsInfo.setServerFactoryId(typeRuntimeServer_.getServerId());
    - wsInfo.setServerInstanceId(typeRuntimeServer_.getServerInstanceId());
    - wsInfo.setState(WebServiceState.UNKNOWN_LITERAL);
    - wsInfo.setWebServiceRuntimeId(typeRuntimeServer_.getRuntimeId());
    -
    - // check for redirection in the wsdl
    - HTTPUtility httpUtil = new HTTPUtility();
    - wsInfo.setWsdlURL(httpUtil.handleRedirect(wsdlURI_));
    -
    - webServiceClient_ = wsrt.getWebServiceClient(wsInfo);
    - WebServiceScenario scenario = WebServiceScenario.CLIENT_LITERAL;
    - context_ = new SimpleContext(develop_, assemble_, deploy_, install_, run_, true, test_,
    - false, scenario, resourceContext_.isOverwriteFilesEnabled(),
    - resourceContext_.isCreateFoldersEnabled(), resourceContext_
    - .isCheckoutFilesEnabled());
    -
    - // Create the client module if needed.
    - IProject project = ProjectUtilities.getProject(project_);
    - if (!project.exists())
    - {
    - boolean matches = WebServiceRuntimeExtensionUtils2.doesClientRuntimeSupportTemplate(clientRuntimeId_, moduleType_);
    - if (matches)
    - {
    - RequiredFacetVersion[] rfv = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(clientRuntimeId_).getRequiredFacetVersions();
    - CreateFacetedProjectCommand command = new CreateFacetedProjectCommand();
    - command.setProjectName(project_);
    - command.setTemplateId(moduleType_);
    - command.setRequiredFacetVersions(rfv);
    - command.setServerFactoryId(typeRuntimeServer_.getServerId());
    - command.setServerInstanceId(typeRuntimeServer_.getServerInstanceId());
    - status = command.execute( monitor, adaptable );
    - if (status.getSeverity() == Status.ERROR)
    - {
    - environment.getStatusHandler().reportError( status );
    - return status;
    - }
    - }
    - }
    - }
    - return status;
    - }
    -
    - public void setClientTypeRuntimeServer( TypeRuntimeServer typeRuntimeServer )
    - {
    - typeRuntimeServer_ = typeRuntimeServer;
    - }
    -
    - public void setClientRuntimeId( String id)
    - {
    - clientRuntimeId_ = id;
    - }
    -
    - public void setClientJ2EEVersion( String j2eeLevel )
    - {
    - j2eeLevel_ = j2eeLevel;
    - }
    -
    - public String getJ2eeLevel()
    - {
    - return j2eeLevel_;
    - }
    -
    - public IWebServiceClient getWebService()
    - {
    - return webServiceClient_;
    - }
    -
    - public IContext getContext()
    - {
    - return context_;
    - }
    -
    - public void setResourceContext( ResourceContext resourceContext )
    - {
    - resourceContext_ = resourceContext;
    - }
    -
    - public ISelection getSelection()
    - {
    - return selection_;
    - }
    -
    - public void setSelection( ISelection selection )
    - {
    - selection_ = selection;
    - }
    -
    - public String getProject()
    - {
    - return project_;
    - }
    -
    - public String getModule()
    - {
    - return module_;
    - }
    -
    - public void setModule( String module )
    - {
    - module_ = module;
    - }
    -
    - public void setModuleType( String moduleType)
    - {
    - moduleType_ = moduleType;
    - }
    -
    - public String getEarProject()
    - {
    - return earProject_;
    - }
    -
    - public String getEar()
    - {
    - return ear_;
    - }
    -
    - public void setEar( String ear )
    - {
    - ear_ = ear;
    - }
    -
    - public void setDevelopClient(boolean developClient) {
    - develop_ = developClient;
    - }
    -
    - public void setAssembleClient(boolean assembleClient) {
    - assemble_ = assembleClient;
    - }
    -
    - public void setDeployClient(boolean deployClient)
    - {
    - deploy_ = deployClient;
    - }
    -
    - public void setInstallClient(boolean installClient)
    - {
    - install_ = installClient;
    - }
    -
    - public void setTestService(boolean testService)
    - {
    - test_ = testService;
    - }
    -
    - public void setStartService(boolean startService)
    - {
    - run_ = startService;
    - }
    -
    - public void setWsdlURI(String uri)
    - {
    - wsdlURI_ = uri;
    - }
    -
    - public void setDataObject( Object object )
    - {
    - dataObject_ = object;
    - }
    -
    - public Object getDataObject()
    - {
    - Object result = null;
    -
    - if( dataObject_ != null && dataObject_ instanceof IWebService )
    - {
    - // The data object has already been set with an IWebService
    - // so we will keep this value.
    - result = dataObject_;
    - }
    - else
    - {
    - result = webServiceClient_;
    - }
    -
    - return result;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientInstallCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientInstallCommand.java
    deleted file mode 100644
    index 970c4b187..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientInstallCommand.java
    +++ /dev/null
    @@ -1,116 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.extension;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.command.common.AddModuleToServerCommand;
    -import org.eclipse.jst.ws.internal.consumption.command.common.CreateServerCommand;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.wsrt.IContext;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
    -
    -public class PreClientInstallCommand extends AbstractDataModelOperation
    -{
    - private IWebServiceClient webServiceClient_;
    - private String project_;
    - private String module_;
    - private String earProject_;
    - private String ear_;
    - private IContext context_;
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - if (context_ != null && context_.getInstall())
    - {
    - IEnvironment environment = getEnvironment();
    -
    - if (webServiceClient_.getWebServiceClientInfo().getServerInstanceId()==null)
    - {
    - CreateServerCommand createServerCommand = new CreateServerCommand();
    - createServerCommand.setServerFactoryid(webServiceClient_.getWebServiceClientInfo().getServerFactoryId());
    - createServerCommand.setEnvironment( environment );
    - IStatus createServerStatus = createServerCommand.execute(null, null);
    - if (createServerStatus.getSeverity()==Status.OK)
    - {
    - webServiceClient_.getWebServiceClientInfo().setServerInstanceId(createServerCommand.getServerInstanceId());
    - }
    - else
    - {
    - if (createServerStatus.getSeverity()==Status.ERROR)
    - {
    - environment.getStatusHandler().reportError( createServerStatus );
    - }
    - return createServerStatus;
    - }
    - }
    -
    - AddModuleToServerCommand command = new AddModuleToServerCommand();
    - command.setServerInstanceId(webServiceClient_.getWebServiceClientInfo().getServerInstanceId());
    - if (earProject_ != null && earProject_.length()>0 && ear_!= null && ear_.length()>0)
    - {
    - command.setProject(earProject_);
    - command.setModule(ear_);
    - }
    - else
    - {
    - command.setProject(project_);
    - command.setModule(module_);
    - }
    -
    - command.setEnvironment( environment );
    - IStatus status = command.execute( null, null );
    - if (status.getSeverity()==Status.ERROR)
    - {
    - environment.getStatusHandler().reportError( status );
    - }
    - return status;
    - }
    - return Status.OK_STATUS;
    - }
    -
    - public void setProject( String project )
    - {
    - project_ = project;
    - }
    -
    - public void setModule( String module )
    - {
    - module_ = module;
    - }
    -
    - public void setEarProject( String earProject )
    - {
    - earProject_ = earProject;
    - }
    -
    - public void setEar( String ear )
    - {
    - ear_ = ear;
    - }
    -
    - public void setWebService( IWebServiceClient webServiceClient )
    - {
    - webServiceClient_ = webServiceClient;
    - }
    -
    - public void setContext(IContext context)
    - {
    - context_ = context;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientRunCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientRunCommand.java
    deleted file mode 100644
    index fdb38b08e..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/extension/PreClientRunCommand.java
    +++ /dev/null
    @@ -1,64 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    -
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.extension;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.StartServerCommand;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.wsrt.IContext;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
    -
    -public class PreClientRunCommand extends AbstractDataModelOperation
    -{
    - private IWebServiceClient webServiceClient_;
    - private IContext context_;
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IStatus status = Status.OK_STATUS;
    -
    - if (context_ != null && context_.getRun())
    - {
    - IEnvironment environment = getEnvironment();
    -
    - StartServerCommand command = new StartServerCommand();
    - command.setServerInstanceId(webServiceClient_.getWebServiceClientInfo().getServerInstanceId());
    - command.setEnvironment( environment );
    - status = command.execute( monitor, null );
    - if (status.getSeverity()==Status.ERROR)
    - {
    - environment.getStatusHandler().reportError( status );
    - }
    - }
    -
    - return status;
    - }
    -
    -
    - public void setWebService( IWebServiceClient webServiceClient )
    - {
    - webServiceClient_ = webServiceClient;
    - }
    -
    - public void setContext(IContext context)
    - {
    - context_=context;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/plugin/WebServiceConsumptionUIPlugin.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/plugin/WebServiceConsumptionUIPlugin.java
    deleted file mode 100644
    index f59936725..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/plugin/WebServiceConsumptionUIPlugin.java
    +++ /dev/null
    @@ -1,108 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060424 115690 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060504 136118 joan@ca.ibm.com - Joan Haggarty
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.plugin;
    -
    -import java.net.URL;
    -
    -import org.eclipse.core.runtime.FileLocator;
    -import org.eclipse.core.runtime.Path;
    -import org.eclipse.jface.resource.ImageDescriptor;
    -import org.eclipse.jst.ws.internal.consumption.ui.preferences.PersistentProjectTopologyContext;
    -import org.eclipse.jst.ws.internal.consumption.ui.preferences.PersistentServerRuntimeContext;
    -import org.eclipse.jst.ws.internal.consumption.ui.preferences.ProjectTopologyContext;
    -import org.eclipse.ui.plugin.AbstractUIPlugin;
    -
    -
    -/**
    -* This is the plugin class for the Web Services plugin.
    -* <p>
    -* This plugin contains the graphic user interface to the
    -* Web Services runtime found in org.eclipse.jst.ws.
    -*/
    -public class WebServiceConsumptionUIPlugin extends AbstractUIPlugin
    -{
    -
    - /**
    - * The identifier of the descriptor of this plugin in plugin.xml.
    - */
    - public static final String ID = "org.eclipse.jst.ws.consumption.ui";
    -
    - /**
    - * The reference to the singleton instance of this plugin.
    - */
    - private static WebServiceConsumptionUIPlugin instance_;
    -
    - private PersistentServerRuntimeContext serverRuntimeContext_;
    - private PersistentProjectTopologyContext projectTopologyContext_;
    -
    - /**
    - * Constructs a runtime plugin object for this plugin.
    - */
    - public WebServiceConsumptionUIPlugin ()
    - {
    - super();
    - instance_ = this;
    - }
    -
    - /**
    - * Returns the singleton instance of this plugin. Equivalent to calling
    - * (WebServiceConsumptionUIPlugin)Platform.getPlugin("org.eclipse.jst.ws.ui");
    - * @return The WebServiceConsumptionUIPlugin singleton.
    - */
    - static public WebServiceConsumptionUIPlugin getInstance ()
    - {
    - return instance_;
    - }
    -
    - /**
    - * Returns an image descriptor for the named resource
    - * as relative to the plugin install location.
    - * @return An image descriptor, possibly null.
    - */
    - public static ImageDescriptor getImageDescriptor ( String name )
    - {
    - try
    - {
    - URL imageURL = FileLocator.find(instance_.getBundle(), new Path("$nl$/"+name), null);
    - return ImageDescriptor.createFromURL(imageURL);
    - }
    - catch (Exception e)
    - {
    - return null;
    - }
    - }
    -
    - public ProjectTopologyContext getProjectTopologyContext()
    - {
    - if (projectTopologyContext_ == null)
    - {
    - projectTopologyContext_ = new PersistentProjectTopologyContext();
    - projectTopologyContext_.load();
    - }
    -
    - return projectTopologyContext_;
    - }
    -
    - public PersistentServerRuntimeContext getServerRuntimeContext()
    - {
    - if (serverRuntimeContext_ == null)
    - {
    - serverRuntimeContext_ = new PersistentServerRuntimeContext();
    - serverRuntimeContext_.load();
    - }
    - return serverRuntimeContext_;
    - }
    - }
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentProjectTopologyContext.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentProjectTopologyContext.java
    deleted file mode 100644
    index 5662e980e..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentProjectTopologyContext.java
    +++ /dev/null
    @@ -1,137 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060202 119780 pmoogk@ca.ibm.com - Peter Moogk
    - * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
    - * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.preferences;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.wst.command.internal.env.context.PersistentContext;
    -import com.ibm.icu.util.StringTokenizer;
    -
    -
    -public class PersistentProjectTopologyContext extends PersistentContext implements ProjectTopologyContext
    -{
    -
    - public PersistentProjectTopologyContext ()
    - {
    - super( WebServiceConsumptionUIPlugin.getInstance());
    - }
    -
    - public void load()
    - {
    - //Load the service project types
    - String[] serviceIds = ProjectTopologyDefaults.getServiceTypes();
    - StringBuffer serviceSb = new StringBuffer();
    - for (int i = 0; i < serviceIds.length; i++)
    - {
    - if (i != 0)
    - serviceSb.append(" ");
    - serviceSb.append(serviceIds[i]);
    - }
    - setDefaultStringIfNoDefault(PREFERENCE_SERVICE_TYPES, serviceSb.toString());
    -
    - //Load the client project types
    - String[] ids = ProjectTopologyDefaults.getClientTypes();
    - StringBuffer sb = new StringBuffer();
    - for (int i = 0; i < ids.length; i++)
    - {
    - if (i != 0)
    - sb.append(" ");
    - sb.append(ids[i]);
    - }
    - setDefaultStringIfNoDefault(PREFERENCE_CLIENT_TYPES, sb.toString());
    - setDefault(PREFERENCE_USE_TWO_EARS, ProjectTopologyDefaults.isUseTwoEARs());
    - }
    -
    - public void setServiceTypes(String[] ids)
    - {
    - StringBuffer sb = new StringBuffer();
    - for (int i = 0; i < ids.length; i++)
    - {
    - if (i != 0)
    - sb.append(" ");
    - sb.append(ids[i]);
    - }
    - setValue(PREFERENCE_SERVICE_TYPES, sb.toString());
    - }
    -
    - public String[] getServiceTypes()
    - {
    - StringTokenizer st = new StringTokenizer(getValueAsString(PREFERENCE_SERVICE_TYPES));
    - String[] s = new String[st.countTokens()];
    - for (int i = 0; i < s.length; i++)
    - s[i] = st.nextToken();
    - return s;
    - }
    -
    - public String[] getDefaultServiceTypes()
    - {
    - StringTokenizer st = new StringTokenizer(getDefaultString(PREFERENCE_SERVICE_TYPES));
    - String[] s = new String[st.countTokens()];
    - for (int i = 0; i < s.length; i++)
    - s[i] = st.nextToken();
    - return s;
    - }
    -
    - public void setClientTypes(String[] ids)
    - {
    - StringBuffer sb = new StringBuffer();
    - for (int i = 0; i < ids.length; i++)
    - {
    - if (i != 0)
    - sb.append(" ");
    - sb.append(ids[i]);
    - }
    - setValue(PREFERENCE_CLIENT_TYPES, sb.toString());
    - }
    -
    - public String[] getClientTypes()
    - {
    - StringTokenizer st = new StringTokenizer(getValueAsString(PREFERENCE_CLIENT_TYPES));
    - String[] s = new String[st.countTokens()];
    - for (int i = 0; i < s.length; i++)
    - s[i] = st.nextToken();
    - return s;
    - }
    -
    - public String[] getDefaultClientTypes()
    - {
    - StringTokenizer st = new StringTokenizer(getDefaultString(PREFERENCE_CLIENT_TYPES));
    - String[] s = new String[st.countTokens()];
    - for (int i = 0; i < s.length; i++)
    - s[i] = st.nextToken();
    - return s;
    - }
    -
    - public void setUseTwoEARs(boolean use)
    - {
    - setValue(PREFERENCE_USE_TWO_EARS, use);
    - }
    - public boolean isUseTwoEARs()
    - {
    - return getValueAsBoolean(PREFERENCE_USE_TWO_EARS);
    - }
    -
    - public ProjectTopologyContext copy() {
    - TransientProjectTopologyContext context = new TransientProjectTopologyContext();
    - context.setServiceTypes(getServiceTypes());
    - context.setDefaultServiceTypes(getDefaultServiceTypes());
    - context.setClientTypes(getClientTypes());
    - context.setDefaultClientTypes(getDefaultClientTypes());
    - context.setUseTwoEARs(isUseTwoEARs());
    - return context;
    -}
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentServerRuntimeContext.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentServerRuntimeContext.java
    deleted file mode 100644
    index 558e6b804..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/PersistentServerRuntimeContext.java
    +++ /dev/null
    @@ -1,101 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.preferences;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.wst.command.internal.env.context.PersistentContext;
    -
    -
    -/**
    - *
    - */
    -public class PersistentServerRuntimeContext extends PersistentContext {
    -
    - private String PREFERENCE_SERVER = "PREFERENCE_SERVER";
    - private String PREFERENCE_RUNTIME = "PREFERENCE_RUNTIME";
    - //private String PREFERENCE_J2EE_VERSION = "PREFERENCE_J2EE_VERSION";
    -
    - private String SERVER_FACTORY_ID_DEFAULT = "org.eclipse.jst.server.tomcat.50";
    - private String RUNTIME_ID_DEFAULT = "org.eclipse.jst.ws.axis.creation.axisWebServiceRT";
    -
    - public PersistentServerRuntimeContext()
    - {
    - super(WebServiceConsumptionUIPlugin.getInstance());
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.jst.ws.internal.context.Context#load()
    - */
    - public void load() {
    - //Defaults will be set via the .ini customization. They are hard coded to default values in the
    - //absence of a .ini file.
    - String serverDefault = getDefaultString(PREFERENCE_SERVER);
    - if (serverDefault==null || serverDefault.length()==0)
    - {
    - setDefault(PREFERENCE_SERVER, SERVER_FACTORY_ID_DEFAULT);
    - }
    -
    - String runtimeDefault = getDefaultString(PREFERENCE_RUNTIME);
    - if (runtimeDefault==null || runtimeDefault.length()==0)
    - {
    - setDefault(PREFERENCE_RUNTIME, RUNTIME_ID_DEFAULT);
    - }
    -
    - }
    -
    - public String getDefaultServerFactoryId()
    - {
    - return getDefaultString(PREFERENCE_SERVER);
    - }
    -
    - public String getDefaultRuntimeId()
    - {
    - return getDefaultString(PREFERENCE_RUNTIME);
    - }
    -
    - public String getServerFactoryId()
    - {
    - String value = getValueAsString(PREFERENCE_SERVER);
    - /*
    - if (value==null || value.length()==0)
    - {
    - value = SERVER_FACTORY_ID_DEFAULT;
    - setServerFactoryId(value);
    - }
    - */
    - return value;
    - }
    -
    - public String getRuntimeId()
    - {
    - String value = getValueAsString(PREFERENCE_RUNTIME);
    - /*
    - if (value==null || value.length()==0)
    - {
    - value = RUNTIME_ID_DEFAULT;
    - setRuntimeId(value);
    - }
    - */
    - return value;
    - }
    -
    -
    - public void setServerFactoryId(String id)
    - {
    - setValue(PREFERENCE_SERVER,id);
    - }
    -
    - public void setRuntimeId(String id)
    - {
    - setValue(PREFERENCE_RUNTIME, id);
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyContext.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyContext.java
    deleted file mode 100644
    index cc21c4bf1..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyContext.java
    +++ /dev/null
    @@ -1,42 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.preferences;
    -
    -public interface ProjectTopologyContext
    -{
    - /**
    - * This constant String is used to lookup the preferred order of the different client types
    - **/
    - public static final String PREFERENCE_CLIENT_TYPES = "clientTypes";
    - public static final String PREFERENCE_SERVICE_TYPES = "serviceTypes";
    -
    - /**
    - * This constant String is used to lookup the two EAR option
    - **/
    - public static final String PREFERENCE_USE_TWO_EARS = "useTwoEARs";
    -
    - public void setServiceTypes(String[] ids);
    - public String[] getServiceTypes();
    - public String[] getDefaultServiceTypes();
    -
    - public void setClientTypes(String[] ids);
    - public String[] getClientTypes();
    - public String[] getDefaultClientTypes();
    -
    - public void setUseTwoEARs(boolean use);
    - public boolean isUseTwoEARs();
    -
    - public ProjectTopologyContext copy();
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyDefaults.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyDefaults.java
    deleted file mode 100644
    index e19e1f555..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyDefaults.java
    +++ /dev/null
    @@ -1,36 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.preferences;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -
    -public class ProjectTopologyDefaults
    -{
    -
    - public static final String[] getServiceTypes()
    - {
    - return WebServiceRuntimeExtensionUtils2.getAllServiceProjectTypes();
    - }
    -
    - public static final String[] getClientTypes()
    - {
    - return WebServiceRuntimeExtensionUtils2.getAllClientProjectTypes();
    - }
    -
    - public static final boolean isUseTwoEARs()
    - {
    - return true;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyPreferencePage.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyPreferencePage.java
    deleted file mode 100644
    index 40c7bc1fa..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ProjectTopologyPreferencePage.java
    +++ /dev/null
    @@ -1,406 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2003, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060515 141398 cbrealey@ca.ibm.com - Chris Brealey
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.preferences;
    -
    -import java.util.Vector;
    -
    -import org.eclipse.jface.preference.PreferencePage;
    -import org.eclipse.jface.viewers.ColumnWeightData;
    -import org.eclipse.jface.viewers.IStructuredContentProvider;
    -import org.eclipse.jface.viewers.LabelProvider;
    -import org.eclipse.jface.viewers.TableLayout;
    -import org.eclipse.jface.viewers.TableViewer;
    -import org.eclipse.jface.viewers.Viewer;
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.jst.ws.internal.ui.WSUIPluginMessages;
    -import org.eclipse.jst.ws.internal.ui.plugin.WebServiceUIPlugin;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.events.SelectionEvent;
    -import org.eclipse.swt.events.SelectionListener;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Button;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Control;
    -import org.eclipse.swt.widgets.Group;
    -import org.eclipse.swt.widgets.Table;
    -import org.eclipse.swt.widgets.TableColumn;
    -import org.eclipse.ui.IWorkbench;
    -import org.eclipse.ui.IWorkbenchPreferencePage;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate;
    -import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
    -
    -
    -
    -public class ProjectTopologyPreferencePage extends PreferencePage implements IWorkbenchPreferencePage, SelectionListener
    -{
    - /*CONTEXT_ID PTPP0001 for the Project Topology Preference Page*/
    - private String INFOPOP_PTPP_PAGE = WebServiceUIPlugin.ID + ".PPTP0001";
    -
    - private TableViewer serviceTypeViewer_;
    - private Button serviceMoveUp_;
    - private Button serviceMoveDown_;
    - private Vector serviceTypes_;
    -
    - private TableViewer clientTypeViewer_;
    - private Button moveUp_;
    - private Button moveDown_;
    - private Vector clientTypes_;
    -
    - private Button twoEAR_;
    -
    - /**
    - * Creates preference page controls on demand.
    - * @param parent the parent for the preference page
    - */
    - protected Control createContents(Composite superparent)
    - {
    - Composite parent = new Composite( superparent, SWT.NONE );
    - GridLayout layout = new GridLayout();
    - layout.numColumns = 1;
    - parent.setLayout( layout );
    - parent.setToolTipText(WSUIPluginMessages.TOOLTIP_PTPP_PAGE);
    - parent.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
    - PlatformUI.getWorkbench().getHelpSystem().setHelp(parent,INFOPOP_PTPP_PAGE);
    -
    - Group serviceTypeComposite = new Group( parent, SWT.NONE );
    - GridLayout servicegl = new GridLayout();
    - servicegl.numColumns = 2;
    - servicegl.marginHeight = 0;
    - servicegl.marginWidth = 0;
    - serviceTypeComposite.setLayout(servicegl);
    - serviceTypeComposite.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ));
    - serviceTypeComposite.setText(WSUIPluginMessages.LABEL_SERVICE_TYPE_NAME);
    -
    - Table serviceTable= new Table(serviceTypeComposite, SWT.BORDER | SWT.SINGLE | SWT.FULL_SELECTION | SWT.H_SCROLL | SWT.V_SCROLL);
    - GridData servicegd = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
    - servicegd.widthHint = 256;
    - serviceTable.setLayoutData(servicegd);
    - serviceTable.setToolTipText(WSUIPluginMessages.TOOLTIP_SERVICE_TYPE_TABLE_VIEWER);
    -
    - serviceTypes_ = new Vector();
    - serviceTypeViewer_ = new TableViewer(serviceTable);
    - serviceTypeViewer_.setContentProvider(new ClientTypeContentProvider());
    - serviceTypeViewer_.setLabelProvider(new ClientTypeLabelProvider());
    - serviceTypeViewer_.setInput(serviceTypes_);
    -
    - TableLayout serviceTableLayout = new TableLayout();
    - TableColumn serviceTableColumn = new TableColumn(serviceTable, SWT.NONE);
    - serviceTableColumn.setText(WSUIPluginMessages.LABEL_SERVICE_TYPE_NAME);
    - ColumnWeightData serviceColumnData = new ColumnWeightData(256, 256, false);
    - serviceTableLayout.addColumnData(serviceColumnData);
    - serviceTable.setLayout(serviceTableLayout);
    -
    - Composite servicec = new Composite(serviceTypeComposite, SWT.NONE);
    - servicegl = new GridLayout();
    - servicegl.numColumns = 1;
    - servicegl.marginHeight = 10;
    - servicegl.marginWidth = 0;
    - servicec.setLayout(servicegl);
    -
    - serviceMoveUp_ = new Button(servicec, SWT.PUSH);
    - serviceMoveUp_.setText(WSUIPluginMessages.LABEL_MOVE_UP);
    - serviceMoveUp_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    - serviceMoveUp_.addSelectionListener(this);
    - serviceMoveUp_.setToolTipText(WSUIPluginMessages.TOOLTIP_MOVE_UP);
    -
    - serviceMoveDown_ = new Button(servicec, SWT.PUSH);
    - serviceMoveDown_.setText(WSUIPluginMessages.LABEL_MOVE_DOWN);
    - serviceMoveDown_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    - serviceMoveDown_.addSelectionListener(this);
    - serviceMoveDown_.setToolTipText(WSUIPluginMessages.TOOLTIP_MOVE_DOWN);
    -
    -
    - Group clientTypeComposite = new Group( parent, SWT.NONE );
    - GridLayout gl = new GridLayout();
    - gl.numColumns = 2;
    - gl.marginHeight = 0;
    - gl.marginWidth = 0;
    - clientTypeComposite.setLayout(gl);
    - clientTypeComposite.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ));
    - clientTypeComposite.setText(WSUIPluginMessages.LABEL_CLIENT_TYPE_NAME);
    -
    - Table table= new Table(clientTypeComposite, SWT.BORDER | SWT.SINGLE | SWT.FULL_SELECTION | SWT.H_SCROLL | SWT.V_SCROLL);
    - GridData gd = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
    - gd.widthHint = 256;
    - table.setLayoutData(gd);
    - table.setToolTipText(WSUIPluginMessages.TOOLTIP_CLIENT_TYPE_TABLE_VIEWER);
    -
    - clientTypes_ = new Vector();
    - clientTypeViewer_ = new TableViewer(table);
    - clientTypeViewer_.setContentProvider(new ClientTypeContentProvider());
    - clientTypeViewer_.setLabelProvider(new ClientTypeLabelProvider());
    - clientTypeViewer_.setInput(clientTypes_);
    -
    - TableLayout tableLayout = new TableLayout();
    - TableColumn tableColumn = new TableColumn(table, SWT.NONE);
    - tableColumn.setText(WSUIPluginMessages.LABEL_CLIENT_TYPE_NAME);
    - ColumnWeightData columnData = new ColumnWeightData(256, 256, false);
    - tableLayout.addColumnData(columnData);
    - table.setLayout(tableLayout);
    -
    - Composite c = new Composite(clientTypeComposite, SWT.NONE);
    - gl = new GridLayout();
    - gl.numColumns = 1;
    - gl.marginHeight = 10;
    - gl.marginWidth = 0;
    - c.setLayout(gl);
    -
    - moveUp_ = new Button(c, SWT.PUSH);
    - moveUp_.setText(WSUIPluginMessages.LABEL_MOVE_UP_2);
    - moveUp_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    - moveUp_.addSelectionListener(this);
    - moveUp_.setToolTipText(WSUIPluginMessages.TOOLTIP_MOVE_UP);
    -
    - moveDown_ = new Button(c, SWT.PUSH);
    - moveDown_.setText(WSUIPluginMessages.LABEL_MOVE_DOWN_2);
    - moveDown_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    - moveDown_.addSelectionListener(this);
    - moveDown_.setToolTipText(WSUIPluginMessages.TOOLTIP_MOVE_DOWN);
    -
    - twoEAR_ = new Button(parent, SWT.CHECK | SWT.WRAP );
    - twoEAR_.setText(WSUIPluginMessages.LABEL_ENABLE_TWO_EARS);
    - twoEAR_.setToolTipText(WSUIPluginMessages.TOOLTIP_ENABLE_TWO_EARS);
    -
    - initializeValues();
    - org.eclipse.jface.dialogs.Dialog.applyDialogFont(superparent);
    -
    - return parent;
    - }
    -
    - /**
    - * Does anything necessary because the default button has been pressed.
    - */
    - protected void performDefaults()
    - {
    - super.performDefaults();
    - initializeDefaults();
    - }
    -
    - /**
    - * Do anything necessary because the OK button has been pressed.
    - * @return whether it is okay to close the preference page
    - */
    - public boolean performOk()
    - {
    - storeValues();
    - return true;
    - }
    -
    - protected void performApply()
    - {
    - performOk();
    - }
    -
    - /**
    - * @see IWorkbenchPreferencePage
    - */
    - public void init(IWorkbench workbench) { }
    -
    -
    - /**
    - * Adds the String elements of array a into Vector v. If String array b contains any elements
    - * that are not already in array a, appends these elements from array b to the end of Vector v.
    - * @param a a String array
    - * @param b a String array
    - * @param v a non-null Vector
    - */
    - private void setVectorContentsFromTwoArrays(String[] a, String[] b, Vector v)
    - {
    - for (int i = 0; i < a.length; i++)
    - {
    - v.add(a[i]);
    - }
    -
    - for (int i = 0; i < b.length; i++)
    - {
    - if (v.indexOf(b[i]) == -1)
    - {
    - v.add(b[i]);
    - }
    - }
    - }
    -
    - /**
    - * Initializes states of the controls to their burned-in defaults.
    - */
    - private void initializeDefaults()
    - {
    - ProjectTopologyContext context = WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
    - serviceTypes_.clear();
    - String[] defaultServiceTypes = context.getDefaultServiceTypes();
    - String[] allServiceTypes = ProjectTopologyDefaults.getServiceTypes();
    - setVectorContentsFromTwoArrays(defaultServiceTypes, allServiceTypes, serviceTypes_);
    - serviceTypeViewer_.refresh();
    -
    - clientTypes_.clear();
    - String[] defaultClientTypes = context.getDefaultClientTypes();
    - String[] allClientTypes = ProjectTopologyDefaults.getClientTypes();
    - setVectorContentsFromTwoArrays(defaultClientTypes, allClientTypes, clientTypes_);
    - clientTypeViewer_.refresh();
    -
    - twoEAR_.setSelection(true);
    - }
    -
    - /**
    - * Initializes states of the controls from the preference helper.
    - */
    - private void initializeValues()
    - {
    - //Initial service project types.
    - ProjectTopologyContext context = WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
    - String[] serviceTypesFromContext = context.getServiceTypes();
    - String[] allServiceTypes = ProjectTopologyDefaults.getServiceTypes();
    - setVectorContentsFromTwoArrays(serviceTypesFromContext, allServiceTypes, serviceTypes_);
    - if (allServiceTypes.length > serviceTypesFromContext.length)
    - {
    - String[] serviceTypesArray = new String[serviceTypes_.size()];
    - serviceTypes_.copyInto(serviceTypesArray);
    - context.setServiceTypes(serviceTypesArray);
    - }
    - // refresh viewer
    - serviceTypeViewer_.refresh();
    -
    -
    - //Initialize client project types.
    - String[] clientTypesFromContext = context.getClientTypes();
    - String[] allClientTypes = ProjectTopologyDefaults.getClientTypes();
    - setVectorContentsFromTwoArrays(clientTypesFromContext, allClientTypes, clientTypes_);
    - if (allClientTypes.length > clientTypesFromContext.length)
    - {
    - String[] clientTypesArray = new String[clientTypes_.size()];
    - clientTypes_.copyInto(clientTypesArray);
    - context.setClientTypes(clientTypesArray);
    - }
    -
    - // refresh viewer
    - clientTypeViewer_.refresh();
    -
    - twoEAR_.setSelection(context.isUseTwoEARs());
    - }
    -
    - /**
    - * Stores the values of the controls back to the preference helper.
    - */
    - private void storeValues()
    - {
    - ProjectTopologyContext context = WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
    - String[] serviceTypesArray = new String[serviceTypes_.size()];
    - serviceTypes_.copyInto(serviceTypesArray);
    - context.setServiceTypes(serviceTypesArray);
    - String[] types = new String[clientTypes_.size()];
    - clientTypes_.copyInto(types);
    - context.setClientTypes(types);
    - context.setUseTwoEARs(twoEAR_.getSelection());
    - }
    -
    - public void widgetDefaultSelected(SelectionEvent e)
    - {
    - }
    -
    - public void widgetSelected(SelectionEvent e)
    - {
    - if (e.widget == serviceMoveUp_ || e.widget == serviceMoveDown_)
    - {
    - int index = serviceTypeViewer_.getTable().getSelectionIndex();
    - if (index != -1)
    - {
    - if (e.widget == serviceMoveUp_ && index > 0)
    - {
    - Object object = serviceTypes_.remove(index);
    - serviceTypes_.insertElementAt(object, index-1);
    - serviceTypeViewer_.refresh();
    - }
    - else if (e.widget == serviceMoveDown_ && index < serviceTypes_.size()-1)
    - {
    - Object object = serviceTypes_.remove(index);
    - serviceTypes_.insertElementAt(object, index+1);
    - serviceTypeViewer_.refresh();
    - }
    - }
    - }
    - else if (e.widget == moveUp_ || e.widget == moveDown_)
    - {
    - int index = clientTypeViewer_.getTable().getSelectionIndex();
    - if (index != -1)
    - {
    - if (e.widget == moveUp_ && index > 0)
    - {
    - Object object = clientTypes_.remove(index);
    - clientTypes_.insertElementAt(object, index - 1);
    - clientTypeViewer_.refresh();
    - } else if (e.widget == moveDown_ && index < clientTypes_.size() - 1)
    - {
    - Object object = clientTypes_.remove(index);
    - clientTypes_.insertElementAt(object, index + 1);
    - clientTypeViewer_.refresh();
    - }
    - }
    - }
    - }
    -
    - private class ClientTypeContentProvider implements IStructuredContentProvider
    - {
    - /**
    - * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(Object)
    - */
    - public Object[] getElements(Object value)
    - {
    - return ((Vector)value).toArray(new String[0]);
    - }
    -
    - /**
    - * @see org.eclipse.jface.viewers.IContentProvider#dispose()
    - */
    - public void dispose()
    - {
    - }
    -
    - /**
    - * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(Viewer, Object, Object)
    - */
    - public void inputChanged(Viewer arg0, Object arg1, Object arg2)
    - {
    - }
    - }
    -
    - private class ClientTypeLabelProvider extends LabelProvider
    - {
    - public ClientTypeLabelProvider()
    - {
    - }
    -
    - /**
    - * @see org.eclipse.jface.viewers.ILabelProvider#getImage(Object)
    - */
    - public Image getImage(Object arg0)
    - {
    - return null;
    - }
    -
    - /**
    - * @see org.eclipse.jface.viewers.ILabelProvider#getText(Object)
    - */
    - public String getText(Object value)
    - {
    - IFacetedProjectTemplate template = ProjectFacetsManager.getTemplate( (String)value );
    -
    - return template.getLabel();
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ServerRuntimePreferencePage.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ServerRuntimePreferencePage.java
    deleted file mode 100644
    index 699f53424..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/ServerRuntimePreferencePage.java
    +++ /dev/null
    @@ -1,358 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2007 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060728 151723 mahutch@ca.ibm.com - Mark Hutchinson
    - * 20070109 130965 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.preferences;
    -
    -import java.util.ArrayList;
    -import java.util.Arrays;
    -
    -import org.eclipse.jface.preference.PreferencePage;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -import org.eclipse.jst.ws.internal.ui.common.UIUtils;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Combo;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Control;
    -import org.eclipse.swt.widgets.Event;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.ui.IWorkbench;
    -import org.eclipse.ui.IWorkbenchPreferencePage;
    -import org.eclipse.wst.command.internal.env.core.selection.SelectionListChoices;
    -
    -
    -/**
    - *
    - */
    -public class ServerRuntimePreferencePage extends PreferencePage implements IWorkbenchPreferencePage, Listener
    -{
    - private String pluginId_= "org.eclipse.jst.ws.consumption.ui";
    -
    - /* CONTEXT_ID SRPF0001 for server preference on the server runtime preference page */
    - private String INFOPOP_SRPF_SERVER_PREF = pluginId_ + ".SRPF0001";
    - private Combo server_;
    -
    - /* CONTEXT_ID SRPF0002 for runtime preference on the server runtime preference page */
    - private String INFOPOP_SRPF_RUNTIME_PREF = pluginId_ + ".SRPF0002";
    - private Combo runtime_;
    -
    - /* CONTEXT_ID SRPF0003 for J2EE version preference on the server runtime preference page */
    - /*
    - private String INFOPOP_SRPF_J2EE_PREF = pluginId_ + ".SRPF0003";
    - private Combo j2eeVersion_;
    - */
    -
    - SelectionListChoices serverToRuntimeToJ2EE_;
    -
    - public void init(IWorkbench workbench) { }
    - /* (non-Javadoc)
    - * @see org.eclipse.jface.preference.PreferencePage#createContents(org.eclipse.swt.widgets.Composite)
    - */
    - protected Control createContents(Composite parent)
    - {
    - UIUtils uiUtils = new UIUtils(pluginId_);
    -
    - Composite page = new Composite(parent, SWT.NONE);
    - GridLayout gl = new GridLayout();
    - gl.numColumns = 2;
    - page.setLayout(gl);
    - GridData gd = new GridData(GridData.VERTICAL_ALIGN_FILL | GridData.HORIZONTAL_ALIGN_FILL);
    - page.setLayoutData(gd);
    -
    - server_ = uiUtils.createCombo(page,ConsumptionUIMessages.LABEL_SERVERS_LIST,
    - ConsumptionUIMessages.TOOLTIP_SRPF_COMBO_SERVER,
    - INFOPOP_SRPF_SERVER_PREF,
    - SWT.SINGLE|SWT.BORDER|SWT.READ_ONLY);
    -
    - runtime_ = uiUtils.createCombo(page,ConsumptionUIMessages.LABEL_RUNTIMES_LIST,
    - ConsumptionUIMessages.TOOLTIP_SRPF_COMBO_RUNTIME,
    - INFOPOP_SRPF_RUNTIME_PREF,
    - SWT.SINGLE|SWT.BORDER|SWT.READ_ONLY);
    -
    -/*
    - j2eeVersion_ = uiUtils.createCombo(page,ConsumptionUIMessages.LABEL_J2EE_VERSION,
    - ConsumptionUIMessages.TOOLTIP_SRPF_COMBO_J2EE,
    - INFOPOP_SRPF_J2EE_PREF,
    - SWT.SINGLE|SWT.BORDER|SWT.READ_ONLY);
    -*/
    -
    - initializeValues();
    - startListening();
    - applyDialogFont(page);
    - return page;
    - }
    -
    - private void initializeValues()
    - {
    - PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
    - serverToRuntimeToJ2EE_ = WebServiceRuntimeExtensionUtils2.getServerToRuntimeToJ2EE();
    -
    -
    - setServerItems(serverToRuntimeToJ2EE_.getList().getList());
    - String defaultServerText = context.getServerFactoryId();
    - serverToRuntimeToJ2EE_.getList().setSelectionValue(defaultServerText);
    - setServerSelection(defaultServerText);
    -
    - setRuntimeItems(serverToRuntimeToJ2EE_.getChoice().getList().getList());
    - String defaultRuntimeText = context.getRuntimeId();
    - serverToRuntimeToJ2EE_.getChoice().getList().setSelectionValue(defaultRuntimeText);
    - setRuntimeSelection(defaultRuntimeText);
    - }
    -
    - public void handleEvent(Event event)
    - {
    - if (server_ == event.widget)
    - {
    - handleServerSelected();
    - }
    - else if (runtime_ == event.widget)
    - {
    - handleRuntimeSelected();
    - }
    - }
    -
    - private void handleServerSelected()
    - {
    - stopListening();
    -
    - String selectedText = getServerSelection();
    - serverToRuntimeToJ2EE_.getList().setSelectionValue(selectedText);
    -
    - // TODO (see bug 116025) - Since the server and runtime set in serverToRuntimeToJ2EE is just the list of
    - // all servers and all runtime (i.e. no validation checking is being done), no need to update the runtime,
    - // just keep the original value.
    - //Update the runtime -------------------------------
    -// setRuntimeItems(serverToRuntimeToJ2EE_.getChoice().getList().getList());
    -// if (serverToRuntimeToJ2EE_.getChoice().getList().getList().length > 0)
    -// serverToRuntimeToJ2EE_.getChoice().getList().setIndex(0);
    -//
    -// String newRuntimeText = serverToRuntimeToJ2EE_.getChoice().getList().getSelection();
    -// if (newRuntimeText!=null && newRuntimeText.length()>0)
    -// setRuntimeSelection(newRuntimeText);
    -
    - startListening();
    - }
    -
    - private void handleRuntimeSelected()
    - {
    - stopListening();
    -
    - String selectedText = getRuntimeSelection();
    - serverToRuntimeToJ2EE_.getChoice().getList().setSelectionValue(selectedText);
    - startListening();
    - }
    -
    -
    - /**
    - * Does anything necessary because the default button has been pressed.
    - */
    - protected void performDefaults()
    - {
    - super.performDefaults();
    - setToDefaults();
    - }
    -
    - private void setToDefaults()
    - {
    - PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
    -
    - String defaultServerText = context.getDefaultServerFactoryId();
    - serverToRuntimeToJ2EE_.getList().setSelectionValue(defaultServerText);
    - setServerSelection(defaultServerText);
    -
    - setRuntimeItems(serverToRuntimeToJ2EE_.getChoice().getList().getList());
    - String defaultRuntimeText = context.getDefaultRuntimeId();
    - serverToRuntimeToJ2EE_.getChoice().getList().setSelectionValue(defaultRuntimeText);
    - setRuntimeSelection(defaultRuntimeText);
    - }
    -
    - /**
    - * Do anything necessary because the OK button has been pressed.
    - * @return whether it is okay to close the preference page
    - */
    - public boolean performOk()
    - {
    - storeValues();
    - return true;
    - }
    -
    - private void storeValues()
    - {
    - PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
    - context.setServerFactoryId(getServerSelection());
    - context.setRuntimeId(getRuntimeSelection());
    - }
    -
    - protected void performApply()
    - {
    - performOk();
    - }
    -
    -
    - private void startListening()
    - {
    - server_.addListener(SWT.Selection,this);
    - runtime_.addListener(SWT.Selection,this);
    - }
    -
    - private void stopListening()
    - {
    - server_.removeListener(SWT.Selection, this);
    - runtime_.removeListener(SWT.Selection, this);
    - }
    -
    - private void setServerItems(String[] factoryIds)
    - {
    -
    - if (factoryIds != null)
    - {
    - ArrayList serverLabelsList = new ArrayList();
    - for (int i=0;i<factoryIds.length;i++)
    - {
    - //String thisServerLabel = WebServiceServerRuntimeTypeRegistry.getInstance().getServerLabel(factoryIds[i]);
    - String thisServerLabel = WebServiceRuntimeExtensionUtils2.getServerLabelById(factoryIds[i]);
    - if (thisServerLabel!=null && thisServerLabel.length()>0)
    - {
    - serverLabelsList.add(thisServerLabel);
    - }
    -
    - }
    - String[] serverLabels = convertToStringArray(serverLabelsList.toArray());
    - server_.setItems(serverLabels);
    - }
    -
    - }
    -
    - private void setRuntimeItems(String[] ids)
    - {
    - if (ids != null)
    - {
    - String[] runtimeLabels = new String[ids.length];
    - for (int i=0;i<ids.length;i++)
    - {
    - //runtimeLabels[i] = WebServiceServerRuntimeTypeRegistry.getInstance().getRuntimeLabel(ids[i]);
    - runtimeLabels[i] = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(ids[i]);
    - }
    -
    - //sort the labels (bug 151723)
    - Arrays.sort(runtimeLabels);
    - runtime_.setItems(runtimeLabels);
    - }
    -
    - }
    -
    - /*
    - private void setJ2EEItems(String[] versions)
    - {
    - if (versions != null)
    - {
    - String[] j2eeLabels = new String[versions.length];
    - for (int i = 0; i < versions.length; i++)
    - {
    - String label = J2EEUtils.getLabelFromJ2EEVersion(versions[i]);
    - if (label != null && label.length()>0)
    - j2eeLabels[i] = label;
    - else
    - j2eeLabels[i] = ConsumptionUIMessages.LABEL_NA;
    - }
    - j2eeVersion_.setItems(j2eeLabels);
    -
    - //Disable the combo if it has no items.
    - if (j2eeLabels.length > 0)
    - j2eeVersion_.setEnabled(true);
    - else
    - j2eeVersion_.setEnabled(false);
    - }
    -
    - }
    - */
    -
    - private String getServerSelection()
    - {
    - String serverLabel = server_.getText();
    - //return WebServiceServerRuntimeTypeRegistry.getInstance().getServerFactoryId(serverLabel);
    - return WebServiceRuntimeExtensionUtils2.getServerFactoryId(serverLabel);
    - }
    -
    - private String getRuntimeSelection()
    - {
    - String runtimeLabel = runtime_.getText();
    - //return WebServiceServerRuntimeTypeRegistry.getInstance().getRuntimeId(runtimeLabel);
    - return WebServiceRuntimeExtensionUtils2.getRuntimeId(runtimeLabel);
    - }
    -
    - /*
    - private String getJ2EESelection()
    - {
    - String j2eeLabel = j2eeVersion_.getText();
    - return J2EEUtils.getJ2EEVersionFromLabel(j2eeLabel);
    - }
    - */
    -
    - private void setServerSelection(String factoryId)
    - {
    - //String label = WebServiceServerRuntimeTypeRegistry.getInstance().getServerLabel(factoryId);
    - String label = WebServiceRuntimeExtensionUtils2.getServerLabelById(factoryId);
    - setSelection(server_,label);
    - }
    -
    - private void setRuntimeSelection(String id)
    - {
    - //String label = WebServiceServerRuntimeTypeRegistry.getInstance().getRuntimeLabel(id);
    - String label = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(id);
    - setSelection(runtime_,label);
    - }
    -
    - /*
    - private void setJ2EESelection(String version)
    - {
    - String label = J2EEUtils.getLabelFromJ2EEVersion(version);
    - setSelection(j2eeVersion_, label);
    - }
    - */
    -
    - private void setSelection(Combo combo, String s)
    - {
    - String[] items = combo.getItems();
    - for (int i=0; i<items.length; i++)
    - {
    - if (items[i].equals(s))
    - {
    - combo.select(i);
    - return;
    - }
    - }
    - }
    -
    - private String[] convertToStringArray(Object[] a)
    - {
    - if (a==null) return new String[0];
    -
    - int length = a.length;
    - String[] sa = new String[length];
    - for (int i=0; i<length; i++)
    - {
    - Object obj = a[i];
    - if (obj instanceof String)
    - {
    - sa[i] = (String)obj;
    - }
    - }
    - return sa;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/TransientProjectTopologyContext.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/TransientProjectTopologyContext.java
    deleted file mode 100644
    index 1102733c6..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/preferences/TransientProjectTopologyContext.java
    +++ /dev/null
    @@ -1,90 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.preferences;
    -
    -
    -public class TransientProjectTopologyContext implements ProjectTopologyContext
    -{
    - private String[] serviceTypes;
    - private String[] defaultServiceTypes;
    -
    - private String[] clientTypes;
    - private String[] defaultClientTypes;
    -
    - private boolean twoEARs;
    -
    - public TransientProjectTopologyContext () {}
    -
    - public void setServiceTypes(String[] serviceTypes)
    - {
    - this.serviceTypes = serviceTypes;
    - }
    - public String[] getServiceTypes()
    - {
    - return serviceTypes;
    - }
    -
    - public void setClientTypes(String[] clientTypes)
    - {
    - this.clientTypes = clientTypes;
    - }
    - public String[] getClientTypes()
    - {
    - return clientTypes;
    - }
    -
    - public void setUseTwoEARs(boolean use)
    - {
    - this.twoEARs = use;
    - }
    - public boolean isUseTwoEARs()
    - {
    - return twoEARs;
    - }
    -
    - public ProjectTopologyContext copy() {
    - TransientProjectTopologyContext context = new TransientProjectTopologyContext();
    - context.setServiceTypes(getServiceTypes());
    - context.setDefaultServiceTypes(getDefaultServiceTypes());
    - context.setClientTypes(getClientTypes());
    - context.setDefaultClientTypes(getDefaultClientTypes());
    - context.setUseTwoEARs(isUseTwoEARs());
    - return context;
    - }
    -
    -
    -public void setDefaultServiceTypes(String[] defaultServiceTypes)
    -{
    - this.defaultServiceTypes = defaultServiceTypes;
    -}
    -
    -public String[] getDefaultServiceTypes()
    -{
    - return defaultServiceTypes;
    -
    -}
    -
    -
    -public void setDefaultClientTypes(String[] defaultClientTypes)
    -{
    - this.defaultClientTypes = defaultClientTypes;
    -}
    -
    -public String[] getDefaultClientTypes()
    -{
    - return defaultClientTypes;
    -
    -}
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/selection/SelectionTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/selection/SelectionTransformer.java
    deleted file mode 100644
    index 7daac8ead..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/selection/SelectionTransformer.java
    +++ /dev/null
    @@ -1,32 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.selection;
    -
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.Selection;
    -import org.eclipse.wst.command.internal.env.core.data.Transformer;
    -
    -public class SelectionTransformer implements Transformer
    -{
    - public Object transform(Object value)
    - {
    - IStructuredSelection inSelection = (IStructuredSelection)value;
    - Selection outSelection = new Selection();
    -
    - if (inSelection != null)
    - {
    - outSelection.setSelection( inSelection.toArray() );
    - }
    -
    - return outSelection;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetContributor.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetContributor.java
    deleted file mode 100644
    index 4a5a76d41..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetContributor.java
    +++ /dev/null
    @@ -1,54 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.server;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.wst.command.internal.env.ui.widgets.INamedWidgetContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
    -import org.eclipse.wst.server.core.IServer;
    -
    -public class StartClientWidgetContributor implements INamedWidgetContributor
    -{
    - private IServer server_;
    -
    - public StartClientWidgetContributor( IServer server )
    - {
    - server_ = server;
    - }
    -
    - public String getDescription()
    - {
    - return ConsumptionUIMessages.PAGE_DESC_WS_START_SERVER;
    - }
    -
    - public String getName()
    - {
    - return "";
    - }
    -
    - public String getTitle()
    - {
    - return ConsumptionUIMessages.PAGE_TITLE_WS_START_SERVER;
    - }
    -
    - public WidgetContributorFactory getWidgetContributorFactory()
    - {
    - return new WidgetContributorFactory()
    - {
    - public WidgetContributor create()
    - {
    - return new StartServerWidget( server_ );
    - }
    - };
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetFactory.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetFactory.java
    deleted file mode 100644
    index 47e597291..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartClientWidgetFactory.java
    +++ /dev/null
    @@ -1,68 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.server;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.extension.PreClientDevelopCommand;
    -import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
    -import org.eclipse.wst.command.internal.env.ui.widgets.INamedWidgetContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.INamedWidgetContributorFactory;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.ServerCore;
    -import org.eclipse.wst.ws.internal.wsrt.IContext;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
    -
    -public class StartClientWidgetFactory implements INamedWidgetContributorFactory
    -{
    - private IWebServiceClient webserviceClient_;
    - private IContext context_;
    -
    - public INamedWidgetContributor getFirstNamedWidget()
    - {
    - IServer server = null;
    -
    - if( webserviceClient_ != null && context_.getRun())
    - {
    - server = ServerCore.findServer(webserviceClient_.getWebServiceClientInfo().getServerInstanceId() );
    - }
    -
    - if( server != null && server.getServerState() != IServer.STATE_STARTED )
    - {
    - return new StartClientWidgetContributor( server );
    - }
    -
    - return null;
    - }
    -
    - public INamedWidgetContributor getNextNamedWidget( INamedWidgetContributor widgetContributor)
    - {
    - return null;
    - }
    -
    - public void registerDataMappings(DataMappingRegistry dataRegistry)
    - {
    - dataRegistry.addMapping( PreClientDevelopCommand.class, "WebService", StartClientWidgetFactory.class );
    - dataRegistry.addMapping( PreClientDevelopCommand.class, "Context", StartClientWidgetFactory.class );
    - }
    -
    - public void setWebService( IWebServiceClient webserviceClient )
    - {
    - webserviceClient_ = webserviceClient;
    - }
    -
    - public void setContext ( IContext context )
    - {
    - context_ = context;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartServerWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartServerWidget.java
    deleted file mode 100644
    index 47459296c..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/server/StartServerWidget.java
    +++ /dev/null
    @@ -1,443 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.server;
    -
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.NullProgressMonitor;
    -import org.eclipse.core.runtime.Platform;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.core.runtime.jobs.IJobChangeEvent;
    -import org.eclipse.core.runtime.jobs.IJobManager;
    -import org.eclipse.core.runtime.jobs.Job;
    -import org.eclipse.core.runtime.jobs.JobChangeAdapter;
    -import org.eclipse.jface.wizard.ProgressMonitorPart;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.StartServerCommand;
    -import org.eclipse.jst.ws.internal.ui.common.UIUtils;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.events.SelectionAdapter;
    -import org.eclipse.swt.events.SelectionEvent;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Button;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Display;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.Shell;
    -import org.eclipse.swt.widgets.Text;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.core.context.TransientResourceContext;
    -import org.eclipse.wst.command.internal.env.eclipse.EclipseEnvironment;
    -import org.eclipse.wst.command.internal.env.ui.eclipse.EclipseStatusHandler;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -import org.eclipse.wst.common.environment.NullStatusHandler;
    -import org.eclipse.wst.server.core.IServer;
    -
    -public class StartServerWidget extends SimpleWidgetDataContributor
    -{
    - private IServer server_;
    - private IStatus status_;
    - private Listener statusListener_;
    - private Button button_;
    - private JobChangeAdapter jobChangeAdapter_;
    - private Text serverStateText_;
    - private ProgressMonitorPart progressMonitor_;
    - private String pluginId_;
    - private Composite buttonGroup_;
    -
    - /*CONTEXT_ID SSWP0001 Start the server button. */
    - private String INFOPOP_SSWP_SERVER_BUTTON = "SSWP0001";
    -
    - public StartServerWidget( IServer server )
    - {
    - pluginId_ = "org.eclipse.jst.ws.consumption.ui";
    -
    - server_ = server;
    -
    - jobChangeAdapter_ = new JobChangeAdapter()
    - {
    - public void done(final IJobChangeEvent event)
    - {
    - Display.getDefault().asyncExec( new Runnable()
    - {
    - public void run()
    - {
    - if( !progressMonitor_.isDisposed() )
    - {
    - setServerState();
    - progressMonitor_.done();
    - reportErrorIfRequired( (StartServerJob)event.getJob() );
    - }
    - }
    - });
    - }
    - };
    - }
    -
    - public WidgetDataEvents addControls(Composite parent, Listener statusListener)
    - {
    - statusListener_ = statusListener;
    -
    - UIUtils uiUtils = new UIUtils( pluginId_ );
    - Composite group = uiUtils.createComposite( parent, 1 );
    -
    - Text text1 = uiUtils.createText( group, null, null, null, SWT.READ_ONLY );
    - text1.setText( NLS.bind(ConsumptionUIMessages.LABEL_START_SERVER_TEXT1, new String[]{ server_.getName() } ));
    -
    - Text text2 = uiUtils.createText( group, null, null, null, SWT.READ_ONLY );
    - text2.setText( NLS.bind(ConsumptionUIMessages.LABEL_START_SERVER_TEXT2, new String[]{ server_.getName() } ));
    -
    - Text text3 = uiUtils.createText( group, null, null, null, SWT.READ_ONLY );
    - text3.setText( NLS.bind(ConsumptionUIMessages.LABEL_START_SERVER_TEXT3, new String[]{ server_.getName() } ));
    -
    - Text text4 = uiUtils.createText( group, null, null, null, SWT.READ_ONLY );
    - text4.setText( NLS.bind(ConsumptionUIMessages.LABEL_START_SERVER_TEXT4, new String[]{ server_.getName() } ));
    -
    - buttonGroup_ = uiUtils.createComposite( group, 2,-1, 0 );
    - serverStateText_ = uiUtils.createText( buttonGroup_, null, null, null, SWT.READ_ONLY );
    - serverStateText_.setLayoutData( new GridData() );
    -
    - button_ = uiUtils.createPushButton( buttonGroup_,
    - ConsumptionUIMessages.LABEL_START_SERVER_BUTTON,
    - ConsumptionUIMessages.TOOLTIP_START_SERVER_BUTTON,
    - INFOPOP_SSWP_SERVER_BUTTON );
    -
    - button_.addSelectionListener( new SelectionAdapter()
    - {
    - public void widgetSelected( SelectionEvent evt )
    - {
    - serverStateText_.setText( getStateMessage( ConsumptionUIMessages.TEXT_SERVER_STATUS, ConsumptionUIMessages.TEXT_SERVER_STARTING ) );
    - progressMonitor_.beginTask( getStateMessage( ConsumptionUIMessages.TEXT_SERVER_MSG, ConsumptionUIMessages.TEXT_SERVER_STARTING ), IProgressMonitor.UNKNOWN );
    - button_.setEnabled( false );
    - buttonGroup_.pack();
    - startServerJob();
    - }
    - } );
    -
    - progressMonitor_ = new ProgressMonitorPart( group, new GridLayout() );
    - progressMonitor_.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ));
    -
    - setServerState();
    - return this;
    - }
    -
    - public IStatus getStatus()
    - {
    - return status_;
    - }
    -
    - private void setServerState()
    - {
    - int state = server_.getServerState();
    -
    - switch( state )
    - {
    - case IServer.STATE_STARTED:
    - {
    - status_ = Status.OK_STATUS;
    - button_.setEnabled( false );
    - serverStateText_.setText( getStateMessage( ConsumptionUIMessages.TEXT_SERVER_STATUS, ConsumptionUIMessages.TEXT_SERVER_STARTED ) );
    -
    - break;
    - }
    -
    - case IServer.STATE_STARTING:
    - {
    - status_ = StatusUtils.errorStatus( "" );
    - button_.setEnabled( false );
    - serverStateText_.setText( getStateMessage( ConsumptionUIMessages.TEXT_SERVER_STATUS, ConsumptionUIMessages.TEXT_SERVER_STARTING ) );
    - progressMonitor_.beginTask( getStateMessage( ConsumptionUIMessages.TEXT_SERVER_MSG, ConsumptionUIMessages.TEXT_SERVER_STARTING ), IProgressMonitor.UNKNOWN );
    -
    - // The server is still starting so we need to reconnect to the job
    - // that is starting it.
    - startServerJob();
    - break;
    - }
    -
    - default:
    - {
    - status_ = StatusUtils.errorStatus( "" );
    - button_.setEnabled( true );
    - serverStateText_.setText( getStateMessage( ConsumptionUIMessages.TEXT_SERVER_STATUS, ConsumptionUIMessages.TEXT_SERVER_STOPPED ) );
    - break;
    - }
    - };
    -
    - statusListener_.handleEvent( null );
    - buttonGroup_.pack();
    - }
    -
    - private String getStateMessage( String mainKey, String subKey )
    - {
    - return NLS.bind( mainKey, new String[]{ subKey } );
    - }
    -
    - // Connect to an existing server thread otherwise start a new one.
    - private void startServerJob()
    - {
    - IJobManager jobManager = Platform.getJobManager();
    - Job[] jobs = jobManager.find( StartServerFamily );
    - StartServerJob startServerJob = null;
    -
    - // There may be more than one job starting for different servers.
    - // Therefore, we need to find the one for our server if it is available.
    - for( int index = 0; index < jobs.length; index++ )
    - {
    - StartServerJob jobFound = (StartServerJob)jobs[index];
    -
    - if( jobFound.getServer() == server_ )
    - {
    - startServerJob = jobFound;
    - break;
    - }
    - }
    -
    - if( startServerJob != null )
    - {
    - synchronized( StartServerFamily )
    - {
    - IStatus status = startServerJob.getStatus();
    -
    - // We are using status to determine if the job has completed or not.
    - // Normally, we would not get here if the job had already completed,
    - // but there is a slim window where the job manager gives us the job
    - // and then it immediately completes.
    - if( status == null )
    - {
    - // The job had not completed yet so we will add a job change listener.
    - // We are adding the job listener here so that we don't have to assume
    - // that this instance of this widget is the same as the previous instance.
    - // If startServerJob already has "jobChangeAdapter_" added to it this
    - // method call will not have an effect.(Which is what we want.)
    - startServerJob.addJobChangeListener( jobChangeAdapter_ );
    -
    - // Note: this job was reporting progress to different progressMonitor_
    - // control. We need to tell the job that it should report progress
    - // to our new progressMonitor_ control on this wizard page.
    - ProgressMonitorWrapper monitor = (ProgressMonitorWrapper)startServerJob.getMonitor();
    - monitor.setMonitor( progressMonitor_ );
    - }
    - else
    - {
    - // The job completed before we had a chance to add the job change listener
    - // Therefore, we will just call jobChangeAdapter_ directly to notify
    - // the UI that the job has completed.
    - jobChangeAdapter_.done( null );
    - }
    - }
    - }
    - else
    - {
    - startServerJob = new StartServerJob();
    - startServerJob.addJobChangeListener( jobChangeAdapter_ );
    - startServerJob.schedule();
    - }
    - }
    -
    - private void reportErrorIfRequired( StartServerJob serverJob )
    - {
    - IStatus status = serverJob.getStatus();
    -
    - if( status.getSeverity() == Status.ERROR )
    - {
    - Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
    - EclipseStatusHandler handler = new EclipseStatusHandler( shell );
    -
    - handler.reportError( status );
    - }
    - }
    -
    - final private static String StartServerFamily = "StartServerFamily";
    -
    - // This class is used to start up the server in an Eclipse job.
    - private class StartServerJob extends Job
    - {
    - private IStatus status_ = null;
    - private ProgressMonitorWrapper envMonitor_;
    -
    - public StartServerJob()
    - {
    - super( "StartServerJob" );
    -
    - envMonitor_ = new ProgressMonitorWrapper( progressMonitor_ );
    - }
    -
    - public IServer getServer()
    - {
    - return server_;
    - }
    -
    - public ProgressMonitorWrapper getMonitor()
    - {
    - return envMonitor_;
    - }
    -
    - public boolean belongsTo(Object family)
    - {
    - return family == StartServerFamily;
    - }
    -
    - protected IStatus run(IProgressMonitor monitor)
    - {
    - NullStatusHandler handler = new NullStatusHandler();
    - TransientResourceContext resourceContext = new TransientResourceContext();
    - EclipseEnvironment environment = new EclipseEnvironment( null,resourceContext, handler );
    - StartServerCommand serverCommand = new StartServerCommand( false );
    -
    - serverCommand.setServerInstanceId( server_.getId() );
    - serverCommand.setEnvironment( environment );
    -
    - try
    - {
    - setStatus( serverCommand.execute( envMonitor_, null ) );
    - }
    - catch( Throwable exc )
    - {
    - exc.printStackTrace();
    - setStatus( StatusUtils.errorStatus( exc ) );
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    - // Calls to this method need to first synchronize on the
    - // StartServerFamily object.
    - public IStatus getStatus()
    - {
    - return status_;
    - }
    -
    - private void setStatus( IStatus status )
    - {
    - synchronized( StartServerFamily )
    - {
    - status_ = status;
    - }
    - }
    - }
    -
    - private class ProgressMonitorWrapper implements IProgressMonitor
    - {
    - private IProgressMonitor monitor_ = new NullProgressMonitor();
    -
    - public ProgressMonitorWrapper( IProgressMonitor monitor )
    - {
    - monitor_ = monitor;
    - }
    -
    - public void setMonitor( IProgressMonitor monitor )
    - {
    - monitor_ = monitor;
    - }
    -
    - public void beginTask(final String name, final int totalWork)
    - {
    - Display.getDefault().asyncExec( new Runnable()
    - {
    - public void run()
    - {
    - if( !progressMonitor_.isDisposed() )
    - {
    - monitor_.beginTask( name, totalWork );
    - }
    - }
    - } );
    - }
    -
    - public void done()
    - {
    - Display.getDefault().asyncExec( new Runnable()
    - {
    - public void run()
    - {
    - if( !progressMonitor_.isDisposed() )
    - {
    - monitor_.done();
    - }
    - }
    - } );
    - }
    -
    - public void internalWorked(final double work)
    - {
    - Display.getDefault().asyncExec( new Runnable()
    - {
    - public void run()
    - {
    - if( !progressMonitor_.isDisposed() )
    - {
    - monitor_.internalWorked( work );
    - }
    - }
    - } );
    - }
    -
    - public boolean isCanceled()
    - {
    - return progressMonitor_.isDisposed() ? false : monitor_.isCanceled();
    - }
    -
    - public void setCanceled(boolean value)
    - {
    - if( !progressMonitor_.isDisposed() )
    - {
    - monitor_.setCanceled( value );
    - }
    - }
    -
    - public void setTaskName(final String name)
    - {
    - Display.getDefault().asyncExec( new Runnable()
    - {
    - public void run()
    - {
    - if( !progressMonitor_.isDisposed() )
    - {
    - monitor_.setTaskName( name );
    - }
    - }
    - } );
    - }
    -
    - public void subTask( final String name)
    - {
    - Display.getDefault().asyncExec( new Runnable()
    - {
    - public void run()
    - {
    - if( !progressMonitor_.isDisposed() )
    - {
    - monitor_.subTask( name );
    - }
    - }
    - } );
    - }
    -
    - public void worked(final int work)
    - {
    - Display.getDefault().asyncExec( new Runnable()
    - {
    - public void run()
    - {
    - if( !progressMonitor_.isDisposed() )
    - {
    - monitor_.worked( work );
    - }
    - }
    - } );
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractHandlersWidgetDefaultingCmd.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractHandlersWidgetDefaultingCmd.java
    deleted file mode 100644
    index 5a490aef3..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractHandlersWidgetDefaultingCmd.java
    +++ /dev/null
    @@ -1,121 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import java.util.List;
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -
    -/**
    - * AbstractHandlersWidgetDefaultingCmd
    - *
    - * Initialize and load the handlers data
    - */
    -public abstract class AbstractHandlersWidgetDefaultingCmd extends AbstractDataModelOperation
    -{
    -
    - private IStructuredSelection initialSelection_;
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    - IStatus status = Status.OK_STATUS;
    -
    - IStructuredSelection selection = initialSelection_;
    - if (selection == null) {
    - status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED );
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    -
    -
    - return status;
    -
    - }
    -
    -
    - public List getClientHandlers(){
    - return null;
    - }
    -
    - public void setInitialSelection(IStructuredSelection initSelection){
    - this.initialSelection_ = initSelection;
    - }
    -
    - public IStructuredSelection getInitialSelection(){
    - return this.initialSelection_;
    - }
    -
    - protected IResource getResourceFromInitialSelection()
    - {
    - if (initialSelection_ != null && initialSelection_.size() == 1)
    - {
    - Object obj = initialSelection_.getFirstElement();
    - if (obj != null)
    - {
    - try
    - {
    - IResource resource = ResourceUtils.getResourceFromSelection(obj);
    - return resource;
    - } catch(CoreException e)
    - {
    - return null;
    - }
    - }
    - }
    - return null;
    - }
    -
    - public IProject getProject(){
    -
    - IResource resource = getResourceFromInitialSelection();
    - if (resource != null)
    - {
    - return ResourceUtils.getProjectOf( resource.getFullPath() );
    - }
    -
    - return null;
    - }
    -
    - public String getComponentName(){
    - IResource resource = getResourceFromInitialSelection();
    - if (resource!=null) {
    - IPath absolutePath = resource.getFullPath();
    - if (absolutePath.isAbsolute()) {
    - return absolutePath.segment(1);
    - }
    - }
    - return null;
    - }
    -
    -// public WebServiceEditModel getWebServiceEditModel() {
    -// WebServicesManager wsm = new WebServicesManager();
    -// IProject project = getProject();
    -// return wsm.getWSEditModel(project);
    -// }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractObjectSelectionLaunchable.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractObjectSelectionLaunchable.java
    deleted file mode 100644
    index 1c00cca66..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AbstractObjectSelectionLaunchable.java
    +++ /dev/null
    @@ -1,53 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.StructuredSelection;
    -import org.eclipse.swt.widgets.Shell;
    -
    -public abstract class AbstractObjectSelectionLaunchable implements IObjectSelectionLaunchable {
    -
    - public int launch(Shell shell) {
    - return -1;
    - }
    -
    - public IStatus validateSelection(IStructuredSelection objectSelection) {
    - // subclass should override this method
    - return Status.OK_STATUS;
    - }
    -
    - public IStructuredSelection getObjectSelection() {
    - // subclass should override this method
    - return new StructuredSelection();
    - }
    -
    - public void setInitialSelection(IStructuredSelection initialSelection) {
    - // subclass should override this method
    - }
    -
    - public String getObjectSelectionDisplayableString()
    - {
    - // subclass should override this method
    - return "";
    - }
    -
    - public boolean validate(String s) {
    - // subclass should override this method
    - return true;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AddHandlerDialog.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AddHandlerDialog.java
    deleted file mode 100644
    index 045aa362b..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/AddHandlerDialog.java
    +++ /dev/null
    @@ -1,265 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060529 143518 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.jdt.core.IType;
    -import org.eclipse.jface.dialogs.Dialog;
    -import org.eclipse.jface.dialogs.ProgressMonitorDialog;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.ui.common.UIUtils;
    -import org.eclipse.jst.ws.internal.ui.dialog.DialogUtils;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.events.SelectionAdapter;
    -import org.eclipse.swt.events.SelectionEvent;
    -import org.eclipse.swt.widgets.Button;
    -import org.eclipse.swt.widgets.Combo;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Control;
    -import org.eclipse.swt.widgets.Event;
    -import org.eclipse.swt.widgets.Label;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.Shell;
    -import org.eclipse.swt.widgets.Text;
    -
    -
    -
    -public class AddHandlerDialog extends Dialog implements Listener {
    -
    - private String pluginId_ = "org.eclipse.jst.ws.consumption.ui";
    -
    - private boolean validateOn_;
    - private boolean isClient_;
    - private boolean isMultipleServices_;
    - private String className;
    - private String name;
    - private String selectedPortName;
    -
    - private Text classNameText;
    - private Text nameText;
    - private Combo portNameCombo;
    -
    - // ----TOOLTIPS Section----
    - /* CONTEXT_ID AHDL0001 for the Handler Config Page */
    - private final String INFOPOP_TEXT_HANDLER_NAME = "AHDL0001"; //$NON-NLS-1$
    -
    - /* CONTEXT_ID AHDL0002 for the Handler Config Page */
    - private final String INFOPOP_TEXT_HANDLER_CLASS = "AHDL0002"; //$NON-NLS-1$
    -
    - /* CONTEXT_ID AHDL0001 for the Handler Config Page */
    - private final String INFOPOP_TEXT_HANDLER_PORT = "AHDL0003"; //$NON-NLS-1$
    -
    - private Button beanClassBrowseButton_;
    - /*CONTEXT_ID PBCL0003 for the Bean Class Browse button of the Bean Selection Page*/
    - private String INFOPOP_PBCL_BUTTON_BEAN_CLASS_BROWSE = "PBCL0003";
    -
    - public AddHandlerDialog( Shell shell, boolean isClientHandler)
    - {
    - super(shell);
    - setShellStyle(getShellStyle() | SWT.RESIZE);
    - isClient_ = isClientHandler;
    - }
    -
    - protected Control createContents(Composite parent) {
    - Composite comp = (Composite) super.createContents(parent);
    - parent.getShell().pack();
    - return comp;
    - }
    -
    - protected Control createDialogArea(Composite parent) {
    - validateOn_ = false;
    - UIUtils uiUtils = new UIUtils(pluginId_);
    -
    - Shell thisShell = parent.getShell();
    - if (thisShell == null) {
    - thisShell = createShell();
    - }
    - thisShell.setText(ConsumptionUIMessages.DIALOG_TITLE_WS_ADD_HANDLER);
    -
    - Composite composite = (Composite) super.createDialogArea(parent);
    -
    - Composite sourceLocationComp = uiUtils.createComposite(composite, 3);
    -
    - classNameText = uiUtils.createText(sourceLocationComp, ConsumptionUIMessages.LABEL_TEXT_HANDLER_CLASS, ConsumptionUIMessages.TOOLTIP_TEXT_HANDLER_CLASS, INFOPOP_TEXT_HANDLER_CLASS, SWT.SINGLE | SWT.BORDER);
    - classNameText.addListener(SWT.Modify,this);
    -
    - beanClassBrowseButton_ = uiUtils.createPushButton( sourceLocationComp, ConsumptionUIMessages.BUTTON_BROWSE_CLASSES,
    - ConsumptionUIMessages.TOOLTIP_PBCL_BUTTON_BEAN_CLASS_BROWSE,
    - INFOPOP_PBCL_BUTTON_BEAN_CLASS_BROWSE );
    - beanClassBrowseButton_.addSelectionListener( new SelectionAdapter()
    - {
    - public void widgetSelected( SelectionEvent evt )
    - {
    - handleBrowseClasses();
    - }
    - } );
    -
    - nameText = uiUtils.createText(sourceLocationComp, ConsumptionUIMessages.LABEL_TEXT_HANDLER_NAME, ConsumptionUIMessages.TOOLTIP_TEXT_HANDLER_NAME, INFOPOP_TEXT_HANDLER_NAME, SWT.SINGLE | SWT.BORDER );
    - nameText.addListener(SWT.Modify, this);
    -
    - // dummy label for column 3.
    - new Label( sourceLocationComp, SWT.NONE );
    -
    - if (!isClient_ && !isMultipleServices_){
    - portNameCombo = uiUtils.createCombo(sourceLocationComp, ConsumptionUIMessages.LABEL_TEXT_HANDLER_PORT, ConsumptionUIMessages.TOOLTIP_TEXT_HANDLER_PORT, INFOPOP_TEXT_HANDLER_PORT, SWT.SINGLE | SWT.BORDER );
    - portNameCombo.addListener(SWT.Modify, this);
    -
    - // dummy label for column 3.
    - new Label( sourceLocationComp, SWT.NONE );
    - }
    - validateOn_ = true;
    - return composite;
    - }
    -
    - private void handleBrowseClasses()
    - {
    - Shell shell = getShell();
    - IType itype = DialogUtils.browseClassesAsIType(shell, ResourcesPlugin.getWorkspace().getRoot().getProjects(), new ProgressMonitorDialog(shell));
    -
    - if( itype != null )
    - {
    - classNameText.setText(itype.getFullyQualifiedName());
    - }
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Event)
    - */
    - public void handleEvent(Event event) {
    - if (!validateOn_)
    - return;
    - if (classNameText == event.widget) {
    - handleClassNameTextEvent();
    - validateTextFieldEntries();
    - return;
    - }
    - if (nameText == event.widget) {
    - handleNameTextEvent();
    - validateTextFieldEntries();
    - return;
    - }
    - if (portNameCombo == event.widget) {
    - handlePortNameTextEvent();
    - validateTextFieldEntries();
    - return;
    - }
    - }
    -
    - private void handleClassNameTextEvent(){
    - className = classNameText.getText();
    - if (className.lastIndexOf(".java") != -1){
    - nameText.setText(className.substring(0, className.lastIndexOf(".java")));
    - }
    - else {
    - nameText.setText(className);
    - }
    -
    - if (className.lastIndexOf(".") != -1){
    - nameText.setText(className.substring(className.lastIndexOf(".")+1, className.length()));
    - }
    - name = nameText.getText();
    - }
    -
    - private void handleNameTextEvent() {
    - name = nameText.getText();
    -
    - }
    -
    - private void handlePortNameTextEvent(){
    - selectedPortName = portNameCombo.getText();
    - }
    -
    - private void disableOKButton() {
    - if (getButton(0) != null)
    - getButton(0).setEnabled(false);
    - }
    -
    - private void enableOKButton() {
    - if (getButton(0) != null)
    - getButton(0).setEnabled(true);
    - }
    -
    - private void validateTextFieldEntries(){
    - if (classNameText.getText().equals("")){
    - disableOKButton();
    - return;
    - }
    - if (nameText.getText().equals("")){
    - disableOKButton();
    - return;
    - }
    - if (!isClient_ && !isMultipleServices_){
    - if (portNameCombo.getText()!=null && portNameCombo.getText().equals("")){
    - disableOKButton();
    - return;
    - }
    - else if (portNameCombo.getText()==null) {
    - disableOKButton();
    - return;
    - }
    - }
    -
    - enableOKButton();
    -
    -
    - }
    -
    - /**
    - * @return Returns the className.
    - */
    - public String getClassName() {
    - if (className.lastIndexOf(".java") != -1){
    - return className.substring(0, className.lastIndexOf(".java"));
    - }
    - else {
    - return className;
    - }
    - }
    - /**
    - * @param className The className to set.
    - */
    - public void setClassName(String className) {
    - this.className = className;
    - }
    - /**
    - * @return Returns the name.
    - */
    - public String getName() {
    - return name;
    - }
    - /**
    - * @param name The name to set.
    - */
    - public void setName(String name) {
    - this.name = name;
    - }
    - /**
    - * @return Returns the portName.
    - */
    - public String getPortName() {
    - return selectedPortName;
    - }
    - /**
    - * @param portName The portName to set.
    - */
    - public void setPortNames(String[] portNames) {
    - portNameCombo.setItems(portNames);
    - portNameCombo.select(0);
    - }
    -
    - public void setIsMultipleServices(boolean isMultipleServices){
    - this.isMultipleServices_ = isMultipleServices;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/CheckWSDLValidationCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/CheckWSDLValidationCommand.java
    deleted file mode 100644
    index 3962d82e5..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/CheckWSDLValidationCommand.java
    +++ /dev/null
    @@ -1,106 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060420 120714 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Platform;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.core.runtime.jobs.IJobManager;
    -import org.eclipse.core.runtime.jobs.Job;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.ValidateWSDLJob;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.Choice;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.plugin.WSPlugin;
    -
    -
    -public class CheckWSDLValidationCommand extends AbstractDataModelOperation
    -{
    -
    - public CheckWSDLValidationCommand () {
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    -
    - IJobManager jobManager = Platform.getJobManager();
    - Job[] jobs = jobManager.find( ValidateWSDLJob.VALIDATE_WSDL_JOB_FAMILY );
    - ValidateWSDLJob existingValidateWSDLJob = null;
    -
    - if( jobs.length > 0 )
    - {
    - for (int i=0; i<jobs.length; i++) {
    - existingValidateWSDLJob = (ValidateWSDLJob)jobs[i];
    -
    - if (existingValidateWSDLJob.getState() != Job.NONE) {
    - if (ignoreWSDLValidation(env)) {
    - // if don't want to wait for validation, cancel existing validation job
    - existingValidateWSDLJob.cancel();
    - return Status.OK_STATUS;
    - } else {
    - // Setting the error string to an empty string so that the command engine would not
    - // pop-up another error message when the user decided to wait for WSDL validation.
    - return StatusUtils.errorStatus( "" );
    - }
    - }
    - }
    - }
    -
    - return Status.OK_STATUS;
    -
    - }
    -
    - private boolean ignoreWSDLValidation(IEnvironment env) {
    - if (!WSPlugin.getInstance().getWaitForWSDLValidationContext().getPersistentWaitForWSDLValidation())
    - return true; // do not want to wait for WSDL validation, i.e. Ignore all
    -
    - // give a warning message with the options to stop, ignore this one, or
    - // ignore all coming messages
    - IStatus status_ = StatusUtils.warningStatus( ConsumptionUIMessages.STILL_VALIDATING_WSDL );
    - // adding all messages from WSI Incompliances
    -
    - Choice ignoreChoice = new Choice('C', ConsumptionUIMessages.CANCEL_VALIDATION_LABEL,
    - ConsumptionUIMessages.CANCEL_VALIDATION_DESCRIPTION);
    - Choice ignoreAllChoice = new Choice('A', ConsumptionUIMessages.CANCEL_ALL_VALIDATION_LABEL,
    - ConsumptionUIMessages.CANCEL_ALL_VALIDATION_DESCRIPTION);
    - Choice cancelChoice = new Choice('W', ConsumptionUIMessages.WAIT_VALIDATION_LABEL,
    - ConsumptionUIMessages.WAIT_VALIDATION_DESCRIPTION);
    -
    - Choice result = env.getStatusHandler().report(status_,
    - new Choice[] { ignoreChoice, ignoreAllChoice, cancelChoice });
    -
    - // if the user closes the message box or selects ignore continue
    - if (result == null
    - || (result.getLabel().equals(ignoreChoice.getLabel()))) {
    - return true;
    - // if the user selects ignore all, change the preference
    - } else if (result.getLabel().equals(ignoreAllChoice.getLabel())) {
    - // update ignore WSDL validation preference
    - WSPlugin.getInstance().getWaitForWSDLValidationContext().setWaitForWSDLValidation(false);
    - return true;
    - }
    - // if the user selects to cancel , do not continue with the command
    - else if (result.getLabel().equals(cancelChoice.getLabel())) {
    - return false;
    - }
    - return true;
    - }
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetDefaultingCommand.java
    deleted file mode 100644
    index 333a36d50..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetDefaultingCommand.java
    +++ /dev/null
    @@ -1,329 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import java.util.Collection;
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Vector;
    -
    -import org.eclipse.core.resources.IFile;
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.emf.ecore.resource.Resource;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jem.util.emf.workbench.WorkbenchResourceHelperBase;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jst.j2ee.applicationclient.componentcore.util.AppClientArtifactEdit;
    -import org.eclipse.jst.j2ee.client.ApplicationClient;
    -import org.eclipse.jst.j2ee.client.ApplicationClientResource;
    -import org.eclipse.jst.j2ee.ejb.EJBJar;
    -import org.eclipse.jst.j2ee.ejb.EJBResource;
    -import org.eclipse.jst.j2ee.ejb.internal.modulecore.util.EJBArtifactEditUtilities;
    -import org.eclipse.jst.j2ee.internal.webservice.WebServiceNavigatorGroupType;
    -import org.eclipse.jst.j2ee.internal.webservice.helper.WebServicesManager;
    -import org.eclipse.jst.j2ee.web.componentcore.util.WebArtifactEdit;
    -import org.eclipse.jst.j2ee.webapplication.WebApp;
    -import org.eclipse.jst.j2ee.webapplication.WebAppResource;
    -import org.eclipse.jst.j2ee.webservice.wsclient.Handler;
    -import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
    -import org.eclipse.jst.j2ee.webservice.wsclient.WebServicesResource;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerServiceRefHolder;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.componentcore.ComponentCore;
    -import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -
    -/**
    - * ClientHandlersWidgetDefaultingCommand
    - *
    - * Initialize and load the handlers data
    - */
    -public class ClientHandlersWidgetDefaultingCommand extends AbstractHandlersWidgetDefaultingCmd {
    -
    - private WebServicesManager webServicesManager_;
    -
    - private IProject project_;
    -
    - private String serviceRefName_ = null;
    -
    - private List wsServiceRefs_;
    -
    - private HandlerServiceRefHolder[] handlerServiceRefHolder_;
    - private String errorStatusMsg_ = null;
    - private boolean isMultipleSelection_;
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    - IStatus status = Status.OK_STATUS;
    -
    - webServicesManager_ = WebServicesManager.getInstance();
    -
    - IStructuredSelection selection = getInitialSelection();
    - if (selection == null) {
    - status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED );
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    - else if (selection.size()>1){
    - status = processMultipleHandlers();
    - return status;
    - }
    -
    - status = processHandlers();
    - return status;
    -
    - }
    -
    - /**
    - * For processing handlers
    - * @return
    - */
    - public IStatus processHandlers() {
    - try {
    -
    - Collection selectedServiceRefs = getWSServiceRefsFromSelection(); // get initial selection values
    - if (selectedServiceRefs==null || selectedServiceRefs.isEmpty()){
    - //report no Web service client is available
    - return StatusUtils.errorStatus(ConsumptionUIMessages.MSG_ERROR_WEB_SERVICE_CLIENTS_NOT_FOUND);
    - }
    - wsServiceRefs_ = webServicesManager_.getAllWorkspaceServiceRefs();
    -
    - if (wsServiceRefs_ != null) {
    - int numberOfServiceRefs = wsServiceRefs_.size();
    - handlerServiceRefHolder_ = new HandlerServiceRefHolder[numberOfServiceRefs];
    -
    - for (int i = 0; i < numberOfServiceRefs; i++) {
    - ServiceRef wsServiceRef = (ServiceRef) wsServiceRefs_.get(i);
    - Vector handlers = new Vector();
    - List wsHandlers = wsServiceRef.getHandlers();
    -
    - for (int k = 0; k < wsHandlers.size(); k++) {
    -
    - Handler wsHandler = (Handler) wsHandlers.get(k);
    -
    - HandlerTableItem handlerItem = new HandlerTableItem();
    - handlerItem.setHandler(wsHandler);
    - handlerItem.setHandlerName(wsHandler.getHandlerName());
    - handlerItem.setHandlerClassName(wsHandler.getHandlerClass().getQualifiedName());
    - handlerItem.setWsDescRef(wsServiceRef);
    -
    - handlers.add(handlerItem);
    - }
    - String wsServiceRefName = wsServiceRef.getServiceRefName();
    - handlerServiceRefHolder_[i] = new HandlerServiceRefHolder();
    - handlerServiceRefHolder_[i].setHandlerList(handlers);
    - handlerServiceRefHolder_[i].setServiceRef(wsServiceRef);
    - handlerServiceRefHolder_[i].setServiceRefName(wsServiceRefName);
    -
    - }
    -
    - }
    -
    - }
    - catch (Exception e) {
    - return StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED, e);
    - }
    - return Status.OK_STATUS;
    - }
    -
    - public IStatus processMultipleHandlers(){
    - ServiceRef[] serviceRefs = getServiceRefs();
    - if (errorStatusMsg_ != null){
    - return StatusUtils.errorStatus(errorStatusMsg_);
    - }
    - isMultipleSelection_ = true;
    -
    - handlerServiceRefHolder_ = new HandlerServiceRefHolder[serviceRefs.length];
    - Vector handlers = new Vector();
    - for (int i=0;i<serviceRefs.length;i++){
    -
    - String refName = serviceRefs[i].getServiceRefName();
    - handlerServiceRefHolder_[i] = new HandlerServiceRefHolder();
    - handlerServiceRefHolder_[i].setHandlerList(handlers);
    - handlerServiceRefHolder_[i].setServiceRefName(refName);
    - handlerServiceRefHolder_[i].setServiceRef(serviceRefs[i]);
    - }
    - return Status.OK_STATUS;
    - }
    -
    - /**
    - * @return Returns the isGenSkeletonEnabled_.
    - */
    - public boolean getGenSkeletonEnabled() {
    - if (isMultipleSelection_)
    - return false;
    - return true;
    - }
    -
    -
    - public String getServiceRefName() {
    - return this.serviceRefName_;
    - }
    -
    - public IProject getClientProject() {
    - return project_;
    - }
    -
    - private ServiceRef[] getServiceRefs(){
    - IStructuredSelection initSel = getInitialSelection();
    - ServiceRef[] serviceRefs = new ServiceRef[initSel.size()];
    - Iterator iter = initSel.iterator();
    - for (int i=0;i<initSel.size();i++) {
    - Object obj = iter.next();
    - if (obj instanceof ServiceRef){
    - serviceRefs[i] = (ServiceRef)obj;
    - }
    - else{
    - errorStatusMsg_ = ConsumptionUIMessages.MSG_ERROR_INVALID_MULTIPLE_SERVICE_SELECT;
    - return null;
    - }
    - }
    - return serviceRefs;
    -}
    -
    - private Collection getWSServiceRefsFromSelection() {
    -
    - IStructuredSelection initSel = getInitialSelection();
    - if (initSel != null && initSel.size() == 1) {
    - Object obj = initSel.getFirstElement();
    - ServiceRef serviceRef = null;
    - if (obj instanceof ServiceRef) {
    - // Client ServiceRef
    - serviceRef = (ServiceRef) obj;
    - serviceRefName_ = serviceRef.getServiceRefName();
    - project_ = ProjectUtilities.getProject(serviceRef);
    - }
    - else if (obj instanceof WebServiceNavigatorGroupType) {
    - WebServiceNavigatorGroupType wsngt = (WebServiceNavigatorGroupType) obj;
    - serviceRef = wsngt.getServiceRef();
    - serviceRefName_ = serviceRef.getServiceRefName();
    - project_ = ProjectUtilities.getProject(serviceRef);
    - }
    - else if (obj instanceof IFile){
    - Resource res = WorkbenchResourceHelperBase.getResource((IFile)obj, true);
    - Collection serviceRefs = null;
    - if (res instanceof WebServicesResource) {
    - // webservicesclient.xml for J2EE 1.3
    - WebServicesResource wsRes = (WebServicesResource)res;
    - serviceRefs = wsRes.getWebServicesClient().getServiceRefs();
    - if (!serviceRefs.isEmpty()) {
    - ServiceRef ref = (ServiceRef)((List)serviceRefs).get(0);
    - serviceRefName_ = ref.getServiceRefName();
    - project_ = ProjectUtilities.getProject(ref);
    - return serviceRefs;
    - }
    - return null;
    - }
    - else {
    - if(res instanceof WebAppResource){
    - // web.xml for J2EE 1.4
    - WebAppResource webAppRes = (WebAppResource)res;
    - serviceRefs = webAppRes.getWebApp().getServiceRefs();
    - }
    - else if (res instanceof EJBResource){
    - EJBResource ejbRes = (EJBResource)res;
    - serviceRefs = webServicesManager_.getServiceRefs(ejbRes.getEJBJar());
    - }
    - else if (res instanceof ApplicationClientResource){
    - ApplicationClientResource appClientRes = (ApplicationClientResource)res;
    - serviceRefs = webServicesManager_.getServiceRefs(appClientRes.getApplicationClient());//appClientRes.getApplicationClient().getServiceRefs();
    - }
    - if (serviceRefs!=null && serviceRefs.size()>0) {
    - ServiceRef ref = (ServiceRef)((List)serviceRefs).get(0);
    - serviceRefName_ = ref.getServiceRefName();
    - project_ = ProjectUtilities.getProject(ref);
    - }
    - return serviceRefs;
    - }
    - }
    -
    - // This section is for obtaining all the serviceRefs from the project, given that the initial selection
    - // was from the J2EE view (ServiceRef or WebServiceNavigatorGroupType), it will select the right serviceRef
    - if (project_==null){
    - project_ = getProject();
    - }
    - if (project_==null){
    - return null;
    - }
    -
    - if (J2EEUtils.isWebComponent(project_)) {
    - WebArtifactEdit webEdit = null;
    - try {
    - IVirtualComponent vc = ComponentCore.createComponent(project_);
    - webEdit = WebArtifactEdit.getWebArtifactEditForRead(vc);
    - if (webEdit != null)
    - {
    - WebApp webApp = (WebApp) webEdit.getDeploymentDescriptorRoot();
    - if (webApp != null) {
    - return webServicesManager_.getServiceRefs(webApp);
    - }
    - }
    - }
    - finally{
    - if(webEdit!=null)
    - webEdit.dispose();
    - }
    - }
    - else if (J2EEUtils.isEJBComponent(project_)){
    -
    - IVirtualComponent vc = ComponentCore.createComponent(project_);
    - EJBJar ejbJar = EJBArtifactEditUtilities.getEJBJar(vc);
    - if (ejbJar!=null) {
    - return webServicesManager_.getServiceRefs(ejbJar);
    - }
    - }
    - else if (J2EEUtils.isAppClientComponent(project_)){
    - IVirtualComponent vc = ComponentCore.createComponent(project_);
    - AppClientArtifactEdit appEdit = null;
    - try {
    - appEdit = AppClientArtifactEdit.getAppClientArtifactEditForRead(vc);
    - if (appEdit!=null){
    - ApplicationClient appClient = appEdit.getApplicationClient();
    - if (appClient !=null){
    - return webServicesManager_.getServiceRefs(appClient);
    - }
    - }
    - }
    - finally{
    - if(appEdit!=null){
    - appEdit.dispose();
    - }
    - }
    - }
    -
    -
    - }
    - return null;
    - }
    -
    - public Collection getWsServiceRefs(){
    - return this.wsServiceRefs_;
    - }
    -
    - public boolean getIsMultipleSelection(){
    - return this.isMultipleSelection_;
    - }
    -
    - public HandlerServiceRefHolder[] getHandlerServiceRefHolder(){
    - return this.handlerServiceRefHolder_;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetOutputCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetOutputCommand.java
    deleted file mode 100644
    index 4cee18a13..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientHandlersWidgetOutputCommand.java
    +++ /dev/null
    @@ -1,207 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060517 142339 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import java.util.ArrayList;
    -import java.util.Enumeration;
    -import java.util.Hashtable;
    -import java.util.List;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.JavaClass;
    -import org.eclipse.jst.j2ee.applicationclient.componentcore.util.AppClientArtifactEdit;
    -import org.eclipse.jst.j2ee.ejb.componentcore.util.EJBArtifactEdit;
    -import org.eclipse.jst.j2ee.web.componentcore.util.WebArtifactEdit;
    -import org.eclipse.jst.j2ee.webservice.wsclient.Handler;
    -import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
    -import org.eclipse.jst.j2ee.webservice.wsclient.Webservice_clientFactory;
    -import org.eclipse.jst.j2ee.webservice.wsclient.internal.impl.Webservice_clientFactoryImpl;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.common.JavaMOFUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerServiceRefHolder;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.componentcore.ArtifactEdit;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.common.internal.emf.utilities.EtoolsCopyUtility;
    -
    -/*
    - * Provide a way to externalize the edited fields and create new handlers
    - *
    - */
    -public class ClientHandlersWidgetOutputCommand extends AbstractDataModelOperation
    -{
    -
    - private HandlerServiceRefHolder[] handlerServiceRefHolder_;
    - private Hashtable oldWSServiceRefsToHandlersTable_;
    - private Hashtable newWSServiceRefsToHandlersTable_;
    - private IProject project_;
    - private boolean isMultipleSelection_;
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IStatus status = Status.OK_STATUS;
    -
    - try {
    -
    - if (isMultipleSelection_) {
    - if (handlerServiceRefHolder_ != null) {
    - // add new handler to internal model if it doesn't already exist
    - for (int i = 0; i < handlerServiceRefHolder_.length; i++) {
    - handlerServiceRefHolder_[i].addHandlerToServiceRef();
    - saveEditModel(handlerServiceRefHolder_[i].getProject());
    - }
    -
    - }
    -
    - }
    - else {
    - oldWSServiceRefsToHandlersTable_ = new Hashtable();
    - newWSServiceRefsToHandlersTable_ = new Hashtable();
    -
    - if (handlerServiceRefHolder_ != null) {
    -
    - for (int i = 0; i < handlerServiceRefHolder_.length; i++) {
    -
    - ServiceRef wsServiceRef =handlerServiceRefHolder_[i].getServiceRef();
    -
    - List wsHandlers = wsServiceRef.getHandlers();
    - oldWSServiceRefsToHandlersTable_.put(wsServiceRef, wsHandlers);
    - newWSServiceRefsToHandlersTable_.put(wsServiceRef, new ArrayList());
    - }
    -
    - //Enumeration e = handlersTable_.keys();
    - for (int j=0;j<handlerServiceRefHolder_.length;j++) {
    -
    - List handlerTableItems_ = handlerServiceRefHolder_[j].getHandlerList();
    - if (handlerTableItems_ != null) {
    - // form Handler tables
    - for (int i = 0; i < handlerTableItems_.size(); i++) {
    -
    - HandlerTableItem hti = (HandlerTableItem) handlerTableItems_.get(i);
    - Object wsModelRef = hti.getWsDescRef();
    - if (wsModelRef != null && wsModelRef instanceof ServiceRef) {
    - ServiceRef wsRef = (ServiceRef) wsModelRef;
    -
    - Object handler = hti.getHandler();
    - if (handler != null && handler instanceof Handler) {
    - // clone it
    - Handler clonedHandler = (Handler) EtoolsCopyUtility.createCopy((Handler) handler);
    - ((List) newWSServiceRefsToHandlersTable_.get(wsRef)).add(clonedHandler);
    - }
    - else {
    - // create it
    - Webservice_clientFactory wsClientFactory = new Webservice_clientFactoryImpl();
    - Handler newHandler = wsClientFactory.createHandler();
    - newHandler.setHandlerName(hti.getHandlerName());
    -
    - JavaClass javaClass = JavaMOFUtils.getJavaClass(hti.getHandlerClassName(), project_);
    - if (javaClass != null) {
    - newHandler.setHandlerClass(javaClass);
    - }
    -
    - ((List) newWSServiceRefsToHandlersTable_.get(wsRef)).add(newHandler);
    - }
    -
    - }
    -
    - }
    - }
    - }
    -
    - // add handlers to ports
    - addHandlersToServiceRefs();
    - }
    -
    - // save the artifact edit model
    - saveEditModel();
    - }
    -
    - }
    - catch (Exception e)
    - {
    - return StatusUtils.errorStatus(ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED, e);
    - }
    -
    - return status;
    - }
    -
    - private void saveEditModel() {
    - ArtifactEdit artifactEdit = null;
    - try {
    - if (J2EEUtils.isWebComponent(project_)) {
    - artifactEdit = WebArtifactEdit.getWebArtifactEditForWrite(project_);
    - }
    - else if (J2EEUtils.isEJBComponent(project_)){
    - artifactEdit = EJBArtifactEdit.getEJBArtifactEditForWrite(project_);
    - }
    - else if (J2EEUtils.isAppClientComponent(project_)){
    - artifactEdit = AppClientArtifactEdit.getAppClientArtifactEditForWrite(project_);
    - }
    - }
    - finally {
    - if (artifactEdit!=null) {
    - artifactEdit.save(null);
    - artifactEdit.dispose();
    - }
    - }
    - }
    -
    - private void saveEditModel(IProject project){
    - project_ = project;
    - saveEditModel();
    - }
    -
    - private void addHandlersToServiceRefs() {
    - try {
    - Enumeration refsToHandlers = newWSServiceRefsToHandlersTable_.keys();
    - while (refsToHandlers.hasMoreElements()) {
    - ServiceRef serviceRef = (ServiceRef) refsToHandlers.nextElement();
    - if (serviceRef != null) {
    - List handlers = (List) newWSServiceRefsToHandlersTable_.get(serviceRef);
    - List modelHandlers = (List) oldWSServiceRefsToHandlersTable_.get(serviceRef);
    - modelHandlers.clear();
    - modelHandlers.addAll(handlers);
    - }
    - }
    - }
    - catch (Exception e) {
    - e.printStackTrace();
    - }
    - }
    -
    -
    - public void setClientProject(IProject project) {
    - this.project_ = project;
    - }
    -
    - /**
    - * An array of HandlerDescriptionHolders
    - * @return
    - */
    - public void setHandlerServiceRefHolder(HandlerServiceRefHolder[] handlerHolders){
    - this.handlerServiceRefHolder_ = handlerHolders;
    - }
    -
    - public void setIsMultipleSelection(boolean isMulitpleSelection) {
    - this.isMultipleSelection_ = isMulitpleSelection;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidget.java
    deleted file mode 100644
    index 24dd038cf..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidget.java
    +++ /dev/null
    @@ -1,524 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060407 135415 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060417 136390/136159 joan@ca.ibm.com - Joan Haggarty
    - * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
    - * 20060424 138052 kathy@ca.ibm.com - Kathy Chan
    - * 20060425 137831 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060509 119296 pmoogk@ca.ibm.com - Peter Moogk
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    - * 20060612 145081 pmoogk@ca.ibm.com - Peter Moogk
    - * 20060725 149351 makandre@ca.ibm.com - Andrew Mak, Deleted service definition keeps reappearing
    - * 20060803 152486 makandre@ca.ibm.com - Andrew Mak, Typing WSDL in Service definition field is very slow
    - * 20060817 140017 makandre@ca.ibm.com - Andrew Mak, longer project or server/runtime strings do not resize wizard
    - * 20060825 135570 makandre@ca.ibm.com - Andrew Mak, Service implementation URL not displayed properly on first page
    - * 20060829 155441 makandre@ca.ibm.com - Andrew Mak, web service wizard hangs during resize
    - * 20060907 156211 makandre@ca.ibm.com - Andrew Mak, Selecting service definition invalidated project config when creating web service java client
    - * 20061212 159911 makandre@ca.ibm.com - Andrew Mak, changing service definition resets some configuration fields
    - * 20060125 159911 kathy@ca.ibm.com - Kathy Chan, Remove unused method and imports
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jface.dialogs.Dialog;
    -import org.eclipse.jst.ws.internal.consumption.common.WSDLParserFactory;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.data.EclipseIPath2URLStringTransformer;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.ValidationUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.Timer;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
    -import org.eclipse.jst.ws.internal.ui.common.UIUtils;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.events.ModifyEvent;
    -import org.eclipse.swt.events.ModifyListener;
    -import org.eclipse.swt.events.SelectionEvent;
    -import org.eclipse.swt.events.SelectionListener;
    -import org.eclipse.swt.widgets.Button;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Display;
    -import org.eclipse.swt.widgets.Label;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.Text;
    -import org.eclipse.ui.IWorkbench;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
    -import org.eclipse.wst.command.internal.env.ui.widgets.PageInfo;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -
    -
    -public class ClientWizardWidget extends SimpleWidgetDataContributor implements Runnable
    -{
    - private WebServiceClientTypeWidget clientWidget_;
    - private Button overwriteButton_;
    - private Button monitorService_;
    -
    - private Text serviceImpl_;
    - private Button browseButton_;
    - private WSDLSelectionDialog wsdlDialog_;
    - private String componentName_;
    - private IProject project_;
    - private String webServiceURI_;
    - private WebServicesParser parser_;
    - private ResourceContext resourceContext_;
    -
    - private Listener statusListener_;
    - private ModifyListener objectModifyListener_ ;
    - private int validationState_;
    - private boolean validObjectSelection_ = true;
    - private WSDLSelectionWidgetWrapper wsdlValidatorWidget_;
    -
    - private Timer timer_ = null;
    -
    - /* CONTEXT_ID WSWSCEN0020 for the Service Implemenation text field of the Scenario Page */
    - private String INFOPOP_WSWSCEN_TEXT_SERVICE_IMPL = "WSWSCEN0020";
    -
    -
    - /* CONTEXT_ID WSWSCEN0014 for the monitor service checkbox of the Scenario page */
    - private String INFOPOP_WSWSCEN_CHECKBOX_MONITOR_SERVICE = "WSWSCEN0014";
    - /* CONTEXT_ID WSWSCEN0030 for the Overwrite Files checkbox of the Scenario Page */
    - private String INFOPOP_WSWSCEN_CHECKBOX_OVERWRITE = "WSWSCEN0030";
    - /* CONTEXT_ID WSWSCEN0001 for the Scenario Page */
    - private String INFOPOP_WSWSCEN_PAGE = "WSWSCEN0001";
    -
    - /**
    - * Run this ClientWizardWidget, which validates the entry field values.
    - */
    - public void run() {
    - validationState_ = ValidationUtils.VALIDATE_ALL;
    - statusListener_.handleEvent(null);
    - if (validObjectSelection_)
    - callObjectTransformation(project_,
    - wsdlValidatorWidget_.getComponentName(),
    - wsdlValidatorWidget_.getWsdlURI());
    - }
    -
    - public WidgetDataEvents addControls( Composite parent, Listener statusListener)
    - {
    - String pluginId = "org.eclipse.jst.ws.consumption.ui";
    - UIUtils utils = new UIUtils( pluginId );
    - utils.createInfoPop(parent, INFOPOP_WSWSCEN_PAGE);
    -
    - statusListener_ = statusListener;
    - validationState_ = ValidationUtils.VALIDATE_ALL;
    - // Create text field and browse for service selection
    - Composite typeComposite = utils.createComposite(parent, 3);
    - serviceImpl_ = utils.createText(typeComposite, ConsumptionUIMessages.LABEL_WEBSERVICEDEF,
    - ConsumptionUIMessages.TOOLTIP_WSWSCEN_TEXT_IMPL,
    - INFOPOP_WSWSCEN_TEXT_SERVICE_IMPL, SWT.LEFT | SWT.BORDER );
    -
    - objectModifyListener_ = new ModifyListener(){
    - public void modifyText(ModifyEvent e) {
    - if (serviceImpl_.getText().indexOf(':') > 0) {
    - timer_ = Timer.newInstance(timer_, Display.getCurrent(), ClientWizardWidget.this);
    - timer_.startTimer();
    - }
    - else
    - run();
    - }
    - };
    -
    - serviceImpl_.addModifyListener(objectModifyListener_);
    -
    - browseButton_ = utils.createPushButton(typeComposite,
    - ConsumptionUIMessages.BUTTON_BROWSE, ConsumptionUIMessages.TOOLTIP_WSWSCEN_BUTTON_BROWSE_IMPL, null);
    -
    - IWorkbench workbench = PlatformUI.getWorkbench();
    - wsdlDialog_ = new WSDLSelectionDialog(workbench.getActiveWorkbenchWindow().getShell(),
    - new PageInfo(ConsumptionUIMessages.DIALOG_TITILE_SERVICE_IMPL_SELECTION, "",
    - new WidgetContributorFactory()
    - {
    - public WidgetContributor create()
    - {
    - return new WSDLSelectionWidgetWrapper();
    - }
    - }));
    - browseButton_.addSelectionListener(new WSDLBrowseListener());
    -
    - utils.createHorizontalSeparator(parent, 1);
    -
    - Composite clientComposite = utils.createComposite( parent, 1, 0, 0 );
    -
    - clientWidget_ = new WebServiceClientTypeWidget(true);
    - clientWidget_.addControls(clientComposite , statusListener );
    -
    - // Create test service check box.
    - Composite buttonGroup = utils.createComposite(clientComposite,1);
    -
    - // Create monitor service check box.
    - monitorService_ = utils.createCheckbox(buttonGroup , ConsumptionUIMessages.CHECKBOX_MONITOR_WEBSERVICE,
    - ConsumptionUIMessages.TOOLTIP_PWPR_CHECKBOX_MONITOR_SERVICE,
    - INFOPOP_WSWSCEN_CHECKBOX_MONITOR_SERVICE);
    -
    - //show overwrite if it is enabled in the preferences
    - if (getResourceContext().isOverwriteFilesEnabled()) {
    - Label prefSeparator = utils.createHorizontalSeparator(parent, 1);
    - prefSeparator.setText("File Options");
    - Composite prefButtonPanel = utils.createComposite(parent, 1);
    - overwriteButton_ = utils.createCheckbox(prefButtonPanel,
    - ConsumptionUIMessages.CHECKBOX_OVERWRITE_FILES,
    - ConsumptionUIMessages.TOOLTIP_WSWSCEN_BUTTON_OVERWRITE_FILES,
    - INFOPOP_WSWSCEN_CHECKBOX_OVERWRITE);
    - overwriteButton_.setSelection(getResourceContext()
    - .isOverwriteFilesEnabled());
    - }
    - return this;
    - }
    -
    - public void setResourceContext( ResourceContext context )
    - {
    - resourceContext_ = context;
    - }
    -
    - public ResourceContext getResourceContext()
    - {
    - if (resourceContext_ == null) {
    - resourceContext_ = WebServicePlugin.getInstance()
    - .getResourceContext();
    - }
    - return resourceContext_;
    - }
    -
    - public void setClientTypeRuntimeServer( TypeRuntimeServer ids )
    - {
    - clientWidget_.setTypeRuntimeServer( ids );
    - }
    -
    - public void setClientProjectName(String name)
    - {
    - clientWidget_.setClientProjectName(name);
    - }
    -
    - public void setClientEarProjectName(String name)
    - {
    - clientWidget_.setClientEarProjectName(name);
    - }
    -
    - public void setClientComponentType(String name)
    - {
    - clientWidget_.setClientComponentType(name);
    - }
    -
    - public void setClientNeedEAR(boolean b)
    - {
    - clientWidget_.setClientNeedEAR(b);
    - }
    -
    - public String getClientRuntimeId()
    - {
    - return clientWidget_.getClientRuntimeId();
    - }
    -
    - public String getClientEarProjectName()
    - {
    - return clientWidget_.getClientEarProjectName();
    - }
    -
    - public String getClientProjectName()
    - {
    - return clientWidget_.getClientProjectName();
    - }
    -
    - public String getClientComponentType()
    - {
    - return clientWidget_.getClientComponentType();
    - }
    -
    - public boolean getClientNeedEAR()
    - {
    - return clientWidget_.getClientNeedEAR();
    - }
    -
    - public void setWebServiceURI(String uri)
    - {
    - webServiceURI_ = uri;
    - }
    -
    -public void internalize() {
    -
    - if (webServiceURI_ == null || webServiceURI_.length() == 0)
    - return;
    -
    - serviceImpl_.removeModifyListener(objectModifyListener_);
    - serviceImpl_.setText(webServiceURI_);
    - serviceImpl_.addModifyListener(objectModifyListener_);
    -
    - EclipseIPath2URLStringTransformer transformer = new EclipseIPath2URLStringTransformer();
    - webServiceURI_ = (String) transformer.transform(webServiceURI_);
    -}
    -
    - public void setProject(IProject project)
    - {
    - project_ = project;
    - }
    - public void setComponentName(String name)
    - {
    - componentName_ = name;
    - }
    -
    - public String getWebServiceURI()
    - {
    - return webServiceURI_ ;
    - }
    -
    - public String getWsdlURI()
    - {
    - return getWebServiceURI();
    - }
    -
    - public IProject getProject()
    - {
    - return project_;
    - }
    -
    - public String getComponentName()
    - {
    - return componentName_ ;
    - }
    -
    - public WebServicesParser getWebServicesParser()
    - {
    - return WSDLParserFactory.getWSDLParser();
    - }
    -
    - public void setWebServicesParser(WebServicesParser parser)
    - {
    - parser_ = getWebServicesParser();
    - clientWidget_.setWebServicesParser(parser_);
    - }
    -
    - public TypeRuntimeServer getClientTypeRuntimeServer()
    - {
    - return clientWidget_.getTypeRuntimeServer();
    - }
    -
    - public void setInstallClient( Boolean install)
    - {
    - clientWidget_.setInstallClient( install );
    - }
    -
    - public Boolean getInstallClient()
    - {
    - return clientWidget_.getInstallClient();
    - }
    -
    - public Boolean getTestService()
    - {
    - return clientWidget_.getTestClient();
    - }
    -
    - public void setTestService( Boolean value )
    - {
    - clientWidget_.setTestClient(value);
    - }
    -
    - public int getClientGeneration()
    - {
    - return clientWidget_.getClientGeneration();
    - }
    -
    - public void setClientGeneration(int value)
    - {
    - clientWidget_.setClientGeneration(value);
    - }
    -
    - public void setDevelopClient(boolean develop) {
    - clientWidget_.setDevelopClient( develop );
    - }
    -
    - public boolean getDevelopClient() {
    - return clientWidget_.getDevelopClient();
    - }
    -
    - public void setAssembleClient(boolean assemble) {
    - clientWidget_.setAssembleClient( assemble );
    - }
    -
    - public boolean getAssembleClient() {
    - return clientWidget_.getAssembleClient();
    - }
    -
    - public void setDeployClient(boolean deploy) {
    - clientWidget_.setDeployClient( deploy );
    - }
    -
    - public boolean getDeployClient() {
    - return clientWidget_.getDeployClient();
    - }
    -
    - public void setStartClient(Boolean start) {
    - clientWidget_.setStartClient( start );
    - }
    -
    - public Boolean getStartClient() {
    - return clientWidget_.getStartClient();
    - }
    -
    - public Boolean getMonitorService()
    - {
    - return new Boolean(monitorService_.getSelection());
    - }
    -
    - public void setMonitorService(Boolean value)
    - {
    - monitorService_.setSelection(value.booleanValue());
    - }
    -
    - public IStatus getStatus() {
    -
    - validObjectSelection_ = false; // assume false at first
    -
    - IStatus missingFieldStatus = checkMissingFieldStatus();
    - if (missingFieldStatus.getSeverity() == IStatus.ERROR) {
    - return missingFieldStatus;
    - }
    -
    - IStatus invalidServiceImplStatus = checkServiceImplTextStatus();
    - if (invalidServiceImplStatus.getSeverity() == IStatus.ERROR) {
    - return invalidServiceImplStatus;
    - }
    -
    - IStatus possibleErrorStatus = checkErrorStatus();
    - if (possibleErrorStatus.getSeverity() == IStatus.ERROR) {
    - return possibleErrorStatus;
    - }
    -
    - IStatus possibleWarningStatus = checkWarningStatus();
    - if (possibleWarningStatus.getSeverity() == IStatus.WARNING) {
    - return possibleWarningStatus;
    - }
    -
    - // if no errors or warnings were found, clear the validation state.
    - validationState_ = ValidationUtils.VALIDATE_NONE;
    - clientWidget_.setValidationState(ValidationUtils.VALIDATE_NONE);
    -
    - return Status.OK_STATUS;
    - }
    -
    - private IStatus checkMissingFieldStatus() {
    -
    - if (validationState_ == ValidationUtils.VALIDATE_ALL) {
    - if (serviceImpl_.getText().trim().length() == 0) {
    - return StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_SERVICE_SELECTION, new String[]{ConsumptionUIMessages.LABEL_WEBSERVICEIMPL}));
    - }
    - }
    -
    - IStatus clientMissingFieldsStatus = clientWidget_.checkMissingFieldStatus();
    - if (clientMissingFieldsStatus.getSeverity() == IStatus.ERROR) {
    - return clientMissingFieldsStatus;
    - }
    -
    - return Status.OK_STATUS;
    -
    - }
    -
    - private IStatus checkErrorStatus() {
    - IStatus clientSideErrorStatus = clientWidget_.checkErrorStatus();
    - if (clientSideErrorStatus.getSeverity() == IStatus.ERROR) {
    - return clientSideErrorStatus;
    - }
    - return Status.OK_STATUS;
    - }
    -
    - private IStatus checkWarningStatus() {
    - IStatus clientWarningStatus = clientWidget_.checkWarningStatus();
    - if (clientWarningStatus.getSeverity() == IStatus.WARNING) {
    - return clientWarningStatus;
    - }
    - return Status.OK_STATUS;
    - }
    -
    - /*call validation code in the object selection widget to ensure
    - any modifications to the serviceImpl_ field are valid*/
    - private IStatus checkServiceImplTextStatus() {
    -
    - String fieldText = serviceImpl_.getText().trim();
    -
    - if (wsdlValidatorWidget_ == null)
    - wsdlValidatorWidget_ = new WSDLSelectionWidgetWrapper();
    -
    - validObjectSelection_ = wsdlValidatorWidget_.validate(fieldText);
    -
    - if (!validObjectSelection_)
    - {
    - return StatusUtils.errorStatus(ConsumptionUIMessages.MSG_INVALID_SERVICE_DEF);
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    - private void callObjectTransformation(IProject project, String componentName,
    - String wsdlURI)
    - {
    - WSDLSelectionOutputCommand wsdlOutputCommand = new WSDLSelectionOutputCommand();
    - wsdlOutputCommand.setComponentName(componentName);
    - wsdlOutputCommand.setProject(project);
    - wsdlOutputCommand.setWsdlURI(wsdlURI);
    - wsdlOutputCommand.setTestService(getTestService().booleanValue());
    - wsdlOutputCommand.setWebServicesParser(getWebServicesParser());
    -
    - wsdlOutputCommand.execute(null, null);
    -
    - setComponentName(wsdlOutputCommand.getComponentName());
    - setProject(wsdlOutputCommand.getProject());
    - setWebServicesParser(wsdlOutputCommand.getWebServicesParser());
    - setWebServiceURI(wsdlOutputCommand.getWsdlURI());
    -
    - // bug 159911: our starting point is a wsdl, we should not need to
    - // refresh the runtime everytime the user specify a new wsdl path
    - // refreshClientRuntimeSelection();
    - }
    -
    - private class WSDLBrowseListener implements SelectionListener
    - {
    - public void widgetDefaultSelected(SelectionEvent e) {
    - // TODO Auto-generated method stub
    -
    - }
    - public void widgetSelected(SelectionEvent e) {
    -
    - wsdlDialog_.setComponentName(getComponentName());
    - wsdlDialog_.setProject(getProject());
    - wsdlDialog_.setWebServiceURI( serviceImpl_.getText() );
    -
    - int result = wsdlDialog_.open();
    -
    - if (result == Dialog.OK)
    - {
    - serviceImpl_.removeModifyListener(objectModifyListener_);
    - serviceImpl_.setText(wsdlDialog_.getDisplayableSelectionString());
    - serviceImpl_.addModifyListener(objectModifyListener_);
    -
    - // call WSDLSelectionOutputCommand to carry out any transformation on the objectSelection
    - callObjectTransformation(project_,
    - wsdlDialog_.getComponentName(), wsdlDialog_.getWebServiceURI());
    -
    - validationState_ = ValidationUtils.VALIDATE_ALL;
    - clientWidget_.setValidationState(ValidationUtils.VALIDATE_ALL);
    - statusListener_.handleEvent(null); //validate the page
    - }
    - }
    - }
    -}
    -
    -
    -
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetDefaultingCommand.java
    deleted file mode 100644
    index 6d8aef4f8..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetDefaultingCommand.java
    +++ /dev/null
    @@ -1,162 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    - * 20060728 150560 kathy@ca.ibm.com - Kathy Chan
    - * 20060728 151078 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.core.commands.ExecutionException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -import org.eclipse.jst.ws.internal.context.ScenarioContext;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
    -import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -
    -public class ClientWizardWidgetDefaultingCommand extends AbstractDataModelOperation
    -{
    - private int clientGeneration_;
    - private boolean developClient_;
    - private boolean assembleClient_;
    - private boolean deployClient_;
    - private boolean installClient_;
    - private boolean startClient_;
    - private boolean testClient_;
    - private boolean clientOnly_ = false;
    -
    - public ClientWizardWidgetDefaultingCommand() {
    - }
    -
    -
    - /**
    - * @param clientOnly Set to true for if called from ClientWidgetWizard
    - */
    - public ClientWizardWidgetDefaultingCommand(boolean clientOnly) {
    - clientOnly_ = clientOnly;
    - }
    -
    - public Boolean getTestService()
    - {
    - return new Boolean( getScenarioContext().getTestWebService() );
    - }
    -
    - public Boolean getMonitorService()
    - {
    - return new Boolean( getScenarioContext().getMonitorWebService());
    - }
    -
    - public boolean getInstallClient()
    - {
    - return installClient_;
    - }
    -
    - public boolean getRunTestClient()
    - {
    - return getScenarioContext().isLaunchSampleEnabled() ;
    - }
    -
    - public int getClientGeneration()
    - {
    - return clientGeneration_;
    - }
    -
    - public ResourceContext getResourceContext()
    - {
    - return WebServicePlugin.getInstance().getResourceContext();
    - }
    -
    - // Current ScenarioContext is used to default the first page of the wizard. The
    - // properties in ScenarioContext are mapped individual. Therefore, ScenarioContext
    - // should not also be mapped.
    - protected ScenarioContext getScenarioContext()
    - {
    - return WebServicePlugin.getInstance().getScenarioContext();
    - }
    -
    - // TODO Set client name defaults here.
    - public TypeRuntimeServer getClientTypeRuntimeServer()
    - {
    - // rskreg
    - //WebServiceClientTypeRegistry registry = WebServiceClientTypeRegistry.getInstance();
    - String type = getScenarioContext().getClientWebServiceType();
    - //String runtime = registry.getAllClientRuntimes()[0];
    - String runtime = WebServiceRuntimeExtensionUtils2.getAllRuntimesForClientSide()[0];
    - //String server = registry.getAllClientServerFactoryIds()[0];
    - String[] servers = WebServiceRuntimeExtensionUtils2.getAllClientServerFactoryIds();
    - String server = null;
    - if (servers != null && servers.length>0)
    - {
    - server = servers[0];
    - }
    - TypeRuntimeServer result = new TypeRuntimeServer();
    - // rskreg
    -
    - result.setTypeId( type );
    - result.setRuntimeId( runtime );
    - result.setServerId( server );
    -
    - return result;
    - }
    -
    - public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
    - {
    - defaultClientScale();
    - return Status.OK_STATUS;
    - }
    -
    - protected void defaultClientScale() {
    - clientGeneration_ = getScenarioContext().getGenerateClient();
    -
    - if (clientOnly_ && clientGeneration_ == ScenarioContext.WS_NONE) {
    - developClient_ = true;
    - assembleClient_ = true;
    - deployClient_ = true;
    - clientGeneration_ = ScenarioContext.WS_DEPLOY;
    - } else {
    - developClient_ = clientGeneration_ <= ScenarioContext.WS_DEVELOP;
    - assembleClient_ = clientGeneration_ <= ScenarioContext.WS_ASSEMBLE;
    - deployClient_ = clientGeneration_ <= ScenarioContext.WS_DEPLOY;
    - }
    - installClient_ = clientGeneration_ <= ScenarioContext.WS_INSTALL;
    - startClient_ = clientGeneration_ <= ScenarioContext.WS_START;
    - testClient_ = clientGeneration_ <= ScenarioContext.WS_TEST;
    - }
    -
    - public boolean getDevelopClient() {
    - return developClient_;
    - }
    -
    - public boolean getAssembleClient() {
    - return assembleClient_;
    - }
    -
    - public boolean getDeployClient() {
    - return deployClient_;
    - }
    -
    - public boolean getStartClient() {
    - return startClient_;
    - }
    -
    - public boolean getTestClient() {
    - return testClient_;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetOutputCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetOutputCommand.java
    deleted file mode 100644
    index 35511e131..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetOutputCommand.java
    +++ /dev/null
    @@ -1,180 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.core.commands.ExecutionException;
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -
    -public class ClientWizardWidgetOutputCommand extends AbstractDataModelOperation
    -{
    - private boolean testService_;
    - private boolean monitorService;
    - private ResourceContext resourceContext_;
    - private TypeRuntimeServer clientIds_;
    - private boolean installClient_;
    -
    - private String webServiceURI_;
    - private IProject project_;
    - private String componentName_;
    - private boolean runTestClient_;
    - private boolean developClient_;
    - private boolean assembleClient_;
    - private boolean deployClient_;
    - private boolean startClient_;
    - private boolean testClient_;
    -
    - public boolean getTestService()
    - {
    - return testService_;
    - }
    -
    - public void setTestService( boolean testService )
    - {
    - testService_ = testService;
    - }
    -
    - public boolean getRunTestClient()
    - {
    - return runTestClient_;
    - }
    -
    - public void setRunTestClient( boolean runTestClient )
    - {
    - runTestClient_ = runTestClient;
    - }
    -
    - public void setInstallClient( boolean installClient)
    - {
    - installClient_ = installClient;
    - }
    -
    - public boolean getInstallClient()
    - {
    - return installClient_;
    - }
    -
    - public boolean getDevelopClient() {
    - return developClient_;
    - }
    -
    - public void setDevelopClient(boolean developClient) {
    - this.developClient_ = developClient;
    - }
    -
    - public boolean getAssembleClient() {
    - return assembleClient_;
    - }
    -
    - public void setAssembleClient(boolean assembleClient) {
    - this.assembleClient_ = assembleClient;
    - }
    -
    - public boolean getDeployClient() {
    - return deployClient_;
    - }
    -
    - public void setDeployClient(boolean deployClient) {
    - this.deployClient_ = deployClient;
    - }
    -
    - public boolean getStartClient() {
    - return startClient_;
    - }
    -
    - public void setStartClient(boolean startClient) {
    - this.startClient_ = startClient;
    - }
    -
    - public boolean getTestClient() {
    - return testClient_;
    - }
    -
    - public void setTestClient(boolean testClient) {
    - this.testClient_ = testClient;
    - }
    - public boolean getMonitorService()
    - {
    - return monitorService;
    - }
    -
    - public void setMonitorService(boolean monitorService)
    - {
    - this.monitorService = monitorService;
    - }
    -
    - public ResourceContext getResourceContext()
    - {
    -
    - return resourceContext_;
    - }
    -
    - public void setResourceContext( ResourceContext context )
    - {
    - resourceContext_ = context;
    - }
    -
    - public TypeRuntimeServer getClientTypeRuntimeServer()
    - {
    - return clientIds_;
    - }
    -
    - public void setClientTypeRuntimeServer( TypeRuntimeServer clientIds )
    - {
    - clientIds_ = clientIds;
    - }
    -
    - public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
    - {
    - return Status.OK_STATUS;
    - }
    -
    - public String getWsdlURI()
    - {
    - return webServiceURI_ ;
    - }
    -
    - public void setWsdlURI(String uri)
    - {
    - webServiceURI_ = uri;
    - }
    -
    - public void setProject(IProject project)
    - {
    - project_ = project;
    - }
    -
    - public IProject getProject()
    - {
    - return project_;
    - }
    -
    - public void setComponentName(String name)
    - {
    - componentName_ = name;
    - }
    -
    - public String getComponentName()
    - {
    - return componentName_ ;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigClientHandlersTableWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigClientHandlersTableWidget.java
    deleted file mode 100644
    index c615cce7c..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigClientHandlersTableWidget.java
    +++ /dev/null
    @@ -1,637 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060426 135614 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import java.util.Hashtable;
    -import java.util.List;
    -import java.util.Vector;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jface.viewers.ISelection;
    -import org.eclipse.jface.viewers.ISelectionChangedListener;
    -import org.eclipse.jface.viewers.IStructuredContentProvider;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.ITableLabelProvider;
    -import org.eclipse.jface.viewers.LabelProvider;
    -import org.eclipse.jface.viewers.SelectionChangedEvent;
    -import org.eclipse.jface.viewers.TableViewer;
    -import org.eclipse.jface.viewers.Viewer;
    -import org.eclipse.jface.window.Window;
    -import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerServiceRefHelper;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerServiceRefHolder;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
    -import org.eclipse.jst.ws.internal.ui.common.UIUtils;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.events.ControlAdapter;
    -import org.eclipse.swt.events.ControlEvent;
    -import org.eclipse.swt.events.SelectionAdapter;
    -import org.eclipse.swt.events.SelectionEvent;
    -import org.eclipse.swt.events.SelectionListener;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.swt.graphics.Point;
    -import org.eclipse.swt.graphics.Rectangle;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Button;
    -import org.eclipse.swt.widgets.Combo;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Control;
    -import org.eclipse.swt.widgets.Label;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.Table;
    -import org.eclipse.swt.widgets.TableColumn;
    -import org.eclipse.swt.widgets.Text;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -
    -/**
    - * ConfigClientHandlersTreeWidget
    - *
    - */
    -public class ConfigClientHandlersTableWidget extends SimpleWidgetDataContributor {
    -
    - private String pluginId_ = "org.eclipse.jst.ws.consumption.ui";
    -
    - private Composite parent_;
    - private String outputLocation_;
    - private Composite webServiceRefComp_;
    - private Combo webServiceRefCombo_;
    - private Text webServiceDescText_ = null;
    - private Table handlersTable_;
    - private TableViewer tableViewer_;
    - private Button addButton_;
    - private Button removeButton_;
    - private Button genSkeletonRadioButton_;
    - private Composite sourceLocationComp_;
    - private Combo sourceLocationCombo_;
    -
    - private HandlerServiceRefHolder[] handlerServiceRefHolder_;
    - private HandlerServiceRefHolder currentHSRH_;
    - private Hashtable pathsTable_ = new Hashtable();
    - private boolean isMultipleSelection_ = false;
    - private boolean isGenSkeletonEnabled_;
    - private String serviceRefName_;
    - private int DEFAULT_COLUMN_WIDTH = 150;
    -
    - // ----TOOLTIPS Section----
    - /* CONTEXT_ID HDLR0001 for the Handler Config Page */
    - private final String INFOPOP_HDLR_WS_HANDLERS = "HDLR0001"; //$NON-NLS-1$
    -
    - /* CONTEXT_ID HDLR0002 for the Handler Config Page */
    - private final String INFOPOP_HDLR_GEN_SKELETON = "HDLR0002"; //$NON-NLS-1$
    -
    - /* CONTEXT_ID HDLR0003 for the Handler Config Page */
    - private final String INFOPOP_COMBO_SOURCE_LOC = "HDLR0003"; //$NON-NLS-1$
    -
    - /* CONTEXT_ID HDLR0004 for the Handler Config Page */
    - private final String INFOPOP_WS_CLIENT_REF = "HDLR0004"; //$NON-NLS-1$
    -
    - // ------------------------
    -
    - public ConfigClientHandlersTableWidget() {
    - super();
    - }
    -
    - public WidgetDataEvents addControls(Composite parent, Listener statusListener) {
    -
    - UIUtils uiUtils = new UIUtils(pluginId_);
    -
    - parent_ = parent;
    -
    - // Web service reference combo
    - webServiceRefComp_ = uiUtils.createComposite(parent_, 2);
    -
    - Composite displayComp = new Composite(parent_, SWT.NONE);
    - GridLayout gridlayout = new GridLayout(2, false);
    - displayComp.setLayout(gridlayout);
    - displayComp.setLayoutData(uiUtils.createFillAll());
    -
    - final Composite handlersComp = uiUtils.createComposite(displayComp, 1);
    - GridData griddata = new GridData(GridData.HORIZONTAL_ALIGN_FILL |GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_BEGINNING
    - | GridData.VERTICAL_ALIGN_FILL | GridData.GRAB_VERTICAL | GridData.FILL_VERTICAL);
    - handlersComp.setLayoutData(griddata);
    - handlersComp.setSize(130, 600);
    -
    - Composite buttonsComp = uiUtils.createComposite(displayComp, 1);
    - griddata = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_BEGINNING);
    - buttonsComp.setLayoutData(griddata);
    -
    - Text handlersText = new Text(handlersComp, SWT.READ_ONLY);
    - handlersText.setText(ConsumptionUIMessages.LABEL_HANDLERS_CONFIG);
    - GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
    - gd.horizontalSpan = 2;
    - handlersText.setLayoutData(gd);
    -
    - handlersTable_ = uiUtils.createTable(handlersComp, ConsumptionUIMessages.TOOLTIP_EDIT_WS_HANDLERS, INFOPOP_HDLR_WS_HANDLERS, SWT.MULTI | SWT.FULL_SELECTION | SWT.BORDER);
    - handlersTable_.setHeaderVisible(true);
    - handlersTable_.setLinesVisible(true);
    -
    - // empty space
    - Label wsLabel = new Label(buttonsComp, SWT.NONE);
    - gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
    - gd.horizontalSpan = 2;
    - wsLabel.setLayoutData(gd);
    -
    - Button moveUpButton = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_MOVE_UP, null, null);
    - GridData muGriddata = new GridData();
    - Point musize = moveUpButton.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    - moveUpButton.addSelectionListener(new SelectionListener() {
    -
    - public void widgetSelected(SelectionEvent event) {
    - handleMoveUpButtonSelected(event);
    - }
    -
    - public void widgetDefaultSelected(SelectionEvent event) {
    - }
    - });
    -
    - Button moveDownButton = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_MOVE_DOWN, null, null);
    - GridData mdGriddata = new GridData();
    - Point mdsize = moveDownButton.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    - moveDownButton.addSelectionListener(new SelectionListener() {
    -
    - public void widgetSelected(SelectionEvent event) {
    - handleMoveDownButtonSelected(event);
    - }
    -
    - public void widgetDefaultSelected(SelectionEvent event) {
    - }
    - });
    -
    - // empty space
    - wsLabel = new Label(buttonsComp, SWT.NONE);
    - gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
    - gd.horizontalSpan = 2;
    - wsLabel.setLayoutData(gd);
    -
    - addButton_ = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_ADD, null, null);
    - GridData addGriddata = new GridData();
    - Point addSize = addButton_.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    - addButton_.addSelectionListener(new SelectionListener() {
    -
    - public void widgetSelected(SelectionEvent event) {
    - handleAddButtonSelected(event);
    - }
    -
    - public void widgetDefaultSelected(SelectionEvent event) {
    - }
    - });
    -
    - removeButton_ = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_REMOVE, null, null);
    - GridData remGriddata = new GridData();
    - Point remSize = removeButton_.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    - removeButton_.addSelectionListener(new SelectionListener() {
    -
    - public void widgetSelected(SelectionEvent event) {
    - handleRemoveButtonSelected(event);
    - }
    -
    - public void widgetDefaultSelected(SelectionEvent event) {
    - }
    - });
    - enableRemove(false);
    -
    - // set the width to the max of the button labels
    - int widthHint = 0;
    - int[] sizes = new int[]{musize.x, mdsize.x, addSize.x, remSize.x, 100};
    - for(int j = 0; j < sizes.length; j++) {
    - if (sizes[j] > widthHint)
    - widthHint = sizes[j];
    - }
    - muGriddata.widthHint = widthHint;
    - mdGriddata.widthHint = widthHint;
    - addGriddata.widthHint = widthHint;
    - remGriddata.widthHint = widthHint;
    -
    - moveUpButton.setLayoutData(muGriddata);
    - moveDownButton.setLayoutData(mdGriddata);
    - addButton_.setLayoutData(addGriddata);
    - removeButton_.setLayoutData(remGriddata);
    -
    - // table stuff
    - String[] columns_ = new String[] { ConsumptionUIMessages.LABEL_HANDLER_NAME, ConsumptionUIMessages.LABLE_HANDLER_CLASS};
    -
    - final TableColumn[] tableCols = new TableColumn[columns_.length];
    - for (int i = 0; i < columns_.length; i++) {
    - TableColumn tableColumn = new TableColumn(handlersTable_, i);
    - tableColumn.setText(columns_[i]);
    - tableColumn.setAlignment(SWT.LEFT);
    - tableColumn.setWidth(DEFAULT_COLUMN_WIDTH);
    - tableColumn.setResizable(true);
    - tableCols[i] = tableColumn;
    - }
    -
    - handlersComp.addControlListener(new ControlAdapter() {
    - public void controlResized(ControlEvent e) {
    - Rectangle area = handlersComp.getClientArea();
    - Point preferredSize = handlersTable_.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    - int width = area.width - 2*handlersTable_.getBorderWidth()-10;
    - if (preferredSize.y > area.height + handlersTable_.getHeaderHeight()) {
    - // Subtract the scrollbar width from the total column width
    - // if a vertical scrollbar will be required
    - Point vBarSize = handlersTable_.getVerticalBar().getSize();
    - width -= vBarSize.x;
    - }
    - Point oldSize = handlersTable_.getSize();
    - if (oldSize.x > area.width) {
    - // table is getting smaller so make the columns
    - // smaller first and then resize the table to
    - // match the client area width
    - tableCols[0].setWidth(width/2);
    - tableCols[1].setWidth(width - tableCols[0].getWidth());
    - handlersTable_.setSize(area.width, area.height);
    - } else {
    - // table is getting bigger so make the table
    - // bigger first and then make the columns wider
    - // to match the client area width
    - handlersTable_.setSize(area.width, area.height);
    - tableCols[0].setWidth(width/2);
    - tableCols[1].setWidth(width - tableCols[0].getWidth());
    - }
    - }
    - });
    -
    - tableViewer_ = new TableViewer(handlersTable_);
    - Control control = tableViewer_.getControl();
    -
    - GridData data = new GridData();
    - data.horizontalAlignment = GridData.FILL;
    - data.grabExcessHorizontalSpace = true;
    - data.verticalAlignment = GridData.FILL;
    - data.grabExcessVerticalSpace = true;
    - control.setLayoutData(data);
    -
    - tableViewer_.setColumnProperties(columns_);
    - tableViewer_.setContentProvider(new ListContentProvider());
    - tableViewer_.setLabelProvider(new ListLabelProvider());
    - tableViewer_.addSelectionChangedListener(new ISelectionChangedListener() {
    -
    - public void selectionChanged(SelectionChangedEvent event) {
    - enableRemove(true);
    - }
    - });
    -
    - // gen skeleton check box
    - genSkeletonRadioButton_ = uiUtils.createCheckbox(parent_, ConsumptionUIMessages.LABEL_BUTTON_GEN_SKELETON, ConsumptionUIMessages.TOOLTIP_BUTTON_GEN_SKELETON, INFOPOP_HDLR_GEN_SKELETON);
    - genSkeletonRadioButton_.addSelectionListener(new SelectionAdapter() {
    -
    - public void widgetSelected(SelectionEvent evt) {
    - handleGenSkeletonRadioButton();
    - }
    - });
    -
    - // source location combo
    - sourceLocationComp_ = uiUtils.createComposite(parent_, 2);
    - sourceLocationCombo_ = uiUtils.createCombo(sourceLocationComp_, ConsumptionUIMessages.LABEL_COMBO_SOURCE_LOC, ConsumptionUIMessages.TOOLTIP_COMBO_SOURCE_LOC, INFOPOP_COMBO_SOURCE_LOC,
    - SWT.READ_ONLY);
    - sourceLocationCombo_.addSelectionListener(new SelectionAdapter() {
    -
    - public void widgetSelected(SelectionEvent evt) {
    - handleSourceLocationCombo(evt);
    - }
    - });
    -
    - return this;
    - }
    -
    - // Called at start
    - private void populateHandlersTable() {
    - try {
    - UIUtils uiUtils = new UIUtils(pluginId_);
    -
    - // process for multiple service selection
    - if (isMultipleSelection_) {
    - webServiceDescText_ = uiUtils.createText(webServiceRefComp_, ConsumptionUIMessages.LABEL_COMBO_WS_CLIENT_REF,
    - ConsumptionUIMessages.TOOLTIP_WS_CLIENT_REF, INFOPOP_WS_CLIENT_REF, SWT.READ_ONLY);
    - if (handlerServiceRefHolder_!=null){
    - currentHSRH_ = handlerServiceRefHolder_[0];
    - String text = NLS.bind(ConsumptionUIMessages.MSG_TEXT_NUM_OF_CLIENTS, Integer.toString(handlerServiceRefHolder_.length));
    - webServiceDescText_.setText(text);
    - }
    -
    - genSkeletonRadioButton_.setSelection(false);
    - genSkeletonRadioButton_.setEnabled(false);
    - genSkeletonRadioButton_.setVisible(false);
    -
    - sourceLocationComp_.setVisible(false);
    - sourceLocationCombo_.setEnabled(false);
    - sourceLocationCombo_.setVisible(false);
    -
    - refresh();
    -
    - }
    - else {
    -
    - webServiceRefCombo_ = uiUtils.createCombo(webServiceRefComp_, ConsumptionUIMessages.LABEL_COMBO_WS_CLIENT_REF,
    - ConsumptionUIMessages.TOOLTIP_WS_CLIENT_REF, INFOPOP_WS_CLIENT_REF, SWT.READ_ONLY);
    - webServiceRefCombo_.addSelectionListener(new SelectionAdapter() {
    - public void widgetSelected(SelectionEvent evt) {
    - handleWebServiceRefCombo(evt);
    - }
    - });
    -
    - String[] wsRefNames = HandlerServiceRefHelper.getAllServiceRefNames(handlerServiceRefHolder_);
    - webServiceRefCombo_.setItems(wsRefNames);
    -
    - if (handlerServiceRefHolder_.length < 1) {
    - webServiceRefCombo_.select(0);
    - webServiceRefCombo_.setEnabled(false);
    - }
    - else {
    - if (serviceRefName_ != null) {
    - int index = webServiceRefCombo_.indexOf(serviceRefName_);
    - if (index != -1) webServiceRefCombo_.select(index);
    - }
    - else
    - webServiceRefCombo_.select(0);
    - }
    -
    - // set handler table
    - HandlerServiceRefHolder hsrh = HandlerServiceRefHelper.getForServiceRefName(handlerServiceRefHolder_, webServiceRefCombo_.getText());
    - if (hsrh != null) {
    - currentHSRH_ = hsrh;
    - List handlers = hsrh.getHandlerList();
    - tableViewer_.setInput(handlers);
    - tableViewer_.refresh();
    - }
    -
    - // set output folder
    - setSourceOutputLocation();
    - }
    - parent_.getShell().setSize(530, 650);
    - }
    - catch (Exception e) {
    - e.printStackTrace();
    - }
    -
    - }
    -
    - /*
    - * (non-Javadoc)
    - *
    - * @see org.eclipse.wst.command.env.ui.widgets.WidgetContributor#getStatus()
    - */
    - public IStatus getStatus() {
    - IStatus finalStatus = Status.OK_STATUS;
    - if (isMultipleSelection_)
    - return StatusUtils.infoStatus(ConsumptionUIMessages.PAGE_DESC_MULTIPLE_CLIENTS_CONFIG);
    - return finalStatus;
    - }
    -
    - protected void handleAddButtonSelected(SelectionEvent event) {
    -
    - AddHandlerDialog dialog = new AddHandlerDialog(parent_.getShell(), true);
    - dialog.create();
    - dialog.getShell().setSize( 500, 200 );
    -
    - int result = dialog.open();
    -
    - if (result == Window.OK) {
    - String name = dialog.getName();
    - String className = dialog.getClassName();
    -
    - HandlerTableItem hi = new HandlerTableItem();
    - hi.setHandlerName(name);
    - hi.setHandlerClassName(className);
    -
    - ServiceRef serviceRef = currentHSRH_.getServiceRef();
    - hi.setWsDescRef(serviceRef);
    - currentHSRH_.getHandlerList().add(hi);
    - }
    -
    - refresh();
    - }
    -
    - protected void handleRemoveButtonSelected(SelectionEvent event) {
    - handleDeleteKeyPressed();
    - }
    -
    - protected void handleMoveUpButtonSelected(SelectionEvent event) {
    -
    - int index = tableViewer_.getTable().getSelectionIndex();
    - if (index != -1) {
    - if (index > 0) {
    - if (currentHSRH_!=null) {
    - List handlers = currentHSRH_.getHandlerList();
    - Object object = handlers.remove(index);
    - handlers.add( index - 1, object);
    - tableViewer_.refresh();
    - }
    - }
    - }
    -
    - }
    -
    - protected void handleMoveDownButtonSelected(SelectionEvent event) {
    -
    - int index = tableViewer_.getTable().getSelectionIndex();
    - if (index != -1) {
    - if (currentHSRH_!=null){
    - List handlers = currentHSRH_.getHandlerList();
    - if (index < handlers.size() - 1) {
    - Object object = handlers.remove(index);
    - handlers.add(index + 1, object);
    - tableViewer_.refresh();
    - }
    - }
    - }
    -
    - }
    -
    - protected void handleSourceLocationCombo(SelectionEvent event) {
    - outputLocation_ = sourceLocationCombo_.getText();
    - IPath outputPath = (IPath) pathsTable_.get(outputLocation_);
    - currentHSRH_.setSourceOutputPath(outputPath);
    - }
    -
    - protected void handleGenSkeletonRadioButton() {
    - if (genSkeletonRadioButton_.isEnabled()) {
    - if (genSkeletonRadioButton_.getSelection()) {
    - this.isGenSkeletonEnabled_ = true;
    - sourceLocationCombo_.setEnabled(true);
    - }
    - else {
    - this.isGenSkeletonEnabled_ = false;
    - sourceLocationCombo_.setEnabled(false);
    - }
    - }
    - }
    -
    - protected void handleWebServiceRefCombo(SelectionEvent event) {
    -
    - if (webServiceRefCombo_!=null && webServiceRefCombo_.isEnabled()) {
    - HandlerServiceRefHolder hsrh = HandlerServiceRefHelper.getForServiceRefName(handlerServiceRefHolder_, webServiceRefCombo_.getText());
    - currentHSRH_ = hsrh;
    - refresh();
    - }
    -
    - if (isGenSkeletonEnabled_){
    - setSourceOutputLocation();
    - }
    -
    - }
    -
    - /**
    - * @return Returns the isGenSkeletonEnabled_.
    - */
    - public boolean isGenSkeletonEnabled_() {
    - return isGenSkeletonEnabled_;
    - }
    -
    - protected class ListLabelProvider extends LabelProvider implements ITableLabelProvider {
    -
    - public Image getColumnImage(Object element, int columnIndex) {
    - return null;
    - }
    -
    - public String getColumnText(Object object, int columnIndex) {
    -
    - if (object instanceof HandlerTableItem) {
    - HandlerTableItem hti = (HandlerTableItem) object;
    - if (columnIndex == 0) {
    -
    - return hti.getHandlerName() != null ? hti.getHandlerName() : "";
    - }
    - else if (columnIndex == 1) { return hti.getHandlerClassName() != null ? hti.getHandlerClassName() : ""; }
    - }
    - return null;
    - }
    -
    - }
    -
    - private void enableRemove(boolean enabled) {
    - removeButton_.setEnabled(enabled && !tableViewer_.getSelection().isEmpty());
    - }
    -
    - protected class ListContentProvider implements IStructuredContentProvider {
    -
    - public Object[] getElements(Object element) {
    - if (element instanceof Vector) { return ((Vector) element).toArray(); }
    - return null;
    - }
    -
    - public void dispose() {
    - }
    -
    - public void inputChanged(Viewer viewer, Object old, Object newobj) {
    - }
    -
    - public boolean isDeleted(Object object) {
    - return false;
    - }
    - }
    -
    - protected void handleDeleteKeyPressed() {
    - ISelection selection = tableViewer_.getSelection();
    - if (selection != null && !selection.isEmpty() && (selection instanceof IStructuredSelection)) {
    - int selectionIndex = handlersTable_.getSelectionIndex();
    - if (currentHSRH_!=null){
    - currentHSRH_.getHandlerList().remove(selectionIndex);
    - }
    - refresh();
    - }
    - }
    -
    - public void refresh() {
    -
    - try {
    - tableViewer_.setInput(null);
    - if (currentHSRH_!=null){
    - List handlers = currentHSRH_.getHandlerList();
    - tableViewer_.setInput(handlers);
    - tableViewer_.refresh();
    - }
    - }
    - catch (Exception e) {
    - e.printStackTrace();
    - }
    -
    - }
    -
    - public void setGenSkeletonEnabled(boolean isGenSkeletonEnabled) {
    - this.isGenSkeletonEnabled_ = isGenSkeletonEnabled;
    - genSkeletonRadioButton_.setSelection(isGenSkeletonEnabled);
    -
    - }
    -
    - public boolean getGenSkeletonEnabled() {
    - return this.isGenSkeletonEnabled_;
    - }
    -
    - private void setSourceOutputLocation(){
    - if (currentHSRH_!=null){
    - IProject project = currentHSRH_.getProject();
    - if (project!=null){
    - IPath[]locations = ResourceUtils.getAllJavaSourceLocations(project);
    - String[] paths = new String[locations.length];
    - for (int i = 0; i < locations.length; i++) {
    - paths[i] = locations[i].toString();
    - pathsTable_.put(paths[i], locations[i]);
    - }
    - sourceLocationCombo_.setItems(paths);
    - sourceLocationCombo_.select(0);
    - }
    -
    - // set in model
    - outputLocation_ = sourceLocationCombo_.getText();
    - IPath outputPath = (IPath) pathsTable_.get(outputLocation_);
    - currentHSRH_.setSourceOutputPath(outputPath);
    - }
    - }
    -
    - /**
    - * Called at the beginning
    - */
    - public void internalize(){
    - populateHandlersTable();
    - }
    -
    - /**
    - * Initial selection
    - * @param wsRefName
    - */
    - public void setServiceRefName(String wsRefName) {
    - serviceRefName_ = wsRefName;
    - }
    -
    - /**
    - * true if multiple clients are selected
    - * @param isMulitpleSelection
    - */
    - public void setIsMultipleSelection(boolean isMulitpleSelection) {
    - this.isMultipleSelection_ = isMulitpleSelection;
    - }
    -
    - /**
    - * An array of HandlerDescriptionHolders
    - * @return
    - */
    - public void setHandlerServiceRefHolder(HandlerServiceRefHolder[] handlerHolders){
    - this.handlerServiceRefHolder_ = handlerHolders;
    - }
    -
    - public HandlerServiceRefHolder[] getHandlerServiceRefHolder(){
    - return this.handlerServiceRefHolder_;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigServiceHandlersTableWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigServiceHandlersTableWidget.java
    deleted file mode 100644
    index 37b15ead0..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ConfigServiceHandlersTableWidget.java
    +++ /dev/null
    @@ -1,685 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060426 135614 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060529 143518 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import java.util.Hashtable;
    -import java.util.List;
    -import java.util.Vector;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jface.viewers.ISelection;
    -import org.eclipse.jface.viewers.ISelectionChangedListener;
    -import org.eclipse.jface.viewers.IStructuredContentProvider;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.ITableLabelProvider;
    -import org.eclipse.jface.viewers.LabelProvider;
    -import org.eclipse.jface.viewers.SelectionChangedEvent;
    -import org.eclipse.jface.viewers.TableViewer;
    -import org.eclipse.jface.viewers.Viewer;
    -import org.eclipse.jface.window.Window;
    -import org.eclipse.jst.j2ee.webservice.wsdd.PortComponent;
    -import org.eclipse.jst.j2ee.webservice.wsdd.WebServiceDescription;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerDescriptionHelper;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerDescriptionHolder;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
    -import org.eclipse.jst.ws.internal.ui.common.UIUtils;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.events.ControlAdapter;
    -import org.eclipse.swt.events.ControlEvent;
    -import org.eclipse.swt.events.SelectionAdapter;
    -import org.eclipse.swt.events.SelectionEvent;
    -import org.eclipse.swt.events.SelectionListener;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.swt.graphics.Point;
    -import org.eclipse.swt.graphics.Rectangle;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Button;
    -import org.eclipse.swt.widgets.Combo;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Control;
    -import org.eclipse.swt.widgets.Label;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.Table;
    -import org.eclipse.swt.widgets.TableColumn;
    -import org.eclipse.swt.widgets.Text;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -
    -/**
    - * ConfigServiceHandlersTreeWidget
    - *
    - */
    -public class ConfigServiceHandlersTableWidget extends SimpleWidgetDataContributor {
    -
    - private String pluginId_ = "org.eclipse.jst.ws.consumption.ui";
    -
    - private Composite parent_;
    - private Table handlersTable_;
    - private TableViewer tableViewer_;
    - private Composite webServiceDescComp_;
    - private Combo webServiceDescCombo_ = null;
    - private Text webServiceDescText_ = null;
    - private Button addButton_;
    - private Button removeButton_;
    - private Button genSkeletonRadioButton_;
    - private Composite sourceLocationComp_;
    - private Combo sourceLocationCombo_;
    -
    - private HandlerDescriptionHolder[] handlerDescriptionHolder_;
    - private HandlerDescriptionHolder currentHDH_;
    - private Hashtable pathsTable_ = new Hashtable(); // available paths for combo
    - private String outputLocation_; // selected path from combo
    - private String descriptionName_ = null;
    - private boolean isMultipleSelection_ = false;
    - private boolean isGenSkeletonEnabled_;
    -
    - private int DEFAULT_COLUMN_WIDTH = 100;
    -
    - // ----TOOLTIPS Section----
    - /* CONTEXT_ID SHLD0001 for the Handler Config Page */
    - private final String INFOPOP_HDLR_WS_HANDLERS = "SHDL0001"; //$NON-NLS-1$
    -
    - /* CONTEXT_ID SHDL0002 for the Handler Config Page */
    - private final String INFOPOP_HDLR_GEN_SKELETON = "SHDL0002"; //$NON-NLS-1$
    -
    - /* CONTEXT_ID SHDL0003 for the Handler Config Page */
    - private final String INFOPOP_COMBO_SOURCE_LOC = "SHDL0003"; //$NON-NLS-1$
    -
    - /* CONTEXT_ID SHDL0004 for the Handler Config Page */
    - private final String INFOPOP_WS_SERVICE_DESC = "SHDL0004"; //$NON-NLS-1$
    -
    - // ------------------------
    -
    - public ConfigServiceHandlersTableWidget() {
    - super();
    - }
    -
    - public WidgetDataEvents addControls(Composite parent, Listener statusListener) {
    - UIUtils uiUtils = new UIUtils(pluginId_);
    -
    - parent_ = parent;
    -
    - // Web service description composite (combo/text to be created later)
    - webServiceDescComp_ = uiUtils.createComposite(parent_, 2);
    -
    - Composite displayComp = new Composite(parent_, SWT.NONE);
    -
    - GridLayout gridlayout = new GridLayout(2, false);
    - displayComp.setLayout(gridlayout);
    - displayComp.setLayoutData(uiUtils.createFillAll());
    -
    - final Composite handlersComp = uiUtils.createComposite(displayComp, 1);
    - GridData griddata = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_BEGINNING
    - | GridData.VERTICAL_ALIGN_FILL | GridData.GRAB_VERTICAL | GridData.FILL_VERTICAL);
    - handlersComp.setLayoutData(griddata);
    - handlersComp.setSize(130, 600);
    -
    - Composite buttonsComp = uiUtils.createComposite(displayComp, 1);
    - griddata = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_BEGINNING);
    - buttonsComp.setLayoutData(griddata);
    -
    - Text handlersText = new Text(handlersComp, SWT.READ_ONLY);
    - handlersText.setText(ConsumptionUIMessages.LABEL_HANDLERS_CONFIG);
    - GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
    - gd.horizontalSpan = 2;
    - handlersText.setLayoutData(gd);
    -
    - handlersTable_ = uiUtils.createTable(handlersComp, ConsumptionUIMessages.TOOLTIP_EDIT_WS_HANDLERS, INFOPOP_HDLR_WS_HANDLERS, SWT.MULTI
    - | SWT.FULL_SELECTION | SWT.BORDER);
    - handlersTable_.setHeaderVisible(true);
    - handlersTable_.setLinesVisible(true);
    -
    - // empty space
    - Label wsLabel = new Label(buttonsComp, SWT.NONE);
    - gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
    - gd.horizontalSpan = 2;
    - wsLabel.setLayoutData(gd);
    -
    - Button moveUpButton = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_MOVE_UP, null, null);
    - GridData muGriddata = new GridData();
    - Point musize = moveUpButton.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    - moveUpButton.addSelectionListener(new SelectionListener() {
    -
    - public void widgetSelected(SelectionEvent event) {
    - handleMoveUpButtonSelected(event);
    - }
    -
    - public void widgetDefaultSelected(SelectionEvent event) {
    - }
    - });
    -
    - Button moveDownButton = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_MOVE_DOWN, null, null);
    - GridData mdGriddata = new GridData();
    - Point mdsize = moveDownButton.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    - moveDownButton.addSelectionListener(new SelectionListener() {
    -
    - public void widgetSelected(SelectionEvent event) {
    - handleMoveDownButtonSelected(event);
    - }
    -
    - public void widgetDefaultSelected(SelectionEvent event) {
    - }
    - });
    -
    - // empty space
    - wsLabel = new Label(buttonsComp, SWT.NONE);
    - gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
    - gd.horizontalSpan = 2;
    - wsLabel.setLayoutData(gd);
    -
    - addButton_ = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_ADD, null, null);
    - GridData addGriddata = new GridData();
    - Point addSize = addButton_.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    - addButton_.addSelectionListener(new SelectionListener() {
    -
    - public void widgetSelected(SelectionEvent event) {
    - handleAddButtonSelected(event);
    - }
    -
    - public void widgetDefaultSelected(SelectionEvent event) {
    - }
    - });
    -
    - removeButton_ = uiUtils.createPushButton(buttonsComp, ConsumptionUIMessages.LABEL_BUTTON_REMOVE, null, null);
    - GridData remGriddata = new GridData();
    - Point remSize = removeButton_.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    - removeButton_.addSelectionListener(new SelectionListener() {
    -
    - public void widgetSelected(SelectionEvent event) {
    - handleRemoveButtonSelected(event);
    - }
    -
    - public void widgetDefaultSelected(SelectionEvent event) {
    - }
    - });
    - enableRemove(false);
    -
    - int widthHint = 0;
    - int[] sizes = new int[]{musize.x, mdsize.x, addSize.x, remSize.x, 100};
    - for(int j = 0; j < sizes.length; j++) {
    - if (sizes[j] > widthHint)
    - widthHint = sizes[j];
    - }
    - muGriddata.widthHint = widthHint;
    - mdGriddata.widthHint = widthHint;
    - addGriddata.widthHint = widthHint;
    - remGriddata.widthHint = widthHint;
    -
    - moveUpButton.setLayoutData(muGriddata);
    - moveDownButton.setLayoutData(mdGriddata);
    - addButton_.setLayoutData(addGriddata);
    - removeButton_.setLayoutData(remGriddata);
    -
    - // table stuff here
    - String[] columns_ = new String[] { ConsumptionUIMessages.LABEL_HANDLER_NAME, ConsumptionUIMessages.LABLE_HANDLER_CLASS,
    - ConsumptionUIMessages.LABEL_HANDLER_PORT};
    -
    - final TableColumn[] tableCols = new TableColumn[columns_.length];
    - for (int i = 0; i < columns_.length; i++) {
    - TableColumn tableColumn = new TableColumn(handlersTable_, SWT.LEFT);
    - tableColumn.setText(columns_[i]);
    - tableColumn.setAlignment(SWT.LEFT);
    - tableColumn.setWidth(DEFAULT_COLUMN_WIDTH);
    - tableColumn.setResizable(true);
    - tableCols[i] = tableColumn;
    - }
    - handlersComp.addControlListener(new ControlAdapter() {
    -
    - public void controlResized(ControlEvent e) {
    - Rectangle area = handlersComp.getClientArea();
    - Point preferredSize = handlersTable_.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    - int width = area.width - 2 * handlersTable_.getBorderWidth() - 10;
    - if (preferredSize.y > area.height + handlersTable_.getHeaderHeight()) {
    - // Subtract the scrollbar width from the total column width
    - // if a vertical scrollbar will be required
    - Point vBarSize = handlersTable_.getVerticalBar().getSize();
    - width -= vBarSize.x;
    - }
    - Point oldSize = handlersTable_.getSize();
    - if (oldSize.x > area.width) {
    - // table is getting smaller so make the columns
    - // smaller first and then resize the table to
    - // match the client area width
    - tableCols[0].setWidth(width / 3);
    - tableCols[1].setWidth(width / 3);
    - tableCols[2].setWidth(width - (tableCols[0].getWidth() + tableCols[1].getWidth()));
    - handlersTable_.setSize(area.width, area.height);
    - }
    - else {
    - // table is getting bigger so make the table
    - // bigger first and then make the columns wider
    - // to match the client area width
    - handlersTable_.setSize(area.width, area.height);
    - tableCols[0].setWidth(width / 3);
    - tableCols[1].setWidth(width / 3);
    - tableCols[2].setWidth(width - (tableCols[0].getWidth() + tableCols[1].getWidth()));
    - }
    - }
    - });
    -
    - tableViewer_ = new TableViewer(handlersTable_);
    - Control control = tableViewer_.getControl();
    -
    - GridData data = new GridData();
    - data.horizontalAlignment = GridData.FILL;
    - data.grabExcessHorizontalSpace = true;
    - data.verticalAlignment = GridData.FILL;
    - data.grabExcessVerticalSpace = true;
    - control.setLayoutData(data);
    -
    - tableViewer_.setColumnProperties(columns_);
    - tableViewer_.setContentProvider(new ListContentProvider());
    - tableViewer_.setLabelProvider(new ListLabelProvider());
    - tableViewer_.addSelectionChangedListener(new ISelectionChangedListener() {
    -
    - public void selectionChanged(SelectionChangedEvent event) {
    - enableRemove(true);
    - }
    - });
    -
    - genSkeletonRadioButton_ = uiUtils.createCheckbox(parent_, ConsumptionUIMessages.LABEL_BUTTON_GEN_SKELETON,
    - ConsumptionUIMessages.TOOLTIP_BUTTON_GEN_SKELETON, INFOPOP_HDLR_GEN_SKELETON);
    - griddata = new GridData(GridData.VERTICAL_ALIGN_BEGINNING | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL);
    - genSkeletonRadioButton_.setLayoutData(griddata);
    - genSkeletonRadioButton_.addSelectionListener(new SelectionAdapter() {
    -
    - public void widgetSelected(SelectionEvent evt) {
    - handleGenSkeletonRadioButton();
    - }
    - });
    -
    - sourceLocationComp_ = uiUtils.createComposite(parent_, 2);
    - sourceLocationCombo_ = uiUtils.createCombo(sourceLocationComp_, ConsumptionUIMessages.LABEL_COMBO_SOURCE_LOC,
    - ConsumptionUIMessages.TOOLTIP_COMBO_SOURCE_LOC, INFOPOP_COMBO_SOURCE_LOC, SWT.READ_ONLY);
    - sourceLocationCombo_.addSelectionListener(new SelectionAdapter() {
    -
    - public void widgetSelected(SelectionEvent evt) {
    - handleSourceLocationCombo(evt);
    - }
    - });
    -
    - return this;
    - }
    -
    - // Called at start and only for single service selection
    - private void populateHandlersTable() {
    - try {
    - UIUtils uiUtils = new UIUtils(pluginId_);
    -
    - // process for multiple service selection
    - if (isMultipleSelection_) {
    - parent_.getShell().setText(ConsumptionUIMessages.PAGE_DESC_MULTIPLE_SERVICES_CONFIG);
    -
    - webServiceDescText_ = uiUtils.createText(webServiceDescComp_, ConsumptionUIMessages.LABEL_COMBO_WS_SERVICE_DESC,
    - ConsumptionUIMessages.TOOLTIP_WS_SERVICE_DESC, INFOPOP_WS_SERVICE_DESC, SWT.READ_ONLY);
    - if (handlerDescriptionHolder_!=null){
    - currentHDH_ = handlerDescriptionHolder_[0];
    - String text = NLS.bind(ConsumptionUIMessages.MSG_TEXT_NUM_OF_SERVICES, Integer.toString(handlerDescriptionHolder_.length));
    - webServiceDescText_.setText(text);
    - }
    -
    - genSkeletonRadioButton_.setSelection(false);
    - genSkeletonRadioButton_.setEnabled(false);
    - genSkeletonRadioButton_.setVisible(false);
    -
    - sourceLocationComp_.setVisible(false);
    - sourceLocationCombo_.setEnabled(false);
    - sourceLocationCombo_.setVisible(false);
    -
    - refresh();
    -
    - }
    - else {
    - // populate the table for a single service selection
    -
    - webServiceDescCombo_ = uiUtils.createCombo(webServiceDescComp_, ConsumptionUIMessages.LABEL_COMBO_WS_SERVICE_DESC,
    - ConsumptionUIMessages.TOOLTIP_WS_SERVICE_DESC, INFOPOP_WS_SERVICE_DESC, SWT.READ_ONLY);
    - webServiceDescCombo_.addSelectionListener(new SelectionAdapter() {
    -
    - public void widgetSelected(SelectionEvent evt) {
    - handleWebServiceDescCombo(evt);
    - }
    - });
    -
    - String[] wsDescNames = HandlerDescriptionHelper.getAllDescriptionNames(handlerDescriptionHolder_);
    - webServiceDescCombo_.setItems(wsDescNames);
    -
    - if (handlerDescriptionHolder_.length < 1) {
    - webServiceDescCombo_.select(0);
    - webServiceDescCombo_.setEnabled(false);
    - }
    - else {
    - if (descriptionName_ != null) {
    - int index = webServiceDescCombo_.indexOf(descriptionName_);
    - if (index != -1) webServiceDescCombo_.select(index);
    - }
    - else
    - webServiceDescCombo_.select(0);
    - }
    -
    - // set Descriptions
    - HandlerDescriptionHolder hdh = HandlerDescriptionHelper.getForDescriptionName(handlerDescriptionHolder_, webServiceDescCombo_.getText());
    - if (hdh!=null){
    - currentHDH_ = hdh;
    - List handlers = hdh.getHandlerList();
    - tableViewer_.setInput(handlers);
    - tableViewer_.refresh();
    - }
    - // set output folder
    - setSourceOutputLocation();
    - }
    - parent_.getShell().setSize(530, 650);
    - }
    - catch (Exception e) {
    - e.printStackTrace();
    - }
    -
    - }
    -
    - /*
    - * (non-Javadoc)
    - *
    - * @see org.eclipse.wst.command.env.ui.widgets.WidgetContributor#getStatus()
    - */
    - public IStatus getStatus() {
    - IStatus finalStatus = Status.OK_STATUS;
    - if (isMultipleSelection_)
    - return StatusUtils.infoStatus(ConsumptionUIMessages.PAGE_DESC_MULTIPLE_SERVICES_CONFIG);
    - return finalStatus;
    - }
    -
    - protected void handleAddButtonSelected(SelectionEvent event) {
    - AddHandlerDialog dialog = new AddHandlerDialog(parent_.getShell(), false);
    - dialog.setIsMultipleServices(isMultipleSelection_);
    - dialog.create();
    -
    - WebServiceDescription serviceDesc = null;
    - if (!isMultipleSelection_ ){
    - if (currentHDH_!=null) {
    - serviceDesc = currentHDH_.getDescriptionObject();
    - String[] portNames = getPortComponentNames(serviceDesc);
    - dialog.setPortNames(portNames);
    - }
    - }
    -
    - dialog.getShell().setSize(500, 230);
    -
    - int result = dialog.open();
    -
    - if (result == Window.OK) {
    - String name = dialog.getName();
    - String className = dialog.getClassName();
    - String port = dialog.getPortName();
    - if (port == null)
    - port = "*";
    -
    - HandlerTableItem hi = new HandlerTableItem();
    - hi.setHandlerName(name);
    - hi.setHandlerClassName(className);
    - hi.setPortName(port);
    -
    - if (serviceDesc!=null){
    - hi.setWsDescRef(serviceDesc);
    - }
    -
    - if (currentHDH_!=null){
    - List handlers = currentHDH_.getHandlerList();
    - handlers.add(hi);
    - }
    -
    - }
    -
    - refresh();
    - }
    -
    - private String[] getPortComponentNames(WebServiceDescription webServiceDesc) {
    -
    - List ports = webServiceDesc.getPortComponents();
    - if (ports != null) {
    - String[] portNames = new String[ports.size()];
    - for (int i = 0; i < ports.size(); i++) {
    - PortComponent pc = (PortComponent) ports.get(i);
    - String pcName = pc.getPortComponentName();
    - portNames[i] = pcName;
    - }
    - return portNames;
    - }
    - return new String[0];
    - }
    -
    - protected void handleRemoveButtonSelected(SelectionEvent event) {
    - handleDeleteKeyPressed();
    - }
    -
    - protected void handleMoveUpButtonSelected(SelectionEvent event) {
    -
    - int index = tableViewer_.getTable().getSelectionIndex();
    - if (index != -1) {
    - if (index > 0) {
    - if (currentHDH_!=null){
    - List handlers = currentHDH_.getHandlerList();
    - Object object = handlers.remove(index);
    - handlers.add(index - 1, object);
    - }
    - tableViewer_.refresh();
    - }
    - }
    -
    - }
    -
    - protected void handleMoveDownButtonSelected(SelectionEvent event) {
    -
    - int index = tableViewer_.getTable().getSelectionIndex();
    - if (index != -1) {
    - if (currentHDH_!=null){
    - List handlers = currentHDH_.getHandlerList();
    - if (index < handlers.size() - 1) {
    - Object object = handlers.remove(index);
    - handlers.add(index+1, object);
    - }
    - tableViewer_.refresh();
    - }
    - }
    -
    - }
    -
    - protected void handleSourceLocationCombo(SelectionEvent event) {
    - outputLocation_ = sourceLocationCombo_.getText();
    - IPath outputPath = (IPath) pathsTable_.get(outputLocation_);
    - currentHDH_.setSourceOutputPath(outputPath);
    - }
    -
    - protected void handleGenSkeletonRadioButton() {
    - if (genSkeletonRadioButton_.isEnabled()) {
    - if (genSkeletonRadioButton_.getSelection()) {
    - this.isGenSkeletonEnabled_ = true;
    - sourceLocationCombo_.setEnabled(true);
    - }
    - else {
    - this.isGenSkeletonEnabled_ = false;
    - sourceLocationCombo_.setEnabled(false);
    - }
    - }
    - }
    -
    - protected void handleWebServiceDescCombo(SelectionEvent event) {
    -
    - if (webServiceDescCombo_!=null && webServiceDescCombo_.isEnabled()) {
    - HandlerDescriptionHolder hdh = HandlerDescriptionHelper.getForDescriptionName(handlerDescriptionHolder_, webServiceDescCombo_.getText());
    - currentHDH_ = hdh;
    - refresh();
    - }
    -
    - if (isGenSkeletonEnabled_){
    - setSourceOutputLocation();
    - }
    -
    - }
    -
    - /**
    - * @return Returns the isGenSkeletonEnabled_.
    - */
    - public boolean isGenSkeletonEnabled_() {
    - return isGenSkeletonEnabled_;
    - }
    -
    - protected class ListLabelProvider extends LabelProvider implements ITableLabelProvider {
    -
    - public Image getColumnImage(Object element, int columnIndex) {
    - return null;
    - }
    -
    - public String getColumnText(Object object, int columnIndex) {
    -
    - if (object instanceof HandlerTableItem) {
    - HandlerTableItem hti = (HandlerTableItem) object;
    - if (columnIndex == 0) {
    - return hti.getHandlerName() != null ? hti.getHandlerName() : "";
    - }
    - else if (columnIndex == 1) {
    - return hti.getHandlerClassName() != null ? hti.getHandlerClassName() : "";
    - }
    - else {
    - return hti.getPortName() != null ? hti.getPortName() : "";
    - }
    - }
    - return null;
    - }
    -
    - }
    -
    - private void enableRemove(boolean enabled) {
    - removeButton_.setEnabled(enabled && !tableViewer_.getSelection().isEmpty());
    - }
    -
    - protected class ListContentProvider implements IStructuredContentProvider {
    -
    - public Object[] getElements(Object element) {
    - if (element instanceof Vector) { return ((Vector) element).toArray(); }
    - return null;
    - }
    -
    - public void dispose() {
    - }
    -
    - public void inputChanged(Viewer viewer, Object old, Object newobj) {
    - }
    -
    - public boolean isDeleted(Object object) {
    - return false;
    - }
    - }
    -
    - protected void handleDeleteKeyPressed() {
    - // internalDispose();
    - ISelection selection = tableViewer_.getSelection();
    - if (selection != null && !selection.isEmpty() && (selection instanceof IStructuredSelection)) {
    - int selectionIndex = handlersTable_.getSelectionIndex();
    - if (currentHDH_!=null){
    - currentHDH_.getHandlerList().remove(selectionIndex);
    - }
    - refresh();
    - }
    - }
    -
    - public void refresh() {
    - try {
    - tableViewer_.setInput(null);
    - if (currentHDH_!=null){
    - List handlers = currentHDH_.getHandlerList();
    - tableViewer_.setInput(handlers);
    - tableViewer_.refresh();
    - }
    - }
    - catch (Exception e) {
    - e.printStackTrace();
    - }
    - }
    -
    - public void setGenSkeletonEnabled(boolean isGenSkeletonEnabled) {
    - this.isGenSkeletonEnabled_ = isGenSkeletonEnabled;
    - genSkeletonRadioButton_.setSelection(isGenSkeletonEnabled);
    -
    - }
    -
    - public boolean getGenSkeletonEnabled() {
    - return this.isGenSkeletonEnabled_;
    - }
    -
    - private void setSourceOutputLocation(){
    - IProject project = currentHDH_.getProject();
    - if (project!=null){
    - IPath[] locations = ResourceUtils.getAllJavaSourceLocations(project);
    -
    - String[] paths = new String[locations.length];
    - for (int i = 0; i < locations.length; i++) {
    - paths[i] = locations[i].toString();
    - pathsTable_.put(paths[i], locations[i]);
    - }
    - sourceLocationCombo_.setItems(paths);
    - sourceLocationCombo_.select(0);
    - }
    -
    - // set in model
    - outputLocation_ = sourceLocationCombo_.getText();
    - IPath outputPath = (IPath) pathsTable_.get(outputLocation_);
    - currentHDH_.setSourceOutputPath(outputPath);
    -
    - }
    -
    - /**
    - * An array of HandlerDescriptionHolders
    - * @return
    - */
    - public void setHandlerDescriptionHolders(HandlerDescriptionHolder[] handlerHolders){
    - this.handlerDescriptionHolder_ = handlerHolders;
    - }
    -
    - public HandlerDescriptionHolder[] getHandlerDescriptionHolders(){
    - return this.handlerDescriptionHolder_;
    - }
    -
    - /**
    - * For getting the handlers to apply for multiple services
    - * @return
    - */
    - public List getHandlersList(){
    - if (handlerDescriptionHolder_[0]!=null)
    - return handlerDescriptionHolder_[0].getHandlerList();
    - return null;
    - }
    -
    - public void setDescriptionName(String wsDescName) {
    - descriptionName_ = wsDescName;
    - }
    -
    - public void setIsMultipleSelection(boolean isMulitpleSelection) {
    - this.isMultipleSelection_ = isMulitpleSelection;
    - }
    -
    - public void internalize(){
    - populateHandlersTable();
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/HandlersDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/HandlersDefaultingCommand.java
    deleted file mode 100644
    index f5b6e148c..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/HandlersDefaultingCommand.java
    +++ /dev/null
    @@ -1,78 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jst.j2ee.internal.webservice.WebServiceNavigatorGroupType;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -
    -
    -/**
    - * HandlersDefaultingCommand
    - *
    - * Determine if Handlers belongs to service or client side
    - */
    -public class HandlersDefaultingCommand extends AbstractHandlersWidgetDefaultingCmd
    -{
    - private boolean isClientHandler_ = false;
    - private boolean isServiceHandler_ = false;
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    - IStatus status = Status.OK_STATUS;
    -
    - IStructuredSelection selection = getInitialSelection();
    - if (selection != null && selection.size() == 1) {
    - Object obj = selection.getFirstElement();
    -
    - if (obj instanceof WebServiceNavigatorGroupType) {
    - WebServiceNavigatorGroupType wsngt = (WebServiceNavigatorGroupType) obj;
    - if (wsngt.getWsdlService()!=null){
    - isServiceHandler_ = true;
    - }
    -
    - if (wsngt.getServiceRef()!=null){
    - isClientHandler_ = true;
    - }
    -
    - }
    - }
    - else {
    - status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED );
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    -
    - return status;
    -
    - }
    -
    -
    -/**
    - * @return Returns the isClientHandler_.
    - */
    -public boolean getIsClientHandler() {
    - return isClientHandler_;
    -}
    -/**
    - * @return Returns the isServiceHandler_.
    - */
    -public boolean getIsServiceHandler() {
    - return isServiceHandler_;
    -}
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IObjectSelectionLaunchable.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IObjectSelectionLaunchable.java
    deleted file mode 100644
    index c59ad6df6..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IObjectSelectionLaunchable.java
    +++ /dev/null
    @@ -1,93 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.swt.widgets.Shell;
    -
    -public interface IObjectSelectionLaunchable {
    - /**
    - * The framework will call this method to set the initial selection
    - * value that the user has specified.
    - *
    - * @param initialSelection the initial selection the user specified.
    - */
    - public void setInitialSelection(IStructuredSelection initialSelection);
    -
    - /**
    - * The intent of the Object Selection Widget is that the user has
    - * the opportunity change/find the object that they want to turn into
    - * a Web service.
    - *
    - * @return returns the an IStructuredSelection object that the user
    - * want to turn into a Web service. This object may be different than
    - * the initialSelection passed in by the setInitialSelection method.
    - */
    - public IStructuredSelection getObjectSelection();
    -
    - /**
    - * Validates whether the objectSelection parameter is valid for
    - * this Object selection widget. An error status should be returned
    - * if this object is not value. Otherwise, and ok status should be
    - * returned
    - *
    - * @param objectSelection the object to be validated.
    - * @return the status of the validation.
    - */
    - public IStatus validateSelection(IStructuredSelection objectSelection);
    -
    - /**
    - *
    - * @return returns the IProject that contains the selection
    - * object that the user has chosen with this widget. The value can be
    - * null if there is no IProject for this object.
    - */
    - public IProject getProject();
    -
    - /**
    - *
    - * @return returns the name of the IVirtualComponent that contains the selection
    - * object that the user has chosen with this widget. The value can be
    - * null if there is no IVirtualComponent for this object
    - */
    - public String getComponentName();
    -
    - /**
    - * Called to launch a dialog which allows the user to make an object selection.
    - * This is an alternative to implementing IObjectSelectionWidget which can be used by the dialog framework.
    - * The implementation of this method should call the necessary getters on the dialog to update the
    - * object selection.
    - *
    - * @return the status of completing the dialog launch
    - */
    - public int launch(Shell shell);
    -
    - /**
    - *
    - * @return returns the string to displayed in the UI for the selected object
    - */
    - public String getObjectSelectionDisplayableString();
    -
    - /**
    - *
    - * @param s A string representation of the object selection
    - * @return true if the string represents a valid object selection.
    - * The implementation of this method should set the widget object selection
    - * according to the input string so that a subsequent call to getObjectSelection
    - * will retrieve the correct object.
    - */
    - public boolean validate(String s);
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IPackable.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IPackable.java
    deleted file mode 100644
    index 5600bd90a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/IPackable.java
    +++ /dev/null
    @@ -1,26 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060829 155441 makandre@ca.ibm.com - Andrew Mak, web service wizard hangs during resize
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -/**
    - * An interface that marks an UI element as having some custom packing code.
    - */
    -public interface IPackable {
    -
    - /**
    - * Calling this method should cause the UI element to pack itself. Note that
    - * this does not necessarily have the same behavior as the pack() method in SWT.
    - */
    - void packIt();
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ImportWSILWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ImportWSILWidget.java
    deleted file mode 100644
    index 7be3001ef..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ImportWSILWidget.java
    +++ /dev/null
    @@ -1,223 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import java.net.MalformedURLException;
    -import java.util.ArrayList;
    -import java.util.Iterator;
    -
    -import org.eclipse.core.resources.IFile;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.emf.common.util.URI;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
    -import org.eclipse.jst.ws.internal.common.J2EEActionAdapterFactory;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsil.Arguments;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsil.TableViewerEditor;
    -import org.eclipse.jst.ws.internal.ui.common.DialogResourceBrowser;
    -import org.eclipse.jst.ws.internal.ui.common.FileExtensionFilter;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Button;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Event;
    -import org.eclipse.swt.widgets.Label;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.TableItem;
    -import org.eclipse.swt.widgets.Text;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.ui.help.IWorkbenchHelpSystem;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -import org.eclipse.wst.ws.internal.wsil.AddWSDLToWSILCommand;
    -import org.eclipse.wst.wsdl.internal.impl.ServiceImpl;
    -import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
    -
    -/**
    -* Page for importing WSDL references into a WSIL in the workbench.
    -*/
    -public class ImportWSILWidget extends SimpleWidgetDataContributor
    -{
    - /*CONTEXT_ID WSIL0001 for the WSIL Import Page*/
    - private final String INFOPOP_WSIL_IMPORT_PAGE = WebServiceConsumptionUIPlugin.ID + ".WSIL0001";
    -
    - /*CONTEXT_ID WSIL0002 for the WSIL text field*/
    - private final String INFOPOP_WSIL_TEXT_WSIL = WebServiceConsumptionUIPlugin.ID + ".WSIL0002";
    -
    - /*CONTEXT_ID WSIL0003 for the WSIL browse button*/
    - private final String INFOPOP_WSIL_BUTTON_BROWSE_WSIL = WebServiceConsumptionUIPlugin.ID + ".WSIL0003";
    -
    - /*CONTEXT_ID WSIL0004 for the WSDL table*/
    - private final String INFOPOP_WSIL_TABLE_WSDL = WebServiceConsumptionUIPlugin.ID + ".WSIL0004";
    -
    - private final String INSPECTION_WSIL = "inspection.wsil";
    -
    - private Text wsil_;
    - private Button browse_;
    - private TableViewerEditor wsdls_;
    -
    - /**
    - * Constructs a new page.
    - */
    - public ImportWSILWidget()
    - {
    - }
    -
    - public WidgetDataEvents addControls(Composite parent, Listener statusListener)
    - {
    - IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
    -
    - parent.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSIL_IMPORT_PAGE);
    - helpSystem.setHelp(parent, INFOPOP_WSIL_IMPORT_PAGE);
    -
    - Composite composite = new Composite(parent, SWT.NONE);
    - GridLayout gl = new GridLayout();
    - gl.numColumns = 3;
    - composite.setLayout(gl);
    - GridData gd = new GridData(GridData.GRAB_VERTICAL | GridData.VERTICAL_ALIGN_BEGINNING | GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL);
    - gd.grabExcessVerticalSpace = true;
    - gd.grabExcessHorizontalSpace = true;
    - composite.setLayoutData(gd);
    -
    - Label label = new Label(composite, SWT.WRAP);
    - label.setText(ConsumptionUIMessages.LABEL_WSIL_URI);
    - label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    -
    - wsil_ = new Text(composite, SWT.WRAP | SWT.SINGLE | SWT.BORDER);
    - gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
    - gd.widthHint = 256;
    - wsil_.setLayoutData(gd);
    - wsil_.addListener(SWT.Modify, statusListener);
    - wsil_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSIL_TEXT_WSIL);
    - helpSystem.setHelp(wsil_, INFOPOP_WSIL_TEXT_WSIL);
    -
    - browse_ = new Button(composite, SWT.PUSH);
    - browse_.setText(ConsumptionUIMessages.LABEL_BROWSE);
    - browse_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    - browse_.addListener(SWT.Selection,
    - new Listener()
    - {
    - public void handleEvent(Event event)
    - {
    - handleBrowseEvent(event);
    - }
    - }
    - );
    - browse_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSIL_BUTTON_BROWSE_WSIL);
    - helpSystem.setHelp(browse_, INFOPOP_WSIL_BUTTON_BROWSE_WSIL);
    -
    - Composite wsdlComposite = new Composite(composite, SWT.NONE);
    - wsdlComposite.setLayout(new GridLayout());
    - gd = new GridData(GridData.FILL_BOTH);
    - gd.horizontalSpan = 3;
    - wsdlComposite.setLayoutData(gd);
    - label = new Label(wsdlComposite, SWT.WRAP);
    - label.setText(ConsumptionUIMessages.LABEL_WSDL);
    - label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    - String[] columns = {ConsumptionUIMessages.LABEL_WSDL_URI};
    - wsdls_ = new TableViewerEditor(wsdlComposite, columns, new ArrayList(), "http://");
    - wsdls_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSIL_TABLE_WSDL);
    - wsdls_.setInfopop(INFOPOP_WSIL_TABLE_WSDL);
    - return this;
    - }
    -
    - public void handleBrowseEvent(Event event)
    - {
    - DialogResourceBrowser dialog = new DialogResourceBrowser(browse_.getShell(), null, new FileExtensionFilter(new String[] {"wsil"}));
    - dialog.open();
    - IResource res = dialog.getFirstSelection();
    - if (res != null)
    - {
    - if (res instanceof IFile)
    - wsil_.setText(res.getFullPath().toString());
    - else
    - wsil_.setText(res.getFullPath().addTrailingSeparator().append(INSPECTION_WSIL).toString());
    - }
    - }
    -
    - public IStatus getStatus()
    - {
    - if (!wsil_.getText().endsWith(".wsil"))
    - return StatusUtils.errorStatus( ConsumptionUIMessages.PAGE_MSG_INVALID_WSIL_FILE_NAME );
    - else
    - return Status.OK_STATUS;
    - }
    -
    - public void setInitialSelection(IStructuredSelection selection)
    - {
    - ArrayList list = new ArrayList();
    - if (selection != null && !selection.isEmpty())
    - {
    - for (Iterator it = selection.iterator(); it.hasNext();)
    - {
    - Object object = it.next();
    - if ((object instanceof IFile) && ((IFile)object).getFileExtension() != null && ((IFile)object).getFileExtension().equals("wsdl"))
    - list.add(((IFile)object).getFullPath().toString());
    - if (object instanceof ServiceImpl)
    - list.add(J2EEActionAdapterFactory.getWSILPath(((ServiceImpl)(object))));
    - if (object instanceof ServiceRef)
    - list.add(J2EEActionAdapterFactory.getWSILPath(((ServiceRef)(object))));
    - if (object instanceof WSDLResourceImpl)
    - list.add(J2EEActionAdapterFactory.getWSILPath(((WSDLResourceImpl)(object))));
    - }
    - }
    - wsdls_.setInput(list);
    - wsdls_.refresh();
    - if (list.size() > 0)
    - {
    - StringBuffer path = new StringBuffer(list.get(0).toString());
    - // change extension from .wsdl to .wsil
    - int length = path.length();
    - path = path.replace(length-4, length, "wsil");
    - wsil_.setText(path.toString());
    - }
    - }
    -
    - public Arguments getGenWSILArguments()
    - {
    - Arguments args = new Arguments();
    - String wsilPath = wsil_.getText();
    - if (wsilPath.indexOf(':') < 0)
    - args.add(AddWSDLToWSILCommand.ARG_WSIL, URI.createPlatformResourceURI(wsil_.getText()).toString());
    - else
    - args.add(AddWSDLToWSILCommand.ARG_WSIL, wsilPath);
    - TableItem[] items = wsdls_.getItems();
    - for (int i = 0; i < items.length; i++)
    - {
    - String uri = items[i].getText(0);
    - if (uri.indexOf(':') < 0)
    - {
    - IResource res = ResourceUtils.findResource(uri);
    - if (res != null)
    - {
    - try
    - {
    - uri = res.getLocation().toFile().toURL().toString();
    - }
    - catch (MalformedURLException murle)
    - {
    - murle.getMessage();
    - }
    - }
    - }
    - args.add(AddWSDLToWSILCommand.ARG_WSDL, uri);
    - }
    - args.add(AddWSDLToWSILCommand.ARG_RESOLVE_WSDL, null);
    - return args;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/JavaBeanSelectionLaunchable.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/JavaBeanSelectionLaunchable.java
    deleted file mode 100644
    index f0a4c924a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/JavaBeanSelectionLaunchable.java
    +++ /dev/null
    @@ -1,201 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
    - * 20060719 149352 mahutch@ca.ibm.com - Mark Hutchinson
    - * 20060826 135570 makandre@ca.ibm.com - Andrew Mak, Service implementation URL not displayed properly on first page
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.core.resources.IFile;
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.emf.ecore.EObject;
    -import org.eclipse.jdt.core.ICompilationUnit;
    -import org.eclipse.jdt.core.IType;
    -import org.eclipse.jdt.core.JavaModelException;
    -import org.eclipse.jface.dialogs.ProgressMonitorDialog;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.StructuredSelection;
    -import org.eclipse.jst.j2ee.webservice.wsdd.BeanLink;
    -import org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.PortComponentImpl;
    -import org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.ServiceImplBeanImpl;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.ui.dialog.DialogUtils;
    -import org.eclipse.swt.widgets.Shell;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
    -
    -public class JavaBeanSelectionLaunchable extends AbstractObjectSelectionLaunchable {
    -
    - private IProject serverProject_ = null;
    - private String serverComponentName_ = null;
    - private String beanClassString_="";
    -
    - public void setInitialSelection(IStructuredSelection initialSelection)
    - {
    - if (initialSelection != null && !initialSelection.isEmpty())
    - {
    - Object object = initialSelection.getFirstElement();
    - if (object instanceof IFile)
    - {
    - IFile iFile = (IFile)object;
    - String fileExt = iFile.getFileExtension().toLowerCase();
    - if (fileExt.equals("java") || fileExt.equals("class"))
    - setBeanClass(iFile);
    - }
    - else if (object instanceof ICompilationUnit)
    - setBeanClass(((ICompilationUnit)object).getResource());
    - else if (object instanceof ServiceImplBeanImpl)
    - setBeanClass((ServiceImplBeanImpl)object);
    - else if(object instanceof BeanLink)
    - setBeanClass((BeanLink)object);
    - else if (object instanceof String)
    - beanClassString_ = (String) object; // use for displayable string
    - }
    - }
    -
    - public IStructuredSelection getObjectSelection()
    - {
    - return new StructuredSelection(beanClassString_);
    - }
    -
    - public IProject getProject()
    - {
    - return serverProject_;
    - }
    -
    - public String getComponentName()
    - {
    - return serverComponentName_;
    - }
    -
    - public int launch(Shell shell) {
    -
    - IType itype = DialogUtils.browseClassesAsIType(shell, ResourcesPlugin.getWorkspace().getRoot().getProjects(), new ProgressMonitorDialog(shell));
    - if (itype != null)
    - {
    - beanClassString_ = itype.getFullyQualifiedName();
    - try
    - {
    - IResource res = itype.getUnderlyingResource();
    - if (res != null)
    - {
    - serverProject_ = res.getProject();
    - IVirtualComponent comp = ResourceUtils.getComponentOf(res);
    - if (comp!=null)
    - {
    - serverComponentName_ = comp.getName();
    - }
    - }
    - else
    - {
    - serverProject_ = null;
    - serverComponentName_ = null;
    - }
    - return Status.OK;
    - }
    - catch (JavaModelException jme)
    - {
    - serverProject_ = null;
    - serverComponentName_ = null;
    - return Status.ERROR;
    - }
    - }
    - return Status.CANCEL;
    - }
    -
    - private void setBeanClass(IResource resource)
    - {
    - if( resource != null && resource instanceof IFile )
    - {
    - IPath path = resource.getFullPath();
    - String basename = path.lastSegment();
    -
    - if( basename != null && basename.length() > 0 )
    - {
    - String beanPackage = org.eclipse.jst.ws.internal.common.ResourceUtils.getJavaResourcePackageName(path);
    - String beanClass = (beanPackage == null || beanPackage.length() == 0 ? basename : (beanPackage + "." + basename));
    -
    - if( beanClass.toLowerCase().endsWith(".java") || beanClass.toLowerCase().endsWith(".class" ) )
    - {
    - beanClass = beanClass.substring( 0, beanClass.lastIndexOf('.') );
    - }
    -
    - beanClassString_ = beanClass;
    - serverProject_ = ResourceUtils.getProjectOf(path);
    - IVirtualComponent comp = ResourceUtils.getComponentOf(resource);
    -
    - if (comp!=null)
    - {
    - serverComponentName_ = comp.getName();
    - }
    -
    - }
    - }
    - }
    -
    - private void setBeanClass(ServiceImplBeanImpl serviceImpl)
    - {
    - if( serviceImpl != null )
    - {
    - EObject eObject = serviceImpl.eContainer();
    - if(eObject instanceof PortComponentImpl){
    - PortComponentImpl pci = (PortComponentImpl)eObject;
    - beanClassString_ = pci.getServiceEndpointInterface();
    - }
    - }
    - }
    -
    - private void setBeanClass(BeanLink serviceImpl)
    - {
    - if( serviceImpl != null )
    - {
    - EObject eObject = serviceImpl.eContainer();
    - if(eObject instanceof ServiceImplBeanImpl){
    - setBeanClass((ServiceImplBeanImpl)eObject);
    - }
    - }
    - }
    -
    - public IStatus getStatus()
    - {
    - if (beanClassString_.length() <= 0)
    - {
    - return StatusUtils.errorStatus(ConsumptionUIMessages.PAGE_MSG_BEAN_CANNOT_BE_EMPTY);
    - }
    - return Status.OK_STATUS;
    - }
    -
    - public IStatus validateSelection(IStructuredSelection objectSelection)
    - {
    - return Status.OK_STATUS;
    - }
    -
    - public String getObjectSelectionDisplayableString() {
    - return beanClassString_;
    - }
    -
    - public boolean validate(String s) {
    - beanClassString_ = s;
    - if (s.length() > 0)
    - {
    - return true;
    - }
    - return false;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PreferencesSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PreferencesSelectionWidget.java
    deleted file mode 100644
    index 27fc72bbe..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PreferencesSelectionWidget.java
    +++ /dev/null
    @@ -1,81 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.jst.ws.internal.ui.WSUIPluginMessages;
    -import org.eclipse.jst.ws.internal.ui.common.UIUtils;
    -import org.eclipse.swt.widgets.Button;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -
    -
    -public class PreferencesSelectionWidget extends SimpleWidgetDataContributor
    -{
    - private ResourceContext context_;
    -
    - /*CONTEXT_ID PWPR0003 for the Overwrite Files check box of the Project Page*/
    - private String INFOPOP_PWPR_CHECKBOX_OVERWRITE_FILES = "PWPR0003";
    - private Button overwriteFilesCheckbox_;
    -
    - /*CONTEXT_ID PWPR0004 for the Create Folders check box of the Project Page*/
    - private String INFOPOP_PWPR_CHECKBOX_CREATE_FOLDERS = "PWPR0004";
    - private Button createFoldersCheckbox_;
    -
    - /*CONTEXT_ID PWPR0015 for the Check Out Files check box of the Project Page*/
    - private String INFOPOP_PWPR_CHECKBOX_CHECKOUT_FILES = "PWPR0015";
    - private Button checkoutFilesCheckbox_;
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.WidgetContributor#addControls(org.eclipse.swt.widgets.Composite, org.eclipse.swt.widgets.Listener)
    - */
    - public WidgetDataEvents addControls( Composite parent, Listener statusListener)
    - {
    - String conPluginId = "org.eclipse.jst.ws.consumption.ui";
    - UIUtils utils = new UIUtils( conPluginId );
    -
    - Composite resourcesGroup = utils.createComposite( parent, 1 );
    -
    - overwriteFilesCheckbox_ = utils.createCheckbox( resourcesGroup, WSUIPluginMessages.BUTTON_OVERWRITE_FILES,
    - WSUIPluginMessages.TOOLTIP_PPRM_CHECKBOX_OVERWRITE_FILES,
    - INFOPOP_PWPR_CHECKBOX_OVERWRITE_FILES );
    -
    - createFoldersCheckbox_ = utils.createCheckbox( resourcesGroup, WSUIPluginMessages.BUTTON_CREATE_FOLDERS,
    - WSUIPluginMessages.TOOLTIP_PPRM_CHECKBOX_CREATE_FOLDERS ,
    - INFOPOP_PWPR_CHECKBOX_CREATE_FOLDERS );
    -
    - checkoutFilesCheckbox_ = utils.createCheckbox( resourcesGroup, WSUIPluginMessages.BUTTON_CHECKOUT_FILES,
    - WSUIPluginMessages.TOOLTIP_PPRM_CHECKBOX_CHECK_OUT,
    - INFOPOP_PWPR_CHECKBOX_CHECKOUT_FILES );
    -
    - return this;
    - }
    -
    - public void setResourceContext( ResourceContext context )
    - {
    - overwriteFilesCheckbox_.setSelection( context.isOverwriteFilesEnabled() );
    - createFoldersCheckbox_.setSelection( context.isCreateFoldersEnabled() );
    - checkoutFilesCheckbox_.setSelection( context.isCheckoutFilesEnabled() );
    -
    - context_ = context;
    - }
    -
    - public ResourceContext getResourceContext()
    - {
    - context_.setOverwriteFilesEnabled( overwriteFilesCheckbox_.getSelection() );
    - context_.setCreateFoldersEnabled( createFoldersCheckbox_.getSelection() );
    - context_.setCheckoutFilesEnabled( checkoutFilesCheckbox_.getSelection() );
    -
    - return context_;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ProjectSelectionDialog.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ProjectSelectionDialog.java
    deleted file mode 100644
    index 94916f315..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ProjectSelectionDialog.java
    +++ /dev/null
    @@ -1,122 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060802 148731 mahutch@ca.ibm.com - Mark Hutchinson
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ProjectSelectionWidget;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.graphics.Point;
    -import org.eclipse.swt.widgets.Shell;
    -import org.eclipse.wst.command.internal.env.ui.widgets.PageInfo;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleDialog;
    -
    -public class ProjectSelectionDialog extends SimpleDialog {
    -
    - String titleText_="";
    - String projectName_="";
    - String earProjectName_="";
    - String componentType_="";
    - TypeRuntimeServer trs_;
    - boolean needEAR_;
    -
    - public ProjectSelectionDialog(Shell shell, PageInfo pageInfo)
    - {
    - super(shell, pageInfo);
    - titleText_ = pageInfo.getPageName();
    - }
    -
    - protected void callSetters() {
    - // TODO Auto-generated method stub
    - ProjectSelectionWidget projWidget = (ProjectSelectionWidget)getWidget();
    - projWidget.setEarProjectName(earProjectName_);
    - projWidget.setProjectName(projectName_);
    - projWidget.setComponentType(componentType_);
    - projWidget.setNeedEAR(needEAR_);
    - projWidget.setTypeRuntimeServer(trs_);
    -
    - projWidget.refreshProjectItems();
    - }
    -
    - protected Point getInitialSize()
    - {
    - return this.getShell().computeSize(250, SWT.DEFAULT, true);
    - }
    -
    -
    - protected void setShellStyle(int newShellStyle)
    - {
    - super.setShellStyle( newShellStyle | SWT.RESIZE );
    - }
    -
    - protected void configureShell(Shell newShell)
    - {
    - newShell.setText(titleText_);
    - super.configureShell(newShell);
    - }
    -
    - public void setProjectName(String name)
    - {
    - projectName_ = name;
    - }
    -
    - public String getProjectName()
    - {
    - return projectName_;
    - }
    -
    - public void setEarProjectName(String name)
    - {
    - earProjectName_ = name;
    - }
    -
    - public String getEarProjectName()
    - {
    - return earProjectName_;
    - }
    -
    - public void setProjectComponentType( String type )
    - {
    - componentType_ = type;
    - }
    -
    - public String getProjectComponentType()
    - {
    - return componentType_;
    - }
    -
    - public void setNeedEAR(boolean b)
    - {
    - needEAR_ = b;
    - }
    -
    - public boolean getNeedEAR()
    - {
    - return needEAR_;
    - }
    -
    - public void setTypeRuntimeServer(TypeRuntimeServer trs)
    - {
    - trs_ = trs;
    - }
    -
    - public boolean close() {
    -
    - projectName_ = ((ProjectSelectionWidget)getWidget()).getProjectName();
    - earProjectName_ = ((ProjectSelectionWidget)getWidget()).getEarProjectName();
    - needEAR_ = ((ProjectSelectionWidget)getWidget()).getNeedEAR();
    - componentType_ = ((ProjectSelectionWidget)getWidget()).getComponentType();
    - return super.close();
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishToPrivateUDDICommandFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishToPrivateUDDICommandFragment.java
    deleted file mode 100644
    index 656491948..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishToPrivateUDDICommandFragment.java
    +++ /dev/null
    @@ -1,101 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.wizard.PrivateUDDIRegistryTypeRegistry;
    -import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
    -import org.eclipse.wst.command.internal.env.core.fragment.AbstractCommandFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
    -
    -
    -public class PublishToPrivateUDDICommandFragment extends AbstractCommandFragment
    -{
    - private DataMappingRegistry dataMappingRegistry;
    - private CanFinishRegistry canFinishRegistry;
    - private WidgetRegistry widgetRegistry;
    - private boolean publishToPrivateUDDI;
    - private CommandWidgetBinding privateUDDIBinding;
    -
    - public PublishToPrivateUDDICommandFragment()
    - {
    - super(null, "");
    - privateUDDIBinding = PrivateUDDIRegistryTypeRegistry.getInstance().getPrivateUDDIRegistryType().getBinding();
    - }
    -
    - /**
    - * Gets the first child fragment for this fragment.
    - *
    - * @return returns the first child fragment for this fragment. Returns
    - * null when there is no first child.
    - **/
    - public CommandFragment getFirstSubFragment()
    - {
    - if (privateUDDIBinding != null && publishToPrivateUDDI && !PrivateUDDIRegistryTypeRegistry.getInstance().getPrivateUDDIRegistryType().isPrivateUDDIRegistryInstalled())
    - {
    - privateUDDIBinding.registerCanFinish(canFinishRegistry);
    - privateUDDIBinding.registerDataMappings(dataMappingRegistry);
    - privateUDDIBinding.registerWidgetMappings(widgetRegistry);
    - return privateUDDIBinding.create().create();
    - }
    - else
    - return null;
    - }
    -
    - /**
    - * Gets the next child fragment for this fragment.
    - *
    - * @return returns the next child fragment for this fragment. Returns null
    - * when there is no next child.
    - **/
    - public CommandFragment getNextSubFragment(CommandFragment fragment)
    - {
    - return null;
    - }
    -
    - /*
    - * This method is called to retrieve the data mappings for this command fragment.
    - */
    - public void registerDataMappings(DataMappingRegistry registry)
    - {
    - dataMappingRegistry = registry;
    - }
    -
    - public void registerCanFinish(CanFinishRegistry canFinishRegistry)
    - {
    - this.canFinishRegistry = canFinishRegistry;
    - }
    -
    - public void registerWidgetMappings(WidgetRegistry widgetRegistry)
    - {
    - this.widgetRegistry = widgetRegistry;
    - }
    -
    - /**
    - * All wizard fragments need to be cloneable.
    - **/
    - public Object clone()
    - {
    - PublishToPrivateUDDICommandFragment fragment = new PublishToPrivateUDDICommandFragment();
    - fragment.registerDataMappings(dataMappingRegistry);
    - fragment.registerCanFinish(canFinishRegistry);
    - fragment.registerWidgetMappings(widgetRegistry);
    - fragment.setPublishToPrivateUDDI(publishToPrivateUDDI);
    - return fragment;
    - }
    -
    - public void setPublishToPrivateUDDI(boolean publish)
    - {
    - publishToPrivateUDDI = publish;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishWSWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishWSWidget.java
    deleted file mode 100644
    index d044f7ced..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/PublishWSWidget.java
    +++ /dev/null
    @@ -1,201 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import java.util.Vector;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.jst.ws.internal.consumption.ui.wizard.PrivateUDDIRegistryTypeRegistry;
    -import org.eclipse.jst.ws.internal.consumption.ui.wizard.PublicUDDIRegistryTypeRegistry;
    -import org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistryType;
    -import org.eclipse.jst.ws.internal.ui.uddi.PrivateUDDIRegistryType;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Button;
    -import org.eclipse.swt.widgets.Combo;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Event;
    -import org.eclipse.swt.widgets.Label;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.ui.help.IWorkbenchHelpSystem;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -import org.eclipse.wst.ws.internal.explorer.LaunchOption;
    -import org.eclipse.wst.ws.internal.explorer.LaunchOptions;
    -
    -
    -public class PublishWSWidget extends SimpleWidgetDataContributor
    -{
    - /* CONTEXT_ID PWPB0001 for the UDDI Publish Page */
    - private String INFOPOP_PWPB_PAGE = WebServiceConsumptionUIPlugin.ID + ".PWPB0001";
    - /* CONTEXT_ID PWPB0002 for the UDDI Launch check box of the UDDI Publish Page */
    - private String INFOPOP_PWPB_CHECKBOX_WS_LAUNCH = WebServiceConsumptionUIPlugin.ID + ".PWPB0002";
    - private Button launchUDDICheckbox_;
    - private Button launchPrivateUDDICheckbox_;
    - private Label pubilcUDDIRegComboLabel_;
    - private Combo publicUDDIRegCombo_;
    - private Listener statusListener;
    - private Boolean publish;
    -
    - public PublishWSWidget(boolean publish)
    - {
    - this.publish = new Boolean(publish);
    - }
    -
    - public WidgetDataEvents addControls(Composite parent, Listener statusListener)
    - {
    - this.statusListener = statusListener;
    - Listener selListener = new Listener()
    - {
    - public void handleEvent(Event event)
    - {
    - handleSelectionEvent(event);
    - }
    - };
    - parent.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWPB_PAGE);
    - IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
    - helpSystem.setHelp(parent, INFOPOP_PWPB_PAGE);
    - launchPrivateUDDICheckbox_ = new Button(parent, SWT.CHECK);
    - if (publish.booleanValue())
    - launchPrivateUDDICheckbox_.setText(ConsumptionUIMessages.BUTTON_WS_PUBLISH_PRIVATE_UDDI);
    - else
    - launchPrivateUDDICheckbox_.setText(ConsumptionUIMessages.BUTTON_WS_FIND_PRIVATE_UDDI);
    - launchPrivateUDDICheckbox_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWPB_CHECKBOX_WS_LAUNCH);
    - launchPrivateUDDICheckbox_.addListener(SWT.Selection, selListener);
    - helpSystem.setHelp(launchPrivateUDDICheckbox_, INFOPOP_PWPB_CHECKBOX_WS_LAUNCH);
    - launchUDDICheckbox_ = new Button(parent, SWT.CHECK);
    - if (publish.booleanValue())
    - launchUDDICheckbox_.setText(ConsumptionUIMessages.BUTTON_WS_PUBLISH);
    - else
    - launchUDDICheckbox_.setText(ConsumptionUIMessages.BUTTON_WS_FIND);
    - launchUDDICheckbox_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWPB_CHECKBOX_WS_LAUNCH);
    - launchUDDICheckbox_.addListener(SWT.Selection, selListener);
    - helpSystem.setHelp(launchUDDICheckbox_, INFOPOP_PWPB_CHECKBOX_WS_LAUNCH);
    - Composite c = new Composite(parent, SWT.NONE);
    - GridLayout gl = new GridLayout();
    - gl.numColumns = 3;
    - gl.marginHeight = 0;
    - gl.marginWidth = 0;
    - c.setLayout(gl);
    - GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
    - c.setLayoutData(gd);
    - new Label(c, SWT.WRAP);
    - pubilcUDDIRegComboLabel_ = new Label(c, SWT.WRAP);
    - pubilcUDDIRegComboLabel_.setText(ConsumptionUIMessages.LABEL_PUBLIC_UDDI_REGISTRIES);
    - publicUDDIRegCombo_ = new Combo(c, SWT.DROP_DOWN | SWT.READ_ONLY);
    - publicUDDIRegCombo_.setEnabled(false);
    - initPublicUDDI();
    - initPrivateUDDI();
    - return this;
    - }
    -
    - private void initPublicUDDI()
    - {
    - PublicUDDIRegistryTypeRegistry reg = PublicUDDIRegistryTypeRegistry.getInstance();
    - PublicUDDIRegistryType[] types = reg.getAllPublicUDDIRegistryTypes();
    - for (int i = 0; i < types.length; i++)
    - {
    - if (publish.booleanValue())
    - {
    - // Ignore read-only registries.
    - String publishURL = types[i].getPublishURL();
    - if (publishURL == null || publishURL.indexOf("://") == -1)
    - continue;
    - }
    - publicUDDIRegCombo_.add(types[i].getName());
    - }
    - if (types.length > 0)
    - publicUDDIRegCombo_.setText(publicUDDIRegCombo_.getItem(0));
    - }
    -
    - private void initPrivateUDDI()
    - {
    - if (!publish.booleanValue() && !PrivateUDDIRegistryTypeRegistry.getInstance().getPrivateUDDIRegistryType().isPrivateUDDIRegistryInstalled())
    - launchPrivateUDDICheckbox_.setEnabled(false);
    - }
    -
    - private void handleSelectionEvent(Event event)
    - {
    - if (launchUDDICheckbox_ == event.widget)
    - publicUDDIRegCombo_.setEnabled(launchUDDICheckbox_.getSelection());
    - statusListener.handleEvent(event);
    - }
    -
    - public void setPublishToPublicUDDI(boolean publish)
    - {
    - launchUDDICheckbox_.setSelection(publish);
    - publicUDDIRegCombo_.setEnabled(publish);
    - }
    -
    - public void setPublishToPublicUDDI(Boolean publish)
    - {
    - setPublishToPublicUDDI(publish.booleanValue());
    - }
    -
    - public void setPublishToPrivateUDDI(boolean publish)
    - {
    - launchPrivateUDDICheckbox_.setSelection(publish);
    - }
    -
    - public void setPublishToPrivateUDDI(Boolean publish)
    - {
    - setPublishToPrivateUDDI(publish.booleanValue());
    - }
    -
    - public boolean getPublishToPublicUDDI()
    - {
    - return launchUDDICheckbox_.getSelection();
    - }
    -
    - public boolean getPublishToPrivateUDDI()
    - {
    - return launchPrivateUDDICheckbox_.getSelection();
    - }
    -
    - public boolean getForceLaunchOutsideIDE()
    - {
    - return false;
    - }
    -
    - public LaunchOption[] getLaunchOptions()
    - {
    - Vector launchOptionVector = new Vector();
    - if (launchUDDICheckbox_.getSelection())
    - {
    - PublicUDDIRegistryTypeRegistry reg = PublicUDDIRegistryTypeRegistry.getInstance();
    - int UDDIRegSelectionIndex = publicUDDIRegCombo_.getSelectionIndex();
    - if (UDDIRegSelectionIndex != -1)
    - {
    - String name = publicUDDIRegCombo_.getItem(UDDIRegSelectionIndex);
    - String id = reg.getPublicUDDIRegistryTypeIDByName(name);
    - PublicUDDIRegistryType type = reg.getPublicUDDIRegistryTypeByID(id);
    - launchOptionVector.add(new LaunchOption(LaunchOptions.INQUIRY_URL, type.getInquiryURL()));
    - launchOptionVector.add(new LaunchOption(LaunchOptions.PUBLISH_URL, type.getPublishURL()));
    - }
    - }
    - if (launchPrivateUDDICheckbox_.getSelection())
    - {
    - PrivateUDDIRegistryTypeRegistry privateReg = PrivateUDDIRegistryTypeRegistry.getInstance();
    - PrivateUDDIRegistryType privateType = privateReg.getPrivateUDDIRegistryType();
    - String[] privateInquiryURL = privateType.getPrivateUDDIRegistryInquiryAPI();
    - String[] privatePublishURL = privateType.getPrivateUDDIRegistryPublishAPI();
    - for (int i = 0; i < privateInquiryURL.length; i++)
    - {
    - launchOptionVector.add(new LaunchOption(LaunchOptions.INQUIRY_URL, privateInquiryURL[i]));
    - launchOptionVector.add(new LaunchOption(LaunchOptions.PUBLISH_URL, privatePublishURL[i]));
    - }
    - }
    - return (LaunchOption[]) launchOptionVector.toArray(new LaunchOption[0]);
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetDefaultingCommand.java
    deleted file mode 100644
    index beeab2fa4..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetDefaultingCommand.java
    +++ /dev/null
    @@ -1,376 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060517 142027 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060518 142554 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Vector;
    -
    -import org.eclipse.core.resources.IFile;
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.emf.ecore.resource.Resource;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jem.util.emf.workbench.WorkbenchResourceHelperBase;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jst.j2ee.internal.webservice.WebServiceNavigatorGroupType;
    -import org.eclipse.jst.j2ee.internal.webservice.helper.WebServicesManager;
    -import org.eclipse.jst.j2ee.webservice.wsdd.Handler;
    -import org.eclipse.jst.j2ee.webservice.wsdd.PortComponent;
    -import org.eclipse.jst.j2ee.webservice.wsdd.WebServiceDescription;
    -import org.eclipse.jst.j2ee.webservice.wsdd.WebServices;
    -import org.eclipse.jst.j2ee.webservice.wsdd.WsddResource;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerDescriptionHolder;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.wsdl.Service;
    -import org.eclipse.wst.wsdl.internal.impl.ServiceImpl;
    -import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
    -
    -/**
    - * ServiceHandlersWidgetDefaultingCommand
    - *
    - * Initialize and load the handlers data
    - */
    -public class ServiceHandlersWidgetDefaultingCommand extends AbstractHandlersWidgetDefaultingCmd {
    -
    - private WsddResource[] wsddResource_ = null;
    - private IProject project_;
    - private String descriptionName_ = null;
    - private String errorStatusMsg_ = null;
    - private boolean isMultipleSelection_;
    - private HandlerDescriptionHolder[] handlerDescriptionHolder_;
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    - IStatus status = Status.OK_STATUS;
    -
    - IStructuredSelection selection = getInitialSelection();
    - if (selection == null) {
    - status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED );
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    - else if (selection.size()>1){
    - status = processMultipleHandlers(env);
    - return status;
    - }
    -
    - status = processHandlers(env);
    - return status;
    -
    - }
    -
    - public IStatus processHandlers(IEnvironment env) {
    - try {
    - WebServicesManager webServicesManager = new WebServicesManager();
    - List allWSDLServices = webServicesManager.getAllWSDLServices();
    - int servicesSize = allWSDLServices.size();
    -
    - wsddResource_= new WsddResource[servicesSize];
    - wsddResource_[0] = getWsddResourceFromSelection();
    - if (wsddResource_[0] == null) {
    - return StatusUtils.errorStatus(ConsumptionUIMessages.MSG_ERROR_WSDD_NOT_FOUND);
    - }
    -
    - // check for another wsddResource of another J2EE level
    - int x = 0;
    - while (x<servicesSize) {
    - Service service = (Service )allWSDLServices.get(x);
    - WsddResource wsddRes = webServicesManager.getWsddResource(service);
    - boolean isUniqueWsdd = true;
    - for (int w=0;w<wsddResource_.length;w++){
    - if (wsddRes.equals(wsddResource_[w])){
    - isUniqueWsdd = false;
    - break;
    - }
    - }
    -
    - if (isUniqueWsdd) {
    - wsddResource_[x] = wsddRes;
    - }
    - x++;
    - }
    -
    - // determine total # for descriptions
    - handlerDescriptionHolder_ = new HandlerDescriptionHolder[getNumberofServices(wsddResource_)];
    -
    - int descCounter = 0;
    - for (int y=0;y<wsddResource_.length;y++) {
    - if (wsddResource_[y] !=null) {
    - WebServices webServices = wsddResource_[y].getWebServices();
    - if (webServices != null) {
    - List wsDescriptions = webServices.getWebServiceDescriptions();
    - for (int i = 0; i < wsDescriptions.size() ; i++) {
    -
    - WebServiceDescription wsDescription = (WebServiceDescription) wsDescriptions.get(i);
    - Vector handlers = new Vector();
    - List wsPortComponents = wsDescription.getPortComponents();
    - for (int j = 0; j < wsPortComponents.size(); j++) {
    - PortComponent wsPort = (PortComponent) wsPortComponents.get(j);
    - String portName = wsPort.getPortComponentName();
    - List wsHandlers = wsPort.getHandlers();
    -
    - for (int k = 0; k < wsHandlers.size(); k++) {
    -
    - Handler wsHandler = (Handler) wsHandlers.get(k);
    -
    - HandlerTableItem handlerItem = new HandlerTableItem();
    - handlerItem.setHandler(wsHandler);
    - handlerItem.setHandlerName(wsHandler.getHandlerName());
    - handlerItem.setHandlerClassName(wsHandler.getHandlerClass());
    - handlerItem.setPort(wsPort);
    - handlerItem.setPortName(portName);
    - handlerItem.setWsDescRef(wsDescription);
    -
    - handlers.add(handlerItem);
    - }
    - }
    - String wsDescName = wsDescription.getWebServiceDescriptionName();
    - handlerDescriptionHolder_[descCounter] = new HandlerDescriptionHolder();
    - handlerDescriptionHolder_[descCounter].setHandlerList(handlers);
    - handlerDescriptionHolder_[descCounter].setDescriptionObject(wsDescription);
    - handlerDescriptionHolder_[descCounter].setDescriptionName(wsDescName);
    - descCounter++;
    - }
    - }
    - }
    - }
    -
    - if (handlerDescriptionHolder_ == null){
    - //report no Web service is available
    - return StatusUtils.errorStatus(ConsumptionUIMessages.MSG_ERROR_WEB_SERVICES_NOT_FOUND);
    - }
    - }
    - catch (Exception e) {
    - e.printStackTrace();
    - return StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED, e);
    - }
    - return Status.OK_STATUS;
    - }
    -
    - /**
    - * For processing multiple service selection; only prepare table of service description names
    - * description objects will be processed later by the output command
    - * @param env
    - * @return
    - */
    - private IStatus processMultipleHandlers(IEnvironment env){
    -
    - Service[] services = getSelectedServices();
    - if (errorStatusMsg_ != null){
    - return StatusUtils.errorStatus(errorStatusMsg_);
    - }
    - isMultipleSelection_ = true;
    -
    - handlerDescriptionHolder_ = new HandlerDescriptionHolder[services.length];
    - Vector handlers = new Vector();
    - for (int i=0;i<services.length;i++){
    -
    - String descName = services[i].getQName().getLocalPart();
    - WebServiceDescription wsDescription = getServiceDescription(services[i], descName);
    - handlerDescriptionHolder_[i] = new HandlerDescriptionHolder();
    - handlerDescriptionHolder_[i].setHandlerList(handlers);
    - handlerDescriptionHolder_[i].setDescriptionName(descName);
    - handlerDescriptionHolder_[i].setDescriptionObject(wsDescription);
    - }
    - return Status.OK_STATUS;
    - }
    -
    - /**
    - * Matches the serviceName with the ServiceDescriptionName to get the WebServiceDescription
    - * @param service
    - * @param serviceName
    - * @return
    - */
    - private WebServiceDescription getServiceDescription(Service service, String serviceName){
    - WebServicesManager webServicesManager = new WebServicesManager();
    - WsddResource wsddResource = webServicesManager.getWsddResource(service);
    - if (wsddResource!=null) {
    - WebServices services = wsddResource.getWebServices();
    - if (services!=null) {
    - List descriptions = services.getWebServiceDescriptions();
    - for (int i=0;i<descriptions.size();i++){
    - WebServiceDescription wsd = (WebServiceDescription)descriptions.get(i);
    - if (wsd!=null && wsd.getWebServiceDescriptionName().equals(serviceName)){
    - return wsd;
    - }
    - }
    - }
    - }
    - return null;
    - }
    -
    - public boolean getIsMultipleSelection(){
    - return this.isMultipleSelection_;
    - }
    -
    - /**
    - * @return Returns the isGenSkeletonEnabled_.
    - */
    - public boolean getGenSkeletonEnabled() {
    - if (isMultipleSelection_)
    - return false;
    - return true;
    - }
    -
    - /**
    - * @return Returns the sourceOutputLocation_.
    - */
    - public IPath[] getSourceOutputLocation() {
    - IPath[] locations = null;
    - IProject project = getProject();
    -
    - if (project != null) {
    - locations = ResourceUtils.getAllJavaSourceLocations(project);
    - }
    - else {
    - project = project_;
    - if (project != null) {
    - locations = ResourceUtils.getAllJavaSourceLocations(project);
    - }
    - }
    - return locations;
    - }
    -
    - /**
    - * Gets the WsddResource
    - * @return
    - */
    - public WsddResource[] getWsddResource() {
    - return wsddResource_;
    - }
    -
    - private WsddResource getWsddResourceFromSelection() {
    - WebServicesManager webServicesManager = new WebServicesManager();
    -
    - IStructuredSelection initSel = getInitialSelection();
    - if (initSel != null && initSel.size() == 1) {
    - Object obj = initSel.getFirstElement();
    - if (obj instanceof ServiceImpl) {
    - // Service object
    - Service service = (Service) obj;
    - descriptionName_ = service.getQName().getLocalPart();
    - project_ = ProjectUtilities.getProject(service);
    - return webServicesManager.getWsddResource(service);
    - }
    - else if (obj instanceof WSDLResourceImpl) {
    - // WSDL resource
    - WSDLResourceImpl res = (WSDLResourceImpl) obj;
    - project_ = ProjectUtilities.getProject(res);
    - List wsdlResources = webServicesManager.getWSDLServices(res);
    - return webServicesManager.getWsddResource((Service) wsdlResources.get(0));
    - }
    - else if (obj instanceof WebServiceNavigatorGroupType) {
    - WebServiceNavigatorGroupType wsngt = (WebServiceNavigatorGroupType) obj;
    - Service service = (Service)wsngt.getWsdlService();
    - descriptionName_ = service.getQName().getLocalPart();
    - project_ = ProjectUtilities.getProject(service);
    - return webServicesManager.getWsddResource(service);
    - }
    - else if (obj instanceof IFile){
    - // webservices.xml file
    - Resource res = WorkbenchResourceHelperBase.getResource((IFile)obj, true);
    - WsddResource wsddRes = (WsddResource)res;
    - WebServices webServices = wsddRes.getWebServices();
    - if (webServices != null) {
    - List wsDescriptions = webServices.getWebServiceDescriptions();
    - if (wsDescriptions!=null) {
    - WebServiceDescription wsd = (WebServiceDescription)wsDescriptions.get(0);
    - descriptionName_ = wsd.getWebServiceDescriptionName();
    - }
    - }
    - project_ = ProjectUtilities.getProject(res);
    - return wsddRes;
    - }
    - }
    -
    - return null;
    -
    - }
    -
    - /**
    - * Get total number of ServiceDescriptions given 14 and 13 services
    - * @param wsddRes
    - * @return
    - */
    - private int getNumberofServices(WsddResource[] wsddRes){
    - int num= 0;
    - for (int i=0;i<wsddRes.length;i++){
    - if (wsddRes[i]!=null) {
    - WebServices ws = wsddRes[i].getWebServices();
    - if (ws!=null){
    - num += ws.getWebServiceDescriptions().size();
    - }
    - }
    - }
    - return num;
    -
    - }
    -
    - /**
    - * For multiple selection of Services
    - * @return
    - */
    - private Service[] getSelectedServices(){
    - WebServicesManager wsManager = new WebServicesManager();
    - IStructuredSelection initSel = getInitialSelection();
    - Service[] services = new Service[initSel.size()];
    - wsddResource_ = new WsddResource[initSel.size()];
    - Iterator iter = initSel.iterator();
    - for (int i=0;i<initSel.size();i++) {
    - Object obj = iter.next();
    - if (obj instanceof Service){
    - services[i] = (Service)obj;
    - wsddResource_[i] = wsManager.getWsddResource(services[i]);
    - }
    - else{
    - errorStatusMsg_ = ConsumptionUIMessages.MSG_ERROR_INVALID_MULTIPLE_SERVICE_SELECT;
    - return null;
    - }
    - }
    - return services;
    - }
    -
    -
    -
    - /**
    - * Get Description Name for single Web services selected
    - * null if mulitple services are selected
    - * @return
    - */
    - public String getDescriptionName(){
    - return descriptionName_;
    - }
    -
    - /**
    - * An array of HandlerDescriptionHolders
    - * @return
    - */
    - public HandlerDescriptionHolder[] getHandlerDescriptionHolders(){
    - return handlerDescriptionHolder_;
    - }
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetOutputCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetOutputCommand.java
    deleted file mode 100644
    index 9ef8c607b..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ServiceHandlersWidgetOutputCommand.java
    +++ /dev/null
    @@ -1,244 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004,2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060517 142027 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import java.util.ArrayList;
    -import java.util.Enumeration;
    -import java.util.HashMap;
    -import java.util.Hashtable;
    -import java.util.List;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.j2ee.webservice.wsdd.Handler;
    -import org.eclipse.jst.j2ee.webservice.wsdd.PortComponent;
    -import org.eclipse.jst.j2ee.webservice.wsdd.WebServiceDescription;
    -import org.eclipse.jst.j2ee.webservice.wsdd.WsddFactory;
    -import org.eclipse.jst.j2ee.webservice.wsdd.WsddResource;
    -import org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.WsddFactoryImpl;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerDescriptionHelper;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.HandlerDescriptionHolder;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.HandlerTableItem;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.common.internal.emf.utilities.EtoolsCopyUtility;
    -
    -/*
    - * Provide a way to externalize the edited fields and create new handlers
    - *
    - */
    -public class ServiceHandlersWidgetOutputCommand extends AbstractDataModelOperation
    -{
    -
    - private WsddResource[] wsddResource_;
    - private boolean isMultipleSelection_;
    - private HandlerDescriptionHolder[] handlerDescriptionHolder_;
    -
    - /**
    - * For each HandlerDescriptionHolder, the user selected Handlers are
    - * sync'd up with the internal model
    - * For multiple services, handlers are added (not removed) to each port.
    - *
    - */
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IStatus status = Status.OK_STATUS;
    - try {
    - if (isMultipleSelection_){
    - for (int i=0; i<handlerDescriptionHolder_.length;i++){
    -
    - handlerDescriptionHolder_[i].addHandlerToAllPorts();
    - }
    - }
    - else {
    - // add handler(s) for single service selected
    - for (int h=0;h<handlerDescriptionHolder_.length;h++){
    -
    - Hashtable wsPortsTable = new Hashtable();
    - Hashtable wsPortToHandlerTable = new Hashtable();
    -
    - String serviceDescName = handlerDescriptionHolder_[h].getDescriptionName();
    - // load PortName -> PortComponent table
    - HandlerDescriptionHolder hdh = HandlerDescriptionHelper.getForDescriptionName(handlerDescriptionHolder_, serviceDescName);
    - if (hdh!=null) {
    -
    - WebServiceDescription wsDescription_ = hdh.getDescriptionObject();
    - if (wsDescription_ != null) {
    - List wsPorts = wsDescription_.getPortComponents();
    - for (int k = 0; k < wsPorts.size(); k++) {
    - PortComponent port = (PortComponent) wsPorts.get(k);
    - wsPortsTable.put(port.getPortComponentName(), port);
    - wsPortToHandlerTable.put(port.getPortComponentName(), new ArrayList());
    - }
    - }
    -
    - List handlerTableItems = hdh.getHandlerList();
    - if (handlerTableItems != null) {
    -
    - WsddFactory wsddFactory = new WsddFactoryImpl();
    -
    - //form port components tables first
    - for (int i = 0; i < handlerTableItems.size(); i++) {
    -
    - HandlerTableItem hti = (HandlerTableItem) handlerTableItems.get(i);
    - PortComponent wsPort = (PortComponent) hti.getPort();
    - if (wsPort == null) {
    - //find it
    - if (wsPortsTable.get(hti.getPortName()) != null)
    - wsPort = (PortComponent) wsPortsTable.get(hti.getPortName());
    - else {
    - // create it; should not get into here
    - wsPort = wsddFactory.createPortComponent();
    - wsPort.setPortComponentName(hti.getPortName());
    - wsPortsTable.put(wsPort.getPortComponentName(), wsPort);
    - }
    - }
    - wsPortToHandlerTable.put(wsPort.getPortComponentName(), new ArrayList());
    - }
    -
    - // form Handler and ports table
    - for (int i = 0; i < handlerTableItems.size(); i++) {
    -
    - HandlerTableItem hti = (HandlerTableItem) handlerTableItems.get(i);
    - String portName = hti.getPortName();
    -
    - PortComponent port = (PortComponent) wsPortsTable.get(portName);
    - if (port == null) return status;
    -
    - List existingHandlers = port.getHandlers();
    -
    - Object handler = hti.getHandler();
    - if (!existingHandlers.contains(handler)) {
    - // create it
    - Handler newHandler = wsddFactory.createHandler();
    - newHandler.setHandlerName(hti.getHandlerName());
    - newHandler.setHandlerClass(hti.getHandlerClassName());
    - ((List) wsPortToHandlerTable.get(portName)).add(newHandler);
    -
    - }
    - else if (handler instanceof Handler) {
    - // clone it
    - EtoolsCopyUtility copyUtil = new EtoolsCopyUtility();
    - copyUtil.setCopyAdapters(true);
    - Handler clonedHandler = (Handler) copyUtil.copy((Handler) handler);
    - ((List) wsPortToHandlerTable.get(portName)).add(clonedHandler);
    - }
    - }
    - }
    -
    - // remove existing handlers from ports
    - removeExistingHandlers(wsPortsTable, wsPortToHandlerTable);
    -
    - // add ports to wsDescription
    - addPortsToDescriptions(wsPortsTable, wsDescription_);
    -
    - // add handlers to ports
    - addHandlersToPorts(wsPortsTable, wsPortToHandlerTable);
    - }
    - }
    - }
    -
    - // save
    - if (wsddResource_ != null) {
    - for (int i=0;i<wsddResource_.length;i++) {
    - if (wsddResource_[i]!=null)
    - wsddResource_[i].save(new HashMap());
    - }
    - }
    -
    - }
    - catch (Exception e) {
    - e.printStackTrace();
    - }
    -
    - return status;
    - }
    -
    - private void removeExistingHandlers(Hashtable portsTable, Hashtable portsToHandlersTable) {
    - try {
    - Enumeration ports = portsToHandlersTable.keys();
    - while (ports.hasMoreElements()) {
    - String portName = (String) ports.nextElement();
    - Object port = portsTable.get(portName);
    - if (port != null && port instanceof PortComponent) {
    - List handlers = ((PortComponent) port).getHandlers();
    - handlers.clear();
    - }
    - }
    - }
    - catch (Exception e) {
    - e.printStackTrace();
    - }
    - }
    -
    - private void addPortsToDescriptions(Hashtable portsTable, WebServiceDescription wsDescription_) {
    - try {
    - Enumeration ports = portsTable.keys();
    - while (ports.hasMoreElements()) {
    - String portName = (String) ports.nextElement();
    - // newly edited port
    - Object port = portsTable.get(portName);
    -
    - // existing port
    - List emfPorts = wsDescription_.getPortComponents();
    - if (!emfPorts.contains(port) && port != null && port instanceof PortComponent) {
    - emfPorts.add((PortComponent) port);
    - }
    - }
    - }
    -
    - catch (Exception e) {
    - e.printStackTrace();
    - }
    - }
    -
    - private void addHandlersToPorts(Hashtable portsTable, Hashtable portsToHandlersTable) {
    - try {
    - Enumeration ports = portsToHandlersTable.keys();
    - while (ports.hasMoreElements()) {
    - String portName = (String) ports.nextElement();
    - Object port = portsTable.get(portName);
    - if (port != null && port instanceof PortComponent) {
    - List handlers = (List) portsToHandlersTable.get(portName);
    -
    - List modelHandlers = ((PortComponent) port).getHandlers();
    - modelHandlers.addAll(handlers);
    - }
    - }
    - }
    - catch (Exception e) {
    - e.printStackTrace();
    - }
    - }
    -
    - /**
    - * HandlerDescriptionHolder
    - * @param hdhs
    - */
    - public void setHandlerDescriptionHolders(HandlerDescriptionHolder[] hdhs){
    - this.handlerDescriptionHolder_ = hdhs;
    - }
    -
    - public void setIsMultipleSelection(boolean isMulitpleSelection) {
    - this.isMultipleSelection_ = isMulitpleSelection;
    - }
    -
    -
    - public void setWsddResource(WsddResource[] wsddRes) {
    - this.wsddResource_ = wsddRes;
    - }
    -
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TableViewerWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TableViewerWidget.java
    deleted file mode 100644
    index 1bc252332..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TableViewerWidget.java
    +++ /dev/null
    @@ -1,630 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060505 139918 pmoogk@ca.ibm.com - Peter Moogk
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import java.util.ArrayList;
    -import java.util.HashMap;
    -import java.util.Iterator;
    -import java.util.LinkedList;
    -import java.util.List;
    -import java.util.Map;
    -import java.util.Properties;
    -import java.util.Set;
    -
    -import org.eclipse.core.resources.IFile;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jface.viewers.ColumnWeightData;
    -import org.eclipse.jface.viewers.ILabelProviderListener;
    -import org.eclipse.jface.viewers.ISelection;
    -import org.eclipse.jface.viewers.ISelectionChangedListener;
    -import org.eclipse.jface.viewers.IStructuredContentProvider;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.ITableLabelProvider;
    -import org.eclipse.jface.viewers.SelectionChangedEvent;
    -import org.eclipse.jface.viewers.StructuredSelection;
    -import org.eclipse.jface.viewers.TableLayout;
    -import org.eclipse.jface.viewers.TableViewer;
    -import org.eclipse.jface.viewers.Viewer;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.common.PropertiesResourceFilter;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.ui.dialog.DialogUtils;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.custom.TableEditor;
    -import org.eclipse.swt.events.FocusAdapter;
    -import org.eclipse.swt.events.FocusEvent;
    -import org.eclipse.swt.events.KeyEvent;
    -import org.eclipse.swt.events.KeyListener;
    -import org.eclipse.swt.events.MouseEvent;
    -import org.eclipse.swt.events.MouseListener;
    -import org.eclipse.swt.events.SelectionEvent;
    -import org.eclipse.swt.events.SelectionListener;
    -import org.eclipse.swt.events.TraverseEvent;
    -import org.eclipse.swt.events.TraverseListener;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.swt.graphics.Rectangle;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Button;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.Table;
    -import org.eclipse.swt.widgets.TableColumn;
    -import org.eclipse.swt.widgets.TableItem;
    -import org.eclipse.swt.widgets.Text;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -
    -
    -public class TableViewerWidget extends SimpleWidgetDataContributor
    -{
    - private int DEFAULT_TABLE_HEIGHT_HINT = 100;
    - private int DEFAULT_COLUMN_WIDTH = 80;
    -
    - public static byte MAP_ONE_TO_ONE = 3;
    - public static byte MAP_MANY_TO_ONE = 1;
    - public static byte MAP_MANY_TO_MANY = 0;
    -
    - private String[] columns_;
    - private TableViewer tableViewer_;
    - private Table table_;
    - private TableEditor editor_;
    - private TableEditorListener tableEditorListener_;
    - private Text text_;
    - private Button import_;
    - private Button add_;
    - private Button remove_;
    -
    - private Composite parent_;
    - private Listener statusListener_;
    -
    - private String message = null;
    - private byte rescriction = MAP_MANY_TO_MANY;
    -
    - private List values_;
    - private Object defaultValue_;
    -
    - private PropertiesResourceFilter filter_ = new PropertiesResourceFilter();
    -
    - public TableViewerWidget(String[] columns, List initValues, Object defaultValue, byte rescriction)
    - {
    - columns_ = columns;
    - values_ = new ArrayList();
    - if (initValues != null && initValues.size() > 0)
    - values_.addAll(initValues);
    - defaultValue_ = (defaultValue != null) ? defaultValue : new String("");
    - this.rescriction = rescriction;
    - }
    -
    - public WidgetDataEvents addControls( Composite parent, Listener statusListener )
    - {
    - parent_ = parent;
    - statusListener_ = statusListener;
    -
    - Composite composite = new Composite(parent, SWT.NONE);
    - GridLayout gl = new GridLayout();
    -
    - gl.marginHeight = 0;
    - gl.marginWidth = 0;
    - composite.setLayout(gl);
    - composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    -
    - table_ = new Table(composite, SWT.SINGLE | SWT.FULL_SELECTION | SWT.BORDER);
    - GridData gd = new GridData(GridData.FILL_BOTH);
    - gd.heightHint = DEFAULT_TABLE_HEIGHT_HINT;
    - table_.setLayoutData(gd);
    - table_.setHeaderVisible(true);
    - table_.setLinesVisible(true);
    - TableLayout tableLayout = new TableLayout();
    - int maxWidth = DEFAULT_COLUMN_WIDTH;
    - for (int i = 0; i < columns_.length; i++)
    - {
    - TableColumn tableColumn = new TableColumn(table_, SWT.NONE);
    - tableColumn.setText(columns_[i]);
    - tableColumn.pack();
    - int tableColumnWidth = Math.max(DEFAULT_COLUMN_WIDTH, tableColumn.getWidth());
    - maxWidth = Math.max(maxWidth, tableColumnWidth);
    - ColumnWeightData columnData = new ColumnWeightData(tableColumnWidth, tableColumnWidth, true);
    - tableLayout.addColumnData(columnData);
    - }
    - table_.setLayout(tableLayout);
    - // initialize the table editor
    - editor_ = new TableEditor(table_);
    - // The editor must have the same size as the cell and must
    - // not be any smaller than 50 pixels.
    - editor_.horizontalAlignment = SWT.LEFT;
    - editor_.grabHorizontal = true;
    - editor_.minimumWidth = maxWidth;
    - tableEditorListener_ = new TableEditorListener();
    - table_.addMouseListener(tableEditorListener_);
    - tableViewer_ = new TableViewer(table_);
    - tableViewer_.getControl().addKeyListener(
    - new KeyListener()
    - {
    - public void keyPressed(KeyEvent e)
    - {
    - int asciiDel = (int)e.character;
    - // Del
    - if (asciiDel == 127)
    - handleDeleteKeyPressed();
    - // Enter or space
    - if (((int)e.character) == 13 || ((int)e.character) == 32)
    - tableEditorListener_.editSelection();
    - }
    - public void keyReleased(KeyEvent e)
    - {
    - }
    - }
    - );
    - tableViewer_.setContentProvider(new ListContentProvider());
    - tableViewer_.setLabelProvider(new ListLabelProvider());
    - tableViewer_.setInput(values_);
    - tableViewer_.addSelectionChangedListener(
    - new ISelectionChangedListener()
    - {
    - public void selectionChanged(SelectionChangedEvent event)
    - {
    - enableRemove(true);
    - }
    - }
    - );
    -
    - Composite buttonComposite = new Composite(composite, SWT.NONE);
    - gl = new GridLayout();
    - gl.numColumns = 3;
    - gl.makeColumnsEqualWidth = true;
    - buttonComposite.setLayout(gl);
    - buttonComposite.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_BEGINNING));
    -
    - import_ = new Button(buttonComposite, SWT.PUSH);
    - import_.setText(ConsumptionUIMessages.LABEL_IMPORT);
    - import_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    - import_.addSelectionListener(
    - new SelectionListener()
    - {
    - public void widgetSelected(SelectionEvent event)
    - {
    - handleImportButtonSelected(event);
    - }
    - public void widgetDefaultSelected(SelectionEvent event)
    - {
    - }
    - }
    - );
    -
    - add_ = new Button(buttonComposite, SWT.PUSH);
    - add_.setText(ConsumptionUIMessages.LABEL_ADD);
    - add_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    - add_.addSelectionListener(
    - new SelectionListener()
    - {
    - public void widgetSelected(SelectionEvent event)
    - {
    - handleAddButtonSelected(event);
    - }
    - public void widgetDefaultSelected(SelectionEvent event)
    - {
    - }
    - }
    - );
    -
    -
    - remove_ = new Button(buttonComposite, SWT.PUSH);
    - remove_.setText(ConsumptionUIMessages.LABEL_REMOVE);
    - remove_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    - remove_.addSelectionListener(
    - new SelectionListener()
    - {
    - public void widgetSelected(SelectionEvent event)
    - {
    - handleRemoveButtonSelected(event);
    - }
    - public void widgetDefaultSelected(SelectionEvent event)
    - {
    - }
    - }
    - );
    - enableRemove(false);
    -
    - return this;
    - }
    -
    - private void enableRemove(boolean enabled)
    - {
    - remove_.setEnabled(enabled && !tableViewer_.getSelection().isEmpty());
    - }
    -
    - private void handleImportButtonSelected(SelectionEvent event)
    - {
    - IResource resource = DialogUtils.browseResources(
    - parent_.getShell(),
    - ResourceUtils.getWorkspaceRoot(),
    - null,
    - filter_
    - );
    - if (resource != null && resource instanceof IFile)
    - {
    - try
    - {
    - Properties props = new Properties();
    - props.load(((IFile)resource).getContents());
    - Set set = props.entrySet();
    - java.util.List list = new LinkedList();
    - Iterator i = set.iterator();
    - while (i.hasNext())
    - {
    - Map.Entry me = (Map.Entry)i.next();
    - String key = (String)me.getKey();
    - String val = (String)me.getValue();
    - list.add(new String[] {key,val});
    - }
    - values_.addAll(list);
    - }
    - catch (Exception e)
    - {
    - // TODO Report some error here.
    - }
    - }
    - refresh();
    - }
    -
    - private void handleAddButtonSelected(SelectionEvent event)
    - {
    - values_.add(defaultValue_);
    - refresh();
    - setSelectionAsObject(values_.get(table_.getItemCount()-1));
    - tableEditorListener_.editSelection();
    - }
    -
    - private void handleRemoveButtonSelected(SelectionEvent event)
    - {
    - handleDeleteKeyPressed();
    - }
    -
    - private void handleDeleteKeyPressed()
    - {
    - internalDispose();
    - ISelection selection = tableViewer_.getSelection();
    - if (selection != null && !selection.isEmpty() && (selection instanceof IStructuredSelection))
    - {
    - int selectionIndex = table_.getSelectionIndex();
    - int selectionCount = table_.getItemCount();
    - values_.remove(selectionIndex);
    - if (selectionIndex < selectionCount-1)
    - setSelectionAsObject(values_.get(selectionIndex));
    - else if (selectionCount -2 >= 0)
    - setSelectionAsObject(values_.get(selectionCount-2));
    - refresh();
    - }
    - }
    -
    - private void internalRefresh()
    - {
    - // synchronize text field, previously selected table cell and model (inputObject)
    - if (text_ != null)
    - {
    - TableItem oldTableItem = editor_.getItem();
    - int oldColumnIndex = editor_.getColumn();
    - if (oldTableItem != null && oldColumnIndex >= 0 && oldColumnIndex < columns_.length)
    - {
    - String oldText = text_.getText();
    - oldTableItem.setText(oldColumnIndex, oldText);
    - int oldRowIndex = table_.indexOf(oldTableItem);
    - values_.set(oldRowIndex, new String[] {oldTableItem.getText(0), oldTableItem.getText(1)});
    - }
    - }
    - checkMappingConstraints();
    - statusListener_.handleEvent( null );
    - }
    -
    - private void checkMappingConstraints() {
    -
    - HashMap map = new HashMap();
    -
    - for(int cnt=0; cnt<values_.size(); cnt++){
    - String[] value = (String[])values_.get(cnt);
    - if(map.containsKey(value[0]) && ((rescriction & 1)!=0)){
    - message =NLS.bind(ConsumptionUIMessages.MSG_MAPPING_DUPLICATE_ENTRIES, new String[]{columns_[0],columns_[1]});
    - return;
    - }
    - if(map.containsValue(value[1]) && ((rescriction & 2)!=0)){
    - message =NLS.bind(ConsumptionUIMessages.MSG_MAPPING_DUPLICATE_ENTRIES, new String[]{columns_[1],columns_[0]});
    - return;
    - }
    - map.put(value[0],value[1]);
    -
    - }
    - message = null;
    -
    - }
    -
    - public IStatus getStatus()
    - {
    - return message == null ? Status.OK_STATUS :
    - StatusUtils.errorStatus( message );
    - }
    -
    - private void setSelectionAsObject(Object object)
    - {
    - tableViewer_.setSelection(new StructuredSelection(object), true);
    - }
    -
    - public void refresh()
    - {
    - internalRefresh();
    - tableViewer_.refresh();
    - }
    -
    - public TableItem[] getItems()
    - {
    - //internalRefresh();
    - return table_.getItems();
    - }
    -
    - public void setEnabled(boolean enabled)
    - {
    - add_.setEnabled(enabled);
    - enableRemove(enabled);
    - }
    -
    - public void dispose()
    - {
    - internalDispose();
    - if (editor_ != null)
    - editor_.dispose();
    - if (table_ != null)
    - table_.dispose();
    - if (add_ != null)
    - add_.dispose();
    - if (remove_ != null)
    - remove_.dispose();
    - }
    -
    - private void internalDispose()
    - {
    - if (text_ != null)
    - text_.dispose();
    - text_ = null;
    - }
    -
    - protected class TableEditorListener implements MouseListener
    - {
    - private int currSelectionIndex_;
    - private int editRow_;
    - private int editColumn_;
    -
    - public TableEditorListener()
    - {
    - super();
    - currSelectionIndex_ = -1;
    - editRow_ = -1;
    - editColumn_ = -1;
    - }
    -
    - public void mouseDoubleClick(MouseEvent e)
    - {
    - mouseDown(e);
    - }
    -
    - public void mouseDown(MouseEvent e)
    - {
    - // refresh table
    - internalRefresh();
    - // Clean up previous text editor control
    - internalDispose();
    - // update table
    - if (table_.isFocusControl())
    - {
    - int selectedRowIndex = getSelectedRow(table_, e.y);
    - if (currSelectionIndex_ != -1 && selectedRowIndex != -1 && currSelectionIndex_ == selectedRowIndex)
    - {
    - TableItem tableItem = table_.getItem(selectedRowIndex);
    - int selectedColumnIndex = getSelectedColumn(tableItem, e.x, e.y);
    - if (selectedColumnIndex != -1 && (text_ == null || text_.isDisposed() || selectedColumnIndex != editor_.getColumn()))
    - editSelection(selectedRowIndex, selectedColumnIndex);
    - }
    - currSelectionIndex_ = selectedRowIndex;
    - }
    - }
    -
    - public void mouseUp(MouseEvent e)
    - {
    - }
    -
    - private int getSelectedRow(Table table, int y)
    - {
    - TableItem[] tableItems = table.getItems();
    - for (int i = 0; i < tableItems.length; i++)
    - {
    - Rectangle rectangle = tableItems[i].getBounds(0);
    - if (rectangle != null && y >= rectangle.y && y < (rectangle.y + rectangle.height))
    - return i;
    - }
    - return -1;
    - }
    -
    - private int getSelectedColumn(TableItem tableItem, int x, int y)
    - {
    - for (int i = 0; i < columns_.length; i++)
    - {
    - if (tableItem.getBounds(i).contains(x, y))
    - return i;
    - }
    - return -1;
    - }
    -
    - private void editSelection(int row, int column)
    - {
    - editRow_ = row;
    - editColumn_ = column;
    - TableItem tableItem = table_.getItem(row);
    - // Setup adapter for the new selection
    - text_ = new Text(table_, SWT.NONE);
    - String text = tableItem.getText(column);
    - text_.setText((text != null) ? text : "");
    - text_.addKeyListener(new KeyListener()
    - {
    - public void keyPressed(KeyEvent e)
    - {
    - // Esc
    - if (((int)e.character) == 27)
    - cancelSelection();
    - }
    - public void keyReleased(KeyEvent e)
    - {
    - }
    - }
    - );
    - text_.addTraverseListener(new TraverseListener()
    - {
    - public void keyTraversed(TraverseEvent e)
    - {
    - if (e.detail == SWT.TRAVERSE_TAB_NEXT)
    - traverseTabNext();
    - else if (e.detail == SWT.TRAVERSE_TAB_PREVIOUS)
    - traverseTabPrevious();
    - }
    - }
    - );
    -
    - text_.addFocusListener( new FocusAdapter()
    - {
    - public void focusLost(FocusEvent e)
    - {
    - internalRefresh();
    - }
    - } );
    -
    - editor_.setEditor(text_, tableItem, column);
    - text_.setFocus();
    - text_.selectAll();
    - }
    -
    - protected void traverseTabNext()
    - {
    - internalRefresh();
    - internalDispose();
    - if (!(editRow_ == table_.getItems().length-1 && editColumn_ == columns_.length-1))
    - {
    - if (editColumn_ < columns_.length-1)
    - editColumn_++;
    - else
    - {
    - editColumn_ = 0;
    - editRow_++;
    - table_.select(editRow_);
    - }
    - editSelection(editRow_, editColumn_);
    - }
    - }
    -
    - protected void traverseTabPrevious()
    - {
    - internalRefresh();
    - internalDispose();
    - if (!(editRow_ == 0 && editColumn_ == 0))
    - {
    - if (editColumn_ > 0)
    - editColumn_--;
    - else
    - {
    - editColumn_ = columns_.length-1;
    - editRow_--;
    - table_.select(editRow_);
    - }
    - editSelection(editRow_, editColumn_);
    - }
    - }
    -
    - public void cancelSelection()
    - {
    - internalDispose();
    - internalRefresh();
    - }
    -
    - public void editSelection()
    - {
    - int selectedRowIndex = table_.getSelectionIndex();
    - if (selectedRowIndex != -1 && columns_.length > 0)
    - {
    - // refresh table
    - internalRefresh();
    - // Clean up any previous editor control
    - internalDispose();
    - editSelection(selectedRowIndex, 0);
    - }
    - currSelectionIndex_ = selectedRowIndex;
    - }
    - }
    -
    - protected class ListContentProvider implements IStructuredContentProvider
    - {
    - public void dispose()
    - {
    - }
    -
    - public void inputChanged(Viewer viewer, Object oldInput, Object newInput)
    - {
    - tableViewer_.add(getElements(newInput));
    - }
    -
    - public Object[] getElements(Object inputElement)
    - {
    - if (inputElement instanceof List)
    - {
    - List list = (List)inputElement;
    - Object[] objects = new Object[list.size()];
    - for (int i = 0; i < objects.length; i++)
    - objects[i] = list.get(i);
    - return objects;
    - }
    - else
    - return new Object[0];
    - }
    - }
    -
    - protected class ListLabelProvider implements ITableLabelProvider
    - {
    - public Image getColumnImage(Object element, int columnIndex)
    - {
    - return null;
    - }
    -
    - public String getColumnText(Object element, int columnIndex)
    - {
    - return ((String[])element)[columnIndex];
    - }
    -
    - public void addListener(ILabelProviderListener listener)
    - {
    - }
    -
    - public void removeListener(ILabelProviderListener listener)
    - {
    - }
    -
    - public boolean isLabelProperty(Object element, String property)
    - {
    - return true;
    - }
    -
    - public void dispose()
    - {
    - }
    - }
    - }
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TimedWSDLSelectionConditionCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TimedWSDLSelectionConditionCommand.java
    deleted file mode 100644
    index f56b6e014..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/TimedWSDLSelectionConditionCommand.java
    +++ /dev/null
    @@ -1,93 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060504 119296 pmoogk@ca.ibm.com - Peter Moogk
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.jface.preference.IPreferenceStore;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.wst.command.internal.env.core.common.Condition;
    -import org.eclipse.wst.command.internal.env.ui.common.TimedOperation;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -
    -
    -public class TimedWSDLSelectionConditionCommand extends AbstractDataModelOperation implements Condition
    -{
    - private final String TIMEOUT_PREFERENCE = "wsdlTimeOut";
    - private WSDLSelectionConditionCommand selectionCommand;
    - private int timeOutValue;
    -
    - public TimedWSDLSelectionConditionCommand()
    - {
    - selectionCommand = new WSDLSelectionConditionCommand();
    -
    - IPreferenceStore prefStore = WebServiceConsumptionUIPlugin.getInstance().getPreferenceStore();
    -
    - timeOutValue = prefStore.getDefaultString(TIMEOUT_PREFERENCE).equals("") ? 10000 : prefStore.getInt( TIMEOUT_PREFERENCE );
    - }
    -
    - public void setWebServicesParser(WebServicesParser webServicesParser)
    - {
    - selectionCommand.setWebServicesParser( webServicesParser );
    - }
    -
    - public WebServicesParser getWebServicesParser()
    - {
    - return selectionCommand.getWebServicesParser();
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - String timeOutMessage = ConsumptionUIMessages.bind( ConsumptionUIMessages.MSG_INFO_WSDL_OPERATION_TIMED_OUT, getWebServiceURI() );
    -
    - TimedOperation timedOperation = new TimedOperation( selectionCommand, timeOutValue, timeOutMessage );
    -
    - return timedOperation.execute(monitor, adaptable);
    - }
    -
    - public boolean evaluate()
    - {
    - return selectionCommand.evaluate();
    - }
    -
    - public String getWebServiceURI()
    - {
    - return selectionCommand.getWebServiceURI();
    - }
    -
    - public void setWebServiceURI(String webServiceURI)
    - {
    - selectionCommand.setWebServiceURI(webServiceURI);
    - }
    -
    - public String getWsdlURI()
    - {
    - return getWebServiceURI();
    - }
    -/**
    - * @return Returns the httpBasicAuthPassword.
    - */
    -public String getHttpBasicAuthPassword() {
    - return selectionCommand.getHttpBasicAuthPassword();
    -}
    -/**
    - * @return Returns the httpBasicAuthUsername.
    - */
    -public String getHttpBasicAuthUsername() {
    - return selectionCommand.getHttpBasicAuthUsername();
    -}
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionConditionCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionConditionCommand.java
    deleted file mode 100644
    index ad041c0db..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionConditionCommand.java
    +++ /dev/null
    @@ -1,135 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsil.DialogWWWAuthentication;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.command.internal.env.core.common.Condition;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
    -import org.eclipse.wst.ws.internal.parser.wsil.WWWAuthenticationException;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServiceEntity;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -
    -
    -public class WSDLSelectionConditionCommand extends AbstractDataModelOperation implements Condition
    -{
    - private WebServicesParser webServicesParser;
    - private String webServiceURI;
    - private String httpBasicAuthUsername;
    - private String httpBasicAuthPassword;
    - private boolean needWSDLSelectionTreeWidget;
    -
    - public WSDLSelectionConditionCommand()
    - {
    - }
    -
    - public void setWebServicesParser(WebServicesParser webServicesParser)
    - {
    - this.webServicesParser = webServicesParser;
    - }
    -
    - public WebServicesParser getWebServicesParser()
    - {
    - if (webServicesParser == null)
    - webServicesParser = new WebServicesParserExt();
    - return webServicesParser;
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - needWSDLSelectionTreeWidget = false;
    - WebServicesParser parser = getWebServicesParser();
    - parser.setURI(webServiceURI);
    - try
    - {
    - parser.parse(WebServicesParser.PARSE_WSIL | WebServicesParser.PARSE_DISCO | WebServicesParser.PARSE_LINKS);
    - }
    - catch (WWWAuthenticationException wwwae)
    - {
    - DialogWWWAuthentication dialog = new DialogWWWAuthentication(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell());
    - dialog.handleWWWAuthentication(wwwae);
    - String username = dialog.getUsername();
    - String password = dialog.getPassword();
    - httpBasicAuthUsername = username;
    - httpBasicAuthPassword = password;
    - if (username != null && password != null)
    - {
    - parser.setHTTPBasicAuthUsername(username);
    - parser.setHTTPBasicAuthPassword(password);
    - try
    - {
    - parser.parse(WebServicesParser.PARSE_WSIL | WebServicesParser.PARSE_DISCO | WebServicesParser.PARSE_LINKS);
    - }
    - catch (Throwable t)
    - {
    - return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_ERROR_URI_NOT_RESOLVABLE, new Object[] {webServiceURI}), t);
    - }
    - finally
    - {
    - parser.setHTTPBasicAuthUsername(null);
    - parser.setHTTPBasicAuthPassword(null);
    - }
    - }
    - }
    - catch (Throwable t)
    - {
    - return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_ERROR_URI_NOT_RESOLVABLE, new Object[] {webServiceURI}), t);
    - }
    - WebServiceEntity wsEntity = parser.getWebServiceEntityByURI(webServiceURI);
    - if (wsEntity != null)
    - {
    - int type = wsEntity.getType();
    - if (type != WebServiceEntity.TYPE_WSDL)
    - needWSDLSelectionTreeWidget = true;
    - }
    - return Status.OK_STATUS;
    - }
    -
    - public boolean evaluate()
    - {
    - return needWSDLSelectionTreeWidget;
    - }
    -
    - public String getWebServiceURI()
    - {
    - return webServiceURI;
    - }
    -
    - public void setWebServiceURI(String webServiceURI)
    - {
    - this.webServiceURI = webServiceURI;
    - }
    -
    - public String getWsdlURI()
    - {
    - return getWebServiceURI();
    - }
    -/**
    - * @return Returns the httpBasicAuthPassword.
    - */
    -public String getHttpBasicAuthPassword() {
    - return httpBasicAuthPassword;
    -}
    -/**
    - * @return Returns the httpBasicAuthUsername.
    - */
    -public String getHttpBasicAuthUsername() {
    - return httpBasicAuthUsername;
    -}
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionDialog.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionDialog.java
    deleted file mode 100644
    index a24276ecf..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionDialog.java
    +++ /dev/null
    @@ -1,97 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060525 142281 joan@ca.ibm.com - Joan Haggarty
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.widgets.Shell;
    -import org.eclipse.wst.command.internal.env.ui.widgets.AbstractSelectionDialog;
    -import org.eclipse.wst.command.internal.env.ui.widgets.PageInfo;
    -
    -public class WSDLSelectionDialog extends AbstractSelectionDialog {
    -
    - private String titleText_;
    - private String wsUri_;
    - private String componentName_;
    - private IProject project_;
    -
    - public WSDLSelectionDialog(Shell parent, PageInfo pageInfo) {
    - super(parent, pageInfo);
    - titleText_ = pageInfo.getPageName();
    - }
    -
    - protected void callSetters()
    - {
    - ((WSDLSelectionWidgetWrapper)getWidget()).setComponentName(componentName_);
    - ((WSDLSelectionWidgetWrapper)getWidget()).setProject(project_);
    - ((WSDLSelectionWidgetWrapper)getWidget()).setWebServiceURI(wsUri_);
    - }
    -
    - public void setComponentName(String componentName)
    - {
    - componentName_ = componentName;
    - }
    -
    - public String getComponentName()
    - {
    - return componentName_ ;
    - }
    -
    - public void setProject(IProject project)
    - {
    - project_ = project;
    - }
    -
    - public void setWebServiceURI(String wsUri)
    - {
    - wsUri_ = wsUri;
    - }
    -
    - protected void setShellStyle(int newShellStyle)
    - {
    - super.setShellStyle( newShellStyle | SWT.RESIZE );
    - }
    -
    - protected void configureShell(Shell newShell)
    - {
    - newShell.setText(titleText_);
    - super.configureShell(newShell);
    - }
    -
    - public String getDisplayableSelectionString() {
    -
    - return ((WSDLSelectionWidgetWrapper)getWidget()).getObjectSelectionDisplayableString();
    - }
    -
    - public IStructuredSelection getObjectSelection() {
    - return ((WSDLSelectionWidgetWrapper)getWidget()).getObjectSelection();
    - }
    -
    - public String getWebServiceURI()
    - {
    - return wsUri_;
    - }
    -
    - public IProject getProject(){
    - return project_;
    - }
    -
    - public boolean close() {
    - setComponentName(((WSDLSelectionWidgetWrapper)getWidget()).getComponentName());
    - setProject(((WSDLSelectionWidgetWrapper)getWidget()).getProject());
    - setWebServiceURI(((WSDLSelectionWidgetWrapper)getWidget()).getWebServiceURI());
    - return super.close();
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionOutputCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionOutputCommand.java
    deleted file mode 100644
    index 861311e67..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionOutputCommand.java
    +++ /dev/null
    @@ -1,138 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import java.util.Map;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -
    -
    -public class WSDLSelectionOutputCommand extends AbstractDataModelOperation
    -{
    - private WebServicesParser webServicesParser;
    - private String wsdlURI;
    - private IProject project;
    - private String componentName;
    -
    - private boolean testService;
    -
    -
    - public boolean getTestService() {
    - return testService;
    - }
    -
    -
    - public void setTestService(boolean testService) {
    - this.testService = testService;
    - }
    -
    - /**
    - * @return Returns the project.
    - */
    - public IProject getProject()
    - {
    - return project;
    - }
    -
    - /**
    - * @param project
    - * The project to set.
    - */
    - public void setProject(IProject project)
    - {
    - this.project = project;
    - }
    -
    -
    -
    - public String getComponentName()
    - {
    - return componentName;
    - }
    -
    - public void setComponentName(String componentName)
    - {
    - this.componentName = componentName;
    - }
    -
    - public String getWsdlURI()
    - {
    - return wsdlURI;
    - }
    -
    - public void setWsdlURI(String wsdlURI)
    - {
    - this.wsdlURI = wsdlURI;
    - }
    -
    - /**
    - * @return Returns the webServicesParser.
    - */
    - public WebServicesParser getWebServicesParser()
    - {
    - if (webServicesParser != null)
    - return webServicesParser;
    - else
    - return new WebServicesParserExt();
    - }
    -
    - /**
    - * @param webServicesParser to set.
    - */
    - public void setWebServicesParser(WebServicesParser webServicesParser)
    - {
    - this.webServicesParser = webServicesParser;
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    -
    - if (wsdlURI != null && getWebServicesParser().getWSDLDefinition(wsdlURI) != null) {
    - IStatus status = Status.OK_STATUS;
    - Map services = getWebServicesParser().getWSDLDefinition(wsdlURI).getServices();
    - if (services.isEmpty()){
    - if (testService==true){
    - testService = false;
    - status = StatusUtils.warningStatus( ConsumptionUIMessages.MSG_WARNING_NO_SERVICE_ELEMENT );
    - try{
    - env.getStatusHandler().report(status);
    - }catch(Exception e){
    - status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_WARNING_NO_SERVICE_ELEMENT );
    - }
    - }
    - }
    - return status;
    - }
    - else
    - {
    - IStatus status = StatusUtils.errorStatus( ConsumptionUIMessages.PAGE_MSG_SELECTION_MUST_BE_WSDL );
    - if (env != null)
    - {
    - env.getStatusHandler().reportError(status);
    - }
    - return status;
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionTreeWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionTreeWidget.java
    deleted file mode 100644
    index c92cfef7f..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionTreeWidget.java
    +++ /dev/null
    @@ -1,288 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060418 136712 joan@ca.ibm.com - Joan Haggarty
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import java.util.List;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jface.viewers.ILabelProvider;
    -import org.eclipse.jface.viewers.ILabelProviderListener;
    -import org.eclipse.jface.viewers.ISelection;
    -import org.eclipse.jface.viewers.ISelectionChangedListener;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.ITreeContentProvider;
    -import org.eclipse.jface.viewers.SelectionChangedEvent;
    -import org.eclipse.jface.viewers.TreeViewer;
    -import org.eclipse.jface.viewers.Viewer;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Control;
    -import org.eclipse.swt.widgets.Event;
    -import org.eclipse.swt.widgets.Label;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.Tree;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServiceEntity;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -
    -
    -/**
    -* This wizard page allows the user to select the WSDL URI for consumption
    -*/
    -public class WSDLSelectionTreeWidget extends SimpleWidgetDataContributor
    -{
    - private String pluginId_ = "org.eclipse.jst.ws.consumption.ui";
    -
    - /*CONTEXT_ID PWWS0001 for the WSDL Selection Page*/
    - private final String INFOPOP_PWWS_PAGE = ".PWWS0001";
    -
    - private WebServicesParser webServicesParser;
    - private String webServiceURI;
    -
    - private Listener statusListener;
    - private TreeViewer treeViewer_;
    - private TreeContentProvider treeContentProvider;
    - private Tree tree_;
    - private int pageWidth_;
    - private WebServiceEntity entity_;
    -
    - /**
    - * Default constructor.
    - */
    - public WSDLSelectionTreeWidget()
    - {
    - }
    -
    - public WidgetDataEvents addControls( Composite parent, Listener statusListener )
    - {
    - this.statusListener = statusListener;
    - parent.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWWS_PAGE);
    - PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, pluginId_ + INFOPOP_PWWS_PAGE);
    -
    - Label wsdlLabel = new Label(parent, SWT.WRAP);
    - wsdlLabel.setText(ConsumptionUIMessages.LABEL_SELECT_WSDL);
    - wsdlLabel.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    -
    - tree_ = new Tree(parent, SWT.SINGLE | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
    - GridData gd = new GridData(GridData.FILL_BOTH);
    - gd.heightHint = 200;
    - tree_.setLayoutData(gd);
    - pageWidth_ = tree_.getShell().getSize().x;
    - treeViewer_ = new TreeViewer(tree_);
    - treeContentProvider = new TreeContentProvider();
    - treeViewer_.setContentProvider(treeContentProvider);
    - treeViewer_.setLabelProvider(new TreeLabelProvider());
    - treeViewer_.addSelectionChangedListener(
    - new ISelectionChangedListener()
    - {
    - public void selectionChanged(SelectionChangedEvent event)
    - {
    - handleTreeSelectionChangedEvent(event);
    - }
    - }
    - );
    - return this;
    - }
    -
    - private void handleTreeSelectionChangedEvent(SelectionChangedEvent event)
    - {
    - statusListener.handleEvent(new Event());
    - }
    -
    - /**
    - * @return Returns the webServicesParser.
    - */
    - public WebServicesParser getWebServicesParser()
    - {
    - return webServicesParser;
    - }
    - /**
    - * @param webServicesParser The webServicesParser to set.
    - */
    - public void setWebServicesParser(WebServicesParser webServicesParser)
    - {
    - this.webServicesParser = webServicesParser;
    - treeViewer_.setInput(this.webServicesParser);
    - refreshTreeViewer();
    - }
    -
    - public void setWebServiceURI(String wsURI)
    - {
    - webServiceURI = wsURI;
    - treeContentProvider.setWebServiceURI(webServiceURI);
    - refreshTreeViewer();
    - }
    -
    - public void refreshTreeViewer()
    - {
    - if (webServicesParser != null && webServiceURI != null)
    - {
    - treeViewer_.refresh();
    - Control shell = tree_.getShell();
    - if (tree_.getSize().x > pageWidth_ || shell.getSize().x > pageWidth_)
    - {
    - tree_.setSize(pageWidth_, tree_.getSize().y);
    - shell.setSize(pageWidth_, shell.getSize().y);
    - shell.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    - shell.redraw();
    - }
    - }
    - }
    -
    - public void setEnabled(boolean enabled)
    - {
    - tree_.setEnabled(enabled);
    - }
    -
    - public boolean isEnabled()
    - {
    - return tree_.isEnabled();
    - }
    -
    - public String getWsdlURI()
    - {
    - if (entity_ != null)
    - return entity_.getURI();
    - else
    - return webServiceURI;
    - }
    -
    - private WebServiceEntity getSelectionAsWebServiceEntity()
    - {
    - if (treeViewer_ != null)
    - {
    - ISelection sel = treeViewer_.getSelection();
    - if (!sel.isEmpty() && (sel instanceof IStructuredSelection))
    - {
    - IStructuredSelection ssel = (IStructuredSelection)sel;
    - Object object = ssel.getFirstElement();
    - if (object instanceof WebServiceEntity)
    - return (WebServiceEntity)object;
    - }
    - }
    - return null;
    - }
    -
    - public IStatus getStatus()
    - {
    - entity_ = getSelectionAsWebServiceEntity();
    - if (entity_ == null || entity_.getType() != WebServiceEntity.TYPE_WSDL)
    - return StatusUtils.errorStatus( ConsumptionUIMessages.PAGE_MSG_SELECTION_MUST_BE_WSDL );
    - else
    - return Status.OK_STATUS;
    - }
    -
    - private class TreeContentProvider implements ITreeContentProvider
    - {
    - private String webServiceURI;
    -
    - public void dispose()
    - {
    - }
    -
    - public void inputChanged(Viewer viewer, Object oldInput, Object newInput)
    - {
    - }
    -
    - public Object[] getElements(Object inputElement)
    - {
    - if (inputElement instanceof WebServicesParser)
    - {
    - WebServicesParser parser = (WebServicesParser)inputElement;
    - Object wsEntity = parser.getWebServiceEntityByURI(webServiceURI);
    - if (wsEntity != null)
    - return new Object[] {wsEntity};
    - }
    - return new Object[0];
    - }
    -
    - public Object[] getChildren(Object parentElement)
    - {
    - if (parentElement instanceof WebServiceEntity)
    - {
    - List list = ((WebServiceEntity)parentElement).getChildren();
    - Object[] objects = new Object[list.size()];
    - for (int i = 0; i < objects.length; i++)
    - objects[i] = list.get(i);
    - return objects;
    - }
    - return new Object[0];
    - }
    -
    - public Object getParent(Object element)
    - {
    - if (element instanceof WebServiceEntity)
    - return ((WebServiceEntity)element).getParent();
    - return new Object[0];
    - }
    -
    - public boolean hasChildren(Object element)
    - {
    - return (getChildren(element).length > 0);
    - }
    -
    - public void setWebServiceURI(String wsURI)
    - {
    - webServiceURI = wsURI;
    - }
    - }
    -
    - private class TreeLabelProvider implements ILabelProvider
    - {
    - public Image getImage(Object element)
    - {
    - switch (((WebServiceEntity)element).getType())
    - {
    - case WebServiceEntity.TYPE_HTML:
    - return WebServiceConsumptionUIPlugin.getImageDescriptor("icons/wsil/html.gif").createImage();
    - case WebServiceEntity.TYPE_WSIL:
    - return WebServiceConsumptionUIPlugin.getImageDescriptor("icons/wsil/wsil.gif").createImage();
    - case WebServiceEntity.TYPE_WSDL:
    - return WebServiceConsumptionUIPlugin.getImageDescriptor("icons/wsil/wsdl.gif").createImage();
    - default:
    - return null;
    - }
    - }
    -
    - public String getText(Object element)
    - {
    - return ((WebServiceEntity)element).getURI();
    - }
    -
    - public void addListener(ILabelProviderListener listener)
    - {
    - }
    -
    - public void removeListener(ILabelProviderListener listener)
    - {
    - }
    -
    - public boolean isLabelProperty(Object element, String property)
    - {
    - return true;
    - }
    -
    - public void dispose()
    - {
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetDefaultingCommand.java
    deleted file mode 100644
    index 127c509ab..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetDefaultingCommand.java
    +++ /dev/null
    @@ -1,179 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2007 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20070116 159618 makandre@ca.ibm.com - Andrew Mak, Project and EAR not defaulted properly when wizard launched from JSR-109 Web services branch in J2EE Project Explorer
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.core.commands.ExecutionException;
    -import org.eclipse.core.resources.IFile;
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Path;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
    -import org.eclipse.jst.ws.internal.common.J2EEActionAdapterFactory;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.common.UniversalPathTransformer;
    -import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.wsdl.internal.impl.ServiceImpl;
    -import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
    -
    -public class WSDLSelectionWidgetDefaultingCommand extends AbstractDataModelOperation
    -{
    - private IStructuredSelection selection_;
    - private UniversalPathTransformer transformer_ = new UniversalPathTransformer();
    -
    - public String getWebServiceURI()
    - {
    - String uri = "";
    -
    - if (selection_ != null && !selection_.isEmpty())
    - {
    - Object firstSel = selection_.getFirstElement();
    - if (firstSel instanceof IFile)
    - {
    - IFile ifile = (IFile)firstSel;
    - String ext = ifile.getFileExtension();
    - if (ext != null && (ext.equals("wsdl") || ext.equals("wsil") || ext.equals("html")))
    - {
    - uri = ifile.getFullPath().toString();
    - }
    - }
    - if (firstSel instanceof ServiceImpl)
    - {
    - ServiceImpl serviceImpl = (ServiceImpl)firstSel;
    - uri = J2EEActionAdapterFactory.getWSDLURI(serviceImpl);
    - }
    - if (firstSel instanceof ServiceRef)
    - {
    - ServiceRef serviceRef = (ServiceRef)firstSel;
    - uri = J2EEActionAdapterFactory.getWSDLURI(serviceRef);
    - }
    - if (firstSel instanceof WSDLResourceImpl)
    - {
    - WSDLResourceImpl wsdlRI = (WSDLResourceImpl)firstSel;
    - uri = J2EEActionAdapterFactory.getWSDLURI(wsdlRI);
    - }
    - if (firstSel instanceof String)
    - uri = (String)firstSel;
    -
    - uri = transformer_.toPath(uri);
    - }
    - return uri;
    - }
    -
    - public void setInitialSelection( IStructuredSelection selection )
    - {
    - selection_ = selection;
    - }
    -
    - public boolean getGenWSIL()
    - {
    - return false;
    - }
    -
    - public String getWsilURI()
    - {
    - String wsURI = getWebServiceURI();
    - if (wsURI != null && wsURI.length() > 0 && wsURI.endsWith("wsdl"))
    - {
    - StringBuffer sb = new StringBuffer(wsURI.substring(0, wsURI.length()-4));
    - sb.append("wsil");
    - return sb.toString();
    - }
    - return "";
    - }
    -
    - public IProject getProject()
    - {
    - IProject p = getProjectFromInitialSelection(selection_);
    - return p;
    - }
    -
    - public String getComponentName()
    - {
    - String cname = getComponentNameFromInitialSelection(selection_);
    - return cname;
    - }
    -
    - private boolean hasProtocol(String url) {
    - return url.indexOf(":") != -1;
    - }
    -
    - private IProject getProjectFromInitialSelection(IStructuredSelection selection)
    - {
    - if (selection != null && selection.size() == 1)
    - {
    - Object obj = selection.getFirstElement();
    - if (obj != null)
    - {
    - try
    - {
    - IResource resource = ResourceUtils.getResourceFromSelection(obj);
    - if (resource==null) {
    - String uri = getWebServiceURI();
    - if (hasProtocol(uri)) return null;
    - return ResourceUtils.getProjectOf(new Path(uri));
    - }
    - else
    - return ResourceUtils.getProjectOf(resource.getFullPath());
    - } catch(CoreException e)
    - {
    - return null;
    - }
    - }
    - }
    - return null;
    - }
    -
    - private String getComponentNameFromInitialSelection(IStructuredSelection selection)
    - {
    - if (selection != null && selection.size() == 1)
    - {
    - Object obj = selection.getFirstElement();
    - if (obj != null)
    - {
    - try
    - {
    - IResource resource = ResourceUtils.getResourceFromSelection(obj);
    - IVirtualComponent comp;
    - if (resource==null) {
    - String uri = getWebServiceURI();
    - if (hasProtocol(uri)) return null;
    - comp = ResourceUtils.getComponentOf(new Path(uri)) ;
    - }
    - else
    - comp = ResourceUtils.getComponentOf(resource);
    - if (comp!=null)
    - {
    - return comp.getName();
    - }
    - } catch(CoreException e)
    - {
    - return null;
    - }
    - }
    - }
    - return null;
    - }
    -
    - public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
    - {
    - return Status.OK_STATUS;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetWrapper.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetWrapper.java
    deleted file mode 100644
    index 56a9a6abe..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WSDLSelectionWidgetWrapper.java
    +++ /dev/null
    @@ -1,144 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.StructuredSelection;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionWidget;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionWrapper;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -
    -public class WSDLSelectionWidgetWrapper extends SimpleWidgetDataContributor
    -{
    - private WSDLSelectionWidget wsdlSelectionWidget;
    - private IProject project;
    - private String componentName;
    -
    - public WSDLSelectionWidgetWrapper()
    - {
    - wsdlSelectionWidget = new WSDLSelectionWidget();
    - }
    -
    - public WidgetDataEvents addControls(Composite parent, Listener statusListener)
    - {
    - wsdlSelectionWidget.addControls(parent, statusListener);
    - return this;
    - }
    -
    - public IStatus getStatus()
    - {
    - return wsdlSelectionWidget.getStatus();
    - }
    -
    - public void setWebServiceURI(String wsUri)
    - {
    - IStructuredSelection sel;
    - if (wsUri != null)
    - sel = new StructuredSelection(wsUri);
    - else
    - sel = new StructuredSelection();
    - wsdlSelectionWidget.setInitialSelection(sel);
    - }
    -
    - public String getWebServiceURI()
    - {
    - IStructuredSelection sel = wsdlSelectionWidget.getObjectSelection();
    - Object object = sel.getFirstElement();
    - String result = null;
    -
    - if (object != null )
    - {
    - if( object instanceof WSDLSelectionWrapper )
    - {
    - // Get at the inner structured selection object.
    - WSDLSelectionWrapper wrapper = (WSDLSelectionWrapper)object;
    - IStructuredSelection innerSelection = wrapper.wsdlSelection;
    - Object innerObject = innerSelection.getFirstElement();
    -
    - result = innerObject == null ? null : innerObject.toString();
    - }
    - else
    - {
    - result = object.toString();
    - }
    - }
    -
    - return result;
    - }
    -
    - public String getWsdlURI()
    - {
    - return getWebServiceURI();
    - }
    -
    - public WebServicesParser getWebServicesParser()
    - {
    - return wsdlSelectionWidget.getWebServicesParser();
    - }
    -
    - public void setProject(IProject project)
    - {
    - this.project = project;
    - }
    -
    - public IProject getProject()
    - {
    - IProject p = wsdlSelectionWidget.getProject();
    - if (p==null)
    - {
    - return project;
    - }
    - else
    - return p;
    - }
    -
    - public String getComponentName()
    - {
    - String cname = wsdlSelectionWidget.getComponentName();
    - if (cname==null)
    - {
    - return componentName;
    - }
    - else
    - return cname;
    - }
    -
    - public void setComponentName(String componentName)
    - {
    - this.componentName = componentName;
    - }
    -
    - public String getObjectSelectionDisplayableString() {
    - if (wsdlSelectionWidget != null)
    - {
    - return wsdlSelectionWidget.getObjectSelectionDisplayableString();
    - }
    - else return "";
    - }
    -
    - public IStructuredSelection getObjectSelection() {
    - return wsdlSelectionWidget.getObjectSelection();
    - }
    -
    - public boolean validate(String s)
    - {
    - return wsdlSelectionWidget.validate(s);
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WebServiceClientTypeWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WebServiceClientTypeWidget.java
    deleted file mode 100644
    index 12561b2b8..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/WebServiceClientTypeWidget.java
    +++ /dev/null
    @@ -1,1052 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2007 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060407 135443 joan@ca.ibm.com - Joan Haggarty
    - * 20060410 135441 joan@ca.ibm.com - Joan Haggarty
    - * 20060410 136030 kathy@ca.ibm.com - Kathy Chan
    - * 20060411 136167 kathy@ca.ibm.com - Kathy Chan
    - * 20060417 136390 joan@ca.ibm.com - Joan Haggarty
    - * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060420 136158 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060420 136705 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060421 136761 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060424 138052 kathy@ca.ibm.com - Kathy Chan
    - * 20060425 137831 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060426 137622 joan@ca.ibm.com - Joan Haggarty
    - * 20060427 138058 joan@ca.ibm.com - Joan Haggarty
    - * 20060504 138035 joan@ca.ibm.com - Joan Haggarty
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    - * 20060607 144826 joan@ca.ibm.com - Joan Haggarty
    - * 20060607 144049 joan@ca.ibm.com - Joan Haggarty
    - * 20060614 146270 joan@ca.ibm.com - Joan Haggarty
    - * 20060717 150577 makandre@ca.ibm.com - Andrew Mak
    - * 20060726 150865 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060817 140017 makandre@ca.ibm.com - Andrew Mak, longer project or server/runtime strings do not resize wizard
    - * 20060829 155441 makandre@ca.ibm.com - Andrew Mak, web service wizard hangs during resize
    - * 20070126 138484 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets;
    -
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.jface.resource.ImageRegistry;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.window.Window;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.DefaultingUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.ValidationUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ProjectSelectionWidget;
    -import org.eclipse.jst.ws.internal.consumption.ui.wizard.RuntimeServerSelectionDialog;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -import org.eclipse.jst.ws.internal.context.ScenarioContext;
    -import org.eclipse.jst.ws.internal.data.LabelsAndIds;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.jst.ws.internal.ui.common.UIUtils;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.accessibility.Accessible;
    -import org.eclipse.swt.accessibility.AccessibleAdapter;
    -import org.eclipse.swt.accessibility.AccessibleControlAdapter;
    -import org.eclipse.swt.accessibility.AccessibleControlEvent;
    -import org.eclipse.swt.accessibility.AccessibleEvent;
    -import org.eclipse.swt.events.ControlEvent;
    -import org.eclipse.swt.events.ControlListener;
    -import org.eclipse.swt.events.SelectionEvent;
    -import org.eclipse.swt.events.SelectionListener;
    -import org.eclipse.swt.graphics.Rectangle;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Combo;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Display;
    -import org.eclipse.swt.widgets.Label;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.Scale;
    -import org.eclipse.swt.widgets.Shell;
    -import org.eclipse.ui.IWorkbench;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.ui.forms.HyperlinkGroup;
    -import org.eclipse.ui.forms.HyperlinkSettings;
    -import org.eclipse.ui.forms.events.HyperlinkEvent;
    -import org.eclipse.ui.forms.events.IHyperlinkListener;
    -import org.eclipse.ui.forms.widgets.Hyperlink;
    -import org.eclipse.wst.command.internal.env.ui.widgets.PageInfo;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -
    -
    -public class WebServiceClientTypeWidget extends SimpleWidgetDataContributor implements IPackable
    -{
    - // INFOPOPS
    - /* CONTEXT_ID WSWSCEN0022 for the Server hyperlink of the Scenario Page */
    - private String INFOPOP_WSWSCEN_HYPERLINK_SERVER = "WSWSCEN0022";
    - /* CONTEXT_ID WSWSCEN0023 for the Runtime hyperlink of the Scenario Page */
    - private String INFOPOP_WSWSCEN_HYPERLINK_RUNTIME = "WSWSCEN0023";
    - /* CONTEXT_ID WSWSCEN0024 for theProjects hyperlink of the Scenario Page */
    - private String INFOPOP_WSWSCEN_HYPERLINK_PROJECTS = "WSWSCEN0024";
    - /* CONTEXT_ID WSWSCEN0025 for theClient Type combo box of the Scenario Page */
    - private String INFOPOP_WSWSCEN_COMBO_CLIENTTYPE = "WSWSCEN0025";
    - /* CONTEXT_ID WSWSCEN0026 for theClient Slider of the Scenario Page */
    - private String INFOPOP_WSWSCEN_SCALE_CLIENT = "WSWSCEN0026";
    -
    - private String GRAPHIC_CLIENT_0="icons/client_test.jpg"; //$NON-NLS-N$
    - private String GRAPHIC_CLIENT_1="icons/client_run.jpg"; //$NON-NLS-N$
    - private String GRAPHIC_CLIENT_2="icons/client_install.jpg"; //$NON-NLS-N$
    - private String GRAPHIC_CLIENT_3="icons/client_deploy.jpg"; //$NON-NLS-N$
    - private String GRAPHIC_CLIENT_4="icons/client_assemble.jpg"; //$NON-NLS-N$
    - private String GRAPHIC_CLIENT_5="icons/client_develop.jpg"; //$NON-NLS-N$
    - private String GRAPHIC_CLIENT_6="icons/client_none.jpg"; //$NON-NLS-N$
    -
    - private String ICON_SCALE_BG_0="icons/scale0_bground.jpg"; //$NON-NLS-N$
    - private String ICON_SCALE_BG_1="icons/scale1_bground.jpg"; //$NON-NLS-N$
    - private String ICON_SCALE_BG_2="icons/scale2_bground.jpg"; //$NON-NLS-N$
    - private String ICON_SCALE_BG_3="icons/scale3_bground.jpg"; //$NON-NLS-N$
    - private String ICON_SCALE_BG_4="icons/scale4_bground.jpg"; //$NON-NLS-N$
    - private String ICON_SCALE_BG_5="icons/scale5_bground.jpg"; //$NON-NLS-N$
    - private String ICON_SCALE_BG_6="icons/scale6_bground.jpg"; //$NON-NLS-N$
    -
    - private Composite clientComposite_;
    - private Composite hCompClient_;
    - private Shell shell_;
    - private Combo clientTypeCombo_;
    - private Scale clientScale_;
    - private Label topologySpot_;
    - private Label clientDetailsLabel_;
    - private Hyperlink hLinkClientRuntime_;
    - private Hyperlink hLinkClientServer_;
    - private Hyperlink hLinkClientProject_;
    - private Hyperlink hLinkClientEAR_;
    - private ProjectSelectionDialog projectDialog_;
    -
    - private boolean developClient_;
    - private boolean assembleClient_;
    - private boolean deployClient_;
    -
    - private Boolean testClient_;
    - private Boolean installClient_;
    - private Boolean startClient_;
    -
    - private TypeRuntimeServer ids_;
    - private IStructuredSelection objectSelection_;
    - private boolean enableProxy_; //service scale is set to a level that the client scale can be enabled
    - private boolean clientOnly_=false;
    - private int clientScaleSetting_;
    - private ImageRegistry imageReg_;
    - private IProject project_;
    - private WebServicesParser parser_;
    - private String earProjectName_;
    - private String projectName_;
    - private boolean needEar_;
    - private String clientComponentType_;
    -
    - private Listener statusListener_;
    - private int validationState_;
    -
    - private ScaleSelectionListener scaleSelectionListener = new ScaleSelectionListener();
    -
    - private String CLIENT_RUNTIME_PREFIX = ConsumptionUIMessages.LABEL_RUNTIMES_LIST ;
    - private String CLIENT_SERVER_PREFIX = ConsumptionUIMessages.LABEL_SERVERS_LIST;
    - private String CLIENT_PROJECT_PREFIX = ConsumptionUIMessages.LABEL_CLIENT_PROJECT;
    - private String CLIENT_EAR_PREFIX = ConsumptionUIMessages.LABEL_CLIENT_EAR_PROJECT;
    -
    - private Composite clientGroupComposite_ ;
    -
    - private UIUtils utils_ = new UIUtils("org.eclipse.jst.ws.consumption.ui");
    - private IPackable packable_ = null;
    - private LabelsAndIds labelIds_;
    -
    - public WebServiceClientTypeWidget(boolean clientOnly) {
    - clientOnly_ = clientOnly;
    - initImageRegistry();
    - validationState_ = ValidationUtils.VALIDATE_ALL;
    - }
    -
    - /**
    - * Give this widget a handle to an IPackable instance, which will also be
    - * packed when this widget's packIt() is called.
    - *
    - * @param packable The IPackable instance.
    - */
    - public void setPackable(IPackable packable) {
    - packable_ = packable;
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.jst.ws.internal.consumption.ui.widgets.IPackable#packIt()
    - */
    - public void packIt() {
    - clientGroupComposite_.pack(true);
    - utils_.horizontalResize(clientGroupComposite_.getShell(), clientGroupComposite_, UIUtils.DEFAULT_PADDING);
    - if (!clientOnly_ && packable_ != null)
    - packable_.packIt();
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.WidgetContributor#addControls(org.eclipse.swt.widgets.Composite, org.eclipse.swt.widgets.Listener)
    - */
    - public WidgetDataEvents addControls( Composite parent, Listener statusListener)
    - {
    - statusListener_ = statusListener;
    - Composite clientTypeComposite = new Composite(parent, SWT.NONE);
    - GridLayout cclayout = new GridLayout();
    - cclayout.numColumns = 2;
    - cclayout.marginTop=3;
    - clientTypeComposite.setLayout( cclayout );
    - GridData ccGridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
    - clientTypeComposite.setLayoutData(ccGridData);
    -
    - int comboStyle = SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY;
    - clientTypeCombo_ = utils_.createCombo( clientTypeComposite,
    - ConsumptionUIMessages.LABEL_WEBSERVICECLIENTTYPE,
    - ConsumptionUIMessages.TOOLTIP_PWPR_COMBO_CLIENTTYPE,
    - INFOPOP_WSWSCEN_COMBO_CLIENTTYPE,
    - comboStyle );
    - GridData comboGridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL);
    - clientTypeCombo_.setLayoutData(comboGridData);
    - clientTypeCombo_.addSelectionListener(new SelectionListener() {
    - public void widgetDefaultSelected(SelectionEvent e) {
    - }
    -
    - public void widgetSelected(SelectionEvent e) {
    - String oldTypeId = ids_.getTypeId();
    - int currentSelectionIdx = clientTypeCombo_.getSelectionIndex();
    - String currentTypeId = labelIds_.getIds_()[currentSelectionIdx];
    - if (!oldTypeId.equals(currentTypeId)) {
    - // handle changing client type
    - ids_.setTypeId(currentTypeId);
    - refreshServerRuntimeSelection();
    - }
    - validationState_ = ValidationUtils.VALIDATE_ALL;
    - statusListener_.handleEvent(null);
    - }
    -
    - });
    -
    - clientGroupComposite_ = new Composite(parent, SWT.NONE);
    - GridLayout gclayout = new GridLayout();
    - gclayout.numColumns = 2;
    - gclayout.horizontalSpacing=0;
    - gclayout.marginHeight=0;
    - gclayout.marginBottom=5;
    - clientGroupComposite_.setLayout( gclayout );
    - GridData gcGridData = new GridData(SWT.BEGINNING, SWT.BEGINNING, true, true);
    - clientGroupComposite_.setLayoutData(gcGridData);
    -
    - clientGroupComposite_.addControlListener(new ControlListener()
    - {
    - public void controlMoved(ControlEvent e) {
    - // TODO Auto-generated method stub
    -
    - }
    - public void controlResized(ControlEvent e) {
    - clientGroupComposite_.pack(true);
    - }
    - });
    -
    -
    - clientComposite_ = new Composite(clientGroupComposite_, SWT.NONE);
    - GridLayout gridlayout = new GridLayout();
    - gridlayout.numColumns = 2;
    - gridlayout.horizontalSpacing=0;
    - gridlayout.marginHeight=0;
    - clientComposite_.setLayout( gridlayout );
    - GridData scGridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
    - clientComposite_.setLayoutData(scGridData);
    -
    - clientScale_ = new Scale(clientComposite_ , SWT.VERTICAL | SWT.BORDER);
    - utils_.createInfoPop(clientScale_, INFOPOP_WSWSCEN_SCALE_CLIENT);
    - clientScale_.setMinimum(0);
    - clientScale_.setMaximum(6);
    - clientScale_.setIncrement(1);
    - clientScale_.addSelectionListener(scaleSelectionListener);
    - setClientScale(getClientGeneration());
    - clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT);
    -
    - Accessible accessibleScale = clientScale_.getAccessible();
    - accessibleScale.addAccessibleListener(new AccessibleAdapter(){
    - // return a string that describes what to do with the slider
    - // this is read by the screen reader when the slider first gets focus
    - public void getName(AccessibleEvent e) {
    - e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT;
    - }
    - });
    - accessibleScale.addAccessibleControlListener(new AccessibleControlAdapter(){
    - // return a meaningful string when the screen reader
    - // attempts to get the value from the service scale
    - public void getValue(AccessibleControlEvent e) {
    - int selection = clientScale_.getSelection();
    - switch (selection) {
    - case 0:
    - e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_TEST;
    - break;
    - case 1:
    - e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_RUN;
    - break;
    - case 2:
    - e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_INSTALL;
    - break;
    - case 3:
    - e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_DEPLOY;
    - break;
    - case 4:
    - e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_ASSEMBLE;
    - break;
    - case 5:
    - e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_DEVELOP;
    - break;
    - case 6:
    - if (clientOnly_)
    - e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT_ONLY;
    - else
    - e.result = ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT;
    - break;
    - default:
    - break;
    - }
    - }
    - });
    -
    - GridData layoutData1 = new GridData();
    - layoutData1.horizontalAlignment=SWT.CENTER;
    - layoutData1.verticalAlignment = SWT.BEGINNING;
    - Rectangle scaleR = (imageReg_.get(ICON_SCALE_BG_0)).getBounds();
    - layoutData1.heightHint=scaleR.height;
    - layoutData1.widthHint=scaleR.width+1;
    - clientScale_.setLayoutData(layoutData1);
    -
    - topologySpot_ = new Label(clientComposite_ , SWT.CENTER | SWT.BORDER );
    - topologySpot_.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WHITE));
    - if (clientOnly_)
    - topologySpot_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT_ONLY);
    - else
    - topologySpot_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT);
    -
    - GridData layoutData = new GridData();
    - layoutData.verticalAlignment=SWT.BEGINNING;
    - layoutData.horizontalAlignment=SWT.BEGINNING;
    - Rectangle topR = (imageReg_.get(GRAPHIC_CLIENT_6)).getBounds();
    - layoutData.widthHint=topR.width;
    - layoutData.heightHint=topR.height;
    - topologySpot_.setLayoutData(layoutData);
    -
    - setGraphics(getClientGeneration());
    -
    - hCompClient_ = utils_.createComposite(clientGroupComposite_, 1);
    -
    - clientDetailsLabel_ = new Label(hCompClient_, SWT.NONE);
    - clientDetailsLabel_.setText(ConsumptionUIMessages.LABEL_SUMMARY);
    -
    - hLinkClientServer_= new Hyperlink(hCompClient_, SWT.NULL);
    - utils_.createInfoPop(hLinkClientServer_, INFOPOP_WSWSCEN_HYPERLINK_SERVER);
    - hLinkClientServer_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_TEXT_SERVER);
    - hLinkClientServer_.addHyperlinkListener(new IHyperlinkListener(){
    - public void linkActivated(HyperlinkEvent e){
    - launchRuntimeSelectionDialog(true, true);
    - }
    - public void linkEntered(HyperlinkEvent e){}
    - public void linkExited(HyperlinkEvent e){}
    - });
    -
    - hLinkClientRuntime_ = new Hyperlink(hCompClient_, SWT.NULL);
    - utils_.createInfoPop(hLinkClientRuntime_, INFOPOP_WSWSCEN_HYPERLINK_RUNTIME);
    - hLinkClientRuntime_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_TEXT_RUNTIME);
    - hLinkClientRuntime_.addHyperlinkListener(new IHyperlinkListener(){
    - public void linkActivated(HyperlinkEvent e){
    - launchRuntimeSelectionDialog(true);
    - }
    - public void linkEntered(HyperlinkEvent e){}
    - public void linkExited(HyperlinkEvent e){}
    - });
    -
    - IWorkbench workbench = PlatformUI.getWorkbench();
    - projectDialog_ = new ProjectSelectionDialog(workbench.getActiveWorkbenchWindow().getShell(),
    - new PageInfo(ConsumptionUIMessages.DIALOG_TITILE_CLIENT_PROJECT_SETTINGS, "",
    - new WidgetContributorFactory()
    - {
    - public WidgetContributor create()
    - {
    - return new ProjectSelectionWidget(true);
    - }
    - }));
    -
    - hLinkClientProject_ = new Hyperlink(hCompClient_, SWT.NULL);
    - utils_.createInfoPop(hLinkClientRuntime_, INFOPOP_WSWSCEN_HYPERLINK_PROJECTS);
    - hLinkClientProject_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_CLIENTPROJECT_LINK);
    - hLinkClientProject_.addHyperlinkListener(new IHyperlinkListener(){
    - public void linkActivated(HyperlinkEvent e){
    - launchProjectDialog();
    - }
    - public void linkEntered(HyperlinkEvent e){}
    - public void linkExited(HyperlinkEvent e){}
    - });
    -
    - hLinkClientEAR_ = new Hyperlink(hCompClient_, SWT.NULL);
    - utils_.createInfoPop(hLinkClientRuntime_, INFOPOP_WSWSCEN_HYPERLINK_PROJECTS);
    - hLinkClientEAR_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_CLIENTPROJECT_LINK);
    - hLinkClientEAR_.addHyperlinkListener(new IHyperlinkListener(){
    - public void linkActivated(HyperlinkEvent e){
    - launchProjectDialog();
    - }
    - public void linkEntered(HyperlinkEvent e){}
    - public void linkExited(HyperlinkEvent e){}
    - });
    -
    - hLinkClientServer_.setText(CLIENT_SERVER_PREFIX);
    - hLinkClientRuntime_.setText(CLIENT_RUNTIME_PREFIX);
    - hLinkClientProject_.setText(CLIENT_PROJECT_PREFIX);
    - hLinkClientEAR_.setText(CLIENT_EAR_PREFIX);
    -
    - HyperlinkGroup serverRuntimeGroup = new HyperlinkGroup(Display.getCurrent());
    - serverRuntimeGroup.add(hLinkClientServer_);
    - serverRuntimeGroup.add(hLinkClientRuntime_);
    - serverRuntimeGroup.add(hLinkClientProject_);
    - serverRuntimeGroup.add(hLinkClientEAR_);
    - serverRuntimeGroup.setHyperlinkUnderlineMode(HyperlinkSettings.UNDERLINE_ALWAYS);
    -
    - enableClientSlider(getGenerateProxy());
    -
    - return this;
    - }
    -
    - public void enableClientSlider( boolean enable )
    - {
    - enableProxy_ = enable;
    - clientScale_.setEnabled(enable);
    - int selection = getClientGeneration();
    - if (enable)
    - {
    - setGraphics(selection);
    - }
    - else
    - {
    - setClientScale(ScenarioContext.WS_NONE);
    - setGraphics(ScenarioContext.WS_NONE);
    - clientScale_.setBackgroundImage(null); //override background for disable to grey
    - }
    - showSummary(enable && (selection <= ScenarioContext.WS_DEVELOP));
    - }
    -
    - private void showSummary(boolean show)
    - {
    - if (clientOnly_)
    - show = true; //short circuit to eliminate flicker...
    -
    - hLinkClientEAR_.setVisible(show && needEar_);
    - hLinkClientProject_.setVisible(show);
    - hLinkClientRuntime_.setVisible(show);
    - hLinkClientServer_.setVisible(show);
    -
    - if (show)
    - {
    - clientDetailsLabel_.setText(ConsumptionUIMessages.LABEL_SUMMARY);
    - }
    - else
    - {
    - if (clientOnly_)
    - hCompClient_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT_ONLY);
    - else
    - hCompClient_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT);
    - clientDetailsLabel_.setText(ConsumptionUIMessages.LABEL_SUMMARY_NO_CLIENT);
    - }
    - clientDetailsLabel_.pack(true);
    - hLinkClientProject_.pack(true);
    - hLinkClientEAR_.pack(true);
    - packIt();
    - }
    -
    - public void setTypeRuntimeServer( TypeRuntimeServer ids )
    - {
    - LabelsAndIds labelIds = WebServiceRuntimeExtensionUtils2.getClientTypeLabels();
    - int selection = 0;
    - String[] clientIds = labelIds.getIds_();
    - String selectedId = ids.getTypeId();
    -
    - labelIds_ = labelIds;
    - // rskreg
    - clientTypeCombo_.setItems( labelIds.getLabels_() );
    -
    - // Now find the selected one.
    - for( int index = 0; index < clientIds.length; index++ )
    - {
    - if( selectedId.equals( clientIds[index ]) )
    - {
    - selection = index;
    - break;
    - }
    - }
    -
    - clientTypeCombo_.select( selection );
    - ids_ = ids;
    -
    - if (ids_ != null)
    - {
    - String clientServerText = "";
    - String serverId = ids_.getServerId();
    - if (serverId != null && serverId.length()>0)
    - {
    - clientServerText = WebServiceRuntimeExtensionUtils2.getServerLabelById(serverId);
    - }
    - String clientRuntimeText = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(ids_.getRuntimeId());
    -
    - String currentServerText = hLinkClientServer_.getText();
    - String currentRuntimeText = hLinkClientRuntime_.getText();
    - String newServerText = CLIENT_SERVER_PREFIX + " " + clientServerText;
    - String newRuntimeText = CLIENT_RUNTIME_PREFIX + " " + clientRuntimeText;
    - hLinkClientServer_.setText(newServerText);
    - hLinkClientRuntime_.setText(newRuntimeText);
    -
    - /*check to see if text has changed for server or runtime
    - if so, repaint links */
    - if (!newServerText.equals(currentServerText))
    - {
    - hLinkClientServer_.pack(true);
    - packIt();
    - }
    -
    - if (!newRuntimeText.equals(currentRuntimeText))
    - {
    - hLinkClientRuntime_.pack(true);
    - packIt();
    - }
    - }
    -
    - if (projectDialog_ != null)
    - projectDialog_.setTypeRuntimeServer(ids_);
    -
    - //When the server changes, the state of needEar could change.
    - //If the the server change results in a change in the state of needEar,
    - //update needEar and clientEarProjectName.
    -
    - ValidationUtils vu = new ValidationUtils();
    - boolean oldNeedEar = getClientNeedEAR();
    - boolean clientProjectOrProjectTypeNeedsEar;
    -
    - if (!oldNeedEar) {
    - // If an EAR was not needed previously it could have been because of
    - // the project/project type or the server.
    - // If it was because of the project/project type, changing the
    - // server should have no impact
    - // on the state of needEar.
    - clientProjectOrProjectTypeNeedsEar = vu.projectOrProjectTypeNeedsEar(getClientProjectName(),
    - getClientComponentType());
    - } else {
    - clientProjectOrProjectTypeNeedsEar = true;
    - }
    -
    - // boolean clientProjectOrProjectTypeNeedsEar =
    - // vu.projectOrProjectTypeNeedsEar(getClientProjectName(),
    - // getClientComponentType());
    - if (clientProjectOrProjectTypeNeedsEar) {
    - // Could not rule out need for an Ear from the project/project type
    - // so changing the server
    - // may impact the need for an Ear.
    - boolean currentServerNeedsEar = vu.serverNeedsEAR(getTypeRuntimeServer().getServerId());
    - if (oldNeedEar != currentServerNeedsEar) {
    - // Update needEar and serviceEarProjectName.
    - if (currentServerNeedsEar) {
    - // Calculate a reasonable default for the Ear project name
    - String earProjectName = DefaultingUtils.getDefaultEARProjectName(getClientProjectName());
    - setClientNeedEAR(currentServerNeedsEar);
    - setClientEarProjectName(earProjectName);
    - } else {
    - setClientNeedEAR(currentServerNeedsEar);
    - setClientEarProjectName("");
    - }
    -
    - }
    - }
    - }
    -
    - public TypeRuntimeServer getTypeRuntimeServer()
    - {
    - return ids_;
    - }
    -
    - public boolean getGenerateProxy()
    - {
    - return getClientGeneration() <= ScenarioContext.WS_DEVELOP;
    - }
    -
    - public boolean getDevelopClient() {
    - return developClient_;
    - }
    -
    - public void setDevelopClient(boolean developClient) {
    - this.developClient_ = developClient;
    - }
    -
    - public boolean getAssembleClient() {
    - return assembleClient_;
    - }
    -
    - public void setAssembleClient(boolean assembleClient) {
    - this.assembleClient_ = assembleClient;
    - }
    -
    - public boolean getDeployClient() {
    - return deployClient_;
    - }
    -
    - public void setDeployClient(boolean deployClient) {
    - this.deployClient_ = deployClient;
    - }
    -
    - public void setTestClient(Boolean value)
    - {
    - testClient_ = value;
    - }
    -
    - public Boolean getTestClient()
    - {
    - return testClient_;
    - }
    -
    - public Boolean getInstallClient()
    - {
    - return installClient_;
    - }
    -
    - public Boolean getStartClient()
    - {
    - return startClient_;
    - }
    -
    - public void setInstallClient( Boolean value )
    - {
    - installClient_ = value;
    - }
    -
    - public void setStartClient( Boolean value )
    - {
    - startClient_ = value;
    - }
    -
    -
    - private void launchProjectDialog()
    - {
    - String currentProjectName = getClientProjectName();
    - String currentEarProjectName = getClientEarProjectName();
    - String currentProjectType = getClientComponentType();
    - boolean currentNeedEar = getClientNeedEAR();
    -
    - projectDialog_.setProjectName(currentProjectName);
    - projectDialog_.setEarProjectName(currentEarProjectName);
    - projectDialog_.setNeedEAR(currentNeedEar);
    - projectDialog_.setProjectComponentType(currentProjectType);
    -
    - int status = projectDialog_.open();
    -
    - if (status == Window.OK)
    - {
    - String newProjectName = projectDialog_.getProjectName();
    - String newEarProjectName = projectDialog_.getEarProjectName();
    - String newProjectType = projectDialog_.getProjectComponentType();
    - boolean newNeedEar = projectDialog_.getNeedEAR();
    -
    - //Update project settings and validate page if selections changed.
    - if (!newProjectName.equals(currentProjectName)
    - || !newEarProjectName.equals(currentEarProjectName)
    - || !newProjectType.equals(currentProjectType)
    - || newNeedEar != currentNeedEar) {
    - setClientProjectName(newProjectName);
    - setClientEarProjectName(newEarProjectName);
    - setClientNeedEAR(newNeedEar);
    - setClientComponentType(newProjectType);
    - validationState_ = (new ValidationUtils()).getNewValidationState(validationState_, ValidationUtils.VALIDATE_PROJECT_CHANGES);
    - statusListener_.handleEvent(null);
    - }
    -
    - /*check to see if text has changed for project or EAR
    - if so, repaint links */
    - if (!newProjectName.equals(currentProjectName))
    - {
    - hLinkClientProject_.pack(true);
    - packIt();
    - }
    - if (!newEarProjectName.equals(currentEarProjectName))
    - {
    - hLinkClientEAR_.pack(true);
    - packIt();
    - }
    - }
    - }
    -
    - private void launchRuntimeSelectionDialog(boolean clientContext) {
    - launchRuntimeSelectionDialog(clientContext, false);
    - }
    -
    - private void launchRuntimeSelectionDialog(boolean clientContext, boolean selectServerFirst)
    - {
    - TypeRuntimeServer currentClientTRS = getTypeRuntimeServer();
    - RuntimeServerSelectionDialog rssd = new RuntimeServerSelectionDialog(shell_, (byte)1, getTypeRuntimeServer(), "14");
    - rssd.setSelectServerFirst(selectServerFirst);
    - int status = rssd.open();
    - if (status == Window.OK)
    - {
    - TypeRuntimeServer newClientTRS = rssd.getTypeRuntimeServer();
    - if (!currentClientTRS.equals(newClientTRS))
    - {
    - setTypeRuntimeServer(rssd.getTypeRuntimeServer());
    - validationState_ = (new ValidationUtils()).getNewValidationState(validationState_, ValidationUtils.VALIDATE_SERVER_RUNTIME_CHANGES);
    - statusListener_.handleEvent(null); //validate the page
    - }
    - }
    - }
    -
    - //Private method should be used whenever clientScale_ setting is changed
    - //instead of calling clientScale_.setSelection directly.
    - private void setClientScale(int setting)
    - {
    - clientScale_.setSelection(setting);
    - clientScaleSetting_ = setting;
    - }
    -
    - protected void initImageRegistry()
    - {
    - imageReg_ = new ImageRegistry(Display.getCurrent());
    -
    - imageReg_.put(ICON_SCALE_BG_0, WebServiceConsumptionUIPlugin
    - .getImageDescriptor(ICON_SCALE_BG_0));
    - imageReg_.put(ICON_SCALE_BG_1, WebServiceConsumptionUIPlugin
    - .getImageDescriptor(ICON_SCALE_BG_1));
    - imageReg_.put(ICON_SCALE_BG_2, WebServiceConsumptionUIPlugin
    - .getImageDescriptor(ICON_SCALE_BG_2));
    - imageReg_.put(ICON_SCALE_BG_3, WebServiceConsumptionUIPlugin
    - .getImageDescriptor(ICON_SCALE_BG_3));
    - imageReg_.put(ICON_SCALE_BG_4, WebServiceConsumptionUIPlugin
    - .getImageDescriptor(ICON_SCALE_BG_4));
    - imageReg_.put(ICON_SCALE_BG_5, WebServiceConsumptionUIPlugin
    - .getImageDescriptor(ICON_SCALE_BG_5));
    - imageReg_.put(ICON_SCALE_BG_6, WebServiceConsumptionUIPlugin
    - .getImageDescriptor(ICON_SCALE_BG_6));
    -
    - imageReg_.put(GRAPHIC_CLIENT_0, WebServiceConsumptionUIPlugin
    - .getImageDescriptor(GRAPHIC_CLIENT_0));
    - imageReg_.put(GRAPHIC_CLIENT_1, WebServiceConsumptionUIPlugin
    - .getImageDescriptor(GRAPHIC_CLIENT_1));
    - imageReg_.put(GRAPHIC_CLIENT_2, WebServiceConsumptionUIPlugin
    - .getImageDescriptor(GRAPHIC_CLIENT_2));
    - imageReg_.put(GRAPHIC_CLIENT_3, WebServiceConsumptionUIPlugin
    - .getImageDescriptor(GRAPHIC_CLIENT_3));
    - imageReg_.put(GRAPHIC_CLIENT_4, WebServiceConsumptionUIPlugin
    - .getImageDescriptor(GRAPHIC_CLIENT_4));
    - imageReg_.put(GRAPHIC_CLIENT_5, WebServiceConsumptionUIPlugin
    - .getImageDescriptor(GRAPHIC_CLIENT_5));
    - imageReg_.put(GRAPHIC_CLIENT_6, WebServiceConsumptionUIPlugin
    - .getImageDescriptor(GRAPHIC_CLIENT_6));
    - }
    -
    - private void setGraphics(int selection)
    - {
    - String iconImage = "";
    - String topologyImage = "";
    -
    - //TODO: change the hard coded integers here to the the ScenarioContext.WS_xxx when in less critical phase
    - switch (selection) {
    - case 0:
    - iconImage=ICON_SCALE_BG_0;
    - topologyImage=GRAPHIC_CLIENT_0;
    - clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_TEST);
    - break;
    - case 1:
    - iconImage=ICON_SCALE_BG_1;
    - topologyImage=GRAPHIC_CLIENT_1;
    - clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_RUN);
    - break;
    - case 2:
    - iconImage=ICON_SCALE_BG_2;
    - topologyImage=GRAPHIC_CLIENT_2;
    - clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_INSTALL);
    - break;
    - case 3:
    - iconImage=ICON_SCALE_BG_3;
    - topologyImage=GRAPHIC_CLIENT_3;
    - clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_DEPLOY);
    - break;
    - case 4:
    - iconImage=ICON_SCALE_BG_4;
    - topologyImage=GRAPHIC_CLIENT_4;
    - clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_ASSEMBLE);
    - break;
    - case 5:
    - iconImage=ICON_SCALE_BG_5;
    - topologyImage=GRAPHIC_CLIENT_5;
    - clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_DEVELOP);
    - break;
    - case 6:
    - if (!clientOnly_)
    - {
    - if (enableProxy_) //if service is install run or test...
    - iconImage=ICON_SCALE_BG_6;
    - else
    - iconImage=null;
    - topologyImage=GRAPHIC_CLIENT_6;
    - clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_CLIENT);
    - }
    - else
    - {
    - setClientScale(ScenarioContext.WS_DEVELOP); //"no selection" is not allowed...must develop client @ minimum
    - iconImage=ICON_SCALE_BG_5;
    - topologyImage=GRAPHIC_CLIENT_5;
    - clientScale_.setToolTipText(ConsumptionUIMessages.TOOLTIP_WSWSCEN_SCALE_DEVELOP);
    - }
    - break;
    - default:
    - break;
    - }
    - clientScale_.setBackgroundImage(imageReg_.get(iconImage));
    - topologySpot_.setImage(imageReg_.get(topologyImage));
    - }
    -
    - public IStructuredSelection getObjectSelection()
    - {
    - return objectSelection_;
    - }
    -
    - public void setObjectSelection(IStructuredSelection selection)
    - {
    - objectSelection_ = selection;
    - }
    -
    - public int getClientGeneration()
    - {
    - return clientScaleSetting_;
    - }
    -
    - public void setClientGeneration(int value)
    - {
    - if (clientOnly_ && value == ScenarioContext.WS_NONE) {
    - value = ScenarioContext.WS_DEVELOP;
    - setDevelopClient(true);
    - }
    -
    - clientScaleSetting_ = value;
    - setClientScale(value);
    -
    - setGraphics(value);
    - showSummary(value < ScenarioContext.WS_NONE);
    - }
    -
    - public void setProject(IProject project)
    - {
    - project_ = project;
    - }
    -
    - public IProject getProject()
    - {
    - return project_;
    - }
    -
    - public String getClientRuntimeId()
    - {
    - // calculate the most appropriate clientRuntimeId based on current settings.
    - return WebServiceRuntimeExtensionUtils2.getClientRuntimeId(getTypeRuntimeServer(), getClientProjectName(), getClientComponentType());
    -
    - }
    -
    - public void setClientComponentType(String type)
    - {
    - clientComponentType_= type;
    - }
    -
    - public String getClientComponentType()
    - {
    - return clientComponentType_;
    - }
    -
    - public void setClientProjectName(String name)
    - {
    - projectName_ = name;
    - hLinkClientProject_.setText(CLIENT_PROJECT_PREFIX + " " + projectName_);
    - hLinkClientProject_.pack(true);
    - packIt();
    - }
    -
    - public String getClientProjectName()
    - {
    - if (projectName_ == null)
    - return "";
    - return projectName_;
    - }
    -
    - public void setClientEarProjectName(String name)
    - {
    - earProjectName_ = name;
    - refreshEARLink();
    -
    - }
    -
    - public void refreshEARLink()
    - {
    - hLinkClientEAR_.setVisible(needEar_ && getGenerateProxy());
    - if (needEar_)
    - {
    - hLinkClientEAR_.setText(CLIENT_EAR_PREFIX + " " + earProjectName_);
    - hLinkClientEAR_.pack(true);
    - packIt();
    - }
    - }
    -
    - public String getClientEarProjectName()
    - {
    - if (earProjectName_ == null)
    - return "";
    - return earProjectName_;
    - }
    -
    - public void setClientNeedEAR(boolean b)
    - {
    - needEar_ = b;
    - refreshEARLink();
    - }
    -
    - public boolean getClientNeedEAR()
    - {
    - return needEar_;
    - }
    -
    - public WebServicesParser getWebServicesParser()
    - {
    - return parser_;
    - }
    -
    - public void setWebServicesParser(WebServicesParser parser)
    - {
    - parser_ = parser;
    - }
    -
    - //for the purposes of disabling the service implementation controls from the preferences dialog
    - public void disableNonPreferenceWidgets()
    - {
    - if (hCompClient_ != null)
    - {
    - hCompClient_.setVisible(false);
    - }
    - }
    -
    - public int getValidationState()
    - {
    - return validationState_;
    - }
    -
    - public void setValidationState(int state)
    - {
    - validationState_ = state;
    - }
    -
    - public IStatus checkMissingFieldStatus() {
    -
    - ValidationUtils valUtils = new ValidationUtils();
    - String runtimeId = getTypeRuntimeServer().getRuntimeId();
    - String serverId = getTypeRuntimeServer().getServerId();
    - String projectName = getClientProjectName();
    - boolean needEar = getClientNeedEAR();
    - String earProjectName = getClientEarProjectName();
    - String projectTypeId = getClientComponentType();
    - IStatus missingFieldStatus = valUtils.checkMissingFieldStatus(validationState_, null, null, runtimeId, serverId,
    - projectName, needEar, earProjectName, projectTypeId, true);
    - return missingFieldStatus;
    - }
    -
    - public IStatus checkErrorStatus() {
    -
    - ValidationUtils valUtils = new ValidationUtils();
    - String runtimeId = getTypeRuntimeServer().getRuntimeId();
    - String serverId = getTypeRuntimeServer().getServerId();
    - String typeId = getTypeRuntimeServer().getTypeId();
    - String projectName = getClientProjectName();
    - boolean needEar = getClientNeedEAR();
    - String earProjectName = getClientEarProjectName();
    - String projectTypeId = getClientComponentType();
    - IStatus possibleErrorStatus = valUtils.checkErrorStatus(validationState_, typeId, runtimeId, serverId,
    - projectName, needEar, earProjectName, projectTypeId, true);
    - return possibleErrorStatus;
    - }
    -
    - public IStatus checkWarningStatus() {
    - ValidationUtils valUtils = new ValidationUtils();
    -
    - int scaleSetting = getClientGeneration();
    - String serverId = getTypeRuntimeServer().getServerId();
    - IStatus warningStatus = valUtils.checkWarningStatus(validationState_, scaleSetting, serverId, true);
    - return warningStatus;
    - }
    -
    -
    - private class ScaleSelectionListener implements SelectionListener
    - {
    - public void widgetSelected(SelectionEvent e) {
    - int oldClientScaleSetting = clientScaleSetting_;
    -
    - setGraphics(((Scale)e.widget).getSelection());
    -
    - int selection = clientScale_.getSelection();
    - setClientGeneration(selection);
    -
    - setDevelopClient(selection <= ScenarioContext.WS_DEVELOP);
    - setAssembleClient(selection <= ScenarioContext.WS_ASSEMBLE);
    - setDeployClient(selection <= ScenarioContext.WS_DEPLOY);
    - setTestClient(new Boolean(selection <= ScenarioContext.WS_TEST));
    - setInstallClient(new Boolean(selection <= ScenarioContext.WS_INSTALL));
    - setStartClient(new Boolean(selection <= ScenarioContext.WS_START));
    -
    - //disable the client settings if the client scenario setting isn't at least "DEVELOP"
    - boolean generate = selection<=ScenarioContext.WS_DEVELOP;
    - showSummary(generate);
    -
    -
    - //When client slider moves out of the "WS_NONE" state, VALIDATE_ALL should be done.
    - //Otherwise, VALIDATE_SCALE_CHANGES is sufficient.
    - if (oldClientScaleSetting==ScenarioContext.WS_NONE && clientScaleSetting_!=ScenarioContext.WS_NONE)
    - {
    - validationState_ = ValidationUtils.VALIDATE_ALL;
    - }
    - else
    - {
    - validationState_ = (new ValidationUtils()).getNewValidationState(validationState_, ValidationUtils.VALIDATE_SCALE_CHANGES);
    - }
    - statusListener_.handleEvent(null); //validate the page
    - }
    -
    -
    - public void widgetDefaultSelected(SelectionEvent e) {
    - widgetSelected(e);
    - }
    - }
    -
    - private void refreshServerRuntimeSelection()
    - {
    - //new up ServerRuntimeSelectionWidgetDefaultingCommand
    - ClientRuntimeSelectionWidgetDefaultingCommand clientRTDefaultCmd = new ClientRuntimeSelectionWidgetDefaultingCommand();
    -
    - //call setters of new defaulting command:
    - clientRTDefaultCmd.setClientInitialSelection(getObjectSelection());
    - clientRTDefaultCmd.setClientInitialProject(getProject());
    - clientRTDefaultCmd.setClientTypeRuntimeServer(getTypeRuntimeServer());
    - clientRTDefaultCmd.setWebServicesParser(getWebServicesParser());
    - clientRTDefaultCmd.setClientEarProjectName(getClientEarProjectName());
    -
    - clientRTDefaultCmd.execute(null, null);
    -
    - //perform mappings from the defaulting command to the project settings...
    - setClientProjectName(clientRTDefaultCmd.getClientProjectName());
    - setClientEarProjectName(clientRTDefaultCmd.getClientEarProjectName());
    - setClientComponentType(clientRTDefaultCmd.getClientComponentType());
    - setTypeRuntimeServer(clientRTDefaultCmd.getClientTypeRuntimeServer());
    - setClientNeedEAR(clientRTDefaultCmd.getClientNeedEAR());
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ClientWidgetBinding.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ClientWidgetBinding.java
    deleted file mode 100644
    index 49b54a4a9..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ClientWidgetBinding.java
    +++ /dev/null
    @@ -1,466 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060204 121605 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060223 129020 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060406 135350 kathy@ca.ibm.com - Kathy Chan
    - * 20060407 135415 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060425 138052 kathy@ca.ibm.com - Kathy Chan
    - * 20060517 141880 pmoogk@ca.ibm.com - Peter Moogk
    - * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    - * 20060530 144358 kathy@ca.ibm.com - Kathy Chan
    - * 20060530 141422 kathy@ca.ibm.com - Kathy Chan
    - * 20060717 146332 makandre@ca.ibm.com - Andrew Mak
    - * 20060728 145426 kathy@ca.ibm.com - Kathy Chan
    - * 20060821 153833 makandre@ca.ibm.com - Andrew Mak, Allow the Web Service Test extension point to specify the supported client runtime
    - * 20060825 155114 pmoogk@ca.ibm.com - Peter Moogk
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;
    -
    -import org.eclipse.jst.ws.internal.consumption.command.common.GetMonitorCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.CheckForServiceProjectCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.data.EclipseIPath2URLStringTransformer;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.FinishFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.ScenarioCleanupCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.extension.ClientRootFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.extension.PreClientDevelopCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidget;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetOutputCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.WSDLSelectionWidgetDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionOutputCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestDelegateCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestWidget;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.FinishDefaultCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.FinishTestFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.TestDefaultingFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WebServiceClientTestArrivalCommand;
    -import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
    -import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SelectionCommand;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
    -import org.eclipse.wst.ws.internal.extensions.AssembleClientFragment;
    -import org.eclipse.wst.ws.internal.extensions.DeployClientFragment;
    -import org.eclipse.wst.ws.internal.extensions.DevelopClientFragment;
    -import org.eclipse.wst.ws.internal.extensions.InstallClientFragment;
    -import org.eclipse.wst.ws.internal.extensions.RunClientFragment;
    -
    -
    -public class ClientWidgetBinding implements CommandWidgetBinding
    -{
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#create()
    - */
    - public CommandFragmentFactory create()
    - {
    - return new CommandFragmentFactory()
    - {
    - public CommandFragment create()
    - {
    - return new ClientRootCommandFragment();
    - }
    - };
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
    - */
    - public void registerCanFinish(CanFinishRegistry canFinishRegistry)
    - {
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
    - */
    - public void registerDataMappings(DataMappingRegistry dataRegistry)
    - {
    - //jvh mapping for initialselection????
    -
    - // Before ClientWizardWidget
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientWizardWidget.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "InstallClient", ClientWizardWidget.class );
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "TestService", ClientWizardWidget.class );
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "MonitorService", ClientWizardWidget.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ClientGeneration", ClientWizardWidget.class );
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ResourceContext", ClientWizardWidget.class );
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "DevelopClient", ClientWizardWidget.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "AssembleClient", ClientWizardWidget.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "DeployClient", ClientWizardWidget.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "StartClient", ClientWizardWidget.class);
    -
    - // After ClientWizardWidget
    - dataRegistry.addMapping(ClientWizardWidget.class, "ClientTypeRuntimeServer", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "InstallClient", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "TestService", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "MonitorService", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "ResourceContext", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "ClientProjectName", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "DevelopClient", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "AssembleClient", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "DeployClient", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "StartClient", ClientWizardWidgetOutputCommand.class);
    -
    - //jvh added..
    - dataRegistry.addMapping(ClientWizardWidget.class, "Project", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "WebServicesParser", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "WsdlURI", ClientWizardWidgetOutputCommand.class);
    -
    - //jvh - rerouted the defaulting command to the ClientWizardWidget
    - // Before ClientRuntimeSelectionWidget
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientWizardWidget.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", ClientWizardWidget.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", ClientWizardWidget.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentType", ClientWizardWidget.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientNeedEAR", ClientWizardWidget.class);
    -
    - //jvh - rerouted from ClientWizardWidget instead of runtimeserverwidget- add getters to ClientWizardWidget for them
    - // After ClientRuntimeSelectionWidget
    - dataRegistry.addMapping(ClientWizardWidget.class, "ClientTypeRuntimeServer", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "ClientRuntimeId", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "ClientProjectName", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "ClientEarProjectName", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "ClientComponentType", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidget.class, "ClientNeedEAR", ClientExtensionDefaultingCommand.class);
    -
    - // Before WSDLSelectionWidgetWrapper
    - // jvh - rerouted these to ClientWizardWidget
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WebServiceURI", ClientWizardWidget.class );
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "Project", ClientWizardWidget.class );
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "ComponentName", ClientWizardWidget.class );
    -
    -/* // After WSDLSelectionWidgetWrapper
    - //jvh - reroute these from the dialog to ClientWizardWidget - call setters on the other dialogs...
    - dataRegistry.addMapping(WSDLSelectionWidgetWrapper.class, "WsdlURI", WSDLSelectionOutputCommand.class);
    - dataRegistry.addMapping(WSDLSelectionWidgetWrapper.class, "WebServicesParser", WSDLSelectionOutputCommand.class);
    - dataRegistry.addMapping(WSDLSelectionWidgetWrapper.class, "Project", WSDLSelectionOutputCommand.class);
    - dataRegistry.addMapping(WSDLSelectionWidgetWrapper.class, "ComponentName", WSDLSelectionOutputCommand.class);
    -*/
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "GenerateProxy",TestDefaultingFragment.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientRuntimeId",TestDefaultingFragment.class);
    -
    - // Before Client Test widget.
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService",FinishTestFragment.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService", ClientTestWidget.class );
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "RunTestClient", FinishTestFragment.class );
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "RunTestClient", ClientTestWidget.class );
    - dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ClientTestWidget.class );
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProject", ClientTestWidget.class );
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProjectEAR", ClientTestWidget.class );
    - dataRegistry.addMapping(TestDefaultingFragment.class, "TestFacility",ClientTestWidget.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Folder",ClientTestWidget.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "JspFolder",ClientTestWidget.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "RunTestClient",ClientTestWidget.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Methods",ClientTestWidget.class);
    -
    - // After the client test widget
    - dataRegistry.addMapping(ClientTestWidget.class, "SampleProjectEAR",FinishDefaultCommand.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "SampleProject",FinishDefaultCommand.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "TestFacility",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "Folder",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "JspFolder",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "RunTestClient",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "Methods",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "TestService",FinishTestFragment.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "TestID",FinishTestFragment.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "IsTestWidget",FinishTestFragment.class);
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
    - */
    - public void registerWidgetMappings(WidgetRegistry widgetRegistry)
    - {
    -
    - widgetRegistry.add( "ClientWizardWidget",
    - ConsumptionUIMessages.PAGE_TITLE_WS_PROJECT,
    - ConsumptionUIMessages.PAGE_DESC_WS_PROJECT,
    - new WidgetContributorFactory()
    - {
    - public WidgetContributor create()
    - {
    - return new ClientWizardWidget();
    - }
    - } );
    -
    - //jvh
    - /*widgetRegistry.add( "ClientRuntimeSelectionWidget",
    - ConsumptionUIMessages.PAGE_TITLE_WS_CLIENT_RUNTIME_SELECTION,
    - ConsumptionUIMessages.PAGE_DESC_WS_CLIENT_RUNTIME_SELECTION,
    - new WidgetContributorFactory()
    - {
    - public WidgetContributor create()
    - {
    - return new ClientRuntimeSelectionWidget();
    - }
    - } );*/
    -
    - //jvh
    - /*widgetRegistry.add( "WSDLSelectionWidgetWrapper",
    - ConsumptionUIMessages.PAGE_TITLE_WS_SELECTION,
    - ConsumptionUIMessages.PAGE_DESC_WS_SELECTION,
    - new WidgetContributorFactory()
    - {
    - public WidgetContributor create()
    - {
    - return new WSDLSelectionWidgetWrapper();
    - }
    - } );*/
    -
    - widgetRegistry.add( "ClientTestWidget",
    - ConsumptionUIMessages.PAGE_TITLE_WS_SAMPLE,
    - ConsumptionUIMessages.PAGE_DESC_WS_SAMPLE,
    - new WidgetContributorFactory()
    - {
    - public WidgetContributor create()
    - {
    - return new ClientTestWidget();
    - }
    - });
    - }
    -
    - private class ClientRootCommandFragment extends SequenceFragment
    - {
    - public ClientRootCommandFragment()
    - {
    - add( new SimpleFragment( new ScenarioCleanupCommand(), "" ));
    -
    - //add( new SimpleFragment( new CheckForMissingFiles(), "" ) );
    - add( new SimpleFragment( new ClientWizardWidgetDefaultingCommand(true), "" ) );
    - add( new SimpleFragment( new WSDLSelectionWidgetDefaultingCommand(), "")); //jvh moved this up
    - add( new SimpleFragment( new ClientRuntimeSelectionWidgetDefaultingCommand(), "")); //jvh moved this up
    - add( new SimpleFragment( "ClientWizardWidget" ) );
    - //add( new TestCommandFactoryFragment() );
    - add( new SimpleFragment( new ClientWizardWidgetOutputCommand(), "" ));
    -
    - //add( new TestCommandFactoryFragment2() );
    - //add( new SimpleFragment( new CheckForServiceProjectCommand(), ""));
    - add( new SimpleFragment( new ClientExtensionDefaultingCommand( true ), ""));
    - //add(new SimpleFragment(new ClientServerDeployableConfigCommand(false), "")); //Note: added here for client
    - //add( new ClientExtensionFragment() );
    - add( new ClientRootFragment() );
    - add( new SimpleFragment( new ClientExtensionOutputCommand(), "" ) );
    - add( new SimpleFragment(new GetMonitorCommand(), ""));
    - add( new SimpleFragment(new TestDefaultingFragment(),""));
    - add( new ClientTestFragment( "ClientTestWidget") );
    - add(new FinishFragment());
    -
    - add( new SimpleFragment( new ScenarioCleanupCommand(), "" ));
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
    - */
    - public void registerDataMappings(DataMappingRegistry dataRegistry)
    - {
    - //Map SelectionCommand
    - dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ClientRuntimeSelectionWidgetDefaultingCommand.class, "InitialInitialSelection", null);
    -
    - // Map ClientWizardWidgetDefaultingCommand command.
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "InstallClient", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "TestService", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "RunTestClient", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "MonitorService", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ResourceContext", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "DevelopClient", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "AssembleClient", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "DeployClient", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "StartClient", ClientWizardWidgetOutputCommand.class);
    -
    -
    - // Map ClientWizardWidgetOutputCommand command.
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ResourceContext", ClientRuntimeSelectionWidgetDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientRuntimeSelectionWidgetDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "InstallClient", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "RunTestClient", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "TestService", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "TestService", ClientRuntimeSelectionWidgetDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "StartClient", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "DevelopClient", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "AssembleClient", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "DeployClient", ClientExtensionDefaultingCommand.class);
    -
    -
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "ResourceContext", ClientRuntimeSelectionWidgetDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "ResourceContext", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "MonitorService", GetMonitorCommand.class);
    -
    - // Map ClientRuntimeSelectionWidgetDefaultingCommand command
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientRuntimeId", ClientExtensionDefaultingCommand.class);
    - //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "Runtime2ClientTypes", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", ClientExtensionDefaultingCommand.class);
    - //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarComponentName", ClientExtensionDefaultingCommand.class);
    - //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentName", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentType", ClientExtensionDefaultingCommand.class);
    - //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientJ2EEVersion", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientNeedEAR", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", CheckForServiceProjectCommand.class);
    -
    - // Map WSDLSelectionWidgetDefaultingCommand command.
    - dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", WSDLSelectionWidgetDefaultingCommand.class );
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "Project", ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientInitialProject", null);
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WebServiceURI", ClientRuntimeSelectionWidgetDefaultingCommand.class, "WsdlURI", new EclipseIPath2URLStringTransformer());
    -
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "GenWSIL", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WsilURI", ClientExtensionDefaultingCommand.class);
    - //jvh - rerouted these to the ClientWizardWidgetOutputCommand
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WebServiceURI", ClientWizardWidgetOutputCommand.class, "WsdlURI", new EclipseIPath2URLStringTransformer());
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "Project", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "ComponentName", ClientWizardWidgetOutputCommand.class);
    -
    - // WSDLSelectionOutputCommand
    - //jvh - rerouted these from ClientWizardWidgetOutputCommand
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "WsdlURI", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "WebServicesParser", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "WsdlURI", GetMonitorCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "WebServicesParser", GetMonitorCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "WsdlURI", CheckForServiceProjectCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "WebServicesParser", CheckForServiceProjectCommand.class);
    -
    -
    - //jvh - add code to widget so that the appropriate sets happen and defaulting occurs again after object selection
    - /*dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "Project", ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientInitialProject", null);
    - dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WsdlURI", ClientRuntimeSelectionWidgetDefaultingCommand.class);
    - dataRegistry.addMapping(WSDLSelectionOutputCommand.class, "WebServicesParser", ClientRuntimeSelectionWidgetDefaultingCommand.class);*/
    -
    - // Setup the PreClientDevelopCommand.
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "DeployClient", PreClientDevelopCommand.class);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "InstallClient", PreClientDevelopCommand.class);
    -
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "DevelopClient", PreClientDevelopCommand.class);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "AssembleClient", PreClientDevelopCommand.class);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "StartClient", PreClientDevelopCommand.class, "StartService", null);
    -
    -
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "TestService", PreClientDevelopCommand.class);
    - dataRegistry.addMapping( ClientWizardWidgetOutputCommand.class, "ResourceContext", PreClientDevelopCommand.class);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", PreClientDevelopCommand.class );
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientJ2EEVersion", PreClientDevelopCommand.class);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProject", PreClientDevelopCommand.class, "Module", null );
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProjectType", PreClientDevelopCommand.class, "ModuleType", null);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProjectEAR", PreClientDevelopCommand.class, "Ear", null );
    - dataRegistry.addMapping( ClientWizardWidgetOutputCommand.class, "ResourceContext", PreClientDevelopCommand.class);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "WsdlURI", PreClientDevelopCommand.class );
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientRuntimeId", PreClientDevelopCommand.class );
    -
    - dataRegistry.addMapping( PreClientDevelopCommand.class, "WebService", ClientExtensionOutputCommand.class, "WebServiceClient", null );
    -
    - // Map ClientExtensionDefaultingCommand command.
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", ClientExtensionFragment.class);
    -
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProjectEAR", WebServiceClientTestArrivalCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProject", WebServiceClientTestArrivalCommand.class);
    -
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "GenerateProxy", ClientTestFragment.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService", ClientTestFragment.class );
    -
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientNeedEAR", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientEarProjectName", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientEarProjectName", ClientTestDelegateCommand.class,"ClientEarComponentName", null);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProject",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "RunTestClient",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientServer", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "WsdlURI", ClientTestDelegateCommand.class);
    -
    - // Map ClientExtensionOutputCommand command.
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ProxyBean", WebServiceClientTestArrivalCommand.class);
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ProxyBean", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ProxyEndpoint", GetMonitorCommand.class);
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "GenerateProxy", ClientTestFragment.class);
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "GenerateProxy", FinishTestFragment.class);
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "SetEndpointMethod", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ServerInstanceId", FinishDefaultCommand.class);
    -
    -
    - // GetMonitorCommand
    - dataRegistry.addMapping(GetMonitorCommand.class, "Endpoints", ClientTestDelegateCommand.class);
    -
    - // MAP post server config call
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProjectEAR", ClientExtensionOutputCommand.class, "EarProjectName", null);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientServerInstance", ClientExtensionOutputCommand.class, "ExistingServerId", null);
    -
    - // Map WebServiceClientTestArrivalCommand command.
    - dataRegistry.addMapping(TestDefaultingFragment.class, "TestFacility",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "TestFacility",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Folder",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "JspFolder",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "RunClientTest",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Methods",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProject",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProjectEAR",ClientTestDelegateCommand.class);
    -
    -
    - //Mappings to enable peek-ahead for Page 3 of the client wizard
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", DevelopClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", DevelopClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", DevelopClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", DevelopClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", DevelopClientFragment.class, "Project", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", DevelopClientFragment.class, "Module", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", DevelopClientFragment.class, "EarProject", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", DevelopClientFragment.class, "Ear", null );
    -
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", AssembleClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", AssembleClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", AssembleClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", AssembleClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", AssembleClientFragment.class, "Project", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", AssembleClientFragment.class, "Module", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", AssembleClientFragment.class, "EarProject", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", AssembleClientFragment.class, "Ear", null );
    -
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", DeployClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", DeployClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", DeployClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", DeployClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", DeployClientFragment.class, "Project", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", DeployClientFragment.class, "Module", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", DeployClientFragment.class, "EarProject", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", DeployClientFragment.class, "Ear", null );
    -
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", InstallClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", InstallClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", InstallClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", InstallClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", InstallClientFragment.class, "Project", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", InstallClientFragment.class, "Module", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", InstallClientFragment.class, "EarProject", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", InstallClientFragment.class, "Ear", null );
    -
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "WebService", RunClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Environment", RunClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Context", RunClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "Selection", RunClientFragment.class );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", RunClientFragment.class, "Project", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", RunClientFragment.class, "Module", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", RunClientFragment.class, "EarProject", null );
    - dataRegistry.addMapping( ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", RunClientFragment.class, "Ear", null );
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigClientHandlersWidgetBinding.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigClientHandlersWidgetBinding.java
    deleted file mode 100644
    index 16b3fa8a0..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigClientHandlersWidgetBinding.java
    +++ /dev/null
    @@ -1,140 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060517 142339 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.GenerateHandlerSkeletonCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.OpenJavaEditorCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientHandlersWidgetDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientHandlersWidgetOutputCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ConfigClientHandlersTableWidget;
    -import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
    -import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SelectionCommand;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
    -
    -
    -/**
    - *
    - * Handler Configuration Window - Preferences - Java - Code Generation - Code
    - * and Comments
    - */
    -public class ConfigClientHandlersWidgetBinding implements CommandWidgetBinding
    -{
    -
    - /*
    - * (non-Javadoc)
    - *
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
    - */
    - public void registerWidgetMappings(WidgetRegistry widgetRegistry) {
    -
    - widgetRegistry.add("ConfigClientHandlersTableWidget",
    - ConsumptionUIMessages.PAGE_TITLE_CLIENT_HDLR_CONFIG,
    - ConsumptionUIMessages.PAGE_DESC_CLIENT_HDLR_CONFIG,
    - new WidgetContributorFactory() {
    -
    - public WidgetContributor create() {
    - return new ConfigClientHandlersTableWidget();
    - }
    - });
    -
    - }
    -
    - /*
    - * (non-Javadoc)
    - *
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
    - */
    - public void registerDataMappings(DataMappingRegistry dataRegistry) {
    -
    - // widget
    - dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"HandlerServiceRefHolder", ConfigClientHandlersTableWidget.class);
    - dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"IsMultipleSelection", ConfigClientHandlersTableWidget.class);
    - dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"GenSkeletonEnabled", ConfigClientHandlersTableWidget.class);
    - dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"ServiceRefName", ConfigClientHandlersTableWidget.class);
    -
    - // output
    - dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"IsMultipleSelection", ClientHandlersWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"ClientProject", ClientHandlersWidgetOutputCommand.class);
    - dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"HandlerServiceRefHolder", ClientHandlersWidgetOutputCommand.class);
    -
    - // gen skeleton
    - dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"HandlerServiceRefHolder", GenerateHandlerSkeletonCommand.class);
    - dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"GenSkeletonEnabled", GenerateHandlerSkeletonCommand.class);
    -
    - // open in editor
    - dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"Project", OpenJavaEditorCommand.class);
    - dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"ClassNames", OpenJavaEditorCommand.class);
    - dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"GenSkeletonEnabled", OpenJavaEditorCommand.class,"IsEnabled", null);
    -
    - }
    -
    - /*
    - * (non-Javadoc)
    - *
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
    - */
    - public void registerCanFinish(CanFinishRegistry canFinishRegistry) {
    -
    - }
    -
    - /*
    - * (non-Javadoc)
    - *
    - * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactoryFactory#create()
    - */
    - public CommandFragmentFactory create() {
    - return new CommandFragmentFactory() {
    -
    - public CommandFragment create() {
    -
    - return new ClientHandlersConfigCommandFragment();
    - }
    - };
    - }
    -
    - private class ClientHandlersConfigCommandFragment extends SequenceFragment{
    -
    - public ClientHandlersConfigCommandFragment()
    - {
    - add( new SimpleFragment( new ClientHandlersWidgetDefaultingCommand(), "" ));
    - add( new SimpleFragment( "ConfigClientHandlersTableWidget" ) );
    - add( new SimpleFragment( new ClientHandlersWidgetOutputCommand(), "" ));
    - add( new SimpleFragment( new GenerateHandlerSkeletonCommand(), ""));
    - add( new SimpleFragment( new OpenJavaEditorCommand(), ""));
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
    - */
    - public void registerDataMappings(DataMappingRegistry dataRegistry)
    - {
    - dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ClientHandlersWidgetDefaultingCommand.class);
    -
    - dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"WsServiceRefs", ClientHandlersWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"ClientProject", ClientHandlersWidgetOutputCommand.class);
    - }
    -
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigServiceHandlersWidgetBinding.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigServiceHandlersWidgetBinding.java
    deleted file mode 100644
    index 452747b69..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigServiceHandlersWidgetBinding.java
    +++ /dev/null
    @@ -1,139 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.GenerateHandlerSkeletonCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.OpenJavaEditorCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ConfigServiceHandlersTableWidget;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ServiceHandlersWidgetDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ServiceHandlersWidgetOutputCommand;
    -import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
    -import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SelectionCommand;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
    -
    -
    -/**
    - *
    - * Handler Configuration Window - Preferences - Java - Code Generation - Code
    - * and Comments
    - */
    -public class ConfigServiceHandlersWidgetBinding implements CommandWidgetBinding {
    -
    - /*
    - * (non-Javadoc)
    - *
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
    - */
    - public void registerWidgetMappings(WidgetRegistry widgetRegistry) {
    -
    - widgetRegistry.add("ConfigServiceHandlersTableWidget",
    - ConsumptionUIMessages.PAGE_TITLE_SERVICE_HDLR_CONFIG,
    - ConsumptionUIMessages.PAGE_DESC_SERVICE_HDLR_CONFIG,
    - new WidgetContributorFactory() {
    -
    - public WidgetContributor create() {
    - return new ConfigServiceHandlersTableWidget();
    - }
    - });
    -
    - }
    -
    - /*
    - * (non-Javadoc)
    - *
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
    - */
    - public void registerDataMappings(DataMappingRegistry dataRegistry) {
    -
    - // widget
    - dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"HandlerDescriptionHolders", ConfigServiceHandlersTableWidget.class);
    - dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class, "IsMultipleSelection", ConfigServiceHandlersTableWidget.class);
    - dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"GenSkeletonEnabled", ConfigServiceHandlersTableWidget.class);
    - dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"DescriptionName", ConfigServiceHandlersTableWidget.class);
    -
    - // output command (adds/removes from model)
    - dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"HandlerDescriptionHolders", ServiceHandlersWidgetOutputCommand.class);
    - dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class, "IsMultipleSelection", ServiceHandlersWidgetOutputCommand.class);
    - dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"WsddResource", ServiceHandlersWidgetOutputCommand.class);
    -
    - // gen skeleton command
    - dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"HandlerDescriptionHolders", GenerateHandlerSkeletonCommand.class);
    - dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"GenSkeletonEnabled", GenerateHandlerSkeletonCommand.class);
    -
    - // open Java editor
    - dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"Project", OpenJavaEditorCommand.class);
    - dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"ClassNames", OpenJavaEditorCommand.class);
    - dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"GenSkeletonEnabled", OpenJavaEditorCommand.class,"IsEnabled", null);
    - }
    -
    - /*
    - * (non-Javadoc)
    - *
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
    - */
    - public void registerCanFinish(CanFinishRegistry canFinishRegistry) {
    -
    - }
    -
    - /*
    - * (non-Javadoc)
    - *
    - * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactoryFactory#create()
    - */
    - public CommandFragmentFactory create() {
    - return new CommandFragmentFactory() {
    -
    - public CommandFragment create() {
    -
    - return new ServiceHandlersConfigCommandFragment();
    - }
    - };
    - }
    -
    - private class ServiceHandlersConfigCommandFragment extends SequenceFragment{
    -
    - public ServiceHandlersConfigCommandFragment()
    - {
    - add( new SimpleFragment( new ServiceHandlersWidgetDefaultingCommand(), "" ));
    - add( new SimpleFragment( "ConfigServiceHandlersTableWidget" ) );
    - add( new SimpleFragment( new ServiceHandlersWidgetOutputCommand(), "" ));
    - add( new SimpleFragment( new GenerateHandlerSkeletonCommand(), ""));
    - add( new SimpleFragment( new OpenJavaEditorCommand(), ""));
    -
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
    - */
    - public void registerDataMappings(DataMappingRegistry dataRegistry)
    - {
    - dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ServiceHandlersWidgetDefaultingCommand.class);
    -
    - dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class, "WsddResource", ServiceHandlersWidgetOutputCommand.class);
    -
    -
    - }
    -
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigureHandlersWidgetBinding.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigureHandlersWidgetBinding.java
    deleted file mode 100644
    index 53969b4b9..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ConfigureHandlersWidgetBinding.java
    +++ /dev/null
    @@ -1,256 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004,2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060404 134913 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.GenerateHandlerSkeletonCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.OpenJavaEditorCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientHandlersWidgetDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientHandlersWidgetOutputCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ConfigClientHandlersTableWidget;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ConfigServiceHandlersTableWidget;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.HandlersDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ServiceHandlersWidgetDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ServiceHandlersWidgetOutputCommand;
    -import org.eclipse.wst.command.internal.env.core.common.Condition;
    -import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
    -import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SelectionCommand;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
    -
    -
    -public class ConfigureHandlersWidgetBinding implements CommandWidgetBinding {
    -
    -
    - public ConfigureHandlersWidgetBinding() {
    -
    - }
    -
    - /*
    - * (non-Javadoc)
    - *
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#create()
    - */
    - public CommandFragmentFactory create() {
    - return new CommandFragmentFactory() {
    -
    - public CommandFragment create() {
    - return new HandlersCommandFragment();
    - }
    - };
    - }
    -
    - /*
    - * (non-Javadoc)
    - *
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
    - */
    - public void registerCanFinish(CanFinishRegistry canFinishRegistry) {
    - }
    -
    - /*
    - * (non-Javadoc),
    - *
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
    - */
    - public void registerDataMappings(DataMappingRegistry dataRegistry) {
    -
    - // Map client-side widgets to commands
    - // widget
    - dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"HandlerServiceRefHolder", ConfigClientHandlersTableWidget.class);
    - dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"IsMultipleSelection", ConfigClientHandlersTableWidget.class);
    - dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"GenSkeletonEnabled", ConfigClientHandlersTableWidget.class);
    - dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"ServiceRefName", ConfigClientHandlersTableWidget.class);
    -
    - // output
    -
    - dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"HandlerServiceRefHolder", ClientHandlersWidgetOutputCommand.class);
    -
    - // gen skeleton
    - dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"HandlerServiceRefHolder", GenerateHandlerSkeletonCommand.class);
    - dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"GenSkeletonEnabled", GenerateHandlerSkeletonCommand.class);
    -
    - // open in editor
    - dataRegistry.addMapping(ConfigClientHandlersTableWidget.class,"GenSkeletonEnabled", OpenJavaEditorCommand.class,"IsEnabled", null);
    -
    -
    - // Map service-side widgets to commands
    - // widget
    - dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"HandlerDescriptionHolders", ConfigServiceHandlersTableWidget.class);
    - dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class, "IsMultipleSelection", ConfigServiceHandlersTableWidget.class);
    - dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"GenSkeletonEnabled", ConfigServiceHandlersTableWidget.class);
    - dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"DescriptionName", ConfigServiceHandlersTableWidget.class);
    -
    - // output command (adds/removes from model)
    - dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"HandlerDescriptionHolders", ServiceHandlersWidgetOutputCommand.class);
    -
    -
    - // gen skeleton command
    - dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"HandlerDescriptionHolders", GenerateHandlerSkeletonCommand.class);
    - dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"GenSkeletonEnabled", GenerateHandlerSkeletonCommand.class);
    -
    - // open Java editor
    - dataRegistry.addMapping(ConfigServiceHandlersTableWidget.class,"GenSkeletonEnabled", OpenJavaEditorCommand.class,"IsEnabled", null);
    -
    - }
    -
    - /*
    - * (non-Javadoc)
    - *
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
    - */
    - public void registerWidgetMappings(WidgetRegistry widgetRegistry) {
    -
    - widgetRegistry.add("ConfigServiceHandlersTableWidget", ConsumptionUIMessages.PAGE_TITLE_SERVICE_HDLR_CONFIG,
    - ConsumptionUIMessages.PAGE_DESC_SERVICE_HDLR_CONFIG, new WidgetContributorFactory() {
    -
    - public WidgetContributor create() {
    - return new ConfigServiceHandlersTableWidget();
    - }
    - });
    -
    - widgetRegistry.add("ConfigClientHandlersTableWidget", ConsumptionUIMessages.PAGE_TITLE_CLIENT_HDLR_CONFIG,
    - ConsumptionUIMessages.PAGE_DESC_CLIENT_HDLR_CONFIG, new WidgetContributorFactory() {
    -
    - public WidgetContributor create() {
    - return new ConfigClientHandlersTableWidget();
    - }
    - });
    -
    - }
    -
    - private class HandlersCommandFragment extends SequenceFragment {
    -
    - public HandlersCommandFragment() {
    -
    - add(new SimpleFragment(new HandlersDefaultingCommand(), ""));
    -
    - add(new ServiceHandlersFragment());
    - add(new ClientHandlersFragment());
    - }
    -
    - public void registerDataMappings(DataMappingRegistry dataRegistry) {
    -
    - dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", HandlersDefaultingCommand.class);
    -
    - dataRegistry.addMapping(HandlersDefaultingCommand.class, "IsClientHandler", ClientHandlersFragment.class, "ClientHandlersEnabled", null);
    - dataRegistry.addMapping(HandlersDefaultingCommand.class, "IsServiceHandler", ServiceHandlersFragment.class, "ServiceHandlersEnabled", null);
    -
    - dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class,"IsMultipleSelection", ClientHandlersWidgetOutputCommand.class);
    - dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"Project", OpenJavaEditorCommand.class);
    - dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"ClassNames", OpenJavaEditorCommand.class);
    -
    - dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class, "IsMultipleSelection", ServiceHandlersWidgetOutputCommand.class);
    - dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class,"WsddResource", ServiceHandlersWidgetOutputCommand.class);
    - dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"Project", OpenJavaEditorCommand.class);
    - dataRegistry.addMapping(GenerateHandlerSkeletonCommand.class,"ClassNames", OpenJavaEditorCommand.class);
    -
    - }
    -
    - public void registerCanFinish(CanFinishRegistry canFinishRegistry) {
    - }
    - }
    -
    - private class ClientHandlersFragment extends BooleanFragment {
    -
    - boolean isClient_ = false;
    -
    - public ClientHandlersFragment() {
    - setCondition(new Condition() {
    -
    - public boolean evaluate() {
    - return isClient_;
    - }
    - });
    -
    - SequenceFragment clientHandlersRootFragment = new SequenceFragment();
    -
    - clientHandlersRootFragment.add(new SimpleFragment(new ClientHandlersWidgetDefaultingCommand(), ""));
    -
    - clientHandlersRootFragment.add(new SimpleFragment("ConfigClientHandlersTableWidget"));
    - clientHandlersRootFragment.add(new SimpleFragment(new ClientHandlersWidgetOutputCommand(), ""));
    - clientHandlersRootFragment.add(new SimpleFragment(new GenerateHandlerSkeletonCommand(), ""));
    -
    - setTrueFragment(clientHandlersRootFragment);
    - }
    -
    - public void setClientHandlersEnabled(boolean isClient) {
    - isClient_ = isClient;
    - }
    -
    - /*
    - * (non-Javadoc)
    - *
    - * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
    - */
    - public void registerDataMappings(DataMappingRegistry dataRegistry) {
    - dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ClientHandlersWidgetDefaultingCommand.class);
    -
    - dataRegistry.addMapping(ClientHandlersWidgetDefaultingCommand.class, "ClientProject", ClientHandlersWidgetOutputCommand.class);
    -
    - }
    -
    - }
    -
    - private class ServiceHandlersFragment extends BooleanFragment {
    -
    - boolean isService_ = false;
    -
    - public ServiceHandlersFragment() {
    - setCondition(new Condition() {
    -
    - public boolean evaluate() {
    - return isService_;
    - }
    - });
    -
    - SequenceFragment serviceHandlersRootFragment = new SequenceFragment();
    - serviceHandlersRootFragment.add(new SimpleFragment(new ServiceHandlersWidgetDefaultingCommand(), ""));
    -
    - SequenceFragment serviceHandlersFragment = new SequenceFragment();
    - serviceHandlersFragment.add(new SimpleFragment("ConfigServiceHandlersTableWidget"));
    - serviceHandlersFragment.add(new SimpleFragment(new ServiceHandlersWidgetOutputCommand(), ""));
    - serviceHandlersFragment.add(new SimpleFragment(new GenerateHandlerSkeletonCommand(), ""));
    -
    - serviceHandlersRootFragment.add(serviceHandlersFragment);
    -
    - setTrueFragment(serviceHandlersRootFragment);
    - }
    -
    - public void setServiceHandlersEnabled(boolean isService) {
    - isService_ = isService;
    - }
    -
    - /*
    - * (non-Javadoc)
    - *
    - * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
    - */
    - public void registerDataMappings(DataMappingRegistry dataRegistry) {
    - dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ServiceHandlersWidgetDefaultingCommand.class);
    -
    - dataRegistry.addMapping(ServiceHandlersWidgetDefaultingCommand.class, "WsddResource", ServiceHandlersWidgetOutputCommand.class);
    -
    - }
    -
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/GenSampleWidgetBinding.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/GenSampleWidgetBinding.java
    deleted file mode 100644
    index b4c92cba6..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/GenSampleWidgetBinding.java
    +++ /dev/null
    @@ -1,406 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    - * 20060608 145529 kathy@ca.ibm.com - Kathy Chan
    - * 20060717 146332 makandre@ca.ibm.com - Andrew Mak
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;
    -
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.common.StringToIProjectTransformer;
    -import org.eclipse.jst.ws.internal.consumption.command.common.AddModuleToServerCommand;
    -import org.eclipse.jst.ws.internal.consumption.command.common.CreateServerCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.data.EclipseIPath2URLStringTransformer;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.FinishFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetOutputCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.WSDLSelectionWidgetDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions.ClientExtensionOutputCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestDelegateCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.ClientTestWidget;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.FinishDefaultCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.FinishTestFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.TestDefaultingFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.TestWebServiceClient;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WebServiceClientTestArrivalCommand;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
    -import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
    -import org.eclipse.wst.command.internal.env.core.data.Transformer;
    -import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SelectionCommand;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceClientInfo;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceState;
    -
    -
    -public class GenSampleWidgetBinding implements CommandWidgetBinding
    -{
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#create()
    - */
    - public CommandFragmentFactory create()
    - {
    - return new CommandFragmentFactory()
    - {
    - public CommandFragment create()
    - {
    - return new GenSampleRootCommandFragment();
    - }
    - };
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
    - */
    - public void registerCanFinish(CanFinishRegistry canFinishRegistry)
    - {
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
    - */
    - public void registerDataMappings(DataMappingRegistry dataRegistry)
    - {
    - // Before Client Test widget.
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService",FinishTestFragment.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService", ClientTestWidget.class );
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "RunTestClient", ClientTestWidget.class );
    - dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ClientTestWidget.class );
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProject", ClientTestWidget.class );
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProjectEAR", ClientTestWidget.class );
    - dataRegistry.addMapping(TestDefaultingFragment.class, "TestFacility",ClientTestWidget.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Folder",ClientTestWidget.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "JspFolder",ClientTestWidget.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "RunTestClient",ClientTestWidget.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Methods",ClientTestWidget.class);
    -
    - // After the client test widget
    - dataRegistry.addMapping(ClientTestWidget.class, "SampleProjectEAR",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "SampleProject",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "TestFacility",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "Folder",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "JspFolder",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "RunTestClient",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "Methods",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "TestService",FinishTestFragment.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "TestID",FinishTestFragment.class);
    - dataRegistry.addMapping(ClientTestWidget.class, "IsTestWidget",FinishTestFragment.class);
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
    - */
    - public void registerWidgetMappings(WidgetRegistry widgetRegistry)
    - {
    -
    - widgetRegistry.add( "ClientTestWidget",
    - ConsumptionUIMessages.PAGE_TITLE_WS_SAMPLE,
    - ConsumptionUIMessages.PAGE_DESC_WS_SAMPLE,
    - new WidgetContributorFactory()
    - {
    - public WidgetContributor create()
    - {
    - return new ClientTestWidget();
    - }
    - });
    - }
    -
    - private class InitializeProxyCommand extends AbstractDataModelOperation
    - {
    - private IStructuredSelection selection_;
    - private TypeRuntimeServer typeRuntimeServer_;
    - private String project_;
    - private String module_;
    - private String earProject_;
    - private String ear_;
    - private IWebServiceClient webServiceClient_;
    - private String wsdlURI_;
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    - IStatus status = Status.OK_STATUS;
    -
    - // Split up the project and module
    - int index = module_.indexOf("/");
    - if (index!=-1){
    - project_ = module_.substring(0,index);
    - module_ = module_.substring(index+1);
    - }
    -
    - if (ear_!=null && ear_.length()>0)
    - {
    - int earIndex = ear_.indexOf("/");
    - if (earIndex!=-1) {
    - earProject_ = ear_.substring(0,earIndex);
    - ear_ = ear_.substring(earIndex+1);
    - }
    - }
    -
    - WebServiceClientInfo clientInfo = new WebServiceClientInfo();
    - clientInfo.setImplURL(getProxyBean());
    - //clientInfo.setJ2eeLevel(j2eeLevel_);
    - clientInfo.setServerFactoryId(typeRuntimeServer_.getServerId());
    - clientInfo.setServerInstanceId(typeRuntimeServer_.getServerInstanceId());
    - clientInfo.setState(WebServiceState.UNKNOWN_LITERAL);
    - clientInfo.setWebServiceRuntimeId(typeRuntimeServer_.getRuntimeId());
    - clientInfo.setWsdlURL(wsdlURI_);
    - if (clientInfo.getServerInstanceId()==null)
    - {
    - CreateServerCommand createServerCommand = new CreateServerCommand();
    - createServerCommand.setServerFactoryid(clientInfo.getServerFactoryId());
    - createServerCommand.setEnvironment( env );
    - IStatus createServerStatus = createServerCommand.execute( null, null );
    - if (createServerStatus.getSeverity()==Status.OK){
    - clientInfo.setServerInstanceId(createServerCommand.getServerInstanceId());
    - }
    - else if (createServerStatus.getSeverity()==Status.ERROR){
    - env.getStatusHandler().reportError( createServerStatus );
    - }
    -
    - }
    -
    - AddModuleToServerCommand command = new AddModuleToServerCommand();
    - command.setServerInstanceId(clientInfo.getServerInstanceId());
    - if (earProject_ != null && earProject_.length()>0 && ear_!= null && ear_.length()>0)
    - {
    - command.setProject(earProject_);
    - command.setModule(ear_);
    - }
    - else
    - {
    - command.setProject(project_);
    - command.setModule(module_);
    - }
    -
    - command.setEnvironment( env );
    - status = command.execute( monitor, null );
    - if (status.getSeverity()==Status.ERROR)
    - {
    - env.getStatusHandler().reportError(status);
    - }
    -
    - webServiceClient_ = new TestWebServiceClient(clientInfo);
    - return status;
    - }
    -
    - public String getProxyBean()
    - {
    - String proxyBean = "";
    -
    - try
    - {
    - IResource resource = ResourceUtils.getResourceFromSelection( selection_.getFirstElement() );
    - String beanPackage = ResourceUtils.getJavaResourcePackageName( resource.getFullPath() );
    -
    - if( beanPackage==null )
    - beanPackage = "";
    - else
    - beanPackage = beanPackage + ".";
    -
    - proxyBean = beanPackage + resource.getName();
    -
    - if( proxyBean.toLowerCase().endsWith(".java") || proxyBean.toLowerCase().endsWith(".class"))
    - {
    - proxyBean = proxyBean.substring(0,proxyBean.lastIndexOf('.'));
    - }
    - }
    - catch( CoreException exc )
    - {
    - }
    -
    - return proxyBean;
    - }
    -
    - public IWebServiceClient getWebServiceClient()
    - {
    - return webServiceClient_;
    - }
    -
    - public boolean getGenerateProxy()
    - {
    - return true;
    - }
    -
    - public void setClientTypeRuntimeServer( TypeRuntimeServer typeRuntimeServer )
    - {
    - typeRuntimeServer_ = typeRuntimeServer;
    - }
    -
    - public void setModule( String module )
    - {
    - module_ = module;
    - }
    -
    - public void setModuleType( String moduleType)
    - {
    - }
    -
    - public void setResourceContext( ResourceContext resourceContext )
    - {
    - }
    -
    - public void setInitialSelection( IStructuredSelection selection )
    - {
    - selection_ = selection;
    - }
    - }
    -
    - private class GenSampleRootCommandFragment extends SequenceFragment
    - {
    - public GenSampleRootCommandFragment()
    - {
    - add( new SimpleFragment( new ClientWizardWidgetDefaultingCommand(true), "" ) );
    - add( new SimpleFragment( new ClientWizardWidgetOutputCommand(), "" ));
    - add( new SimpleFragment( new WSDLSelectionWidgetDefaultingCommand(), ""));
    - add( new SimpleFragment( new ClientRuntimeSelectionWidgetDefaultingCommand(), ""));
    - add( new SimpleFragment( new ClientExtensionDefaultingCommand( true ), ""));
    - add( new SimpleFragment( new InitializeProxyCommand(), "" ));
    - add( new SimpleFragment( new ClientExtensionOutputCommand(), "" ) );
    - add( new SimpleFragment( new TestDefaultingFragment(),""));
    - add( new ClientTestFragment( "ClientTestWidget") );
    - add( new FinishFragment() );
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.internal.env.core.fragment.CommandFragment#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
    - */
    - public void registerDataMappings(DataMappingRegistry dataRegistry)
    - {
    - //Map SelectionCommand
    - dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientInitialSelection", null);
    - dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", InitializeProxyCommand.class );
    -
    - // Map ClientWizardWidgetDefaultingCommand command.
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "TestService", ClientWizardWidgetOutputCommand.class, "TestService", new ForceTrue() );
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "ResourceContext", ClientWizardWidgetOutputCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetDefaultingCommand.class, "RunTestClient", ClientWizardWidgetOutputCommand.class);
    -
    - // Map ClientWizardWidgetOutputCommand command.
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "ClientTypeRuntimeServer", ClientRuntimeSelectionWidgetDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "TestService", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "RunTestClient", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientWizardWidgetOutputCommand.class, "ResourceContext", ClientExtensionDefaultingCommand.class);
    -
    - // Map ClientRuntimeSelectionWidgetDefaultingCommand command
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientTypeRuntimeServer", ClientExtensionDefaultingCommand.class);
    - //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "Runtime2ClientTypes", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientProjectName", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarProjectName", ClientExtensionDefaultingCommand.class);
    - //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientEarComponentName", ClientExtensionDefaultingCommand.class);
    - //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentName", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientComponentType", ClientExtensionDefaultingCommand.class);
    - //dataRegistry.addMapping(ClientRuntimeSelectionWidgetDefaultingCommand.class, "ClientJ2EEVersion", ClientExtensionDefaultingCommand.class);
    -
    - // Map WSDLSelectionWidgetDefaultingCommand command.
    - dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", WSDLSelectionWidgetDefaultingCommand.class );
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "GenWSIL", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WsilURI", ClientExtensionDefaultingCommand.class);
    - dataRegistry.addMapping(WSDLSelectionWidgetDefaultingCommand.class, "WebServiceURI", ClientExtensionDefaultingCommand.class, "WsdlURI", new EclipseIPath2URLStringTransformer());
    -
    - // Map ClientExtensionDefaultingCommand command.
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", ClientExtensionFragment.class);
    -
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProject", WebServiceClientTestArrivalCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProjectEAR", WebServiceClientTestArrivalCommand.class);
    -
    -
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "GenerateProxy", ClientTestFragment.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "TestService", ClientTestFragment.class );
    -
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientNeedEAR", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientEarProjectName", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientEarProjectName", ClientTestDelegateCommand.class,"ClientEarComponentName",null);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProject",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ServiceServerInstanceId", FinishDefaultCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientServer", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "WsdlURI", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "RunTestClient", ClientTestDelegateCommand.class);
    -
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientTypeRuntimeServer", InitializeProxyCommand.class );
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientJ2EEVersion", InitializeProxyCommand.class);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProject", InitializeProxyCommand.class, "Module", null );
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProjectType", InitializeProxyCommand.class, "ModuleType", null);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "ClientProjectEAR", InitializeProxyCommand.class, "Ear", null );
    - dataRegistry.addMapping( ClientWizardWidgetOutputCommand.class, "ResourceContext", InitializeProxyCommand.class);
    - dataRegistry.addMapping( ClientExtensionDefaultingCommand.class, "WsdlURI", InitializeProxyCommand.class );
    -
    -
    -
    -
    - // Map InitializeProxyCommand command.
    - dataRegistry.addMapping(InitializeProxyCommand.class, "WebServiceClient", ClientExtensionOutputCommand.class);
    - dataRegistry.addMapping(InitializeProxyCommand.class, "GenerateProxy", ClientExtensionOutputCommand.class);
    -
    - // Map ClientExtensionOutputCommand command.
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ProxyBean", WebServiceClientTestArrivalCommand.class);
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ProxyBean", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "GenerateProxy", TestDefaultingFragment.class);
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "GenerateProxy", ClientTestFragment.class);
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "GenerateProxy", FinishTestFragment.class);
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "GenerateProxy", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "RunTestClient", ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(ClientExtensionOutputCommand.class, "ServerInstanceId", FinishDefaultCommand.class);
    -
    - // MAP post server config call
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientProjectEAR", ClientExtensionOutputCommand.class, "EARProjectName", new StringToIProjectTransformer());
    - dataRegistry.addMapping(ClientExtensionDefaultingCommand.class, "ClientServerInstance", ClientExtensionOutputCommand.class, "ExistingServerId", null);
    -
    -
    - // Map WebServiceClientTestArrivalCommand command.
    - dataRegistry.addMapping(TestDefaultingFragment.class, "TestFacility",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "TestFacility",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Folder",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "JspFolder",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "RunClientTest",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "Methods",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProject",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(WebServiceClientTestArrivalCommand.class, "SampleProjectEAR",ClientTestDelegateCommand.class);
    -
    -
    - }
    - }
    -
    - private class ForceTrue implements Transformer
    - {
    - public Object transform(Object value)
    - {
    - return new Boolean(true);
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSILWidgetBinding.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSILWidgetBinding.java
    deleted file mode 100644
    index fc1c3122a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSILWidgetBinding.java
    +++ /dev/null
    @@ -1,88 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.ImportWSILWidget;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsil.AddWSDLToWSILWrapperCommand;
    -import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
    -import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SelectionCommand;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
    -
    -
    -public class ImportWSILWidgetBinding implements CommandWidgetBinding
    -{
    - public ImportWSILWidgetBinding()
    - {
    - }
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#create()
    - */
    - public CommandFragmentFactory create()
    - {
    - return new CommandFragmentFactory()
    - {
    - public CommandFragment create()
    - {
    - SequenceFragment root = new SequenceFragment();
    - root.add(new SimpleFragment("ImportWSILWidget"));
    - root.add(new SimpleFragment(new AddWSDLToWSILWrapperCommand(), ""));
    - return root;
    - }
    - };
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
    - */
    - public void registerCanFinish(CanFinishRegistry canFinishRegistry)
    - {
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
    - */
    - public void registerDataMappings(DataMappingRegistry dataRegistry)
    - {
    - // ImportWSILWidget
    - dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ImportWSILWidget.class);
    -
    - // AddWSDLToWSILWrapperCommand
    - dataRegistry.addMapping(ImportWSILWidget.class, "GenWSILArguments", AddWSDLToWSILWrapperCommand.class, "Args", null);
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
    - */
    - public void registerWidgetMappings(WidgetRegistry widgetRegistry)
    - {
    -
    - widgetRegistry.add("ImportWSILWidget",
    - ConsumptionUIMessages.TITLE_WSIL_IMPORT,
    - ConsumptionUIMessages.DESC_WSIL_IMPORT,
    - new WidgetContributorFactory()
    - {
    - public WidgetContributor create()
    - {
    - return new ImportWSILWidget();
    - }
    - }
    - );
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSWidgetBinding.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSWidgetBinding.java
    deleted file mode 100644
    index c041a00fa..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/binding/ImportWSWidgetBinding.java
    +++ /dev/null
    @@ -1,103 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.binding;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.PublishToPrivateUDDICommandFragment;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.PublishWSWidget;
    -import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
    -import org.eclipse.wst.command.internal.env.core.fragment.CommandFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentFactory;
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CanFinishRegistry;
    -import org.eclipse.wst.command.internal.env.ui.widgets.CommandWidgetBinding;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetRegistry;
    -import org.eclipse.wst.ws.internal.explorer.WSExplorerLauncherCommand;
    -
    -
    -public class ImportWSWidgetBinding implements CommandWidgetBinding
    -{
    - private CanFinishRegistry canFinishRegistry;
    - private WidgetRegistry widgetRegistry;
    - private DataMappingRegistry dataMappingRegistry;
    - private PublishToPrivateUDDICommandFragment publishToPrivateUDDICmdFrag;
    -
    - public ImportWSWidgetBinding()
    - {
    - publishToPrivateUDDICmdFrag = new PublishToPrivateUDDICommandFragment();
    - }
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#create()
    - */
    - public CommandFragmentFactory create()
    - {
    - return new CommandFragmentFactory()
    - {
    - public CommandFragment create()
    - {
    - SequenceFragment root = new SequenceFragment();
    - root.add(new SimpleFragment("WSImport"));
    - root.add(publishToPrivateUDDICmdFrag);
    - root.add(new SimpleFragment(new WSExplorerLauncherCommand(), ""));
    - return root;
    - }
    - };
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerCanFinish(org.eclipse.wst.command.env.ui.widgets.CanFinishRegistry)
    - */
    - public void registerCanFinish(CanFinishRegistry canFinishRegistry)
    - {
    - this.canFinishRegistry = canFinishRegistry;
    - publishToPrivateUDDICmdFrag.registerCanFinish(this.canFinishRegistry);
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerDataMappings(org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry)
    - */
    - public void registerDataMappings(DataMappingRegistry dataRegistry)
    - {
    - this.dataMappingRegistry = dataRegistry;
    - publishToPrivateUDDICmdFrag.registerDataMappings(this.dataMappingRegistry);
    -
    - // PublishToPrivateUDDICommandFragment
    - dataMappingRegistry.addMapping(PublishWSWidget.class, "PublishToPrivateUDDI", PublishToPrivateUDDICommandFragment.class);
    -
    - // LaunchWebServicesExplorerCommand
    - dataMappingRegistry.addMapping(PublishWSWidget.class, "ForceLaunchOutsideIDE", WSExplorerLauncherCommand.class);
    - dataMappingRegistry.addMapping(PublishWSWidget.class, "LaunchOptions", WSExplorerLauncherCommand.class);
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.wst.command.env.ui.widgets.CommandWidgetBinding#registerWidgetMappings(org.eclipse.wst.command.env.ui.widgets.WidgetRegistry)
    - */
    - public void registerWidgetMappings(WidgetRegistry widgetRegistry)
    - {
    - this.widgetRegistry = widgetRegistry;
    - publishToPrivateUDDICmdFrag.registerWidgetMappings(this.widgetRegistry);
    -
    - widgetRegistry.add("WSImport",
    - ConsumptionUIMessages.PAGE_TITLE_WS_FIND,
    - ConsumptionUIMessages.PAGE_DESC_WS_FIND,
    - new WidgetContributorFactory()
    - {
    - public WidgetContributor create()
    - {
    - return new PublishWSWidget(false);
    - }
    - }
    - );
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionDefaultingCommand.java
    deleted file mode 100644
    index c590291d9..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionDefaultingCommand.java
    +++ /dev/null
    @@ -1,619 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    - * 20060818 154402 pmoogk@ca.ibm.com - Peter Moogk
    - * 20060830 151091 kathy@ca.ibm.com - Kathy Chan, Client side still enabled when there's only stub server
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions;
    -
    -import org.eclipse.core.commands.ExecutionException;
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.ws.internal.common.ServerUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IRuntime;
    -import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -
    -
    -public class ClientExtensionDefaultingCommand extends AbstractDataModelOperation
    -{
    - // ClientWizardWidget
    -
    - private boolean developClient_;
    - private boolean assembleClient_;
    - private boolean deployClient_;
    -
    - private TypeRuntimeServer clientIds_;
    - private String clientRuntimeId_;
    - private Boolean testService;
    - private Boolean installClient;
    - private boolean startClient;
    - private boolean runTestClient;
    - private ResourceContext resourceContext;
    -
    - // ClientRuntimeSelectionWidget
    - //private SelectionListChoices clientChoices_;
    - private String clientProjectName_;
    - private String clientEarProjectName_;
    - //private String clientComponentName_;
    - //private String clientEarComponentName_;
    - private String clientComponentType_;
    - //private String j2eeVersion;
    - private boolean clientNeedEAR_;
    -
    - private String serviceServerFactoryId_;
    - private String serviceServerInstanceId_;
    -
    - // WSDLSelectionWidget
    - private boolean genWSIL;
    - private String wsilURI;
    -
    - // WSDLSelectionConditionCommand
    - private WebServicesParser webServicesParser;
    -
    - // WSDLSelectionTreeWidget
    - private String wsdlURI;
    -
    - private boolean isClientScenario_;
    - private boolean genProxy_ = true;
    - private String launchedServiceTestName;
    -
    - //ServerDeployableConfigurationCommand
    - private String serverInstId_;
    -
    - public ClientExtensionDefaultingCommand( boolean isClientScenario )
    - {
    - isClientScenario_ = isClientScenario;
    - }
    -
    - /**
    - *
    - * @return returns true if this command is running in the client wizard and
    - * false if this command is running in the create web service wizard.
    - */
    - public boolean getIsClientScenario()
    - {
    - return isClientScenario_;
    - }
    -
    - /*
    - public void setRuntime2ClientTypes( SelectionListChoices choices )
    - {
    - clientChoices_ = choices;
    - }
    -
    -
    - public SelectionListChoices getRuntime2ClientTypes()
    - {
    - return clientChoices_;
    - }
    - */
    -
    - public void setClientTypeRuntimeServer(TypeRuntimeServer ids)
    - {
    - clientIds_ = ids;
    - }
    -
    - public TypeRuntimeServer getClientTypeRuntimeServer()
    - {
    - if (clientIds_.getServerInstanceId()==null || clientIds_.getServerInstanceId().length()==0)
    - {
    - //Set the instance id from the service side if the factory ids match
    - if (serviceServerInstanceId_!=null && serviceServerInstanceId_.length()>0)
    - {
    - if (serviceServerFactoryId_!=null && serviceServerFactoryId_.length()>0)
    - {
    - if (serviceServerFactoryId_.equals(clientIds_.getServerId()))
    - {
    - clientIds_.setServerInstanceId(serviceServerInstanceId_);
    - }
    - }
    - }
    - }
    - return clientIds_;
    - }
    -
    - public void setClientRuntimeId(String id)
    - {
    - clientRuntimeId_ = id;
    - }
    -
    - public String getClientRuntimeId()
    - {
    - return clientRuntimeId_;
    - }
    -
    - public void setServiceExistingServerInstId(String serverInstId) {
    - this.serverInstId_ = serverInstId;
    - }
    -
    - public String getServiceExistingServerInstId(){
    - return this.serverInstId_;
    - }
    -
    - /**
    - * @return Returns the clientIsExistingServer.
    - */
    - public boolean isClientIsExistingServer()
    - {
    - return clientIds_.getServerInstanceId() != null;
    - }
    -
    - /**
    - * @return Returns the clientProject.
    - */
    - public String getClientProject()
    - {
    - //return clientProjectName_ + "/" + clientComponentName_;
    - return clientProjectName_ + "/" + clientProjectName_;
    - }
    -
    - /**
    - * @return Returns the clientProjectEAR.
    - */
    - public String getClientProjectEAR()
    - {
    - if (clientEarProjectName_!=null && clientEarProjectName_.length()>0)
    - {
    - //return clientEarProjectName_ + "/" + clientEarComponentName_;
    - return clientEarProjectName_ + "/" + clientEarProjectName_;
    - }
    - else
    - {
    - return "";
    - }
    - }
    -
    - /*
    - private String getModuleProjectName( String projectName )
    - {
    - String result = "";
    -
    - if( projectName != null && !projectName.equals("") )
    - {
    - IPath projectPath = new Path( projectName );
    - IProject project = (IProject)ResourceUtils.findResource( projectPath );
    - String moduleName = J2EEUtils.getFirstWebModuleName( project );
    -
    - result = projectName + "/" + moduleName;
    - }
    -
    - return result;
    - }
    - */
    - /**
    - * @return Returns the clientProjectType.
    - */
    -
    - public String getClientProjectType()
    - {
    - //return clientChoices_.getChoice().getList().getSelection();
    - return clientComponentType_;
    - }
    -
    - /**
    - * @return Returns the clientRuntime.
    - */
    - public String getClientRuntime()
    - {
    - return clientIds_.getRuntimeId();
    - }
    -
    - /**
    - * @return Returns the clientServer.
    - */
    - public String getClientServer()
    - {
    - return clientIds_.getServerId();
    - }
    -
    - public String getClientServerInstance()
    - {
    - return clientIds_.getServerInstanceId();
    - }
    -
    - public void setClientExistingServerInstanceId(String serverInstId){
    -
    - if (clientIds_.getServerInstanceId()==null)
    - clientIds_.setServerInstanceId(serverInstId);
    - }
    -
    - /**
    - * @return Returns the genWSIL.
    - */
    - public boolean isGenWSIL()
    - {
    - return genWSIL;
    - }
    -
    - /**
    - * @param genWSIL
    - * The genWSIL to set.
    - */
    - public void setGenWSIL(boolean genWSIL)
    - {
    - this.genWSIL = genWSIL;
    - }
    -
    - /**
    - * @return Returns the resourceContext.
    - */
    - public ResourceContext getResourceContext()
    - {
    - return resourceContext;
    - }
    -
    - /**
    - * @param resourceContext
    - * The resourceContext to set.
    - */
    - public void setResourceContext(ResourceContext resourceContext)
    - {
    - this.resourceContext = resourceContext;
    - }
    -
    - /**
    - * @return Returns the testProxySelected.
    - */
    - public Boolean getTestService()
    - {
    - return testService;
    - }
    -
    - /**
    - * @param testProxySelected
    - * The testProxySelected to set.
    - */
    - public void setTestService(Boolean testService)
    - {
    - this.testService = testService;
    - }
    -
    - /**
    - * @return Returns the testProxySelected.
    - */
    - public boolean getRunTestClient()
    - {
    - return runTestClient;
    - }
    -
    - /**
    - * @param testProxySelected
    - * The testProxySelected to set.
    - */
    - public void setRunTestClient(boolean runTestClient)
    - {
    - this.runTestClient = runTestClient;
    - }
    -
    - public boolean getDevelopClient() {
    - return developClient_;
    - }
    -
    - public void setDevelopClient(boolean developClient) {
    - this.developClient_ = developClient;
    - }
    -
    - public boolean getAssembleClient() {
    - return assembleClient_;
    - }
    -
    - public void setAssembleClient(boolean assembleClient) {
    - this.assembleClient_ = assembleClient;
    - }
    -
    - public boolean getDeployClient() {
    - return deployClient_;
    - }
    -
    - public void setDeployClient(boolean deployClient) {
    - this.deployClient_ = deployClient;
    - }
    -
    - /**
    - * @return Returns the installClient.
    - */
    - public Boolean getInstallClient()
    - {
    - return installClient;
    - }
    -
    - /**
    - * @param installClient
    - * The installClient to set.
    - */
    - public void setInstallClient(Boolean installClient)
    - {
    - this.installClient = installClient;
    - }
    -
    - /**
    - * @return Returns the startClient.
    - */
    - public boolean getStartClient()
    - {
    - return startClient;
    - }
    -
    - /**
    - * @param startClient
    - * The startClient to set.
    - */
    - public void setStartClient(boolean startClient)
    - {
    - this.startClient = startClient;
    - }
    -
    - /**
    - * @return Returns the wsdlURI.
    - */
    - public String getWsdlURI()
    - {
    - return wsdlURI;
    - }
    -
    - /**
    - * @param wsdlURI
    - * The wsdlURI to set.
    - */
    - public void setWsdlURI(String wsdlURI)
    - {
    - this.wsdlURI = wsdlURI;
    - }
    -
    - /**
    - * @return Returns the wsilURI.
    - */
    - public String getWsilURI()
    - {
    - return wsilURI;
    - }
    -
    - /**
    - * @param wsilURI
    - * The wsilURI to set.
    - */
    - public void setWsilURI(String wsilURI)
    - {
    - this.wsilURI = wsilURI;
    - }
    -
    - /**
    - * @return Returns the webServicesParser.
    - */
    - public WebServicesParser getWebServicesParser()
    - {
    - if (webServicesParser != null)
    - return webServicesParser;
    - else
    - return new WebServicesParserExt();
    - }
    -
    - /**
    - * @param webServicesParser
    - * The webServicesParser to set.
    - */
    - public void setWebServicesParser(WebServicesParser webServicesParser)
    - {
    - this.webServicesParser = webServicesParser;
    - }
    -
    - /**
    - * @return Returns the j2eeVersion.
    - */
    - public String getClientJ2EEVersion()
    - {
    - return "14"; //rm j2ee
    - }
    -
    - /**
    - * @param version The j2eeVersion to set.
    - */
    - /*
    - public void setClientJ2EEVersion(String version)
    - {
    - j2eeVersion = version;
    - }
    - */
    - /**
    - *
    - * @return returns true if a proxy should be generated and false otherwise.
    - */
    - public boolean getGenerateProxy()
    - {
    - return genProxy_;
    - }
    -
    - public void setGenerateProxy( boolean genProxy )
    - {
    - genProxy_ = genProxy;
    - }
    -
    - public void setLaunchedServiceTestName(String launchedServiceTestName)
    - {
    - this.launchedServiceTestName = launchedServiceTestName;
    - }
    -
    - /**
    - *
    - * @return returns the name of the test facility to launch.
    - */
    - public String getLaunchedServiceTestName()
    - {
    - return launchedServiceTestName;
    - }
    -
    - /**
    - *
    - * @return returns true if the client project needs an EAR project.
    - */
    - public boolean getClientNeedEAR()
    - {
    - return clientNeedEAR_;
    - }
    -
    - public void setClientNeedEAR(boolean clientNeedEAR)
    - {
    - clientNeedEAR_ = clientNeedEAR;
    - }
    -
    -
    - public void setClientComponentType(String clientComponentType)
    - {
    - this.clientComponentType_ = clientComponentType;
    - }
    -
    - public void setClientProjectName(String clientProjectName)
    - {
    - this.clientProjectName_ = clientProjectName;
    - }
    -
    - /*
    - public void setClientComponentName(String clientComponentName)
    - {
    - this.clientComponentName_ = clientComponentName;
    - }
    - */
    -
    - public void setClientEarProjectName(String clientEarProjectName)
    - {
    - this.clientEarProjectName_ = clientEarProjectName;
    - }
    -
    - /*
    - public void setClientEarComponentName(String clientEarComponentName)
    - {
    - this.clientEarComponentName_ = clientEarComponentName;
    - }
    - */
    -
    - public String getClientEarProjectName()
    - {
    - return clientEarProjectName_;
    - }
    -
    - /*
    - public String getClientEarComponentName()
    - {
    - return clientEarComponentName_;
    - }
    - */
    -
    - public void setServiceServerFactoryId(String id)
    - {
    - serviceServerFactoryId_ = id;
    - }
    -
    - public void setServiceServerInstanceId(String id)
    - {
    - serviceServerInstanceId_ = id;
    - }
    -
    - public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
    - {
    - IEnvironment env = getEnvironment();
    - //Do some basic validation to ensure the server/runtime/type combination is supported.
    - //This is needed to catch problems in the defaulting
    - //when the user clicks Finish prior to page 3 of the wizard.
    -
    - IStatus status = Status.OK_STATUS;
    -
    - String scenario = ConsumptionUIMessages.MSG_CLIENT_SUB;
    -
    - //Ensure server and runtime are non-null
    - String runtimeId = clientIds_.getRuntimeId();
    - String serverId = clientIds_.getServerId();
    - String typeId = clientIds_.getTypeId();
    -
    - if( runtimeId == null || runtimeId.length()==0)
    - {
    - status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_RUNTIME, new String[]{ scenario } ) );
    - env.getStatusHandler().reportError(status);
    - }
    -
    - if( serverId == null || serverId.length()==0)
    - {
    - //Popup and error if the selected client project does not exist.
    - IProject clientProject = ProjectUtilities.getProject(clientProjectName_);
    - if (!clientProject.exists())
    - {
    - String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(runtimeId);
    - status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_ERROR_NO_SERVER_RUNTIME, new String[]{runtimeLabel } ) );
    - env.getStatusHandler().reportError(status);
    - }
    - else
    - {
    - RuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getRuntimeById(runtimeId);
    -
    - if (desc.getServerRequired())
    - {
    - status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_SERVER, new String[] { scenario }));
    - env.getStatusHandler().reportError(status);
    - }
    - else
    - {
    - // No server has been selected and the selected Web service runtime
    - // does not
    - // require a server. Set deploy, install, run, and test to false.
    - deployClient_ = false;
    - installClient = Boolean.FALSE;
    - testService = Boolean.FALSE;
    - }
    - }
    - }
    -
    - //If the server is non-null, ensure the server, runtime, and type are compatible
    - if (serverId != null && serverId.length() > 0)
    - {
    - if (!WebServiceRuntimeExtensionUtils2.isServerClientRuntimeTypeSupported(serverId, runtimeId, typeId))
    - {
    - String serverLabel = WebServiceRuntimeExtensionUtils2.getServerLabelById(serverId);
    - String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(runtimeId);
    - status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_INVALID_SRT_SELECTIONS, new String[] { serverLabel,
    - runtimeLabel }));
    - env.getStatusHandler().reportError(status);
    - }
    -
    - // Determine if the selected server type has only stub runtimes associated
    - // with it.
    - // If so, set install and test to false in the context.
    - IRuntime nonStubRuntime = ServerUtils.getNonStubRuntime(serverId);
    - if (nonStubRuntime == null)
    - {
    - installClient = Boolean.FALSE;
    - startClient = false;
    - testService = Boolean.FALSE;
    - }
    - }
    -
    - // calculate the most appropriate clientRuntimeId based on current settings.
    - clientRuntimeId_ = WebServiceRuntimeExtensionUtils2.getClientRuntimeId(clientIds_, clientProjectName_, clientComponentType_);
    -
    - return status;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionFragment.java
    deleted file mode 100644
    index 7fcd8b265..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionFragment.java
    +++ /dev/null
    @@ -1,40 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions;
    -
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.wst.command.internal.env.core.fragment.ExtensionFragment;
    -
    -
    -public class ClientExtensionFragment extends ExtensionFragment
    -{
    - public ClientExtensionFragment()
    - {
    - }
    -
    - protected ClientExtensionFragment( ClientExtensionFragment fragment )
    - {
    - super( fragment );
    - }
    -
    - public void setClientTypeRuntimeServer( TypeRuntimeServer ids )
    - {
    - setExtensionIds( new String[]{ ids.getTypeId(), ids.getRuntimeId(), ids.getServerId() } );
    - }
    -
    - /* (non-Javadoc)
    - * @see java.lang.Object#clone()
    - */
    - public Object clone()
    - {
    - return new ClientExtensionFragment( this );
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionOutputCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionOutputCommand.java
    deleted file mode 100644
    index f7fda18df..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ClientExtensionOutputCommand.java
    +++ /dev/null
    @@ -1,78 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060728 145426 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -/**
    - */
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions;
    -
    -import org.eclipse.core.commands.ExecutionException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
    -
    -public class ClientExtensionOutputCommand extends AbstractDataModelOperation
    -{
    - private IWebServiceClient webServiceClient_;
    -
    - /**
    - * @return Returns the proxyBean.
    - */
    -
    - public String getProxyBean()
    - {
    - return webServiceClient_.getWebServiceClientInfo().getImplURL();
    - }
    -
    - public boolean getGenerateProxy()
    - {
    - return true;
    - }
    -
    - /**
    - * @return Returns the setEndpointMethod.
    - */
    - public String getSetEndpointMethod()
    - {
    - return "setEndpoint";
    - }
    -
    - public void setWebServiceClient(IWebServiceClient wsc)
    - {
    - webServiceClient_ = wsc;
    - }
    -
    - public String getServerInstanceId()
    - {
    - return webServiceClient_.getWebServiceClientInfo().getServerInstanceId();
    - }
    -
    - public String getServerFactoryId()
    - {
    - return webServiceClient_.getWebServiceClientInfo().getServerFactoryId();
    - }
    -
    - /**
    - * @return Returns the proxyEndpoint.
    - */
    - public String getProxyEndpoint() {
    - return webServiceClient_.getWebServiceClientInfo().getProxyEndpoint();
    - }
    -
    - public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
    - {
    - return Status.OK_STATUS;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionDefaultingCommand.java
    deleted file mode 100644
    index 0169b1594..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionDefaultingCommand.java
    +++ /dev/null
    @@ -1,407 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060529 141422 kathy@ca.ibm.com - Kathy Chan
    - * 20060823 154938 pmoogk@ca.ibm.com - Peter Moogk
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions;
    -
    -import org.eclipse.core.commands.ExecutionException;
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.ws.internal.common.ServerUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IRuntime;
    -import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -
    -
    -public class ServerExtensionDefaultingCommand extends AbstractDataModelOperation
    -{
    - private boolean developService_;
    - private boolean assembleService_;
    - private boolean deployService_;
    -
    - private Boolean installService;
    - private Boolean startService;
    - private Boolean testService;
    - private Boolean publishService;
    - private TypeRuntimeServer serviceIds_;
    - private String serviceRuntimeId_;
    - //private SelectionListChoices serviceChoices_;
    - private String serviceProjectName_;
    - private String serviceEarProjectName_;
    - private String serviceComponentType_;
    - //private String serviceComponentName_;
    - //private String serviceEarComponentName_;
    - //private String j2eeVersion;
    - private boolean serviceNeedEAR_;
    - private WebServicesParser wsdlParser_;
    -
    -
    -
    - public void setServiceTypeRuntimeServer(TypeRuntimeServer ids)
    - {
    - serviceIds_ = ids;
    - }
    -
    - public void setServiceExistingServerInstanceId(String serverInstId){
    -
    - if (serviceIds_.getServerInstanceId()==null)
    - serviceIds_.setServerInstanceId(serverInstId);
    - }
    -
    - /**
    - *
    - * @return returns the TypeRuntimeService object that the user has selected on
    - * page 3 of the wizard.
    - */
    - public TypeRuntimeServer getServiceTypeRuntimeServer()
    - {
    - return serviceIds_;
    - }
    -
    - public void setServiceRuntimeId(String id)
    - {
    - serviceRuntimeId_ = id;
    - }
    -
    - public String getServiceRuntimeId()
    - {
    - return serviceRuntimeId_;
    - }
    -
    - /*
    - public void setServiceProject2EARProject(SelectionListChoices choices)
    - {
    - serviceChoices_ = choices;
    - }
    - */
    -
    - /**
    - * @return Returns the publishService.
    - */
    - public Boolean getPublishService()
    - {
    - return publishService;
    - }
    -
    - /**
    - * @param publishService
    - * The publishService to set.
    - */
    - public void setPublishService(Boolean publishService)
    - {
    - this.publishService = publishService;
    - }
    -
    - /**
    - * @return Returns the serverIsExistingServer.
    - */
    - public boolean getServerIsExistingServer()
    - {
    - return serviceIds_.getServerInstanceId() != null;
    - }
    -
    - /**
    -
    - * @return Returns the serverInstanceId
    - */
    - public String getServiceServerInstanceId()
    - {
    - return serviceIds_.getServerInstanceId();
    - }
    -
    - /**
    - * @return Returns the serverProject.
    - */
    - public String getServerProject()
    - {
    - return serviceProjectName_ + "/" + serviceProjectName_;
    - }
    -
    - /**
    - * @return Returns the serverProjectEAR.
    - */
    - public String getServerProjectEAR()
    - {
    - if (serviceEarProjectName_!=null && serviceEarProjectName_.length()>0)
    - {
    - return serviceEarProjectName_ + "/" + serviceEarProjectName_;
    - }
    - else
    - {
    - return "";
    - }
    - }
    -
    - /**
    - * @return Returns the serverRuntime.
    - */
    - public String getServerRuntime()
    - {
    - return serviceIds_.getRuntimeId();
    - }
    -
    - /**
    - * @return Returns the serverServer.
    - */
    - public String getServerServer()
    - {
    - return serviceIds_.getServerId();
    - }
    -
    - /**
    - * @return Returns the serviceScenarioId.
    - */
    - public String getServiceScenarioId()
    - {
    - return serviceIds_.getTypeId();
    - }
    -
    - public boolean getDevelopService() {
    - return developService_;
    - }
    -
    - public void setDevelopService(boolean developService) {
    - this.developService_ = developService;
    - }
    -
    - public boolean getAssembleService() {
    - return assembleService_;
    - }
    -
    - public void setAssembleService(boolean assembleService) {
    - this.assembleService_ = assembleService;
    - }
    -
    - public boolean getDeployService() {
    - return deployService_;
    - }
    -
    - public void setDeployService(boolean deployService) {
    - this.deployService_ = deployService;
    - }
    -
    - /**
    - * @return Returns the installService.
    - */
    - public Boolean getInstallService()
    - {
    - return installService;
    - }
    - /**
    - * @param installService
    - * Specifies if service should be installed.
    - */
    - public void setInstallService(Boolean installService)
    - {
    - this.installService = installService;
    - }
    -
    - /**
    - * @return Returns the startService.
    - */
    - public Boolean getStartService()
    - {
    - return startService;
    - }
    -
    - /**
    - * @param startService
    - * The startService to set.
    - */
    - public void setStartService(Boolean startService)
    - {
    - this.startService = startService;
    - }
    -
    - /**
    - * @return Returns the testService.
    - */
    - public Boolean getTestService()
    - {
    - return testService;
    - }
    -
    - /**
    - * @param testService
    - * The testService to set.
    - */
    - public void setTestService(Boolean testService)
    - {
    - this.testService = testService;
    - }
    -
    - public Boolean getPublish()
    - {
    - return new Boolean(true);
    - }
    -
    - /**
    - * @return Returns the j2eeVersion.
    - */
    - public String getServiceJ2EEVersion()
    - {
    - return "14"; //rm j2ee
    - }
    -
    - /**
    - *
    - * @return returns true if the web service project needs to be in an EAR project.
    - */
    - public boolean getServiceNeedEAR()
    - {
    - return serviceNeedEAR_;
    - }
    -
    - public void setServiceNeedEAR(boolean serviceNeedEAR)
    - {
    - serviceNeedEAR_ = serviceNeedEAR;
    - }
    -
    - /**
    - * @return Returns the wsdlParser_.
    - */
    - public WebServicesParser getWebServicesParser()
    - {
    - if( wsdlParser_ == null )
    - {
    - wsdlParser_ = new WebServicesParserExt();
    - }
    -
    - return wsdlParser_;
    - }
    - /**
    - * @param wsdlParser_ The wsdlParser_ to set.
    - */
    - public void setWebServicesParser(WebServicesParser wsdlParser )
    - {
    - wsdlParser_ = wsdlParser;
    - }
    -
    -
    - public void setServiceProjectName(String serviceProjectName)
    - {
    - this.serviceProjectName_ = serviceProjectName;
    - }
    -
    - public void setServiceEarProjectName(String serviceEarProjectName)
    - {
    - this.serviceEarProjectName_ = serviceEarProjectName;
    - }
    -
    - public void setServiceComponentType(String type)
    - {
    - this.serviceComponentType_ = type;
    - }
    -
    - public String getServiceComponentType()
    - {
    - return serviceComponentType_;
    - }
    -
    - public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
    - {
    - IEnvironment env = getEnvironment();
    - //Do some basic validation to ensure the server/runtime/type combination is supported.
    - //This is needed to catch problems in the defaulting
    - //when the user clicks Finish prior to page 3 of the wizard.
    -
    - IStatus status = Status.OK_STATUS;
    -
    - String scenario = ConsumptionUIMessages.MSG_SERVICE_SUB;
    -
    - //Ensure server and runtime are non-null
    - String runtimeId = serviceIds_.getRuntimeId();
    - String serverId = serviceIds_.getServerId();
    - String typeId = serviceIds_.getTypeId();
    -
    - if( runtimeId == null || runtimeId.length()==0)
    - {
    - status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_RUNTIME, new String[]{ scenario } ) );
    - env.getStatusHandler().reportError(status);
    - }
    -
    - if( serverId == null || serverId.length()==0)
    - {
    - //Popup and error if the selected service project does not exist.
    - IProject serviceProject = ProjectUtilities.getProject(serviceProjectName_);
    - if (!serviceProject.exists())
    - {
    - String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(runtimeId);
    - status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_ERROR_NO_SERVER_RUNTIME, new String[]{ runtimeLabel } ) );
    - env.getStatusHandler().reportError(status);
    - }
    - else
    - {
    -
    - RuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getRuntimeById(runtimeId);
    - if (desc.getServerRequired())
    - {
    - status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_NO_SERVER, new String[] { scenario }));
    - env.getStatusHandler().reportError(status);
    - }
    - else
    - {
    - // No server has been selected and the selected Web service runtime
    - // does not require a server. Set deploy, install, run, and test to false.
    - deployService_ = false;
    - installService = Boolean.FALSE;
    - startService = Boolean.FALSE;
    - testService = Boolean.FALSE;
    - }
    - }
    - }
    -
    - //If the server is non-null, ensure the server, runtime, and type are compatible
    - if (serverId != null && serverId.length() > 0)
    - {
    - if (!WebServiceRuntimeExtensionUtils2.isServerRuntimeTypeSupported(serverId, runtimeId, typeId))
    - {
    - String serverLabel = WebServiceRuntimeExtensionUtils2.getServerLabelById(serverId);
    - String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(runtimeId);
    - status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_INVALID_SRT_SELECTIONS, new String[] { serverLabel,
    - runtimeLabel }));
    - env.getStatusHandler().reportError(status);
    - }
    -
    - // Determine if the selected server type has only stub runtimes associated
    - // with it.
    - // If so, set install, run, and test to false in the context.
    - IRuntime nonStubRuntime = ServerUtils.getNonStubRuntime(serverId);
    - if (nonStubRuntime == null)
    - {
    - installService = Boolean.FALSE;
    - startService = Boolean.FALSE;
    - testService = Boolean.FALSE;
    - }
    - }
    -
    - // calculate the most appropriate clientRuntimeId based on current settings.
    - serviceRuntimeId_ = WebServiceRuntimeExtensionUtils2.getServiceRuntimeId( serviceIds_, serviceProjectName_, serviceComponentType_);
    -
    - return status;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionFragment.java
    deleted file mode 100644
    index 101cddece..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionFragment.java
    +++ /dev/null
    @@ -1,41 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions;
    -
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.wst.command.internal.env.core.fragment.ExtensionFragment;
    -
    -
    -public class ServerExtensionFragment extends ExtensionFragment
    -{
    - public ServerExtensionFragment()
    - {
    -
    - }
    -
    - protected ServerExtensionFragment( ServerExtensionFragment fragment )
    - {
    - super( fragment );
    - }
    -
    - public void setServiceTypeRuntimeServer( TypeRuntimeServer ids )
    - {
    - setExtensionIds( new String[]{ ids.getTypeId(), ids.getRuntimeId(), ids.getServerId() } );
    - }
    -
    - /* (non-Javadoc)
    - * @see java.lang.Object#clone()
    - */
    - public Object clone()
    - {
    - return new ServerExtensionFragment( this );
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionOutputCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionOutputCommand.java
    deleted file mode 100644
    index 1d84f039a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/extensions/ServerExtensionOutputCommand.java
    +++ /dev/null
    @@ -1,115 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -/**
    - */
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.extensions;
    -
    -import org.eclipse.core.commands.ExecutionException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -import org.eclipse.wst.ws.internal.wsrt.IWebService;
    -
    -public class ServerExtensionOutputCommand extends AbstractDataModelOperation
    -{
    - //private String wsdlURI_;
    - private WebServicesParser wsdlParser_;
    - private IWebService webService_;
    -
    - private boolean isWebProjectStartupRequested_ = false;
    -
    -
    - /**
    - * @return Returns the wsdlURI.
    - */
    - public String getWsdlURI()
    - {
    - return webService_.getWebServiceInfo().getWsdlURL();
    - }
    -
    - /**
    - * @param wsdlURI
    - * The wsdlURI to set.
    - */
    - /*
    - public void setWsdlURI(String wsdlURI)
    - {
    - wsdlURI_ = wsdlURI;
    - }
    - */
    -
    - public void setWebService(IWebService ws)
    - {
    - webService_ = ws;
    - }
    -
    - /**
    - * @return Returns the wsdlParser_.
    - */
    - public WebServicesParser getWebServicesParser()
    - {
    - if( wsdlParser_ == null )
    - {
    - wsdlParser_ = new WebServicesParserExt();
    - }
    -
    - return wsdlParser_;
    - }
    - /**
    - * @param wsdlParser_ The wsdlParser_ to set.
    - */
    - public void setWebServicesParser(WebServicesParser wsdlParser_)
    - {
    - this.wsdlParser_ = wsdlParser_;
    - }
    -/**
    - * @param earProjectName The earProjectName to set.
    - */
    -public void setEarProjectName(String earProjectName) {
    -}
    -/**
    - * @param existingServerId The existingServerId to set.
    - */
    -public void setExistingServerId(String existingServerId) {
    -}
    -
    -/**
    - * @return Returns the isRestartProjectNeeded.
    - */
    -public boolean getIsWebProjectStartupRequested() {
    - return isWebProjectStartupRequested_;
    -}
    -/**
    - * @param isRestartProjectNeeded The isRestartProjectNeeded to set.
    - */
    -public void setIsWebProjectStartupRequested(boolean isRestartProjectNeeded) {
    - this.isWebProjectStartupRequested_ = isRestartProjectNeeded;
    -}
    -
    -public String getServiceServerFactoryId()
    -{
    - return webService_.getWebServiceInfo().getServerFactoryId();
    -}
    -
    -public String getServiceServerInstanceId()
    -{
    - return webService_.getWebServiceInfo().getServerInstanceId();
    -}
    -
    -public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
    -{
    - return Status.OK_STATUS;
    -}
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/AbstractObjectSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/AbstractObjectSelectionWidget.java
    deleted file mode 100644
    index 805c970f9..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/AbstractObjectSelectionWidget.java
    +++ /dev/null
    @@ -1,67 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060410 135441 joan@ca.ibm.com - Joan Haggarty
    - * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.StructuredSelection;
    -import org.eclipse.swt.graphics.Point;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
    -
    -
    -public abstract class AbstractObjectSelectionWidget extends SimpleWidgetDataContributor implements IObjectSelectionWidget
    -{
    - public void setInitialSelection(IStructuredSelection initialSelection)
    - {
    - // subclass should override this method
    - }
    -
    - public IStructuredSelection getObjectSelection()
    - {
    - // subclass should override this method
    - return new StructuredSelection();
    - }
    -
    - public IStatus validateSelection(IStructuredSelection objectSelection)
    - {
    - // subclass should override this method
    - return Status.OK_STATUS;
    - }
    -
    - public IProject getProject()
    - {
    - // subclass should override this method
    - return null;
    - }
    -
    - public String getObjectSelectionDisplayableString()
    - {
    - // subclass should override this method
    - return "";
    - }
    -
    - public Point getWidgetSize()
    - {
    - // subclasses should override with an appropriate default dialog size for this widget
    - return null;
    - }
    -
    - public boolean validate(String s) {
    - // subclass should override this method
    - return true;
    - }
    - }
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionTransformer.java
    deleted file mode 100644
    index 6306fbb70..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionTransformer.java
    +++ /dev/null
    @@ -1,65 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2007 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20070116 159618 makandre@ca.ibm.com - Andrew Mak, Project and EAR not defaulted properly when wizard launched from JSR-109 Web services branch in J2EE Project Explorer
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import org.eclipse.emf.ecore.EObject;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.StructuredSelection;
    -import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
    -import org.eclipse.jst.j2ee.webservice.wsdd.EJBLink;
    -import org.eclipse.jst.j2ee.webservice.wsdd.PortComponent;
    -import org.eclipse.jst.j2ee.webservice.wsdd.ServiceImplBean;
    -import org.eclipse.wst.command.internal.env.core.data.Transformer;
    -
    -public class EJBSelectionTransformer implements Transformer
    -{
    -
    - public Object transform(Object value)
    - {
    - if (value instanceof IStructuredSelection)
    - {
    - Object sel = ((IStructuredSelection)value).getFirstElement();
    - if (sel instanceof EnterpriseBean)
    - {
    - return new StructuredSelection(((EnterpriseBean)sel).getName());
    - }
    - else if (sel instanceof ServiceImplBean)
    - {
    - return new StructuredSelection(getBeanName((ServiceImplBean) sel));
    - }
    - else if (sel instanceof EJBLink)
    - {
    - return new StructuredSelection(getBeanName((EJBLink) sel));
    - }
    - }
    - return value;
    - }
    -
    - private String getBeanName(ServiceImplBean bean) {
    - EObject eObject = bean.eContainer();
    - if (eObject instanceof PortComponent) {
    - PortComponent pc = (PortComponent) eObject;
    - return pc.getPortComponentName();
    - }
    - return "";
    - }
    -
    - private String getBeanName(EJBLink link) {
    - EObject eObject = link.eContainer();
    - if (eObject instanceof ServiceImplBean)
    - return getBeanName((ServiceImplBean) eObject);
    - return "";
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionWidget.java
    deleted file mode 100644
    index 5a7b2d0e2..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBSelectionWidget.java
    +++ /dev/null
    @@ -1,377 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060329 128069 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060418 136180 kathy@ca.ibm.com - Kathy Chan
    - * 20060524 141194 joan@ca.ibm.com - Joan Haggarty
    - * 20060825 135570 makandre@ca.ibm.com - Andrew Mak, Service implementation URL not displayed properly on first page
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import java.util.Collections;
    -import java.util.Hashtable;
    -import java.util.Iterator;
    -import java.util.Vector;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.StructuredSelection;
    -import org.eclipse.jst.j2ee.ejb.EJBJar;
    -import org.eclipse.jst.j2ee.ejb.EJBResource;
    -import org.eclipse.jst.j2ee.ejb.Session;
    -import org.eclipse.jst.j2ee.ejb.componentcore.util.EJBArtifactEdit;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.ui.common.UIUtils;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.events.SelectionAdapter;
    -import org.eclipse.swt.events.SelectionEvent;
    -import org.eclipse.swt.graphics.Point;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.widgets.Combo;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Group;
    -import org.eclipse.swt.widgets.Label;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.Table;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -import org.eclipse.wst.common.componentcore.internal.util.ComponentUtilities;
    -import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
    -
    -public class EJBSelectionWidget extends AbstractObjectSelectionWidget implements IObjectSelectionWidget
    -{
    -
    - private Combo earList;
    - private EJBTableViewer beanList;
    - private IVirtualComponent[] earComponents;
    - private Integer selectedBeanIndex = null;
    - private Vector ejbBeanNames;
    - private Vector ejbComponentNames;
    - private Vector ejbComponentProjectNames;
    - private Hashtable ejbValuesByEARSelectionCache;
    - private Listener statusListener_;
    - private String displayString_ = "";
    - /* CONTEXT_ID PEBD0001 for the EAR Projects drop-down box */
    - private String INFOPOP_PEBD_EAR_PROJECTS = "org.eclipse.jst.ws.consumption.ui.PEBD0001";
    - /* CONTEXT_ID PEBD0002 for the table containing all of the bean names */
    - private String INFOPOP_PEBD_TABLE_BEAN_NAMES = "org.eclipse.jst.ws.consumption.ui.PEBD0002";
    -
    - public EJBSelectionWidget()
    - {
    - earComponents = J2EEUtils.getAllEARComponents();
    - ejbValuesByEARSelectionCache = new Hashtable();
    - }
    -
    - public String getSelectedBean()
    - {
    - if (selectedBeanIndex != null)
    - {
    - return (String) (ejbBeanNames.elementAt(selectedBeanIndex.intValue()));
    - }
    - return null;
    - }
    -
    - public String getSelectedProject()
    - {
    - if (selectedBeanIndex != null)
    - {
    - return (String) (ejbComponentProjectNames.elementAt(selectedBeanIndex.intValue()));
    - }
    - return null;
    - }
    -
    - public WidgetDataEvents addControls(Composite parent, Listener statusListener)
    - {
    - statusListener_ = statusListener;
    - UIUtils utils = new UIUtils(INFOPOP_PEBD_EAR_PROJECTS);
    -
    - Composite composite = utils.createComposite(parent, 1, 0, 0);
    -
    - Composite projectComposite = utils.createComposite(composite, 2);
    - new Label(projectComposite, SWT.NULL).setText(ConsumptionUIMessages.LABEL_EAR_PROJECTS);
    - earList = new Combo(projectComposite, SWT.DROP_DOWN | SWT.READ_ONLY);
    - earList.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    - earList.addSelectionListener(new SelectionAdapter()
    - {
    - public void widgetSelected(SelectionEvent evt)
    - {
    - Combo widget = (Combo) (evt.widget);
    - int earListSelectionIndex = widget.getSelectionIndex();
    - if (earListSelectionIndex > 0)
    - {
    - setBeanList(earComponents[earListSelectionIndex-1]);
    - }
    - else
    - {
    - setBeanList(null);
    - }
    - selectedBeanIndex = null;
    - statusListener_.handleEvent(null);
    - }
    - });
    - addEARNamesToList();
    - earList.setToolTipText(ConsumptionUIMessages.TOOLTIP_EAR_PROJECTS);
    - PlatformUI.getWorkbench().getHelpSystem().setHelp(earList, INFOPOP_PEBD_EAR_PROJECTS);
    -
    - Group beanComposite = utils.createGroup(composite, ConsumptionUIMessages.LABEL_EJB_BEAN_NAME, "", "");
    - beanList = new EJBTableViewer(beanComposite);
    - Table beanTable = beanList.getTable();
    - GridData gd = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
    - gd.heightHint = 100;
    - beanTable.setLayoutData(gd);
    - beanTable.addSelectionListener(new SelectionAdapter()
    - {
    - public void widgetSelected(SelectionEvent evt)
    - {
    - Table table = (Table) (evt.widget);
    - selectedBeanIndex = new Integer(table.getSelectionIndex());
    - statusListener_.handleEvent(null);
    - }
    - });
    - beanTable.setToolTipText(ConsumptionUIMessages.TOOLTIP_TABLE_BEAN_NAMES);
    - PlatformUI.getWorkbench().getHelpSystem().setHelp(beanTable, INFOPOP_PEBD_TABLE_BEAN_NAMES);
    -
    - if (earComponents != null && earComponents.length > 0)
    - {
    - setBeanList(earComponents[0]);
    - }
    - else
    - {
    - setBeanList(null);
    - }
    -
    - // This is a dummy label that forces the status label into the second
    - // column.
    - new Label(composite, SWT.NULL).setText("");
    -
    - return this;
    - }
    -
    -
    -
    - private void addEARNamesToList()
    - {
    - earList.add(ConsumptionUIMessages.LABEL_SHOW_ALL_STATELESS_SESSION_EJBS);
    - if (earComponents != null && earComponents.length > 0)
    - {
    - for (int index = 0; index < earComponents.length; index++)
    - {
    - earList.add(earComponents[index].getName());
    - }
    - earList.setText(earList.getItem(1));
    - }
    - }
    -
    - private void setBeanList(IVirtualComponent earComponent)
    - {
    - String cacheKey = (earComponent == null)? earList.getItem(0): earComponent.getName();
    -
    - //Check if we've already cached results for this case. If so, use the
    - //cached values and return. If not, continue.
    - EJBTableValues cachedValues = (EJBTableValues)ejbValuesByEARSelectionCache.get(cacheKey);
    - if (cachedValues != null)
    - {
    - ejbBeanNames = cachedValues.cachedEjbBeanNames;
    - ejbComponentNames = cachedValues.cachedEjbComponentNames;
    - ejbComponentProjectNames = cachedValues.cachdedEjbComponentProjectNames;
    - beanList.setData(ejbBeanNames, ejbComponentNames);
    - beanList.setInput(ejbBeanNames);
    - return;
    - }
    -
    - IVirtualComponent[] ejbComponentsArray = null;
    - if (earComponent == null)
    - {
    - ejbComponentsArray = J2EEUtils.getAllEJBComponents();
    - }
    - else
    - {
    - ejbComponentsArray = J2EEUtils.getReferencingEJBComponentsFromEAR(earComponent.getProject());
    - }
    -
    - Table beanTable = beanList.getTable();
    - beanTable.removeAll();
    - ejbBeanNames = new Vector();
    - ejbComponentNames = new Vector();
    - ejbComponentProjectNames = new Vector();
    - for (int index = 0; index < ejbComponentsArray.length; index++)
    - {
    - EJBArtifactEdit ejbEdit = null;
    - try {
    - ejbEdit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbComponentsArray[index]);
    - EJBResource ejbRes = ejbEdit.getEJBJarXmiResource();
    - EJBJar jar = ejbRes.getEJBJar();
    - Vector beans = J2EEUtils.getBeanNames(jar);
    - String componentName = ejbComponentsArray[index].getName();
    - String projectName = ejbComponentsArray[index].getProject().getName();
    - ejbBeanNames.addAll(beans);
    - ejbComponentNames.addAll(Collections.nCopies(beans.size(), componentName));
    - ejbComponentProjectNames.addAll(Collections.nCopies(beans.size(), projectName));
    - }
    - finally {
    - if (ejbEdit!=null)
    - ejbEdit.dispose();
    - }
    - }
    - beanList.setData(ejbBeanNames, ejbComponentNames);
    - beanList.setInput(ejbBeanNames);
    -
    - //Cache the results for next time
    - EJBTableValues ejbTableValues = new EJBTableValues();
    - ejbTableValues.cachedEjbBeanNames = ejbBeanNames;
    - ejbTableValues.cachedEjbComponentNames = ejbComponentNames;
    - ejbTableValues.cachdedEjbComponentProjectNames = ejbComponentProjectNames;
    - ejbValuesByEARSelectionCache.put(cacheKey, ejbTableValues);
    - }
    -
    - public void setInitialSelection(IStructuredSelection initialSelection)
    - {
    - if (initialSelection != null && !initialSelection.isEmpty())
    - {
    - Object object = initialSelection.getFirstElement();
    - if (object instanceof Session)
    - {
    - Session session = (Session) object;
    - EJBJar jar = session.getEjbJar();
    - if (jar != null)
    - {
    - for (int i = 0; i < earComponents.length; i++)
    - {
    - IVirtualComponent[] ejbComponents = J2EEUtils.getReferencingEJBComponentsFromEAR(earComponents[i].getProject());
    - for (int j=0; j <ejbComponents.length; j++)
    - {
    - EJBArtifactEdit ejbEdit = null;
    - try {
    - ejbEdit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbComponents[j]);
    - EJBResource ejbRes = ejbEdit.getEJBJarXmiResource();
    - if (ejbRes.getEJBJar() == jar)
    - {
    - earList.setText(earComponents[i].getName());
    - setBeanList(earComponents[i]);
    - beanList.setSelection(new StructuredSelection(new Integer[]{new Integer(ejbBeanNames.indexOf(session.getName()))}));
    - selectedBeanIndex = new Integer(ejbBeanNames.indexOf(session.getName()));
    - return;
    - }
    -
    - }
    - finally {
    - if (ejbEdit!=null)
    - ejbEdit.dispose();
    - }
    -
    - }
    - }
    -
    - //Haven't returned yet so we did not find an EAR that contains this EJB. Initialize the page accordingly.
    - earList.setText(earList.getItem(0));
    - setBeanList(null);
    - beanList.setSelection(new StructuredSelection(new Integer[]{new Integer(ejbBeanNames.indexOf(session.getName()))}));
    - selectedBeanIndex = new Integer(ejbBeanNames.indexOf(session.getName()));
    - }
    - }
    - else if (object instanceof String)
    - displayString_ = (String) object; // save for display use
    - }
    - }
    -
    - public IStructuredSelection getObjectSelection()
    - {
    - String selEJBName = (String) ejbBeanNames.get(selectedBeanIndex.intValue());
    - if (selEJBName != null)
    - {
    - //Get the project containing the bean to get the corresponding Session object.
    - //Then return the Session object in an IStructuredSelection.
    - String ejbComponentName = (String) ejbComponentNames.get(selectedBeanIndex.intValue());
    - IVirtualComponent ejbComponent = ComponentUtilities.getComponent(ejbComponentName);
    - EJBArtifactEdit ejbEdit = null;
    - try
    - {
    - ejbEdit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbComponent);
    - EJBResource ejbRes = ejbEdit.getEJBJarXmiResource();
    - EJBJar jar = ejbRes.getEJBJar();
    - java.util.List sessions = jar.getSessionBeans();
    - for (Iterator it2 = sessions.iterator(); it2.hasNext();)
    - {
    - Session session = (Session) it2.next();
    - if (selEJBName.equals(session.getName()))
    - {
    - return new StructuredSelection(new Session[]{session});
    - }
    - }
    - }
    - finally {
    - if (ejbEdit!=null)
    - ejbEdit.dispose();
    - }
    - }
    - return new StructuredSelection(new Object[0]);
    - }
    -
    - public IProject getProject()
    - {
    - String projectName = getSelectedProject();
    - if (projectName != null && projectName.length() > 0)
    - return ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
    - else
    - return null;
    - }
    -
    - public String getComponentName()
    - {
    - if (selectedBeanIndex != null)
    - {
    - return (String) (ejbComponentNames.elementAt(selectedBeanIndex.intValue()));
    - }
    - return null;
    - }
    -
    - public String getObjectSelectionDisplayableString() {
    -
    - if (ejbBeanNames == null)
    - return displayString_;
    -
    - int index = selectedBeanIndex == null ? 0 : selectedBeanIndex.intValue();
    - String bean = (String) ejbBeanNames.get(index);
    - return bean == null ? displayString_ : bean;
    - }
    -
    - public IStatus validateSelection(IStructuredSelection objectSelection)
    - {
    - return Status.OK_STATUS;
    - }
    -
    - public IStatus getStatus()
    - {
    - if (selectedBeanIndex == null)
    - {
    - return StatusUtils.errorStatus( "" );
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    - public Point getWidgetSize() {
    - return new Point(450, 350);
    - }
    -
    - private class EJBTableValues
    - {
    - Vector cachedEjbBeanNames;
    - Vector cachedEjbComponentNames;
    - Vector cachdedEjbComponentProjectNames;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBTableViewer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBTableViewer.java
    deleted file mode 100644
    index 155b4f04e..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/EJBTableViewer.java
    +++ /dev/null
    @@ -1,122 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060524 141194 joan@ca.ibm.com - Joan Haggarty
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import java.util.Vector;
    -
    -import org.eclipse.jface.viewers.ColumnWeightData;
    -import org.eclipse.jface.viewers.IStructuredContentProvider;
    -import org.eclipse.jface.viewers.ITableLabelProvider;
    -import org.eclipse.jface.viewers.LabelProvider;
    -import org.eclipse.jface.viewers.TableLayout;
    -import org.eclipse.jface.viewers.TableViewer;
    -import org.eclipse.jface.viewers.Viewer;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Table;
    -import org.eclipse.swt.widgets.TableColumn;
    -
    -public class EJBTableViewer extends TableViewer
    -{
    - private Vector beanNames;
    - private Vector projectNames;
    -
    - public EJBTableViewer(Composite parent)
    - {
    - super(parent, SWT.SINGLE | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION);
    -
    - String columnProperties[] = {ConsumptionUIMessages.TABLE_TITLE_EJB_BEAN_NAMES, ConsumptionUIMessages.TABLE_TITLE_EJB_PROJECT_NAME};
    - int columnsWidth[] = {60, 20};
    - int columnMins[] = {175, 125};
    -
    - Table table = getTable();
    - table.setHeaderVisible(true);
    - table.setLinesVisible(true);
    - TableLayout layout = new TableLayout();
    - for (int i = 0; i < columnProperties.length; i++)
    - {
    - TableColumn column = new TableColumn(table, SWT.NONE, i);
    - column.setText(columnProperties[i]);
    - column.pack();
    - layout.addColumnData(new ColumnWeightData(columnsWidth[i], columnMins[i], true));
    - }
    - table.setLayout(layout);
    - setColumnProperties(columnProperties);
    - setContentProvider(new EJBContentProvider());
    - setLabelProvider(new EJBLabelProvider());
    - }
    -
    - public void setData(Vector beanNames, Vector projectNames)
    - {
    - this.beanNames = beanNames;
    - this.projectNames = projectNames;
    - }
    - private class EJBLabelProvider extends LabelProvider implements ITableLabelProvider
    - {
    - public String getColumnText(Object object, int columnIndex)
    - {
    - String result = null;
    - if (object instanceof Integer)
    - {
    - int index = ((Integer) object).intValue();
    - if (columnIndex == 0)
    - {
    - return (String) (beanNames.elementAt(index));
    - }
    - else if (columnIndex == 1)
    - {
    - return (String) (projectNames.elementAt(index));
    - }
    - }
    - return result;
    - }
    -
    - public Image getColumnImage(Object object, int columnIndex)
    - {
    - return null;
    - }
    - }
    - public class EJBContentProvider implements IStructuredContentProvider
    - {
    - public Object[] getElements(Object element)
    - {
    - if (beanNames != null)
    - {
    - int size = beanNames.size();
    - Object[] result = new Object[size];
    - for (int index = 0; index < size; index++)
    - {
    - result[index] = new Integer(index);
    - }
    - return result;
    - }
    - return null;
    - }
    -
    - public void dispose()
    - {
    - }
    -
    - public void inputChanged(Viewer viewer, Object old, Object newobj)
    - {
    - }
    -
    - public boolean isDeleted(Object object)
    - {
    - return false;
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/HandlerTableItem.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/HandlerTableItem.java
    deleted file mode 100644
    index a7be6f437..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/HandlerTableItem.java
    +++ /dev/null
    @@ -1,114 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import org.eclipse.jst.j2ee.webservice.wsdd.PortComponent;
    -
    -
    -
    -public class HandlerTableItem {
    -
    - private String handlerClassName;
    - private String handlerName;
    - private String portName;
    - private int index;
    -
    - private PortComponent port;
    - private Object handler;
    - private Object wsDescRef;
    -
    - /**
    - * @return Returns the handlerClassName.
    - */
    - public String getHandlerClassName() {
    - return handlerClassName;
    - }
    - /**
    - * @param handlerClassName The handlerClassName to set.
    - */
    - public void setHandlerClassName(String handlerClassName) {
    - this.handlerClassName = handlerClassName;
    - }
    - /**
    - * @return Returns the handlerName.
    - */
    - public String getHandlerName() {
    - return handlerName;
    - }
    - /**
    - * @param handlerName The handlerName to set.
    - */
    - public void setHandlerName(String handlerName) {
    - this.handlerName = handlerName;
    - }
    - /**
    - * @return Returns the port.
    - */
    - public PortComponent getPort() {
    - return port;
    - }
    - /**
    - * @param port The port to set.
    - */
    - public void setPort(PortComponent port) {
    - this.port = port;
    - }
    - /**
    - * @return Returns the handler.
    - */
    - public Object getHandler() {
    - return handler;
    - }
    - /**
    - * @param handler The handler to set.
    - */
    - public void setHandler(Object handler) {
    - this.handler = handler;
    - }
    - /**
    - * @return Returns the portName.
    - */
    - public String getPortName() {
    - return portName;
    - }
    - /**
    - * @param portName The portName to set.
    - */
    - public void setPortName(String portName) {
    - this.portName = portName;
    - }
    -
    - /**
    - * @return Returns the index.
    - */
    - public int getIndex() {
    - return index;
    - }
    - /**
    - * @param index The index to set.
    - */
    - public void setIndex(int index) {
    - this.index = index;
    - }
    - /**
    - * @return Returns the wsDescRef.
    - */
    - public Object getWsDescRef() {
    - return wsDescRef;
    - }
    - /**
    - * @param wsDescRef The wsDescRef to set.
    - */
    - public void setWsDescRef(Object wsDescRef) {
    - this.wsDescRef = wsDescRef;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/IObjectSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/IObjectSelectionWidget.java
    deleted file mode 100644
    index ab80c3818..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/IObjectSelectionWidget.java
    +++ /dev/null
    @@ -1,94 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060410 135441 joan@ca.ibm.com - Joan Haggarty
    - * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.swt.graphics.Point;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataContributor;
    -
    -/**
    - * This interface defines extra methods that Object Selection Widgets
    - * need to implement. Object Selection Widgets are displayed on page 2
    - * of the Web services wizard.
    - */
    -public interface IObjectSelectionWidget extends WidgetDataContributor
    -{
    - /**
    - * The framework will call this method to set the initial selection
    - * value that the user has specified.
    - *
    - * @param initialSelection the initial selection the user specified.
    - */
    - public void setInitialSelection(IStructuredSelection initialSelection);
    -
    - /**
    - * The intent of the Object Selection Widget is that the user has
    - * the opportunity change/find the object that they want to turn into
    - * a Web service.
    - *
    - * @return returns the an IStructuredSelection object that the user
    - * want to turn into a Web service. This object may be different than
    - * the initialSelection passed in by the setInitialSelection method.
    - */
    - public IStructuredSelection getObjectSelection();
    -
    - /**
    - * Validates whether the objectSelection parameter is valid for
    - * this Object selection widget. An error status should be returned
    - * if this object is not value. Otherwise, and ok status should be
    - * returned
    - *
    - * @param objectSelection the object to be validated.
    - * @return the status of the validation.
    - */
    - public IStatus validateSelection(IStructuredSelection objectSelection);
    -
    - /**
    - *
    - * @return returns the IProject that contains the selection
    - * object that the user has chosen with this widget. The value can be
    - * null if there is no IProject for this object.
    - */
    - public IProject getProject();
    -
    - /**
    - *
    - * @return returns the name of the IVirtualComponent that contains the selection
    - * object that the user has chosen with this widget. The value can be
    - * null if there is no IVirtualComponent for this object
    - */
    - public String getComponentName();
    -
    - /**
    - *
    - * @return returns the string to displayed in the UI for the selected object
    - */
    - public String getObjectSelectionDisplayableString();
    -
    - /**
    - *
    - * @return returns the default initial size for the widget to be called from getInitialSize from any parent dialog
    - */
    - public Point getWidgetSize();
    -
    - /**
    - *
    - * @param s A string representation of the object selection
    - * @return true if the string represents a valid object selection
    - */
    - public boolean validate(String s);
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionTransformer.java
    deleted file mode 100644
    index 8e76b8884..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionTransformer.java
    +++ /dev/null
    @@ -1,87 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2007 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20070116 159618 makandre@ca.ibm.com - Andrew Mak, Project and EAR not defaulted properly when wizard launched from JSR-109 Web services branch in J2EE Project Explorer
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import org.eclipse.core.resources.IFile;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.emf.ecore.EObject;
    -import org.eclipse.jdt.core.ICompilationUnit;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.StructuredSelection;
    -import org.eclipse.jst.j2ee.webservice.wsdd.ServiceImplBean;
    -import org.eclipse.jst.j2ee.webservice.wsdd.ServletLink;
    -import org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.PortComponentImpl;
    -import org.eclipse.wst.command.internal.env.core.data.Transformer;
    -
    -public class JavaBeanSelectionTransformer implements Transformer
    -{
    - public Object transform(Object value)
    - {
    - if (value instanceof IStructuredSelection)
    - {
    - Object sel = ((IStructuredSelection)value).getFirstElement();
    - if (sel instanceof IFile)
    - {
    - return new StructuredSelection(computeFullyQualifiedJavaName((IFile)sel));
    - }
    - else if (sel instanceof ICompilationUnit)
    - {
    - IResource res = ((ICompilationUnit)sel).getResource();
    - if (res instanceof IFile)
    - return new StructuredSelection(computeFullyQualifiedJavaName((IFile)res));
    - }
    - else if (sel instanceof ServiceImplBean)
    - {
    - return new StructuredSelection(getBeanName((ServiceImplBean) sel));
    - }
    - else if(sel instanceof ServletLink)
    - {
    - return new StructuredSelection(getBeanName((ServletLink) sel));
    - }
    - }
    - return value;
    - }
    -
    - private String computeFullyQualifiedJavaName(IFile resource)
    - {
    - IPath path = resource.getFullPath();
    - String basename = path.lastSegment();
    - String beanClass = "";
    - if (basename != null && basename.length() > 0)
    - {
    - String beanPackage = org.eclipse.jst.ws.internal.common.ResourceUtils.getJavaResourcePackageName(path);
    - beanClass = (beanPackage == null || beanPackage.length() == 0 ? basename : (beanPackage + "." + basename));
    - if (beanClass.toLowerCase().endsWith(".java") || beanClass.toLowerCase().endsWith(".class"))
    - beanClass = beanClass.substring(0, beanClass.lastIndexOf('.'));
    - }
    - return beanClass;
    - }
    -
    - private String getBeanName(ServiceImplBean bean) {
    - EObject eObject = bean.eContainer();
    - if (eObject instanceof PortComponentImpl) {
    - PortComponentImpl pci = (PortComponentImpl) eObject;
    - return pci.getServiceEndpointInterface();
    - }
    - return "";
    - }
    -
    - private String getBeanName(ServletLink link) {
    - EObject eObject = link.eContainer();
    - if (eObject instanceof ServiceImplBean)
    - return getBeanName((ServiceImplBean) eObject);
    - return "";
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionWidget.java
    deleted file mode 100644
    index 6577c8c4d..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/JavaBeanSelectionWidget.java
    +++ /dev/null
    @@ -1,281 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import org.eclipse.core.resources.IFile;
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.emf.ecore.EObject;
    -import org.eclipse.jdt.core.ICompilationUnit;
    -import org.eclipse.jdt.core.IType;
    -import org.eclipse.jdt.core.JavaModelException;
    -import org.eclipse.jface.dialogs.ProgressMonitorDialog;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.StructuredSelection;
    -import org.eclipse.jst.j2ee.webservice.wsdd.BeanLink;
    -import org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.PortComponentImpl;
    -import org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.ServiceImplBeanImpl;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.common.JavaResourceFilter;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.ui.common.UIUtils;
    -import org.eclipse.jst.ws.internal.ui.dialog.DialogUtils;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.events.ModifyEvent;
    -import org.eclipse.swt.events.ModifyListener;
    -import org.eclipse.swt.events.SelectionAdapter;
    -import org.eclipse.swt.events.SelectionEvent;
    -import org.eclipse.swt.widgets.Button;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.Shell;
    -import org.eclipse.swt.widgets.Text;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
    -
    -public class JavaBeanSelectionWidget extends AbstractObjectSelectionWidget implements IObjectSelectionWidget
    -{
    - private IProject serverProject_ = null;
    - private String serverComponentName_ = null;
    - private Composite parent_ = null;
    - private JavaResourceFilter filter_ = new JavaResourceFilter();
    - private IResource initialResource_ = null;
    - private Listener statusListener;
    -
    - /*CONTEXT_ID PBCL0001 for the Bean Selection Page*/
    - private String INFOPOP_PBCL_PAGE = "PBCL0001";
    -
    - private Text beanClassText_;
    - /*CONTEXT_ID PBCL0002 for the Bean Selection field of the Bean Selection Page*/
    - private String INFOPOP_PBCL_TEXT_BEAN_CLASS = "PBCL0002";
    -
    - private Button beanClassBrowseButton_;
    - /*CONTEXT_ID PBCL0003 for the Bean Class Browse button of the Bean Selection Page*/
    - private String INFOPOP_PBCL_BUTTON_BEAN_CLASS_BROWSE = "PBCL0003";
    -
    - private Button beanResourceBrowseButton_;
    - /*CONTEXT_ID PBCL0004 for the Bean Resource Browse button of the Bean Selection Page*/
    - private String INFOPOP_PBCL_BUTTON_BEAN_RESOURCE_BROWSE = "PBCL0004";
    -
    - public WidgetDataEvents addControls( Composite parent, Listener statusListener )
    - {
    - String pluginId_ = "org.eclipse.jst.ws.consumption.ui";
    - this.statusListener = statusListener;
    - UIUtils uiUtils = new UIUtils( pluginId_ );
    -
    - parent_ = parent;
    -
    - Composite group = uiUtils.createComposite( parent, 4 );
    -
    - group.setToolTipText( ConsumptionUIMessages.TOOLTIP_PBCL_PAGE );
    - PlatformUI.getWorkbench().getHelpSystem().setHelp( group, pluginId_ + "." + INFOPOP_PBCL_PAGE );
    -
    - beanClassText_ = uiUtils.createText( group, ConsumptionUIMessages.LABEL_BEAN_CLASS_NAME,
    - ConsumptionUIMessages.TOOLTIP_PBCL_TEXT_BEAN_CLASS,
    - INFOPOP_PBCL_TEXT_BEAN_CLASS,
    - SWT.SINGLE | SWT.BORDER);
    - beanClassText_.addModifyListener(
    - new ModifyListener()
    - {
    - public void modifyText(ModifyEvent e)
    - {
    - handleModifyBeanClassText();
    - }
    - }
    - );
    -
    - beanClassBrowseButton_ = uiUtils.createPushButton( group, ConsumptionUIMessages.BUTTON_BROWSE_CLASSES,
    - ConsumptionUIMessages.TOOLTIP_PBCL_BUTTON_BEAN_CLASS_BROWSE,
    - INFOPOP_PBCL_BUTTON_BEAN_CLASS_BROWSE );
    - beanClassBrowseButton_.addSelectionListener( new SelectionAdapter()
    - {
    - public void widgetSelected( SelectionEvent evt )
    - {
    - handleBrowseClasses();
    - }
    - } );
    -
    - beanResourceBrowseButton_ = uiUtils.createPushButton( group, ConsumptionUIMessages.BUTTON_BROWSE_FILES,
    - ConsumptionUIMessages.TOOLTIP_PBCL_BUTTON_BEAN_RESOURCE_BROWSE,
    - INFOPOP_PBCL_BUTTON_BEAN_RESOURCE_BROWSE );
    - beanResourceBrowseButton_.addSelectionListener( new SelectionAdapter()
    - {
    - public void widgetSelected( SelectionEvent evt )
    - {
    - handleBrowseFiles();
    - }
    - } );
    - return this;
    - }
    -
    - private void handleModifyBeanClassText()
    - {
    - statusListener.handleEvent(null);
    - serverProject_ = null;
    - serverComponentName_ = null;
    - }
    -
    - private void handleBrowseClasses()
    - {
    - Shell shell = parent_.getShell();
    - IType itype = DialogUtils.browseClassesAsIType(shell, ResourcesPlugin.getWorkspace().getRoot().getProjects(), new ProgressMonitorDialog(shell));
    - if (itype != null)
    - {
    - beanClassText_.setText(itype.getFullyQualifiedName());
    - try
    - {
    - IResource res = itype.getCorrespondingResource();
    - if (res != null)
    - {
    - serverProject_ = res.getProject();
    - IVirtualComponent comp = ResourceUtils.getComponentOf(res);
    - if (comp!=null)
    - {
    - serverComponentName_ = comp.getName();
    - }
    - }
    - else
    - {
    - serverProject_ = null;
    - serverComponentName_ = null;
    - }
    - }
    - catch (JavaModelException jme)
    - {
    - serverProject_ = null;
    - serverComponentName_ = null;
    - }
    - }
    - }
    -
    - private void handleBrowseFiles()
    - {
    - IResource topResource = ResourceUtils.getWorkspaceRoot();
    - IResource resource = DialogUtils.browseResources( parent_.getShell(), topResource, initialResource_, filter_ );
    - setBeanClass(resource);
    - }
    -
    - private void setBeanClass(IResource resource)
    - {
    - if( resource != null && resource instanceof IFile )
    - {
    - IPath path = resource.getFullPath();
    - String basename = path.lastSegment();
    -
    - if( basename != null && basename.length() > 0 )
    - {
    - String beanPackage = org.eclipse.jst.ws.internal.common.ResourceUtils.getJavaResourcePackageName(path);
    - String beanClass = (beanPackage == null || beanPackage.length() == 0 ? basename : (beanPackage + "." + basename));
    -
    - if( beanClass.toLowerCase().endsWith(".java") || beanClass.toLowerCase().endsWith(".class" ) )
    - {
    - beanClass = beanClass.substring( 0, beanClass.lastIndexOf('.') );
    - }
    -
    - beanClassText_.setText(beanClass);
    - serverProject_ = ResourceUtils.getProjectOf(path);
    - IVirtualComponent comp = ResourceUtils.getComponentOf(resource);
    -
    - if (comp!=null)
    - {
    - serverComponentName_ = comp.getName();
    - }
    -
    - }
    - }
    - }
    -
    - private void setBeanClass(ServiceImplBeanImpl serviceImpl)
    - {
    - if( serviceImpl != null )
    - {
    - EObject eObject = serviceImpl.eContainer();
    - if(eObject instanceof PortComponentImpl){
    - PortComponentImpl pci = (PortComponentImpl)eObject;
    - String beanClass = pci.getServiceEndpointInterface();
    - beanClassText_.setText(beanClass);
    - }
    - }
    - }
    -
    - private void setBeanClass(BeanLink serviceImpl)
    - {
    - if( serviceImpl != null )
    - {
    - EObject eObject = serviceImpl.eContainer();
    - if(eObject instanceof ServiceImplBeanImpl){
    - setBeanClass((ServiceImplBeanImpl)eObject);
    - }
    - }
    - }
    -
    - public void setInitialSelection(IStructuredSelection initialSelection)
    - {
    - if (initialSelection != null && !initialSelection.isEmpty())
    - {
    - Object object = initialSelection.getFirstElement();
    - if (object instanceof IFile)
    - {
    - IFile iFile = (IFile)object;
    - String fileExt = iFile.getFileExtension().toLowerCase();
    - if (fileExt.equals("java") || fileExt.equals("class"))
    - setBeanClass(iFile);
    - }
    - else if (object instanceof ICompilationUnit)
    - setBeanClass(((ICompilationUnit)object).getResource());
    - else if (object instanceof ServiceImplBeanImpl)
    - setBeanClass((ServiceImplBeanImpl)object);
    - else if(object instanceof BeanLink)
    - setBeanClass((BeanLink)object);
    - }
    - }
    -
    - public IStructuredSelection getObjectSelection()
    - {
    - return new StructuredSelection(beanClassText_.getText());
    - }
    -
    - public IProject getProject()
    - {
    - return serverProject_;
    - }
    -
    - public String getComponentName()
    - {
    - return serverComponentName_;
    - }
    -
    - public IStatus getStatus()
    - {
    - String beanClassName = beanClassText_.getText().trim();
    - if (beanClassName == null || beanClassName.length() <= 0)
    - {
    - return StatusUtils.errorStatus(ConsumptionUIMessages.PAGE_MSG_BEAN_CANNOT_BE_EMPTY);
    - }
    - return Status.OK_STATUS;
    - }
    -
    - public IStatus validateSelection(IStructuredSelection objectSelection)
    - {
    - return Status.OK_STATUS;
    - }
    -
    - public String getObjectSelectionDisplayableString() {
    - // TODO Auto-generated method stub
    - return "Java bean string ";
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionFragment.java
    deleted file mode 100644
    index a889d944a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionFragment.java
    +++ /dev/null
    @@ -1,92 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceImpl;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.wst.command.internal.env.core.common.Condition;
    -import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
    -import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SelectionCommand;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
    -
    -
    -public class ObjectSelectionFragment extends SequenceFragment implements Condition
    -{
    - private TypeRuntimeServer typeRuntimeServer;
    - private boolean hasObjectSelectionWidget;
    -
    - public ObjectSelectionFragment()
    - {
    - super();
    - BooleanFragment boolFragment = new BooleanFragment(new SimpleFragment("ObjectSelectionWidget"), new SimpleFragment(""), this);
    - add(boolFragment);
    - add(new SimpleFragment(new ObjectSelectionOutputCommand(), ""));
    - hasObjectSelectionWidget = false;
    - }
    -
    - /**
    - * This method is called retrieve the data mappings for this command fragment.
    - */
    - public void registerDataMappings(DataMappingRegistry dataRegistry)
    - {
    - dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ObjectSelectionWidget.class );
    - dataRegistry.addMapping(SelectionCommand.class, "InitialSelection", ObjectSelectionOutputCommand.class, "ObjectSelection", null);
    - dataRegistry.addMapping(ObjectSelectionFragment.class, "TypeRuntimeServer", ObjectSelectionWidget.class);
    - dataRegistry.addMapping(ObjectSelectionFragment.class, "TypeRuntimeServer", ObjectSelectionOutputCommand.class);
    -
    - dataRegistry.addMapping(ObjectSelectionWidget.class, "ObjectSelection", ObjectSelectionOutputCommand.class);
    - dataRegistry.addMapping(ObjectSelectionWidget.class, "Project", ObjectSelectionOutputCommand.class);
    - dataRegistry.addMapping(ObjectSelectionWidget.class, "ComponentName", ObjectSelectionOutputCommand.class);
    - }
    -
    - public boolean evaluate()
    - {
    - return hasObjectSelectionWidget;
    - }
    -
    - public TypeRuntimeServer getTypeRuntimeServer()
    - {
    - return typeRuntimeServer;
    - }
    -
    - /**
    - * @param typeRuntimeServer The typeRuntimeServer to set.
    - */
    - public void setTypeRuntimeServer(TypeRuntimeServer typeRuntimeServer)
    - {
    - this.typeRuntimeServer = typeRuntimeServer;
    - if (typeRuntimeServer != null)
    - {
    - String wst = typeRuntimeServer.getTypeId();
    -
    - int scenario = WebServiceRuntimeExtensionUtils2.getScenarioFromTypeId(wst);
    - String implId = WebServiceRuntimeExtensionUtils2.getWebServiceImplIdFromTypeId(wst);
    - if (scenario == WebServiceScenario.TOPDOWN)
    - {
    - //Must have WSDL object selection. No choice.
    - hasObjectSelectionWidget=true;
    - }
    - else
    - {
    - WebServiceImpl wsimpl = WebServiceRuntimeExtensionUtils2.getWebServiceImplById(implId);
    - if (wsimpl!=null)
    - {
    - String objectSelectionWidgetId = wsimpl.getObjectSelectionWidget();
    - hasObjectSelectionWidget = objectSelectionWidgetId != null && objectSelectionWidgetId.length() > 0;
    - }
    - }
    - }
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionOutputCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionOutputCommand.java
    deleted file mode 100644
    index 0dd5eab37..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionOutputCommand.java
    +++ /dev/null
    @@ -1,297 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2007 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060830 155114 pmoogk@ca.ibm.com - Peter Moogk, Updated patch for this defect.
    - * 20070116 159618 makandre@ca.ibm.com - Andrew Mak, Project and EAR not defaulted properly when wizard launched from JSR-109 Web services branch in J2EE Project Explorer
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Path;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.emf.ecore.EObject;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.common.UniversalPathTransformer;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceImpl;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.wst.command.internal.env.core.data.Transformer;
    -import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.environment.StatusException;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
    -
    -
    -public class ObjectSelectionOutputCommand extends AbstractDataModelOperation
    -{
    - private String objectSelectionWidgetId_;
    - private IStructuredSelection objectSelection_;
    - private IObjectSelectionWidget objectSelectionWidget_;
    - private IProject project_;
    - private String componentName_;
    - private WebServicesParser parser_;
    -
    - private UniversalPathTransformer transformer_ = new UniversalPathTransformer();
    -
    - private boolean topDown_ = false;
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    -
    - // Transformation
    - if (objectSelectionWidgetId_ != null && objectSelectionWidgetId_.length() > 0)
    - {
    - Transformer transformer = ObjectSelectionRegistry.getInstance().getTransformer(objectSelectionWidgetId_);
    - Object transformedSelection = transformer == null ? null : transformer.transform(objectSelection_);
    -
    - if (transformedSelection instanceof IStructuredSelection)
    - {
    - objectSelection_ = (IStructuredSelection)transformedSelection;
    - }
    - }
    -
    - // Validation
    - IStatus status = (objectSelectionWidget_ != null) ? objectSelectionWidget_.validateSelection(getObjectSelection()) : Status.OK_STATUS;
    - if (status.getSeverity() != Status.OK && env != null)
    - {
    - try
    - {
    - env.getStatusHandler().report(status);
    - }
    - catch (StatusException se)
    - {
    - }
    - }
    -
    - return status;
    - }
    -
    - /**
    - * @param typeRuntimeServer The typeRuntimeServer to set.
    - */
    - public void setTypeRuntimeServer(TypeRuntimeServer typeRuntimeServer)
    - {
    - if (typeRuntimeServer != null)
    - {
    - String wst = typeRuntimeServer.getTypeId();
    -
    - int scenario = WebServiceRuntimeExtensionUtils2.getScenarioFromTypeId(wst);
    - String implId = WebServiceRuntimeExtensionUtils2.getWebServiceImplIdFromTypeId(wst);
    -
    - WebServiceImpl wsimpl = WebServiceRuntimeExtensionUtils2.getWebServiceImplById(implId);
    - //IWebServiceType wst = WebServiceRuntimeExtensionUtils2.getWebServiceTypeById(typeRuntimeServer.getTypeId());
    -
    - if (wsimpl != null)
    - {
    - String objectSelectionWidgetId = null;
    - if (scenario == WebServiceScenario.TOPDOWN)
    - {
    - objectSelectionWidgetId = "org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionWidget";
    - topDown_ = true;
    - }
    - else
    - {
    - objectSelectionWidgetId = wsimpl.getObjectSelectionWidget();
    - }
    -
    - objectSelectionWidgetId_ = objectSelectionWidgetId;
    -
    - Object object = ObjectSelectionRegistry.getInstance().getSelectionWidget(objectSelectionWidgetId_);
    -
    - if( object instanceof IObjectSelectionWidget )
    - {
    - objectSelectionWidget_ = (IObjectSelectionWidget)object;
    - }
    - }
    - }
    - }
    -
    - /**
    - * @return Returns the selection.
    - */
    - public IStructuredSelection getObjectSelection()
    - {
    - return objectSelection_;
    - }
    - /**
    - * @param selection The selection to set.
    - */
    - public void setObjectSelection(IStructuredSelection objectSelection)
    - {
    - objectSelection_ = objectSelection;
    -
    - //Set the project if you can
    - if (project_==null)
    - {
    - project_ = getProjectFromObjectSelection(objectSelection);
    - }
    -
    - //Set the componentName if you can
    - if (componentName_ == null)
    - {
    - componentName_ = getComponentNameFromObjectSelection(objectSelection);
    - }
    -
    - // Check if this is a WSDL selection object. If it is we need
    - // to unwrap it.
    - if( objectSelection != null && !objectSelection.isEmpty() )
    - {
    - Object object = objectSelection.getFirstElement();
    -
    - if( object instanceof WSDLSelectionWrapper )
    - {
    - WSDLSelectionWrapper wsdlWrapper = (WSDLSelectionWrapper)object;
    -
    - objectSelection_ = wsdlWrapper.wsdlSelection;
    - parser_ = wsdlWrapper.parser;
    - }
    - }
    - }
    -
    - public IProject getProject()
    - {
    - if (project_ == null && topDown_)
    - project_ = getProjectFromTransformedSelection();
    - return project_;
    - }
    -
    - public void setProject(IProject project)
    - {
    - this.project_ = project;
    - }
    -
    - public String getComponentName()
    - {
    - if (componentName_ == null && topDown_)
    - componentName_ = getComponentNameFromTransformedSelection();
    - return componentName_;
    - }
    -
    - public void setComponentName(String componentName)
    - {
    - this.componentName_ = componentName;
    - }
    -
    - /**
    - * @return Returns the parser_.
    - */
    - public WebServicesParser getWebServicesParser()
    - {
    - return parser_;
    - }
    -
    - private boolean hasProtocol(String url) {
    - return url.indexOf(":") != -1;
    - }
    -
    - private IResource findResourceFromSelection(Object selection) throws CoreException {
    -
    - IResource resource = ResourceUtils.getResourceFromSelection(selection);
    -
    - // try finding at least the project using the EMF way
    - if (resource == null && selection instanceof EObject)
    - resource = ProjectUtilities.getProject(selection);
    -
    - return resource;
    - }
    -
    - private IProject getProjectFromTransformedSelection() {
    - if (objectSelection_ != null && objectSelection_.size() == 1)
    - {
    - Object obj = objectSelection_.getFirstElement();
    - if (obj instanceof String) {
    - String str = transformer_.toPath((String) obj);
    - if (hasProtocol(str)) return null;
    - return ResourceUtils.getProjectOf(new Path(str));
    - }
    - }
    - return null;
    - }
    -
    - private IProject getProjectFromObjectSelection(IStructuredSelection selection)
    - {
    - if (selection != null && selection.size() == 1)
    - {
    - Object obj = selection.getFirstElement();
    - if (obj != null)
    - {
    - try
    - {
    - IResource resource = findResourceFromSelection(obj);
    - if (resource==null)
    - return null;
    - if (resource instanceof IProject)
    - return (IProject) resource;
    - IProject p = ResourceUtils.getProjectOf(resource.getFullPath());
    - return p;
    - } catch(CoreException e)
    - {
    - e.printStackTrace();
    - return null;
    - }
    - }
    - }
    - return null;
    - }
    -
    - private String getComponentNameFromTransformedSelection() {
    - if (objectSelection_ != null && objectSelection_.size() == 1)
    - {
    - Object obj = objectSelection_.getFirstElement();
    - if (obj instanceof String) {
    - String str = transformer_.toPath((String) obj);
    - if (hasProtocol(str)) return null;
    - IVirtualComponent comp = ResourceUtils.getComponentOf(new Path(str));
    - return comp == null ? null : comp.getName();
    - }
    - }
    - return null;
    - }
    -
    - private String getComponentNameFromObjectSelection(IStructuredSelection selection)
    - {
    - if (selection != null && selection.size() == 1)
    - {
    - Object obj = selection.getFirstElement();
    - if (obj != null)
    - {
    - try
    - {
    - IResource resource = findResourceFromSelection(obj);
    - if (resource==null)
    - return null;
    -
    - IVirtualComponent comp = ResourceUtils.getComponentOf(resource);
    -
    - if (comp!=null)
    - {
    - return comp.getName();
    - }
    - } catch(CoreException e)
    - {
    - e.printStackTrace();
    - return null;
    - }
    - }
    - }
    - return null;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionRegistry.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionRegistry.java
    deleted file mode 100644
    index e6b29184e..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionRegistry.java
    +++ /dev/null
    @@ -1,157 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060825 155114 pmoogk@ca.ibm.com - Peter Moogk
    - * 20060830 155114 pmoogk@ca.ibm.com - Peter Moogk, Updated patch for this defect.
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import java.util.Hashtable;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IConfigurationElement;
    -import org.eclipse.core.runtime.Platform;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.IObjectSelectionLaunchable;
    -import org.eclipse.wst.command.internal.env.core.data.Transformer;
    -
    -public class ObjectSelectionRegistry
    -{
    - private static ObjectSelectionRegistry instance;
    - private IConfigurationElement[] elements;
    - private Hashtable cachedSelectionWidgets;
    -
    - private ObjectSelectionRegistry()
    - {
    - elements = Platform.getExtensionRegistry().getConfigurationElementsFor("org.eclipse.jst.ws.consumption.ui", "objectSelectionWidget");
    - cachedSelectionWidgets = new Hashtable();
    - }
    -
    - public static ObjectSelectionRegistry getInstance()
    - {
    - if (instance == null)
    - {
    - instance = new ObjectSelectionRegistry();
    - }
    -
    - return instance;
    - }
    -
    - /**
    - *
    - * @param id if the selection widget object.
    - * @return returns the transformer class if has been specified. Otherwise
    - * null is returned.
    - */
    - public Transformer getTransformer( String id )
    - {
    - TableEntry entry = getTableEntry( id );
    - Transformer result = null;
    -
    - if( entry != null )
    - {
    - try
    - {
    - Object object = entry.element.createExecutableExtension("transformer");
    -
    - if( object instanceof Transformer )
    - {
    - result = (Transformer)object;
    - }
    - }
    - catch( CoreException exc ){}
    - }
    -
    - return result;
    - }
    -
    - /**
    - *
    - * @param id if the selection widget object.
    - * @return returns the value of the external modify attribute if
    - * it has been specified. Otherwise false is returned.
    - */
    - public boolean getExternalModify( String id )
    - {
    - TableEntry entry = getTableEntry( id );
    - boolean result = false;
    -
    - if( entry != null )
    - {
    - String modifyString = entry.element.getAttribute("external_modify");
    -
    - result = new Boolean( modifyString ).booleanValue();
    - }
    -
    - return result;
    - }
    -
    - /**
    - * Gets the IObjectSelectionWidget based on the selectionId. If one is
    - * not found null is returned.
    - *
    - * @param selectionId the ID of the selection widget.
    - * @return returns the registered IObjectSelectionWidget object.
    - */
    - public Object getSelectionWidget( String selectionId )
    - {
    - TableEntry entry = getTableEntry( selectionId );
    -
    - return entry == null ? null : entry.objectSelection;
    - }
    -
    - public void cleanup()
    - {
    - instance = null;
    - elements = null;
    - cachedSelectionWidgets = null;
    - }
    -
    - private TableEntry getTableEntry( String id )
    - {
    - if( id == null ) return null;
    -
    - TableEntry entry = (TableEntry)cachedSelectionWidgets.get( id );
    -
    - if( entry == null )
    - {
    - for( int index = 0; index < elements.length; index++ )
    - {
    - IConfigurationElement element = elements[index];
    - String elemId = element.getAttribute( "id" );
    -
    - if( id.equals( elemId ) )
    - {
    - try
    - {
    - Object object = element.createExecutableExtension("class");
    -
    - if( object instanceof IObjectSelectionWidget || object instanceof IObjectSelectionLaunchable )
    - {
    - entry = new TableEntry();
    - entry.element = element;
    - entry.objectSelection = object;
    - cachedSelectionWidgets.put( id, entry );
    - break;
    - }
    - }
    - catch( CoreException exc ){}
    - }
    - }
    - }
    -
    - return entry;
    - }
    -
    - private class TableEntry
    - {
    - public IConfigurationElement element;
    - public Object objectSelection;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionWidget.java
    deleted file mode 100644
    index 32859581c..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ObjectSelectionWidget.java
    +++ /dev/null
    @@ -1,258 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060224 129387 pmoogk@ca.ibm.com - Peter Moogk
    - * 20060410 135441 joan@ca.ibm.com - Joan Haggarty
    - * 20060825 155114 pmoogk@ca.ibm.com - Peter Moogk
    - * 20061220 161232 makandre@ca.ibm.com - Andrew Mak, AbstractObjectSelectionWidget.setInitialSelection(IStructuredSelection initialSelection) called twice each time Browse pressed
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceImpl;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.graphics.Point;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Control;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
    -
    -
    -public class ObjectSelectionWidget extends AbstractObjectSelectionWidget implements IObjectSelectionWidget
    -{
    - private Composite parent;
    - private Listener statusListener;
    - private Composite composite;
    - private IProject project;
    - private String componentName;
    - private IObjectSelectionWidget child;
    - private Point widgetSize_;
    -
    - public WidgetDataEvents addControls(Composite parentComposite, Listener statListener)
    - {
    - this.parent = parentComposite;
    - this.statusListener = statListener;
    - composite = null;
    - return this;
    - }
    -
    - public Control getControl(){
    - return composite;
    - }
    -
    - /**
    - * @param typeRuntimeServer The typeRuntimeServer to set.
    - */
    - public void setTypeRuntimeServer(TypeRuntimeServer typeRuntimeServer)
    - {
    - if (composite != null)
    - {
    - composite.dispose();
    - child = null;
    - }
    - if (typeRuntimeServer != null)
    - {
    - String wst = typeRuntimeServer.getTypeId();
    - int scenario = WebServiceRuntimeExtensionUtils2.getScenarioFromTypeId(wst);
    - String implId = WebServiceRuntimeExtensionUtils2.getWebServiceImplIdFromTypeId(wst);
    - WebServiceImpl wsimpl = WebServiceRuntimeExtensionUtils2.getWebServiceImplById(implId);
    -
    - //IWebServiceType wst = WebServiceRuntimeExtensionUtils.getWebServiceTypeById(typeRuntimeServer.getTypeId());
    - if (wsimpl != null)
    - {
    - String objectSelectionWidgetId = null;
    - if (scenario == WebServiceScenario.TOPDOWN)
    - {
    - objectSelectionWidgetId = "org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionWidget";
    - }
    - else
    - {
    - objectSelectionWidgetId = wsimpl.getObjectSelectionWidget();
    - }
    -
    - Object object = ObjectSelectionRegistry.getInstance().getSelectionWidget( objectSelectionWidgetId );
    -
    - if( object instanceof IObjectSelectionWidget )
    - {
    - child = (IObjectSelectionWidget)object;
    - }
    -
    - if( child != null )
    - {
    - Control shell = parent.getShell();
    - composite = new Composite(parent, SWT.NONE);
    - GridLayout gl = new GridLayout();
    - gl.marginHeight = 0;
    - gl.marginWidth = 0;
    - GridData gd = new GridData(GridData.FILL_BOTH);
    - composite.setLayout(gl);
    - composite.setLayoutData(gd);
    - child.addControls(composite, statusListener);
    -
    - Point origSize = shell.getSize();
    - Point compSize = composite.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    - int newX = origSize.x;
    - int newY = origSize.y;
    -
    - // Note: we are trying to determine here if the wizard page should
    - // be resized based on the size of the control that is
    - // given to us by the extension. The hard coded constants
    - // below represent the vertical and horizontal pixels that need
    - // to go around object selection control. Hopefully, a more
    - // programatic method of doing this can be found in the future.
    - if( compSize.x + 20 > origSize.x )
    - {
    - newX = compSize.x + 20;
    - }
    -
    - if( compSize.y + 205 > origSize.y )
    - {
    - newY = compSize.y + 205;
    - }
    -
    - widgetSize_ = new Point(newX, newY);
    -
    - return;
    - }
    - }
    - }
    - }
    -
    - public IStatus getStatus()
    - {
    - return (child != null) ? child.getStatus() : Status.OK_STATUS;
    - }
    -
    - public void setInitialSelection(IStructuredSelection initialSelection)
    - {
    - project = getProjectFromInitialSelection(initialSelection);
    - componentName = getComponentNameFromInitialSelection(initialSelection);
    - if (child != null)
    - child.setInitialSelection(initialSelection);
    - }
    -
    - public IStructuredSelection getObjectSelection()
    - {
    - return (child != null) ? child.getObjectSelection() : null;
    - }
    -
    - public IStatus validateSelection(IStructuredSelection objectSelection)
    - {
    - return (child != null) ? child.validateSelection(objectSelection) : Status.OK_STATUS;
    - }
    -
    - public IProject getProject()
    - {
    - if (child != null)
    - {
    - IProject p = child.getProject();
    - if (p != null)
    - return p;
    - else
    - return project;
    - }
    - else
    - {
    - return null;
    - }
    - }
    -
    - public String getComponentName()
    - {
    - if (child != null)
    - {
    - String cname = child.getComponentName();
    - if (cname != null && cname.length()>0)
    - return cname;
    - else
    - return componentName;
    - }
    - else
    - {
    - return null;
    - }
    -
    - }
    -
    - private IProject getProjectFromInitialSelection(IStructuredSelection selection)
    - {
    - if (selection != null && selection.size() == 1)
    - {
    - Object obj = selection.getFirstElement();
    - if (obj != null)
    - {
    - try
    - {
    - IResource resource = ResourceUtils.getResourceFromSelection(obj);
    - if (resource==null)
    - return null;
    - IProject p = ResourceUtils.getProjectOf(resource.getFullPath());
    - return p;
    - } catch(CoreException e)
    - {
    - return null;
    - }
    - }
    - }
    - return null;
    - }
    -
    - private String getComponentNameFromInitialSelection(IStructuredSelection selection)
    - {
    - if (selection != null && selection.size() == 1)
    - {
    - Object obj = selection.getFirstElement();
    - if (obj != null)
    - {
    - try
    - {
    - IResource resource = ResourceUtils.getResourceFromSelection(obj);
    - if (resource==null)
    - return null;
    -
    - IVirtualComponent comp = ResourceUtils.getComponentOf(resource);
    - if (comp != null)
    - {
    - return comp.getName();
    - }
    - } catch(CoreException e)
    - {
    - return null;
    - }
    - }
    - }
    - return null;
    - }
    -
    - public String getObjectSelectionDisplayableString() {
    - return child.getObjectSelectionDisplayableString();
    - }
    -
    - public Point getWidgetSize()
    - {
    - Point childWidgetSize = child.getWidgetSize();
    - if (childWidgetSize == null)
    - return widgetSize_;
    - return childWidgetSize;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/Timer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/Timer.java
    deleted file mode 100644
    index ac762126b..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/Timer.java
    +++ /dev/null
    @@ -1,75 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060803 152486 makandre@ca.ibm.com - Andrew Mak, Typing WSDL in Service definition field is very slow
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import java.util.Calendar;
    -import org.eclipse.swt.widgets.Display;
    -
    -public class Timer extends Thread
    -{
    - private final long ONE_SECOND = 1000;
    - private long refreshTime;
    - private boolean isRunning = true;
    - private Display display;
    - private Runnable runnable;
    -
    - private Timer(Display display, Runnable runnable)
    - {
    - this.display = display;
    - this.runnable = runnable;
    - }
    -
    - public synchronized static Timer newInstance(Timer timer, Display display, Runnable runnable)
    - {
    - if (!Timer.isRunning(timer))
    - return new Timer(display, runnable);
    -
    - return timer;
    - }
    -
    - public synchronized static boolean isRunning(Timer timer)
    - {
    - return timer != null && timer.isRunning;
    - }
    -
    - public synchronized void startTimer()
    - {
    - refreshTime = getCurrentTime() + ONE_SECOND;
    - if (!isAlive())
    - this.start();
    - }
    -
    - private long getCurrentTime()
    - {
    - return Calendar.getInstance().getTime().getTime();
    - }
    -
    - public void run()
    - {
    - long currTime = getCurrentTime();
    - while (currTime < refreshTime)
    - {
    - try
    - {
    - sleep(refreshTime - currTime);
    - }
    - catch (InterruptedException ie)
    - {
    - }
    - currTime = getCurrentTime();
    - }
    - isRunning = false;
    - display.syncExec(runnable);
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidateWSDLJob.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidateWSDLJob.java
    deleted file mode 100644
    index e27ee08da..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidateWSDLJob.java
    +++ /dev/null
    @@ -1,88 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.core.runtime.jobs.Job;
    -import org.eclipse.wst.wsdl.validation.internal.IValidationMessage;
    -import org.eclipse.wst.wsdl.validation.internal.IValidationReport;
    -import org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLValidator;
    -
    -
    -
    -public class ValidateWSDLJob extends Job {
    -
    - final public static String VALIDATE_WSDL_JOB_FAMILY = "ValidateWSDLJobJamily";
    -
    - private String wsdlURI_ = null;
    - private IValidationMessage[] validationMessages_ = null;
    - private int validationMessageSeverity_ = -1; // default value
    -
    - public ValidateWSDLJob(String wsdlURI) {
    - super("ValidateWSDLJob");
    - wsdlURI_ = wsdlURI;
    - }
    -
    - protected IStatus run(IProgressMonitor monitor) {
    - WSDLValidator wsdlValidator = WSDLValidator.getInstance();
    - IValidationReport valReport = wsdlValidator.validate(wsdlURI_);
    - validationMessages_ = valReport.getValidationMessages();
    - reportSummary();
    - return Status.OK_STATUS;
    - }
    -
    - // calculate the higher severity for all the validation messages
    - private void reportSummary() {
    - int i;
    - int severity;
    - int errorCount = 0;
    - int warningCount = 0;
    - for (i=0; i<validationMessages_.length && errorCount == 0; i++) {
    - severity = validationMessages_[i].getSeverity();
    - switch (severity) {
    - case IValidationMessage.SEV_ERROR:
    - errorCount++;
    - break;
    - case IValidationMessage.SEV_WARNING:
    - warningCount++;
    - break;
    - default:
    - break;
    - }
    - }
    - if (errorCount > 0) {
    - validationMessageSeverity_ = IValidationMessage.SEV_ERROR;
    - } else if (warningCount > 0) {
    - validationMessageSeverity_ = IValidationMessage.SEV_WARNING;
    - }
    -
    - }
    -
    - public boolean belongsTo(Object family)
    - {
    - return family == VALIDATE_WSDL_JOB_FAMILY;
    - }
    -
    - public IValidationMessage[] getValidationMessages() {
    - return validationMessages_;
    - }
    -
    - public int getValidationMessageSeverity() {
    - return validationMessageSeverity_;
    - }
    -
    - public String getWsdlURI() {
    - return wsdlURI_;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidationMessageViewerWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidationMessageViewerWidget.java
    deleted file mode 100644
    index 177f5dcc0..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/ValidationMessageViewerWidget.java
    +++ /dev/null
    @@ -1,244 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060310 131352 pmoogk@ca.ibm.com - Peter Moogk
    - * 20060411 136134 kathy@ca.ibm.com - Kathy Chan
    - * 20060420 136221 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jface.viewers.ColumnWeightData;
    -import org.eclipse.jface.viewers.IContentProvider;
    -import org.eclipse.jface.viewers.ILabelProviderListener;
    -import org.eclipse.jface.viewers.IStructuredContentProvider;
    -import org.eclipse.jface.viewers.ITableLabelProvider;
    -import org.eclipse.jface.viewers.TableLayout;
    -import org.eclipse.jface.viewers.TableViewer;
    -import org.eclipse.jface.viewers.Viewer;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.Table;
    -import org.eclipse.swt.widgets.TableColumn;
    -import org.eclipse.swt.widgets.TableItem;
    -import org.eclipse.swt.widgets.Text;
    -import org.eclipse.ui.ISharedImages;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -import org.eclipse.wst.wsdl.validation.internal.IValidationMessage;
    -
    -
    -public class ValidationMessageViewerWidget extends SimpleWidgetDataContributor
    -{
    - private int DEFAULT_TABLE_HEIGHT_HINT = 100;
    - private TableViewer tableViewer_;
    - private Table table_;
    - private String message = null;
    - static final String columns_[] = {ConsumptionUIMessages.TABLE_COLUMN_VALIDATION_SEVERITY,
    - ConsumptionUIMessages.TABLE_COLUMN_VALIDATION_LINE,
    - ConsumptionUIMessages.TABLE_COLUMN_VALIDATION_COLUMN,
    - ConsumptionUIMessages.TABLE_COLUMN_VALIDATION_MESSAGE};
    - static final int columnsWidth_[] = {12, 10, 10, 60};
    - static final int columnMins_[] = {60, 50, 50, 300};
    -
    -
    -
    - public ValidationMessageViewerWidget()
    - {
    - }
    -
    - public WidgetDataEvents addControls( Composite parent, Listener statusListener )
    - {
    -
    - Composite composite = new Composite(parent, SWT.NONE);
    - GridLayout gl = new GridLayout();
    -
    - gl.marginHeight = 0;
    - gl.marginWidth = 0;
    - composite.setLayout(gl);
    - composite.setLayoutData(new GridData(GridData.FILL_BOTH));
    -
    - Text messageLabel = new Text( composite, SWT.READ_ONLY);
    - messageLabel.setText( ConsumptionUIMessages.LABEL_VALIDATE_MESSAGES);
    - GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
    - messageLabel.setLayoutData(gd);
    - messageLabel.setToolTipText( ConsumptionUIMessages.TOOLTIP_VALIDATE_TEXT_MESSAGE );
    -
    - table_ = new Table(composite, SWT.SINGLE | SWT.FULL_SELECTION | SWT.BORDER);
    - gd = new GridData(GridData.FILL_BOTH);
    - gd.heightHint = DEFAULT_TABLE_HEIGHT_HINT;
    - table_.setLayoutData(gd);
    - table_.setHeaderVisible(true);
    - table_.setLinesVisible(true);
    - table_.setToolTipText(ConsumptionUIMessages.TOOLTIP_TABLE_VALIDATE_MESSAGE );
    - TableLayout tableLayout = new TableLayout();
    - for (int i = 0; i < columns_.length; i++)
    - {
    - TableColumn tableColumn = new TableColumn(table_, SWT.NONE);
    - tableColumn.setText(columns_[i]);
    - tableColumn.pack();
    - ColumnWeightData columnData = new ColumnWeightData(columnsWidth_[i], columnMins_[i], true);
    - tableLayout.addColumnData(columnData);
    - }
    - table_.setLayout(tableLayout);
    -
    - tableViewer_ = new TableViewer(table_);
    -
    - tableViewer_.setContentProvider(new ListContentProvider());
    - tableViewer_.setLabelProvider(new ListLabelProvider());
    -
    - return this;
    - }
    -
    - public void setInput(IValidationMessage[] messages)
    - {
    - tableViewer_.setInput(messages);
    - tableViewer_.refresh();
    - }
    -
    - public void clearInput()
    - {
    - IValidationMessage emptyMessages[] = {};
    - this.setInput(emptyMessages);
    - }
    -
    - public IContentProvider getContentProvider()
    - {
    - return tableViewer_.getContentProvider();
    - }
    -
    - public IStatus getStatus()
    - {
    - return message == null ? Status.OK_STATUS :
    - StatusUtils.errorStatus(message );
    - }
    -
    - public void refresh()
    - {
    - tableViewer_.refresh();
    - }
    -
    - public TableItem[] getItems()
    - {
    - //internalRefresh();
    - return table_.getItems();
    - }
    -
    - public void setEnabled(boolean enabled)
    - {
    - }
    -
    - public void dispose()
    - {
    - if (table_ != null)
    - table_.dispose();
    - }
    -
    - protected class ListContentProvider implements IStructuredContentProvider
    - {
    - public void dispose()
    - {
    - }
    -
    - public void inputChanged(Viewer viewer, Object oldInput, Object newInput)
    - {
    - tableViewer_.add(getElements(newInput));
    - }
    -
    - public Object[] getElements(Object inputElement)
    - {
    - if (inputElement instanceof IValidationMessage[])
    - {
    - IValidationMessage[] valMessages = (IValidationMessage[]) inputElement;
    - return valMessages;
    - }
    - else
    - return new Object[0];
    - }
    - }
    -
    - protected class ListLabelProvider implements ITableLabelProvider
    - {
    - public Image getColumnImage(Object element, int columnIndex)
    - {
    - if (element instanceof IValidationMessage)
    - {
    - IValidationMessage msg = (IValidationMessage) element;
    -
    - if (columnIndex == 0)
    - {
    - int severity = msg.getSeverity();
    - if (severity == 0) {
    - return PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJS_ERROR_TSK);
    - } else if (severity == 1) {
    - return PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJS_WARN_TSK);
    - } else if (severity == 2) {
    - return PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJS_INFO_TSK);
    - }
    - }
    - }
    - return null;
    - }
    -
    - public String getColumnText(Object element, int columnIndex)
    - {
    - String text = "";
    - if (element instanceof IValidationMessage)
    - {
    - IValidationMessage msg = (IValidationMessage) element;
    -
    - switch (columnIndex) {
    - case 0:
    - // no text to display, only display severity as image
    - break;
    - case 1:
    - text = (new Integer(msg.getLine())).toString();
    - break;
    - case 2:
    - text = (new Integer(msg.getColumn())).toString();
    - break;
    - case 3:
    - text = msg.getMessage();
    - break;
    -
    - default:
    - break;
    - }
    - }
    - return text;
    - }
    -
    - public void addListener(ILabelProviderListener listener)
    - {
    - }
    -
    - public void removeListener(ILabelProviderListener listener)
    - {
    - }
    -
    - public boolean isLabelProperty(Object element, String property)
    - {
    - return true;
    - }
    -
    - public void dispose()
    - {
    - }
    - }
    - }
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionTransformer.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionTransformer.java
    deleted file mode 100644
    index 2630fdc9d..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionTransformer.java
    +++ /dev/null
    @@ -1,111 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2007 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20070116 159618 makandre@ca.ibm.com - Andrew Mak, Project and EAR not defaulted properly when wizard launched from JSR-109 Web services branch in J2EE Project Explorer
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import java.net.MalformedURLException;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.emf.ecore.EObject;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.StructuredSelection;
    -import org.eclipse.jst.j2ee.webservice.wsclient.internal.impl.ServiceRefImpl;
    -import org.eclipse.jst.j2ee.webservice.wsdd.BeanLink;
    -import org.eclipse.jst.j2ee.webservice.wsdd.ServiceImplBean;
    -import org.eclipse.jst.j2ee.webservice.wsdd.WebServiceDescription;
    -import org.eclipse.jst.ws.internal.common.J2EEActionAdapterFactory;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.wst.command.internal.env.core.data.Transformer;
    -import org.eclipse.wst.wsdl.internal.impl.ServiceImpl;
    -import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
    -
    -public class WSDLSelectionTransformer implements Transformer
    -{
    - public Object transform(Object value)
    - {
    - if (value instanceof IStructuredSelection)
    - {
    - Object sel = ((IStructuredSelection)value).getFirstElement();
    - if (sel instanceof IResource)
    - {
    - try
    - {
    - return new StructuredSelection(((IResource)sel).getLocation().toFile().toURL().toString());
    - }
    - catch (MalformedURLException murle)
    - {
    - }
    - }
    - else if (sel instanceof ServiceImpl)
    - {
    - return new StructuredSelection(J2EEActionAdapterFactory.getWSDLURI((ServiceImpl)sel));
    - }
    - else if (sel instanceof ServiceRefImpl)
    - {
    - return new StructuredSelection(J2EEActionAdapterFactory.getWSDLURI((ServiceRefImpl)sel));
    - }
    - else if (sel instanceof WSDLResourceImpl)
    - {
    - return new StructuredSelection(J2EEActionAdapterFactory.getWSDLURI((WSDLResourceImpl)sel));
    - }
    - /*
    - * TODO - Remove the cases below after bug 170834 is fixed
    - *
    - * WSDLSelectionTransformer should not need to handle ServiceImplBean and BeanLink which
    - * represent service classes. These catches are here for now since we incorrectly allow
    - * the wizard to default to top-down sceanrio when launch from these objects in the JSR-109
    - * branch.
    - */
    - else if (sel instanceof ServiceImplBean)
    - {
    - return new StructuredSelection(getWSDLURI((ServiceImplBean) sel));
    - }
    - else if (sel instanceof BeanLink)
    - {
    - return new StructuredSelection(getWSDLURI((BeanLink) sel));
    - }
    - }
    - return value;
    - }
    -
    - private String getWSDLURI(ServiceImplBean bean) {
    - EObject eObject = bean.eContainer();
    - if (eObject == null)
    - return "";
    -
    - eObject = eObject.eContainer();
    -
    - if (eObject instanceof WebServiceDescription) {
    - WebServiceDescription wsd = (WebServiceDescription) eObject;
    - IProject project = ProjectUtilities.getProject(wsd);
    -
    - // getWebContentPath returns the "WebContent" folder path for Web projects
    - // for EJB projects, it returns the "ebjModule" folder path
    - IPath path = J2EEUtils.getWebContentPath(project);
    - path = path.append(wsd.getWsdlFile());
    -
    - return path.toString();
    - }
    - return "";
    - }
    -
    - private String getWSDLURI(BeanLink link) {
    - EObject eObject = link.eContainer();
    - if (eObject instanceof ServiceImplBean)
    - return getWSDLURI((ServiceImplBean) eObject);
    - return "";
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWidget.java
    deleted file mode 100644
    index 32485ffa1..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWidget.java
    +++ /dev/null
    @@ -1,719 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060410 135441 joan@ca.ibm.com - Joan Haggarty
    - * 20060410 136011 kathy@ca.ibm.com - Kathy Chan
    - * 20060420 135912 joan@ca.ibm.com - Joan Haggarty
    - * 20060504 119296 pmoogk@ca.ibm.com - Peter Moogk
    - * 20060525 142281 joan@ca.ibm.com - Joan Haggarty
    - * 20060607 144932 kathy@ca.ibm.com - Kathy Chan
    - * 20060612 145081 pmoogk@ca.ibm.com - Peter Moogk
    - * 20060719 139977 kathy@ca.ibm.com - Kathy Chan
    - * 20060803 152701 cbrealey@ca.ibm.com - Chris Brealey
    - * 20060803 152486 makandre@ca.ibm.com - Andrew Mak, Typing WSDL in Service definition field is very slow
    - * 20060825 135570 makandre@ca.ibm.com - Andrew Mak, Service implementation URL not displayed properly on first page
    - * 20060831 155883 makandre@ca.ibm.com - Andrew Mak, service impl field doesn't work after switching from BU to TD
    - * 20061106 142500 david.schneider@unisys.com - David Schneider, WTP properties pages fonts don't follow Eclipse preferences
    - * 20061211 161589 makandre@ca.ibm.com - Andrew Mak, NPE in service generation after opening and cancelling from browse dialog
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import java.io.File;
    -import java.net.MalformedURLException;
    -import org.eclipse.core.resources.IFile;
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.resources.IWorkspaceRoot;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Path;
    -import org.eclipse.core.runtime.Platform;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.core.runtime.jobs.IJobChangeEvent;
    -import org.eclipse.core.runtime.jobs.IJobManager;
    -import org.eclipse.core.runtime.jobs.Job;
    -import org.eclipse.core.runtime.jobs.JobChangeAdapter;
    -import org.eclipse.jface.dialogs.Dialog;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.StructuredSelection;
    -import org.eclipse.jst.j2ee.webservice.wsclient.ServiceRef;
    -import org.eclipse.jst.ws.internal.common.J2EEActionAdapterFactory;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.common.UniversalPathTransformer;
    -import org.eclipse.jst.ws.internal.consumption.common.WSDLParserFactory;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.TimedWSDLSelectionConditionCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.WSDLSelectionTreeWidget;
    -import org.eclipse.jst.ws.internal.ui.common.DialogResourceBrowser;
    -import org.eclipse.jst.ws.internal.ui.common.FileExtensionFilter;
    -import org.eclipse.jst.ws.internal.ui.common.UIUtils;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.events.ModifyEvent;
    -import org.eclipse.swt.events.ModifyListener;
    -import org.eclipse.swt.events.SelectionEvent;
    -import org.eclipse.swt.events.SelectionListener;
    -import org.eclipse.swt.graphics.Point;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.widgets.Button;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Display;
    -import org.eclipse.swt.widgets.Label;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.Text;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServiceEntity;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -import org.eclipse.wst.ws.internal.plugin.WSPlugin;
    -import org.eclipse.wst.ws.internal.preferences.PersistentWSDLValidationContext;
    -import org.eclipse.wst.wsdl.internal.impl.ServiceImpl;
    -import org.eclipse.wst.wsdl.util.WSDLResourceImpl;
    -import org.eclipse.wst.wsdl.validation.internal.IValidationMessage;
    -
    -public class WSDLSelectionWidget extends AbstractObjectSelectionWidget implements IObjectSelectionWidget, Runnable
    -{
    - private String pluginId_;
    - private FileExtensionFilter wsFilter_;
    - private WebServicesParser webServicesParser;
    - private String wsdlURI_;
    -
    - private Composite parent_;
    - private Listener statusListener_;
    - private ModifyListener modifyListener_;
    - private WSDLSelectionTreeWidget tree;
    -
    - private Timer timer_ = null;
    -
    - private UniversalPathTransformer transformer_ = new UniversalPathTransformer();
    -
    - /*CONTEXT_ID PCON0001 for the WSDL Selection Page*/
    - private final String INFOPOP_PCON_PAGE = "PCON0001";
    -
    - /*CONTEXT_ID PCON0002 for the WSDL Document text field of the WSDL Selection Page*/
    - private final String INFOPOP_PCON_TEXT_WSDL = "PCON0002";
    - private Text webServiceURI;
    -
    - /*CONTEXT_ID PCON0003 for the WSDL Resource Browse button of the WSDL Selection Page*/
    - private final String INFOPOP_PCON_BUTTON_BROWSE_WSDL = "PCON0003";
    - private Button wsBrowseButton_;
    -
    - /*CONTEXT_ID PCON0004 for the Wizard WSDL Validation table of the WSDL Selection Page*/
    - private ValidationMessageViewerWidget msgViewer_;
    - private ValidateWSDLJob validateWSDLJob_;
    - private JobChangeAdapter jobChangeAdapter_;
    -
    - /*CONTEXT_ID PCON0005 for the Wizard WSDL Validation summary message of the WSDL Selection Page*/
    - private Text validationSummaryText_;
    - private Text validationSummaryText2_;
    -
    - /*CONTEXT_ID PCON0006 for the Stop Wizard WSDL Validation button of the WSDL Selection Page*/
    - private Button stopValidationButton_;
    - private final String INFOPOP_PCON_BUTTON_STOP_VALIDATION = "PCON0006";
    -
    - public WSDLSelectionWidget()
    - {
    - pluginId_ = "org.eclipse.jst.ws.consumption.ui";
    - wsFilter_ = new FileExtensionFilter(new String[] {"wsdl", "wsil", "html"});
    - webServicesParser = WSDLParserFactory.getWSDLParser();
    -
    - final Runnable handleValidationMessages = new Runnable()
    - {
    - public void run()
    - {
    - msgViewer_.setInput(validateWSDLJob_.getValidationMessages());
    - updateValidationSummary(validateWSDLJob_.getValidationMessageSeverity());
    - setValidationInProgress(false);
    - }
    - };
    -
    - jobChangeAdapter_ = new JobChangeAdapter()
    - {
    - public void done(IJobChangeEvent event)
    - {
    - if (msgViewer_!= null && msgViewer_.getContentProvider() != null) {
    - Display.getDefault().asyncExec( handleValidationMessages );
    - }
    - }
    - };
    - }
    -
    - public WidgetDataEvents addControls( Composite parent, Listener statusListener )
    - {
    - UIUtils uiUtils = new UIUtils( pluginId_ );
    - parent_ = parent;
    - statusListener_ = statusListener;
    -
    - parent.setToolTipText( ConsumptionUIMessages.TOOLTIP_PCON_PAGE );
    - PlatformUI.getWorkbench().getHelpSystem().setHelp( parent, pluginId_ + "." + INFOPOP_PCON_PAGE );
    -
    - Composite wsdlGroup = uiUtils.createComposite( parent, 2, 5, 0 );
    -
    - Label wsLabel = new Label( wsdlGroup, SWT.WRAP);
    - wsLabel.setText( ConsumptionUIMessages.LABEL_WS_SELECTION);
    - GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
    - gd.horizontalSpan = 2;
    - wsLabel.setLayoutData(gd);
    - wsLabel.setToolTipText( ConsumptionUIMessages.TOOLTIP_PCON_TEXT_WS );
    -
    - webServiceURI = uiUtils.createText( wsdlGroup, null,
    - ConsumptionUIMessages.TOOLTIP_PCON_TEXT_WS,
    - INFOPOP_PCON_TEXT_WSDL, SWT.SINGLE | SWT.BORDER );
    - modifyListener_ =
    - new ModifyListener()
    - {
    - public void modifyText(ModifyEvent event)
    - {
    - handleWebServiceURIModifyEvent();
    - }
    - };
    -
    - webServiceURI.addModifyListener(modifyListener_);
    -
    -// webServiceURI.addListener( SWT.Modify, statusListener );
    -
    - wsBrowseButton_ = uiUtils.createPushButton( wsdlGroup, ConsumptionUIMessages.BUTTON_BROWSE,
    - ConsumptionUIMessages.TOOLTIP_PCON_BUTTON_BROWSE_WS,
    - INFOPOP_PCON_BUTTON_BROWSE_WSDL );
    - wsBrowseButton_.addSelectionListener(
    - new SelectionListener()
    - {
    - public void widgetDefaultSelected(SelectionEvent event)
    - {
    - handleWSDLButton();
    - }
    -
    - public void widgetSelected(SelectionEvent event)
    - {
    - handleWSDLButton();
    - }
    - });
    -
    - tree = new WSDLSelectionTreeWidget();
    - tree.addControls(parent, statusListener);
    - tree.setWebServicesParser(webServicesParser);
    -
    - msgViewer_ = new ValidationMessageViewerWidget();
    - msgViewer_.addControls(parent, statusListener);
    -
    - validationSummaryText_ = new Text( parent, SWT.WRAP);
    - validationSummaryText_.setEditable(false);
    - GridData gd1 = new GridData(SWT.FILL, SWT.FILL, false, false);
    - validationSummaryText_.setLayoutData(gd1);
    - validationSummaryText_.setToolTipText( ConsumptionUIMessages.TOOLTIP_VALIDATE_TEXT_MESSAGE_SUMMARY );
    -
    - validationSummaryText2_ = new Text( parent, SWT.WRAP);
    - validationSummaryText2_.setEditable(false);
    - validationSummaryText2_.setLayoutData(gd1);
    -
    - stopValidationButton_ = uiUtils.createPushButton(parent,
    - ConsumptionUIMessages.LABEL_BUTTON_STOP_WSDL_VALIDATION,
    - ConsumptionUIMessages.TOOLTIP_STOP_VALIDATION_BUTTON,
    - INFOPOP_PCON_BUTTON_STOP_VALIDATION);
    - setValidationInProgress(false);
    -
    - stopValidationButton_.addSelectionListener(
    - new SelectionListener()
    - {
    - public void widgetDefaultSelected(SelectionEvent event)
    - {
    - handleStopValidationButton();
    - }
    -
    - public void widgetSelected(SelectionEvent event)
    - {
    - handleStopValidationButton();
    - }
    - });
    -
    - setMessageSummary();
    - Dialog.applyDialogFont(parent);
    - return this;
    - }
    -
    - private void setMessageSummary() {
    - String validationMessageSummary = ConsumptionUIMessages.MESSAGE_VALIDATE_NO_WSDL;
    - PersistentWSDLValidationContext wsdlValidationContext = WSPlugin.getInstance().getWSDLValidationContext();
    - String validationSelection = wsdlValidationContext.getPersistentWSDLValidation();
    - if (PersistentWSDLValidationContext.VALIDATE_REMOTE_WSDL.equals(validationSelection)) {
    - validationMessageSummary = ConsumptionUIMessages.MESSAGE_VALIDATE_REMOTE_WSDL;
    - } else if (PersistentWSDLValidationContext.VALIDATE_ALL_WSDL.equals(validationSelection)) {
    - validationMessageSummary = ConsumptionUIMessages.MESSAGE_VALIDATE_ALL_WSDL;
    - }
    - validationSummaryText_.setText( validationMessageSummary );
    - validationSummaryText2_.setText(" ");
    - }
    -
    - private void handleWebServiceURIModifyEvent()
    - {
    - if (webServiceURI.getText().indexOf(':') > 0) {
    - timer_ = Timer.newInstance(timer_, Display.getCurrent(), this);
    - timer_.startTimer();
    - }
    - else
    - handleWebServiceURI();
    - statusListener_.handleEvent(null);
    - }
    -
    - private void handleWebServiceURI() {
    - handleWebServiceURI(webServiceURI.getText());
    - }
    -
    - private void handleWebServiceURI(String wsURI)
    - {
    - if (wsURI.indexOf(':') < 0)
    - {
    - IFile file = uri2IFile(wsURI);
    - if (file != null)
    - wsURI = iFile2URI(file);
    - }
    - if (wsURI != null && wsURI.indexOf(':') >= 0 && webServicesParser.getWebServiceEntityByURI(wsURI) == null)
    - {
    - TimedWSDLSelectionConditionCommand cmd = new TimedWSDLSelectionConditionCommand();
    - cmd.setWebServicesParser(webServicesParser);
    - cmd.setWebServiceURI(wsURI);
    - cmd.execute(null, null);
    - }
    - WebServiceEntity entity = webServicesParser.getWebServiceEntityByURI(wsURI);
    - if (entity != null && entity.getType() == WebServiceEntity.TYPE_WSDL)
    - tree.setEnabled(false);
    - else
    - tree.setEnabled(true);
    - tree.setWebServiceURI(wsURI);
    - tree.refreshTreeViewer();
    - wsdlURI_ = wsURI;
    - }
    -
    - public void run()
    - {
    - handleWebServiceURI();
    - statusListener_.handleEvent(null);
    - }
    -
    - private void handleWSDLButton()
    - {
    - DialogResourceBrowser dialog = new DialogResourceBrowser( parent_.getShell(), null, wsFilter_);
    - dialog.open();
    - IResource res = dialog.getFirstSelection();
    - if( res != null )
    - {
    - wsdlURI_ = res.getFullPath().toString();
    - webServiceURI.setText( wsdlURI_ );
    - }
    -
    - statusListener_.handleEvent(null);
    - }
    -
    - private void setValidationInProgress(boolean validating) {
    - stopValidationButton_.setEnabled(validating);
    - }
    -
    - private void handleStopValidationButton()
    - {
    - IJobManager jobManager = Platform.getJobManager();
    - Job[] jobs = jobManager.find( ValidateWSDLJob.VALIDATE_WSDL_JOB_FAMILY );
    - ValidateWSDLJob existingValidateWSDLJob = null;
    -
    - if( jobs.length > 0 )
    - {
    - for (int i=0; i<jobs.length; i++) {
    - existingValidateWSDLJob = (ValidateWSDLJob)jobs[i];
    -
    - if (existingValidateWSDLJob.getState() != Job.NONE) {
    - existingValidateWSDLJob.cancel();
    - }
    - }
    - }
    - clearValidationMessages();
    - setValidationInProgress(false);
    - }
    -
    - private void clearValidationMessages() {
    - msgViewer_.clearInput();
    - validationSummaryText_.setText(" " );
    - validationSummaryText2_.setText(" ");
    - }
    -
    - public IStatus getStatus()
    - {
    - // Timer validation
    - /*
    - * Commenting out because we don't want to block fast typers from hitting Next/Finish
    - if (Timer.isRunning())
    - return new SimpleStatus("", ConsumptionUIMessages.PAGE_MSG_LOADING_WEB_SERVICE_URI, Status.ERROR);
    - */
    -
    - // Validate the String representation of the Web service URI
    - // For example, is it pointing to an existing resource in the workspace?
    - String wsPath = webServiceURI.getText();
    - if( wsPath == null || wsPath.length() <= 0 ) {
    - clearValidationMessages();
    - return StatusUtils.errorStatus( ConsumptionUIMessages.PAGE_MSG_INVALID_WEB_SERVICE_URI );
    - }
    - else if( wsPath.indexOf(':') < 0 )
    - {
    - IResource res = ResourceUtils.findResource(wsPath);
    - if( res == null ) {
    - clearValidationMessages();
    - return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.PAGE_MSG_NO_SUCH_FILE, new Object[] {wsPath}) );
    - }
    - else if( res.getType() != IResource.FILE ) {
    - clearValidationMessages();
    - return StatusUtils.errorStatus( ConsumptionUIMessages.PAGE_MSG_INVALID_WEB_SERVICE_URI );
    - }
    - }
    -
    -
    - // Validate the content of the Web service URI
    - // For example, is selection a WSDL URI?
    - if (!Timer.isRunning(timer_) && tree.isEnabled())
    - {
    - IStatus status = tree.getStatus();
    - if (status != null)
    - {
    - int severity = status.getSeverity();
    - if (severity == Status.ERROR || severity == Status.WARNING) {
    - clearValidationMessages();
    - return status;
    - }
    - }
    - }
    - else
    - {
    - if( wsPath.indexOf(':') < 0 )
    - {
    - String wsdlURI = iFile2URI((IFile)ResourceUtils.findResource(wsPath));
    - if (webServicesParser.getWSDLDefinition(wsdlURI) == null) {
    - clearValidationMessages();
    - return StatusUtils.errorStatus(ConsumptionUIMessages.PAGE_MSG_SELECTION_MUST_BE_WSDL );
    - }
    - }
    - }
    -
    -
    - if (!Timer.isRunning(timer_)) {
    - String wsdlURI1 = wsPath;
    - boolean isRemote = true;
    - if (tree.isEnabled()) { // is wsil
    - wsdlURI1 = tree.getWsdlURI();
    - if (wsdlURI1.startsWith("file:") || wsdlURI1.startsWith("platform:"))
    - {
    - isRemote = false;
    - }
    - } else {
    - if (wsPath.indexOf(':') < 0)
    - {
    - isRemote = false;
    - wsdlURI1 = iFile2URI((IFile)ResourceUtils.findResource(wsPath));
    - }
    - else if (wsPath.startsWith("file:") || wsPath.startsWith("platform:"))
    - {
    - isRemote = false;
    - }
    - }
    -
    - setMessageSummary();
    - msgViewer_.clearInput();
    - validateWSDL(wsdlURI1, isRemote);
    - }
    -
    -
    - // OK status
    - return Status.OK_STATUS;
    - }
    -
    - private void validateWSDL (String wsdlURI, boolean isRemote) {
    -
    - String validationSelection = WSPlugin.getInstance().getWSDLValidationContext().getPersistentWSDLValidation();;
    - if ((PersistentWSDLValidationContext.VALIDATE_ALL_WSDL.equals(validationSelection)) ||
    - (PersistentWSDLValidationContext.VALIDATE_REMOTE_WSDL.equals(validationSelection) && isRemote)) {
    -
    - IJobManager jobManager = Platform.getJobManager();
    - Job[] jobs = jobManager.find( ValidateWSDLJob.VALIDATE_WSDL_JOB_FAMILY );
    - ValidateWSDLJob existingValidateWSDLJob = null;
    -
    - boolean startWSDLValidation = true;
    - validationSummaryText_.setText( ConsumptionUIMessages.MESSAGE_VALIDATE_IN_PROGRESS );
    - validationSummaryText2_.setText(" ");
    - if( jobs.length > 0 )
    - {
    - for (int i=0; i<jobs.length; i++) {
    - existingValidateWSDLJob = (ValidateWSDLJob)jobs[i];
    -
    - if (existingValidateWSDLJob.getState() != Job.NONE) {
    - // Job running or to be run
    - // If the job is validating the same wsdlURI, let it finish running and ignore this one.
    - // It is not for the same wsdlURI, cancel the job and schedule this one.
    -
    - if (!wsdlURI.equals(existingValidateWSDLJob.getWsdlURI())) {
    - existingValidateWSDLJob.cancel();
    - setValidationInProgress(false);
    - } else {
    - startWSDLValidation = false;
    - }
    - }
    - }
    - }
    -
    - if (startWSDLValidation) {
    - startWSDLValidationJob(wsdlURI);
    - }
    - }
    - return;
    - }
    -
    - private void startWSDLValidationJob (String wsdlURI) {
    - validateWSDLJob_ = new ValidateWSDLJob(wsdlURI);
    - validateWSDLJob_.addJobChangeListener( jobChangeAdapter_ );
    - validateWSDLJob_.schedule();
    - setValidationInProgress(true);
    - }
    -
    - public void updateValidationSummary(int messageSeverity)
    - {
    -
    - switch (messageSeverity) {
    - case IValidationMessage.SEV_ERROR:
    - validationSummaryText_.setText(ConsumptionUIMessages.ERROR_MESSAGES_IN_VALIDATION);
    - validationSummaryText2_.setText(ConsumptionUIMessages.WARNING_IF_CONTINUE);
    - break;
    - case IValidationMessage.SEV_WARNING:
    - validationSummaryText_.setText(ConsumptionUIMessages.WARNING_MESSAGES_IN_VALIDATION);
    - validationSummaryText2_.setText(ConsumptionUIMessages.WARNING_IF_CONTINUE);
    - break;
    - default:
    - validationSummaryText_.setText(ConsumptionUIMessages.VALIDATION_COMPLETED);
    - validationSummaryText2_.setText(" ");
    - break;
    - }
    - }
    -
    - private IFile uri2IFile(String uri)
    - {
    - IResource res = ResourcesPlugin.getWorkspace().getRoot().findMember(uri);
    -
    - if (res instanceof IFile)
    - return (IFile)res;
    - else
    - return null;
    - }
    -
    - private String iFile2URI(IFile file)
    - {
    - File f = file.getLocation().toFile();
    - try
    - {
    - return f.toURL().toString();
    - }
    - catch (MalformedURLException murle)
    - {
    - }
    - return f.toString();
    - }
    -
    - public void setInitialSelection(IStructuredSelection initialSelection)
    - {
    - if (initialSelection != null && !initialSelection.isEmpty())
    - {
    - Object object = initialSelection.getFirstElement();
    - String wsdlURI = toWsdlURI(object);
    - wsdlURI_ = wsdlURI;
    -
    - if (wsdlURI != null && webServiceURI != null)
    - {
    - handleWebServiceURI(wsdlURI);
    -
    - webServiceURI.removeModifyListener(modifyListener_);
    - webServiceURI.setText(getObjectSelectionDisplayableString());
    - webServiceURI.addModifyListener(modifyListener_);
    - }
    - }
    - }
    -
    - private String toWsdlURI(Object object)
    - {
    - if (object instanceof ServiceImpl)
    - return J2EEActionAdapterFactory.getWSDLURI((ServiceImpl)object);
    - else if (object instanceof WSDLResourceImpl)
    - return J2EEActionAdapterFactory.getWSDLURI((WSDLResourceImpl)object);
    - else if (object instanceof ServiceRef)
    - return J2EEActionAdapterFactory.getWSDLURI((ServiceRef)object);
    - else if (object instanceof IFile)
    - return ((IFile)object).getFullPath().toString();
    - else if (object instanceof String)
    - return (String)object;
    - else
    - return null;
    - }
    -
    - public IStructuredSelection getObjectSelection()
    - {
    - StructuredSelection ss;
    - if (tree != null && tree.getWsdlURI() != null)
    - ss = new StructuredSelection(tree.getWsdlURI());
    - else
    - ss = new StructuredSelection(wsdlURI_);
    - return new StructuredSelection(
    - new WSDLSelectionWrapper( webServicesParser, ss));
    - }
    -
    - public WebServicesParser getWebServicesParser()
    - {
    - return webServicesParser;
    - }
    -
    - public IStatus validateSelection(IStructuredSelection objectSelection)
    - {
    - return Status.OK_STATUS;
    - }
    -
    - public IProject getProject()
    - {
    - String wsdlURI;
    -
    - if (tree != null)
    - wsdlURI = tree.getWsdlURI();
    - else
    - wsdlURI = wsdlURI_;
    -
    - if (wsdlURI != null)
    - {
    - IProject p = getProjectFromURI(wsdlURI);
    - if (p!=null && p.exists())
    - return p;
    -
    - String wsRelPath = wsdlURI_;
    - IResource wsRes = ResourceUtils.findResource(wsRelPath);
    - if (wsRes!=null && wsRes instanceof IFile)
    - {
    - IProject p2 = ((IFile)wsRes).getProject();
    - return p2;
    - }
    -
    - }
    - return null;
    - }
    -
    - public String getComponentName()
    - {
    -
    - String wsdlURI;
    - if (tree != null)
    - wsdlURI = tree.getWsdlURI();
    - else
    - wsdlURI = wsdlURI_;
    -
    - if (wsdlURI != null)
    - {
    - String cname = getComponentNameFromURI(wsdlURI);
    - if (cname!=null && cname.length()>0)
    - return cname;
    -
    - String wsRelPath = wsdlURI_;
    - IResource wsRes = ResourceUtils.findResource(wsRelPath);
    - if (wsRes!=null && wsRes instanceof IFile)
    - {
    - IVirtualComponent comp = ResourceUtils.getComponentOf(wsRes);
    - if (comp!=null)
    - {
    - return comp.getName();
    - }
    - }
    -
    - }
    - return null;
    - }
    -
    - private IProject getProjectFromURI(String uri)
    - {
    - IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
    - String wkspcRootLoc = root.getLocation().toString();
    - int idx = uri.indexOf(wkspcRootLoc);
    - if (idx != -1)
    - {
    - String relPath = uri.substring(wkspcRootLoc.length()+idx);
    - IResource res = root.findMember(new Path(relPath));
    - if (res instanceof IFile)
    - {
    - IProject p = ((IFile)res).getProject();
    - return p;
    - }
    - }
    - return null;
    - }
    -
    - private String getComponentNameFromURI(String uri)
    - {
    - IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
    - String wkspcRootLoc = root.getLocation().toString();
    - int idx = uri.indexOf(wkspcRootLoc);
    - if (idx != -1)
    - {
    - String relPath = uri.substring(wkspcRootLoc.length()+idx);
    - IResource res = root.findMember(new Path(relPath));
    - if (res instanceof IFile)
    - {
    - IVirtualComponent comp = ResourceUtils.getComponentOf(res);
    - if (comp!=null)
    - {
    - return comp.getName();
    - }
    - }
    - }
    - return null;
    - }
    -
    - public String getObjectSelectionDisplayableString()
    - {
    - if (tree != null)
    - {
    - return transformer_.toPath(tree.getWsdlURI());
    - }
    - else
    - {
    - return transformer_.toPath(wsdlURI_);
    - }
    - }
    -
    - public Point getWidgetSize() {
    - return new Point( 580, 580);
    - }
    -
    - public boolean validate(String s) {
    - String wsURI = s;
    -
    - if (wsURI.indexOf(':') < 0)
    - {
    - IFile file = uri2IFile(wsURI);
    - if (file != null)
    - wsURI = iFile2URI(file);
    - }
    - if (wsURI != null && wsURI.indexOf(':') >= 0 && webServicesParser.getWebServiceEntityByURI(wsURI) == null)
    - {
    - TimedWSDLSelectionConditionCommand cmd = new TimedWSDLSelectionConditionCommand();
    - cmd.setWebServicesParser(webServicesParser);
    - cmd.setWebServiceURI(wsURI);
    - cmd.execute(null, null);
    - }
    -
    - // prime widget based on the string
    - wsdlURI_ = wsURI;
    -
    - WebServiceEntity entity = webServicesParser.getWebServiceEntityByURI(wsURI);
    - if (entity != null && entity.getType() == WebServiceEntity.TYPE_WSDL)
    - return true;
    - else
    - return false;
    -
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWrapper.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWrapper.java
    deleted file mode 100644
    index 80a6c1823..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/object/WSDLSelectionWrapper.java
    +++ /dev/null
    @@ -1,32 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.object;
    -
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -
    -/**
    - * This class is a very simple wrapper that binds a WSDL parser with
    - * a wsdlSelection object.
    - */
    -public class WSDLSelectionWrapper
    -{
    - public WebServicesParser parser;
    - public IStructuredSelection wsdlSelection;
    -
    - public WSDLSelectionWrapper( WebServicesParser parser,
    - IStructuredSelection selection )
    - {
    - this.parser = parser;
    - this.wsdlSelection = selection;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ClientRuntimeSelectionWidgetDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ClientRuntimeSelectionWidgetDefaultingCommand.java
    deleted file mode 100644
    index 7c62335b8..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ClientRuntimeSelectionWidgetDefaultingCommand.java
    +++ /dev/null
    @@ -1,1578 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060206 126408 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060222 115834 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060315 131963 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060418 129688 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060427 126780 kathy@ca.ibm.com - Kathy Chan
    - * 20060427 138058 joan@ca.ibm.com - Joan Haggarty
    - * 20060523 133714 joan@ca.ibm.com - Joan Haggarty
    - * 20060525 143843 joan@ca.ibm.com - Joan Haggarty
    - * 20060905 156230 kathy@ca.ibm.com - Kathy Chan, Handling projects with no target runtime
    - * 20070119 159458 mahutch@ca.ibm.com - Mark Hutchinson
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime;
    -
    -import java.util.ArrayList;
    -import java.util.HashSet;
    -import java.util.Iterator;
    -import java.util.Set;
    -import java.util.Vector;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jst.server.core.FacetUtil;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.common.ServerUtils;
    -import org.eclipse.jst.ws.internal.consumption.common.FacetMatcher;
    -import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
    -import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.DefaultingUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.ValidationUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.jst.ws.internal.consumption.ui.preferences.PersistentServerRuntimeContext;
    -import org.eclipse.jst.ws.internal.consumption.ui.preferences.ProjectTopologyContext;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.ClientRuntimeDescriptor;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.FacetMatchCache;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.ServiceRuntimeDescriptor;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
    -import org.eclipse.wst.command.internal.env.core.selection.SelectionList;
    -import org.eclipse.wst.command.internal.env.core.selection.SelectionListChoices;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.common.project.facet.core.IFacetedProject;
    -import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
    -import org.eclipse.wst.server.core.IRuntime;
    -import org.eclipse.wst.server.core.IRuntimeType;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.IServerType;
    -import org.eclipse.wst.server.core.ServerCore;
    -import org.eclipse.wst.server.core.ServerUtil;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -import org.eclipse.wst.ws.internal.wsrt.IContext;
    -import org.eclipse.wst.ws.internal.wsrt.ISelection;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceClient;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceRuntime;
    -import org.eclipse.wst.ws.internal.wsrt.SimpleContext;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceClientInfo;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceState;
    -
    -public class ClientRuntimeSelectionWidgetDefaultingCommand extends AbstractDataModelOperation
    -{
    - private String DEFAULT_CLIENT_EAR_PROJECT_EXT = "EAR";
    - private TypeRuntimeServer clientIds_;
    - private boolean clientIdsFixed_ = false;
    - private String clientRuntimeId_;
    - private String clientProjectName_;
    - private String clientEarProjectName_;
    - protected boolean clientNeedEAR_ = true;
    - private String clientComponentType_;
    - private FacetMatcher clientFacetMatcher_;
    -
    - private IContext context_;
    - private ISelection selection_;
    - private IWebServiceClient webServiceClient_;
    - private ResourceContext resourceContext_;
    - private boolean test_;
    -
    - //A note on initial projects ...
    - //The difference between clientInitialProject_ and initialProject_ is that
    - //clientInitialProject_ comes from the ObjectSelectionOutputCommand while initialProject_
    - //comes from SelectionCommand (i.e. it is the project containing the thing that was selected before
    - //the wizard was launched). In the defaulting algorithm, clientInitialProject_ will
    - //be given first priority. If, however, it is deemed that clientInitialProject_ is not a valid project
    - //because it contains the J2EE Web service for which we are trying to create a client, initialProject_
    - //will be given second priority.
    - private IProject initialProject_; //This is the project containing the selection prior to the wizard being launched.
    - private IProject clientInitialProject_; //This is the project containing the object selection from page 2.
    - private String wsdlURI_;
    - private WebServicesParser parser_;
    -
    - public ClientRuntimeSelectionWidgetDefaultingCommand()
    - {
    - super();
    - }
    -
    - public void setClientTypeRuntimeServer( TypeRuntimeServer ids )
    - {
    - clientIds_ = ids;
    - }
    -
    - public TypeRuntimeServer getClientTypeRuntimeServer()
    - {
    - return clientIds_;
    - }
    -
    - public void setClientIdsFixed(boolean b)
    - {
    - clientIdsFixed_ = b;
    - }
    -
    - public String getClientRuntimeId()
    - {
    - return clientRuntimeId_;
    - }
    -
    - public String getClientProjectName()
    - {
    - return clientProjectName_;
    - }
    -
    - public String getClientEarProjectName()
    - {
    - return clientEarProjectName_;
    - }
    -
    - public void setClientEarProjectName(String name)
    - {
    - clientEarProjectName_ = name;
    - }
    -
    - public String getClientComponentType()
    - {
    - return clientComponentType_;
    - }
    -
    - public IWebServiceClient getWebService()
    - {
    - return webServiceClient_;
    - }
    -
    - public IContext getContext()
    - {
    - return context_;
    - }
    -
    - public ISelection getSelection()
    - {
    - return selection_;
    - }
    -
    - /**
    - * Defaults the following bits of information in the following order:
    - * clientRuntimeId_ : the clientRuntimeId. Must be defaulted to non-empty String.
    - * clientIds_.runtimeId_: the Web service runtime id. Must be defaulted to non-empty String.
    - * clientProjectName_ : the name of the client project. Must be non-empty. May or may not exist.
    - * clientComponentType_: the id of the client project template. Must be empty if the client
    - * project exists. Must be non-empty of the client project does not exist.
    - * clientIds_.serverId_: the server type id. May be an empty String if the defaulted Web service runtime
    - * does not require a server.
    - * clientIds_.serverInstanceId_: the server id. May be null or an empty String.
    - * clientNeedEAR_: true if an EAR is needed. False otherwise.
    - * clientEarProjectName_: the client EAR project. Must be empty if the clientNeedEAR_ is false.
    - * Must be non-empty if the clientNeedEAR_ is true.
    - * webServiceClient_ : the IWebServiceClient based on the calculated defaults. Must be non-null for "Next"
    - * button to be enabled on the page following this command.
    - * context_ : an IContext. Must be non-null for "Next" button to be enabled on the page following this command.
    - */
    - public IStatus execute(IProgressMonitor monitor, IAdaptable adaptable)
    - {
    -
    - IEnvironment env = getEnvironment();
    -
    - try
    - {
    -
    - //**Step 1** Default the Web service runtime.
    -
    - //clientIdsFixed_ is set to true for the Ant scenario. It's always false for the wizard
    - //scenarios.
    - if (clientIdsFixed_ && (clientProjectName_ == null))
    - {
    - // Set the clientRuntime based on the runtime, server, and initial
    - // selection.
    - DefaultRuntimeTriplet drt = getDefaultClientRuntimeForFixedRuntimeAndServer(clientInitialProject_);
    - clientFacetMatcher_ = drt.getFacetMatcher();
    - clientProjectName_ = drt.getProjectName();
    - clientRuntimeId_ = drt.getRuntimeId();
    - }
    - else
    - {
    - ValidationUtils vu = new ValidationUtils();
    -
    - // Set the runtime based on the project containing the object selection/initial selection.
    - DefaultRuntimeTriplet drt = null;
    -
    - if (!vu.isProjectServiceProject(clientInitialProject_, wsdlURI_, parser_) && !clientIdsFixed_)
    - {
    - //If clientIntialProject_ does not contain the J2EE Web service, choose a clientRuntime based on it.
    - drt = getDefaultRuntime(clientInitialProject_, clientIds_.getTypeId(), true);
    - clientFacetMatcher_ = drt.getFacetMatcher();
    - clientProjectName_ = drt.getProjectName();
    - clientRuntimeId_ = drt.getRuntimeId();
    - }
    - else
    - {
    - //clientInitialProject_ contains the J2EE Web service so don't use it.
    - //Try using the initalProject_ instead.
    - if (!vu.isProjectServiceProject(initialProject_, wsdlURI_, parser_) && !clientIdsFixed_)
    - {
    - //If intialProject_ does not contain the J2EE Web service, choose a clientRuntime based on it.
    - drt = getDefaultRuntime(initialProject_, clientIds_.getTypeId(), true);
    - clientFacetMatcher_ = drt.getFacetMatcher();
    - clientProjectName_ = drt.getProjectName();
    - clientRuntimeId_ = drt.getRuntimeId();
    - }
    - else
    - {
    - //Both clientIntialProject_ and initialProject_ contain the J2EE Web service
    - //and cannot be used to influence clientRuntime defaulting.
    - //Choose a clientRuntime but don't choose clientInitialProject_
    - //as the clientProject.
    - drt = getDefaultRuntime(null, clientIds_.getTypeId(), true);
    - clientRuntimeId_ = drt.getRuntimeId();
    - }
    - }
    -
    - //Set the Web service runtime id from the clientRuntime
    - clientIds_.setRuntimeId(WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(clientRuntimeId_).getRuntime()
    - .getId());
    - }
    -
    - //**Step 2** Default the client project if it was not already defaulted
    - //as part of defaulting the Web service runtime.
    - if (clientProjectName_ == null)
    - {
    - // Project name did not get set when the runtime was set, so set it now
    - clientProjectName_ = getDefaultClientProjectName();
    - }
    -
    - //**Step 3** Default the client project type.
    - IProject clientProject = ProjectUtilities.getProject(clientProjectName_);
    - if (!clientProject.exists())
    - {
    - // Set the project template
    - clientComponentType_ = getDefaultClientProjectTemplate();
    - }
    - else
    - {
    - //Set it to an empty String
    - clientComponentType_ = "";
    - }
    -
    -
    - //**Step 4** Default the client server if this is not an Ant scenario.
    - if (!clientIdsFixed_)
    - {
    - IStatus serverStatus = setClientDefaultServer();
    - if (serverStatus.getSeverity() == Status.ERROR)
    - {
    - env.getStatusHandler().reportError(serverStatus);
    - return serverStatus;
    - }
    - }
    -
    - //**Step 5** Default clientNeedEAR and client EAR if an EAR is needed
    - setDefaultClientEarProject();
    -
    -
    - //**Step 6** Calculate default IWebServiceClient. This is need to make sure that
    - // Next is enabled on the page following this command.
    - setDefaultsForExtension(env);
    -
    - return Status.OK_STATUS;
    -
    - } catch (Exception e)
    - {
    - // Catch all Exceptions in order to give some feedback to the user
    - IStatus errorStatus = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_ERROR_TASK_EXCEPTED,
    - new String[] { e.getMessage() }), e);
    - env.getStatusHandler().reportError(errorStatus);
    - return errorStatus;
    - }
    - }
    -
    - private void setDefaultClientEarProject()
    - {
    - //Don't need an ear if this is a Java project, or if the selected template is jst.utility
    - IProject clientProject = ProjectUtilities.getProject(clientProjectName_);
    - if (clientProject.exists())
    - {
    - clientNeedEAR_ = !(FacetUtils.isJavaProject(clientProject));
    - }
    - else
    - {
    - clientNeedEAR_ = !(FacetUtils.isUtilityTemplate(clientComponentType_));
    - }
    -
    - //If clientNeedEAR_ is still true, it means that we're not dealing with a Java project
    - //or Java project type. Check the server.
    - if (clientNeedEAR_)
    - {
    - // Determine if an ear selection is needed based on the server type.
    -
    - String serverId = clientIds_.getServerId();
    - if (serverId != null)
    - {
    - // Use the server type
    - String serverTargetId = ServerUtils.getRuntimeTargetIdFromFactoryId(serverId);
    - if (serverTargetId != null && serverTargetId.length() > 0)
    - {
    - if (!ServerUtils.isTargetValidForEAR(serverTargetId, "13"))
    - {
    - // Default the EAR selection to be empty
    - clientNeedEAR_ = false;
    - }
    - }
    - } else { // serverId == null, assume that it does not need EAR
    - clientNeedEAR_ = false;
    -
    - }
    - }
    -
    - if (clientNeedEAR_)
    - {
    - clientEarProjectName_ = DefaultingUtils.getDefaultEARProjectName(clientProjectName_);
    - }
    - else
    - {
    - clientEarProjectName_ = "";
    - }
    - }
    -
    - private IStatus setClientDefaultServer()
    - {
    - //Choose an existing server the module is already associated with if possible
    - IProject clientProject = ProjectUtilities.getProject(clientProjectName_);
    - IServer[] configuredServers = ServerUtil.getServersByModule(ServerUtils.getModule(clientProject), null);
    -
    - if (configuredServers!=null && configuredServers.length>0)
    - {
    - clientIds_.setServerId(configuredServers[0].getServerType().getId());
    - clientIds_.setServerInstanceId(configuredServers[0].getId());
    - return Status.OK_STATUS;
    - }
    -
    - //If the project exists, choose a suitable server or server type based on the existing project's runtime or facets
    - if (clientProject.exists())
    - {
    - IServer server = getServerFromProject(clientProjectName_, clientFacetMatcher_);
    - if (server != null)
    - {
    - clientIds_.setServerId(server.getServerType().getId());
    - clientIds_.setServerInstanceId(server.getId());
    - return Status.OK_STATUS;
    - }
    - else
    - {
    - IServerType serverType = getServerTypeFromProject(clientProjectName_, clientFacetMatcher_);
    - if (serverType != null)
    - {
    - clientIds_.setServerId(serverType.getId());
    - return Status.OK_STATUS;
    - }
    - }
    - }
    -
    - //Haven't picked a server/server type on the basis of the project. Pick a server/server type
    - //that is compatible with the clientRuntimeId.
    - IServer server = getServerFromClientRuntimeId();
    - if (server!=null)
    - {
    - clientIds_.setServerId(server.getServerType().getId());
    - clientIds_.setServerInstanceId(server.getId());
    - return Status.OK_STATUS;
    - }
    -
    - IServerType serverType = getServerTypeFromClientRuntimeId();
    - if (serverType != null)
    - {
    - clientIds_.setServerId(serverType.getId());
    - return Status.OK_STATUS;
    - }
    -
    - // No suitable server was found. Popup an error if the default Web service
    - // runtime requires a server.
    - RuntimeDescriptor runtimeDescriptor = WebServiceRuntimeExtensionUtils2.getRuntimeById(clientIds_.getRuntimeId());
    - if (runtimeDescriptor.getServerRequired())
    - {
    - String runtimeLabel = WebServiceRuntimeExtensionUtils2.getRuntimeLabelById(clientIds_.getRuntimeId());
    - IStatus status = StatusUtils.errorStatus(NLS.bind(ConsumptionUIMessages.MSG_ERROR_NO_SERVER_RUNTIME, new String[] {
    - runtimeLabel}));
    - return status;
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    - private IServer getServerFromClientRuntimeId()
    - {
    - IServer[] servers = ServerCore.getServers();
    - if (servers != null && servers.length > 0) {
    -
    - PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
    - String preferredServerFactoryId = context.getServerFactoryId();
    -
    - //If a server of the preferred server type is present, check that one first
    - for (int j = 0; j < servers.length; j++)
    - {
    - String serverFactoryId = servers[j].getServerType().getId();
    - if (serverFactoryId == preferredServerFactoryId)
    - {
    - if (WebServiceRuntimeExtensionUtils2.doesClientRuntimeSupportServer(clientRuntimeId_, serverFactoryId))
    - {
    - return servers[j];
    - }
    - }
    - }
    -
    - //A server of the preferred server type could not be found or did not match. Check all the existing servers.
    -
    - for (int i = 0; i < servers.length; i++)
    - {
    - String serverFactoryId = servers[i].getServerType().getId();
    - if (WebServiceRuntimeExtensionUtils2.doesClientRuntimeSupportServer(clientRuntimeId_, serverFactoryId))
    - {
    - return servers[i];
    - }
    - }
    - }
    - return null;
    - }
    -
    - private IServerType getServerTypeFromClientRuntimeId()
    - {
    - String[] serverTypes = WebServiceRuntimeExtensionUtils2.getServerFactoryIdsByClientRuntime(clientRuntimeId_);
    - if (serverTypes!=null && serverTypes.length>0)
    - {
    - //Return the preferred one if it is in the list
    - PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
    - String preferredServerFactoryId = context.getServerFactoryId();
    - for (int i=0; i<serverTypes.length; i++)
    - {
    - if (serverTypes[i].equals(preferredServerFactoryId))
    - {
    - return ServerCore.findServerType(serverTypes[i]);
    - }
    - }
    -
    - return ServerCore.findServerType(serverTypes[0]);
    - }
    -
    - return null;
    - }
    -
    - protected IServer getServerFromProject(String projectName, FacetMatcher facetMatcher)
    - {
    - IServer server = null;
    -
    - IProject project = ProjectUtilities.getProject(projectName);
    - IServer[] servers = ServerCore.getServers();
    -
    - if (servers.length > 0)
    - {
    - PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
    - String preferredServerFactoryId = context.getServerFactoryId();
    -
    - // Get the runtime.
    - org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = null;
    - IFacetedProject fProject = null;
    -
    - if (project != null && project.exists())
    - {
    - try
    - {
    - fProject = ProjectFacetsManager.create(project);
    - if (fProject != null)
    - {
    - fRuntime = fProject.getRuntime();
    - }
    - } catch (CoreException ce)
    - {
    -
    - }
    - }
    -
    - if (fRuntime != null)
    - {
    - // Get an existing server that has the same runtime.
    - IServer firstMatchingServer = null;
    - IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
    - for (int i = 0; i < servers.length; i++)
    - {
    - IServer thisServer = servers[i];
    - if (thisServer.getRuntime().getId().equals(sRuntime.getId()))
    - {
    - if (firstMatchingServer==null)
    - {
    - firstMatchingServer = thisServer;
    - }
    -
    - if (thisServer.getServerType().getId().equals(preferredServerFactoryId))
    - {
    -
    - server = thisServer;
    - break;
    - }
    - }
    - }
    -
    - //If a server of the preferred server type was not found but
    - //there was a server that matched, return that one.
    - if (server == null && firstMatchingServer != null)
    - {
    - server = firstMatchingServer;
    - }
    - }
    -
    - // If an existing server could not be chosen on the basis of the project's
    - // runtime,
    - // try to find an existing server using the project's facets and the
    - // facetsToAdd.
    - if (server == null)
    - {
    - if (project!=null && project.exists())
    - {
    - Set facets = FacetUtils.getFacetsForProject(project.getName());
    - if (facets != null)
    - {
    - Set facetsClone = new HashSet();
    - facetsClone.addAll(facets);
    - if (facetMatcher.getFacetsToAdd() != null)
    - {
    - Iterator itr = facetMatcher.getFacetsToAdd().iterator();
    - while (itr.hasNext())
    - {
    - facetsClone.add(itr.next());
    - }
    - }
    - server = getServerFromFacets(facetsClone);
    - }
    - }
    - }
    - }
    - return server;
    - }
    -
    - protected IServer getServerFromFacets(Set facets)
    - {
    - IServer server = null;
    - Set runtimes = FacetUtils.getRuntimes(new Set[]{facets});
    - Iterator itr = runtimes.iterator();
    - IServer[] servers = ServerCore.getServers();
    - PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
    - String preferredServerFactoryId = context.getServerFactoryId();
    -
    - //If one of the servers is of the preferred type, and its runtime
    - //is in the set of matching runtimes, return that server.
    - for (int j=0; j<servers.length; j++)
    - {
    - IServer thisServer = servers[j];
    - if (thisServer.getServerType().getId().equals(preferredServerFactoryId))
    - {
    - //Check to see if it matches any of the runtimes.
    - Iterator runtimesItr = runtimes.iterator();
    - while(runtimesItr.hasNext())
    - {
    - org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = (org.eclipse.wst.common.project.facet.core.runtime.IRuntime)runtimesItr.next();
    - IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
    - if (thisServer.getRuntime().getId().equals(sRuntime.getId()))
    - {
    - server = thisServer;
    - }
    - }
    - }
    - }
    -
    - if (server == null)
    - {
    - outer: while (itr.hasNext())
    - {
    - org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = (org.eclipse.wst.common.project.facet.core.runtime.IRuntime) itr
    - .next();
    - IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
    - for (int i = 0; i < servers.length; i++)
    - {
    - IServer thisServer = servers[i];
    - if (thisServer.getRuntime().getId().equals(sRuntime.getId()))
    - {
    - server = thisServer;
    - break outer;
    - }
    - }
    - }
    - }
    -
    - return server;
    -
    - }
    -
    - protected IServerType getServerTypeFromProject(String projectName, FacetMatcher facetMatcher)
    - {
    - IServerType serverType = null;
    - PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
    - String preferredServerFactoryId = context.getServerFactoryId();
    -
    - IProject project = ProjectUtilities.getProject(projectName);
    - IServerType[] serverTypes = ServerCore.getServerTypes();
    -
    - //Get the runtime.
    - org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = null;
    - IFacetedProject fProject = null;
    -
    - if (project != null && project.exists())
    - {
    - try
    - {
    - fProject = ProjectFacetsManager.create(project);
    - if (fProject != null)
    - {
    - fRuntime = fProject.getRuntime();
    - }
    - } catch (CoreException ce)
    - {
    -
    - }
    - }
    -
    - if (fRuntime != null)
    - {
    - //Get a server type that has the same runtime type.
    - IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
    - IRuntimeType sRuntimeType = sRuntime.getRuntimeType();
    - IServerType firstMatchingServerType = null;
    - for (int i=0; i<serverTypes.length; i++)
    - {
    - IServerType thisServerType = serverTypes[i];
    - if (sRuntimeType != null && thisServerType.getRuntimeType().getId().equals(sRuntimeType.getId()))
    - {
    - if (firstMatchingServerType == null)
    - {
    - firstMatchingServerType = thisServerType;
    - }
    - if (thisServerType.getId().equals(preferredServerFactoryId))
    - {
    - serverType = thisServerType;
    - break;
    - }
    - }
    - }
    -
    - //If the preferred server type was not found but
    - //there was a server type that matched, return that one.
    - if (serverType == null && firstMatchingServerType != null)
    - {
    - serverType = firstMatchingServerType;
    - }
    - }
    -
    - //If a server type could not be chosen on the basis of the project's runtime,
    - //try to find a server type using the project's facets and the facetsToAdd.
    - if (serverType == null)
    - {
    - if (project != null && project.exists())
    - {
    - Set facets = FacetUtils.getFacetsForProject(project.getName());
    - if (facets != null)
    - {
    - Set facetsClone = new HashSet();
    - facetsClone.addAll(facets);
    - if (facetMatcher != null && facetMatcher.getFacetsToAdd() != null)
    - {
    - Iterator itr = facetMatcher.getFacetsToAdd().iterator();
    - while (itr.hasNext())
    - {
    - facetsClone.add(itr.next());
    - }
    - }
    - serverType = getServerTypeFromFacets(facetsClone);
    - }
    - }
    - }
    -
    - return serverType;
    -
    - }
    -
    - protected IServerType getServerTypeFromFacets(Set facets)
    - {
    - IServerType serverType = null;
    - Set runtimes = FacetUtils.getRuntimes(new Set[]{facets});
    - Iterator itr = runtimes.iterator();
    - IServerType[] serverTypes = ServerCore.getServerTypes();
    - PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
    - String preferredServerFactoryId = context.getServerFactoryId();
    -
    - //If one of the server types is of the preferred type, and its runtime
    - //is in the set of matching runtimes, return that server type.
    - for (int j=0; j<serverTypes.length; j++)
    - {
    - IServerType thisServerType = serverTypes[j];
    - if (thisServerType.getId().equals(preferredServerFactoryId))
    - {
    - //Check to see if it matches any of the runtimes.
    - Iterator runtimesItr = runtimes.iterator();
    - while(runtimesItr.hasNext())
    - {
    - org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = (org.eclipse.wst.common.project.facet.core.runtime.IRuntime)runtimesItr.next();
    - IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
    - IRuntimeType sRuntimeType = sRuntime.getRuntimeType();
    - if (sRuntimeType != null && thisServerType.getRuntimeType().getId().equals(sRuntimeType.getId()))
    - {
    - serverType = thisServerType;
    - }
    - }
    - }
    - }
    -
    -
    - if (serverType == null)
    - {
    - outer: while (itr.hasNext())
    - {
    - org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = (org.eclipse.wst.common.project.facet.core.runtime.IRuntime) itr
    - .next();
    - IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
    - IRuntimeType sRuntimeType = sRuntime.getRuntimeType();
    - for (int i = 0; i < serverTypes.length; i++)
    - {
    - IServerType thisServerType = serverTypes[i];
    - if (sRuntimeType != null && thisServerType.getRuntimeType().getId().equals(sRuntimeType.getId()))
    - {
    - serverType = thisServerType;
    - break outer;
    - }
    - }
    - }
    - }
    -
    - return serverType;
    -
    - }
    -
    - protected IServer getServerFromProjectType(String templateId, FacetMatcher facetMatcher)
    - {
    - IServer server = null;
    - Set facets = FacetUtils.getInitialFacetVersionsFromTemplate(templateId);
    - if (facetMatcher.getFacetsToAdd() != null)
    - {
    - Iterator itr = facetMatcher.getFacetsToAdd().iterator();
    - while (itr.hasNext())
    - {
    - facets.add(itr.next());
    - }
    - }
    - server = getServerFromFacets(facets);
    - return server;
    - }
    -
    - protected IServerType getServerTypeFromProjectType(String templateId, FacetMatcher facetMatcher)
    - {
    - IServerType serverType = null;
    - Set facets = FacetUtils.getInitialFacetVersionsFromTemplate(templateId);
    - if (facetMatcher.getFacetsToAdd() != null)
    - {
    - Iterator itr = facetMatcher.getFacetsToAdd().iterator();
    - while (itr.hasNext())
    - {
    - facets.add(itr.next());
    - }
    - }
    - //TODO Instead of passing in a single set of facets, pass in multiple sets, if the
    - //jst.java facet is one of them and the clientRuntimeId allows newer.
    - serverType = getServerTypeFromFacets(facets);
    - return serverType;
    - }
    -
    - private String getDefaultClientProjectTemplate()
    - {
    - String[] templates = WebServiceRuntimeExtensionUtils2.getClientProjectTemplates(clientIds_.getTypeId(), clientIds_.getRuntimeId());
    -
    - //Walk the list of client project types in the project topology preference
    - ProjectTopologyContext ptc= WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
    - String[] preferredTemplateIds = ptc.getClientTypes();
    - for (int j=0; j<preferredTemplateIds.length; j++)
    - {
    - for (int i=0; i<templates.length; i++)
    - {
    - String templateId = templates[i];
    - if (templateId.equals(preferredTemplateIds[j]))
    - {
    -
    - boolean matches = WebServiceRuntimeExtensionUtils2.doesClientRuntimeSupportTemplate(clientRuntimeId_, templateId);
    - if (matches)
    - {
    - return templates[i];
    - }
    - }
    - }
    - }
    -
    - //Since the preferredTemplateIds contains the union of all project types for all client runtimes, we are
    - //guaranteed to have returned by now, so the code below will never be executed under normal
    - //circumstances. Just return something to satisfy the compiler.
    - if (templates.length > 0)
    - return templates[0];
    -
    - return "";
    - }
    -
    - private String getDefaultClientProjectName()
    - {
    - ValidationUtils vu = new ValidationUtils();
    - IProject[] projects = FacetUtils.getAllProjects();
    - ClientRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(clientRuntimeId_);
    - RequiredFacetVersion[] rfvs = desc.getRequiredFacetVersions();
    -
    - //Check each project and its facetRuntime for compatibility with the clientRuntime
    - for (int i=0; i<projects.length; i++)
    - {
    - if (!vu.isProjectServiceProject(projects[i], wsdlURI_, parser_))
    - {
    - Set facetVersions = FacetUtils.getFacetsForProject(projects[i].getName());
    - org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = null;
    - String fRuntimeName = null;
    - fRuntime = FacetUtils.getFacetRuntimeForProject(projects[i].getName());
    - if (fRuntime != null)
    - {
    - fRuntimeName = fRuntime.getName();
    - }
    -
    - if (facetVersions != null)
    - {
    -
    - // FacetMatcher fm = FacetUtils.match(rfvs, facetVersions);
    - FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(true, clientRuntimeId_, projects[i].getName());
    - boolean facetRuntimeMatches = true;
    - if (fRuntimeName != null)
    - {
    - facetRuntimeMatches = FacetUtils.isFacetRuntimeSupported(rfvs, fRuntimeName);
    - }
    -
    - if (fm.isMatch() && facetRuntimeMatches)
    - {
    - clientFacetMatcher_ = fm;
    - return projects[i].getName();
    - }
    - }
    - }
    - }
    -
    - //No project was suitable, return a new project name
    - return ResourceUtils.getDefaultWebProjectName();
    -
    - }
    -
    - private DefaultRuntimeTriplet getDefaultClientRuntimeForFixedRuntimeAndServer(IProject project)
    - {
    - String[] clientRuntimes = WebServiceRuntimeExtensionUtils2.getClientRuntimesByType(clientIds_.getTypeId());
    - ArrayList validClientRuntimes = new ArrayList();
    - for (int i=0; i<clientRuntimes.length; i++ )
    - {
    - ClientRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(clientRuntimes[i]);
    - if (desc.getRuntime().getId().equals(clientIds_.getRuntimeId()))
    - {
    - //Check if this client runtime supports the server
    - if (WebServiceRuntimeExtensionUtils2.doesClientRuntimeSupportServer(desc.getId(), clientIds_.getServerId()))
    - {
    - validClientRuntimes.add(desc.getId());
    - if (project != null && project.exists())
    - {
    - //RequiredFacetVersion[] rfv = desc.getRequiredFacetVersions();
    - Set facetVersions = FacetUtils.getFacetsForProject(project.getName());
    - if (facetVersions != null)
    - {
    - //FacetMatcher fm = FacetUtils.match(rfv, facetVersions);
    - FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(true, clientRuntimes[i], project.getName());
    - if (fm.isMatch())
    - {
    - DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
    - drt.setFacetMatcher(fm);
    - drt.setProjectName(project.getName());
    - drt.setRuntimeId(desc.getId());
    - return drt;
    - }
    - }
    - }
    -
    - }
    - }
    -
    - }
    -
    - if (validClientRuntimes.size() > 0)
    - {
    - //We couldn't match to the initially selected project so return the first valid runtime.
    - DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
    - drt.setFacetMatcher(null);
    - drt.setProjectName(null);
    - drt.setRuntimeId(((String[])validClientRuntimes.toArray(new String[0]))[0]);
    - return drt;
    - }
    - else
    - {
    - //There are no client runtimes that match the fixed runtime and server. Fall back to original algorithm
    - clientIdsFixed_ = false;
    - return getDefaultRuntime(project, clientIds_.getTypeId(), true);
    - }
    - }
    -
    - protected DefaultRuntimeTriplet getDefaultRuntime(IProject project, String typeId, boolean isClient)
    - {
    - String[] runtimes = null;
    - if (isClient)
    - {
    - runtimes = WebServiceRuntimeExtensionUtils2.getClientRuntimesByType(typeId);
    - }
    - else
    - {
    - runtimes = WebServiceRuntimeExtensionUtils2.getServiceRuntimesByServiceType(typeId);
    - }
    -
    - //Split the array of service/client runtimes into one containing the preferred set and one containing the rest.
    - PersistentServerRuntimeContext context = WebServiceConsumptionUIPlugin.getInstance().getServerRuntimeContext();
    - String preferredRuntimeId = context.getRuntimeId();
    - ArrayList preferredRuntimeIdsList = new ArrayList();
    - ArrayList otherRuntimeIdsList = new ArrayList();
    - for (int k=0; k<runtimes.length; k++ )
    - {
    - String descRuntimeId = null;
    - if (isClient)
    - {
    - ClientRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(runtimes[k]);
    - descRuntimeId = desc.getRuntime().getId();
    - }
    - else
    - {
    - ServiceRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(runtimes[k]);
    - descRuntimeId = desc.getRuntime().getId();
    - }
    -
    - if (descRuntimeId.equals(preferredRuntimeId))
    - {
    - preferredRuntimeIdsList.add(runtimes[k]);
    - }
    - else
    - {
    - otherRuntimeIdsList.add(runtimes[k]);
    - }
    - }
    - String[] preferredRuntimeIds = (String[])preferredRuntimeIdsList.toArray(new String[0]);
    - String[] otherRuntimeIds = (String[])otherRuntimeIdsList.toArray(new String[0]);
    -
    - Set facetVersions = null;
    - org.eclipse.wst.common.project.facet.core.runtime.IRuntime fRuntime = null;
    - String fRuntimeName = null;
    -
    - //If the initially selected project exists and facets can be inferred from it, look for
    - //a service/client runtime that matches the project's facets and also, if possible, its facet runtime.
    - //Preference should be given to the preferred service/client runtimes.
    - if (project != null && project.exists())
    - {
    - facetVersions = FacetUtils.getFacetsForProject(project.getName());
    - fRuntime = FacetUtils.getFacetRuntimeForProject(project.getName());
    - fRuntimeName = null;
    - if (fRuntime != null)
    - {
    - fRuntimeName = fRuntime.getName();
    - }
    -
    - if (facetVersions != null)
    - {
    - //1. First check to see if one of the preferred service/client runtimes matches the existing
    - //project's facets and runtime.
    - for (int p = 0; p < preferredRuntimeIds.length; p++)
    - {
    - RequiredFacetVersion[] prfv = null;
    - if (isClient)
    - {
    - prfv = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(preferredRuntimeIds[p]).getRequiredFacetVersions();
    - }
    - else
    - {
    - prfv = WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(preferredRuntimeIds[p]).getRequiredFacetVersions();
    - }
    -
    - //FacetMatcher fm = FacetUtils.match(prfv, facetVersions);
    - FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(isClient, preferredRuntimeIds[p], project.getName());
    - boolean facetRuntimeMatches = true;
    - if (fRuntimeName != null)
    - {
    - facetRuntimeMatches = FacetUtils.isFacetRuntimeSupported(prfv, fRuntimeName);
    - }
    -
    - if (fm.isMatch() && facetRuntimeMatches)
    - {
    - DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
    - drt.setFacetMatcher(fm);
    - drt.setProjectName(project.getName());
    - drt.setRuntimeId(preferredRuntimeIds[p]);
    - return drt;
    - }
    - }
    -
    - //2. Second, check to see if one of the other clientRuntimes matches the existing
    - //project's facets and runtime.
    - for (int i=0; i<otherRuntimeIds.length; i++)
    - {
    - RequiredFacetVersion[] rfv = null;
    - if (isClient)
    - {
    - rfv = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(otherRuntimeIds[i]).getRequiredFacetVersions();
    - }
    - else
    - {
    - rfv = WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(otherRuntimeIds[i]).getRequiredFacetVersions();
    - }
    -
    - FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(isClient, otherRuntimeIds[i], project.getName());
    - boolean facetRuntimeMatches = true;
    - if (fRuntimeName != null)
    - {
    - facetRuntimeMatches = FacetUtils.isFacetRuntimeSupported(rfv, fRuntimeName);
    - }
    - if (fm.isMatch() && facetRuntimeMatches)
    - {
    - DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
    - drt.setFacetMatcher(fm);
    - drt.setProjectName(project.getName());
    - drt.setRuntimeId(otherRuntimeIds[i]);
    - return drt;
    - }
    - }
    -
    - //3. Third, check to see if one of the preferred clientRuntimes matches the existing
    - //project's facets.
    - for (int p = 0; p < preferredRuntimeIds.length; p++)
    - {
    - FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(isClient, preferredRuntimeIds[p], project.getName());
    - if (fm.isMatch())
    - {
    - DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
    - drt.setFacetMatcher(fm);
    - drt.setProjectName(project.getName());
    - drt.setRuntimeId(preferredRuntimeIds[p]);
    - return drt;
    - }
    - }
    -
    - //4. Fourth, check to see if the one the other clientRuntimes matches the existing
    - //project's facets.
    - for (int i=0; i<otherRuntimeIds.length; i++)
    - {
    - FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(isClient, otherRuntimeIds[i], project.getName());
    - if (fm.isMatch())
    - {
    - DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
    - drt.setFacetMatcher(fm);
    - drt.setProjectName(project.getName());
    - drt.setRuntimeId(otherRuntimeIds[i]);
    - return drt;
    - }
    - }
    - }
    - }
    -
    - //Haven't returned yet so this means that the intitially selected project cannot be used
    - //to influence the selection of the service/client runtime.
    -
    - //Use the preferred project types to influence the selection of a runtime.
    - ProjectTopologyContext ptc = WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
    - String[] preferredTemplateIds = null;
    - if (isClient)
    - {
    - preferredTemplateIds = ptc.getClientTypes();
    - }
    - else
    - {
    - preferredTemplateIds = ptc.getServiceTypes();
    - }
    -
    -
    - for (int n=0; n<preferredTemplateIds.length; n++)
    - {
    - String preferredTemplateId = preferredTemplateIds[n];
    -
    - for (int m=0; m<preferredRuntimeIds.length; m++)
    - {
    - //If this client or service runtime supports this template, choose it and exit.
    - boolean matches = false;
    - if (isClient)
    - {
    - matches = WebServiceRuntimeExtensionUtils2.doesClientRuntimeSupportTemplate(preferredRuntimeIds[m], preferredTemplateId);
    - }
    - else
    - {
    - matches = WebServiceRuntimeExtensionUtils2.doesServiceRuntimeSupportTemplate(preferredRuntimeIds[m], preferredTemplateId);
    - }
    -
    - if (matches)
    - {
    - DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
    - drt.setFacetMatcher(null);
    - //If the project doesn't exist, use the name of the project that was passed in.
    - //If the project exists, it means that previous code in this method
    - //determined it to not be a suitable project. Clear the project name.
    - if (project==null || project.exists())
    - {
    - drt.setProjectName(null);
    - }
    - else
    - {
    - drt.setProjectName(project.getName());
    - }
    - drt.setRuntimeId(preferredRuntimeIds[m]);
    - return drt;
    - }
    - }
    - }
    -
    -
    - //Still haven't returned. Return the first preferred service/client runtime id.
    - if (preferredRuntimeIds.length > 0)
    - {
    - DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
    - drt.setFacetMatcher(null);
    - //If the project doesn't exist, use the name of the project that was passed in.
    - //If the project exists, it means that previous code in this method
    - //determined it to not be a suitable project. Clear the project name.
    - if (project==null || project.exists())
    - {
    - drt.setProjectName(null);
    - }
    - else
    - {
    - drt.setProjectName(project.getName());
    - }
    - drt.setRuntimeId(preferredRuntimeIds[0]);
    - return drt;
    - }
    -
    - if (runtimes.length > 0)
    - {
    - DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
    - drt.setFacetMatcher(null);
    - //If the project doesn't exist, use the name of the project that was passed in.
    - //If the project exists, it means that previous code in this method
    - //determined it to not be a suitable project. Clear the project name.
    - if (project==null || project.exists())
    - {
    - drt.setProjectName(null);
    - }
    - else
    - {
    - drt.setProjectName(project.getName());
    - }
    - drt.setRuntimeId(runtimes[0]);
    - return drt;
    - }
    - else
    - {
    - DefaultRuntimeTriplet drt = new DefaultRuntimeTriplet();
    - drt.setFacetMatcher(null);
    - //If the project doesn't exist, use the name of the project that was passed in.
    - //If the project exists, it means that previous code in this method
    - //determined it to not be a suitable project. Clear the project name.
    - if (project==null || project.exists())
    - {
    - drt.setProjectName(null);
    - }
    - else
    - {
    - drt.setProjectName(project.getName());
    - }
    - drt.setRuntimeId(null);
    - return drt;
    - }
    - }
    - /**
    - *
    - * @param project
    - * @return
    - */
    - protected SelectionListChoices getProjectEARChoice(IProject project)
    - {
    - String[] flexProjects = getAllFlexibleProjects();
    - SelectionList list = new SelectionList(flexProjects, 0);
    - return new SelectionListChoices(list, null);
    - }
    -
    - protected SelectionList getEARProjects()
    - {
    - String[] flexProjects = getAllFlexibleProjects();
    - return new SelectionList(flexProjects, 0);
    - }
    -
    - protected IResource getResourceFromInitialSelection(IStructuredSelection selection)
    - {
    - if (selection != null && selection.size() == 1)
    - {
    - Object obj = selection.getFirstElement();
    - if (obj != null)
    - {
    - try
    - {
    - IResource resource = ResourceUtils.getResourceFromSelection(obj);
    - return resource;
    - } catch(CoreException e)
    - {
    - return null;
    - }
    - }
    - }
    - return null;
    - }
    -
    -
    -
    - /*
    - * Set defaults for the client-side from the service-side if possible.
    - * Sets clientProjectName_ to a value based on the service project name.
    - *
    - * Returns an IStatus.OK if the service side values for server and Web
    - * service runtime can be used to set the values for clientRuntimeId_,
    - * clientComponentType_, all the values in clientIds_, and clientEarProjectName_.
    - *
    - * Returns an IStatus.ERROR otherwise, leaving only the clientProjectName_ set.
    - */
    - protected IStatus defaultClientSideFromServiceSide(String serviceProjectName, TypeRuntimeServer serviceIds, boolean serviceNeedEAR, String serviceEarProjectName)
    - {
    - //1. Start with setting the default client project name based on the service project name.
    - boolean isEJB = false;
    - String implId = WebServiceRuntimeExtensionUtils2.getWebServiceImplIdFromTypeId(serviceIds.getTypeId());
    - isEJB = (implId.equals("org.eclipse.jst.ws.wsImpl.ejb"));
    - String[] updatedNames = ResourceUtils.getClientProjectComponentName(serviceProjectName, serviceProjectName, isEJB);
    - clientProjectName_ = updatedNames[0];
    -
    - //2. Ideally, the server and runtime on the client-side will be defaulted
    - // to the same values as the service side. If a client runtime id that
    - // supports clientProjectName_ and the service-side server and runtime defaults
    - // can be found, choose it.
    - IProject clientProject = ProjectUtilities.getProject(clientProjectName_);
    - TypeRuntimeServer testIds = new TypeRuntimeServer();
    - testIds.setTypeId(clientIds_.getTypeId());
    - testIds.setRuntimeId(serviceIds.getRuntimeId());
    - testIds.setServerId(serviceIds.getServerId());
    - testIds.setServerInstanceId(serviceIds.getServerInstanceId());
    -
    - if (clientProject.exists())
    - {
    - clientComponentType_ = "";
    - clientRuntimeId_ = WebServiceRuntimeExtensionUtils2.getClientRuntimeId(testIds, serviceProjectName, clientComponentType_);
    - if (clientRuntimeId_ != null && clientRuntimeId_.length()>0)
    - {
    - clientIds_.setRuntimeId(serviceIds.getRuntimeId());
    - clientIds_.setServerId(serviceIds.getServerId());
    - clientIds_.setServerInstanceId(serviceIds.getServerInstanceId());
    - }
    - }
    - else
    - {
    - //See if there is a client project type that supports the service-side
    - //server and runtime defaults. Pick a client project type based on project topology preferences.
    - //Choose the clientRuntimeId_ accordingly.
    - String[] templateIds = WebServiceRuntimeExtensionUtils2.getClientProjectTemplates(clientIds_.getTypeId(), testIds.getRuntimeId());
    - if (templateIds != null && templateIds.length > 0)
    - {
    - ProjectTopologyContext ptc = WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
    - String[] preferredTemplateIds = ptc.getClientTypes();
    - outer: for (int j = 0; j < preferredTemplateIds.length; j++)
    - {
    - for (int i = 0; i < templateIds.length; i++)
    - {
    - String templateId = templateIds[i];
    - if (templateId.equals(preferredTemplateIds[j]))
    - {
    - // Get a clientRuntimeId for this template
    - String newClientRuntimeId = WebServiceRuntimeExtensionUtils2.getClientRuntimeId(testIds, clientProjectName_,
    - templateId);
    - if (newClientRuntimeId.length() > 0)
    - {
    - clientRuntimeId_ = newClientRuntimeId;
    - clientComponentType_ = templateId;
    - clientIds_.setRuntimeId(serviceIds.getRuntimeId());
    - clientIds_.setServerId(serviceIds.getServerId());
    - clientIds_.setServerInstanceId(serviceIds.getServerInstanceId());
    - break outer;
    - }
    - }
    - }
    - }
    - }
    - }
    -
    - //3. If step 2 was successful, clientRuntimeId_ should now be set, along with clientProjectName_,
    - // clientComponentType_, and all the values in clientIds_. All that remains is setting the EAR.
    - if (clientRuntimeId_ != null && clientRuntimeId_.length()>0)
    - {
    - setDefaultClientEarProject();
    - //Update the client side EAR from the service side EAR if necessary.
    - if (serviceNeedEAR)
    - {
    - defaultClientEarFromServiceEar(serviceProjectName, serviceEarProjectName);
    - }
    - return Status.OK_STATUS;
    - }
    - else
    - {
    - //Step 2 was not successful. Client side defaulting cannot be done using the service side server
    - //and web service runtime defaults. Return an error status.
    - return StatusUtils.errorStatus("");
    - }
    - }
    -
    - protected void defaultClientEarFromServiceEar(String serviceProjectName, String serviceEarProjectName)
    - {
    - //Client side
    - if (clientNeedEAR_)
    - {
    - IProject clientProject = ProjectUtilities.getProject(clientProjectName_);
    - if(clientProject==null || !clientProject.exists()
    - || !(clientEarProjectName_.equalsIgnoreCase(serviceEarProjectName)))
    - {
    - ProjectTopologyContext ptc= WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
    - if (!ptc.isUseTwoEARs())
    - {
    - clientEarProjectName_ = serviceEarProjectName;
    - }
    - else
    - {
    - IProject proxyEARProject = getUniqueClientEAR(clientEarProjectName_, serviceEarProjectName, clientProjectName_, serviceProjectName);
    - clientEarProjectName_ = proxyEARProject.getName();
    - }
    - }
    - }
    -
    - }
    -
    - private IProject getUniqueClientEAR(String earProjectName, String serviceEARProject, String clientProjectName, String serviceProjectName) {
    -
    - String projectName = new String();
    - //If the client project doesn't exist and the service project does, ensure the
    - //the client side EAR's J2EE level is such that the service project could be added to it.
    - //This will ensure we don't default the page with a client project EAR at a lower
    - //J2EE level than the service side.
    - boolean goodJ2EELevel = true;
    - if (!earProjectName.equalsIgnoreCase(serviceEARProject))
    - {
    - IProject clientProject = ProjectUtilities.getProject(clientProjectName);
    - IProject serviceProject = ProjectUtilities.getProject(serviceProjectName);
    - IProject earProject = ProjectUtilities.getProject(earProjectName);
    - if (!clientProject.exists() && serviceProject.exists())
    - {
    - IStatus associationStatus = J2EEUtils.canAssociateProjectToEAR(serviceProject, earProject);
    - goodJ2EELevel = (associationStatus.getSeverity() == IStatus.OK);
    - }
    - }
    -
    - if (!earProjectName.equalsIgnoreCase(serviceEARProject) && goodJ2EELevel) {
    - projectName = earProjectName;
    - }
    - else {
    - projectName = clientProjectName+DEFAULT_CLIENT_EAR_PROJECT_EXT;
    - int i=1;
    - while (projectName.equalsIgnoreCase(serviceEARProject)) {
    - projectName = projectName+i;
    - i++;
    - }
    - }
    - return projectName.equals("") ? null : ResourceUtils.getWorkspaceRoot().getProject(projectName);
    -
    - }
    -
    - private void setDefaultsForExtension(IEnvironment env)
    - {
    - IWebServiceRuntime wsrt = WebServiceRuntimeExtensionUtils2.getClientRuntime(clientRuntimeId_);
    - if (wsrt != null)
    - {
    - WebServiceClientInfo wsInfo = new WebServiceClientInfo();
    - wsInfo.setServerFactoryId(clientIds_.getServerId());
    - wsInfo.setServerInstanceId(clientIds_.getServerInstanceId());
    - wsInfo.setState(WebServiceState.UNKNOWN_LITERAL);
    - wsInfo.setWebServiceRuntimeId(clientIds_.getRuntimeId());
    - wsInfo.setWsdlURL(wsdlURI_);
    -
    - webServiceClient_ = wsrt.getWebServiceClient(wsInfo);
    - WebServiceScenario scenario = WebServiceScenario.CLIENT_LITERAL;
    - if (resourceContext_ != null)
    - {
    - context_ = new SimpleContext(true, true, true, true, true, true, test_, false, scenario, resourceContext_.isOverwriteFilesEnabled(), resourceContext_
    - .isCreateFoldersEnabled(), resourceContext_.isCheckoutFilesEnabled());
    - }
    - }
    -
    - }
    -
    - public void setClientInitialSelection(IStructuredSelection selection)
    - {
    - if (clientInitialProject_ == null)
    - {
    - clientInitialProject_ = getProjectFromInitialSelection(selection);
    - }
    - }
    -
    - // This is for the Ant scenario where the client project name can be set in the property file.
    - // If the user has set the ClientProjectName use it for defaulting purposes
    - public void setClientProjectName(String name)
    - {
    - clientProjectName_ = name;
    - }
    -
    - public void setClientInitialProject(IProject clientInitialProject)
    - {
    - clientInitialProject_ = clientInitialProject;
    - }
    -
    - /**
    - * @param initialInitialSelection_ The initialInitialSelection_ to set.
    - */
    - public void setInitialInitialSelection(IStructuredSelection initialInitialSelection)
    - {
    - initialProject_ = getProjectFromInitialSelection(initialInitialSelection);
    - }
    -
    - public boolean getClientNeedEAR()
    - {
    - return clientNeedEAR_;
    - }
    -
    - /**
    - * @param parser_ The parser_ to set.
    - */
    - public void setWebServicesParser(WebServicesParser parser) {
    - parser_ = parser;
    - }
    -
    - public void setWsdlURI(String wsdlURI)
    - {
    - wsdlURI_ = wsdlURI;
    - }
    -
    - public void setTestService(boolean testService)
    - {
    - test_ = testService;
    - }
    -
    - public void setResourceContext( ResourceContext resourceContext )
    - {
    - resourceContext_ = resourceContext;
    - }
    -
    - private IProject getProjectFromInitialSelection(IStructuredSelection selection)
    - {
    - if (selection != null && selection.size() == 1)
    - {
    - Object obj = selection.getFirstElement();
    - if (obj != null)
    - {
    - try
    - {
    - IResource resource = ResourceUtils.getResourceFromSelection(obj);
    - if (resource==null)
    - return null;
    - IProject p = ResourceUtils.getProjectOf(resource.getFullPath());
    - return p;
    - } catch(CoreException e)
    - {
    - return null;
    - }
    - }
    - }
    - return null;
    - }
    -
    - protected String[] getAllFlexibleProjects()
    - {
    - Vector v = new Vector();
    - IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
    - for (int i = 0; i < projects.length; i++)
    - {
    - if (!projects[i].getName().equals("Servers") && !projects[i].getName().startsWith("."))
    - {
    - v.add(projects[i].getName());
    - }
    - }
    -
    - return (String[])v.toArray(new String[0]);
    -
    - }
    -
    - protected class FacetRuntimeMatcher
    - {
    - FacetMatcher facetMatcher;
    - boolean runtimeMatches;
    -
    - public FacetMatcher getFacetMatcher()
    - {
    - return facetMatcher;
    - }
    - public void setFacetMatcher(FacetMatcher facetMatcher)
    - {
    - this.facetMatcher = facetMatcher;
    - }
    - public boolean isRuntimeMatches()
    - {
    - return runtimeMatches;
    - }
    - public void setRuntimeMatches(boolean runtimeMatches)
    - {
    - this.runtimeMatches = runtimeMatches;
    - }
    - }
    -
    - protected class DefaultRuntimeTriplet
    - {
    - FacetMatcher facetMatcher_;
    - String projectName_;
    - String runtimeId_;
    -
    -
    - public DefaultRuntimeTriplet()
    - {
    - }
    -
    - public FacetMatcher getFacetMatcher()
    - {
    - return facetMatcher_;
    - }
    - public void setFacetMatcher(FacetMatcher facetMatcher_)
    - {
    - this.facetMatcher_ = facetMatcher_;
    - }
    - public String getProjectName()
    - {
    - return projectName_;
    - }
    - public void setProjectName(String projectName_)
    - {
    - this.projectName_ = projectName_;
    - }
    - public String getRuntimeId()
    - {
    - return runtimeId_;
    - }
    - public void setRuntimeId(String runtimeId_)
    - {
    - this.runtimeId_ = runtimeId_;
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ProjectSelectionWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ProjectSelectionWidget.java
    deleted file mode 100644
    index dac452a78..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/runtime/ProjectSelectionWidget.java
    +++ /dev/null
    @@ -1,614 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060204 124143 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060221 122661 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060223 129020 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060413 135581 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060427 138058 joan@ca.ibm.com - Joan Haggarty
    - * 20060510 140868 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060524 141024 joan@ca.ibm.com - Joan Haggarty
    - * 20060829 145449 makandre@ca.ibm.com - Andrew Mak, Web service client project type dropdown disabled after selecting client project
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.common.ServerUtils;
    -import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.DefaultingUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.jst.ws.internal.consumption.ui.preferences.ProjectTopologyContext;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.jst.ws.internal.ui.common.UIUtils;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.events.ModifyEvent;
    -import org.eclipse.swt.events.ModifyListener;
    -import org.eclipse.swt.widgets.Combo;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.Text;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
    -
    -public class ProjectSelectionWidget extends SimpleWidgetDataContributor {
    -
    -
    -
    - private String pluginId_ = "org.eclipse.jst.ws.consumption.ui";
    -
    - //private SelectionListChoices projects_;
    -
    - private boolean needEAR_;
    -
    - private TypeRuntimeServer trsIds_;
    -
    - private Listener statusListener_;
    -
    - private Text messageText_;
    -
    - private boolean isClient_ = false;
    -
    - private byte CREATE_PROJECT = (byte) 1;
    -
    - private byte CREATE_EAR = (byte) 2;
    -
    - private byte ADD_EAR_ASSOCIATION = (byte) 4;
    -
    - private Composite parent_;
    - private Combo moduleProject_;
    - private Combo earProject_;
    - private Combo projectType_;
    -
    - private String[] templates_;
    -
    - //private String componentType_;
    -
    - private ModifyListener projectTypeListener_;
    - private ModifyListener moduleProjectListener_;
    - private ModifyListener earProjectListener_;
    -
    - /*
    - * CONTEXT_ID PWRS0006 for the service-side Web project combo box of the
    - * runtime selection Page
    - */
    - private String INFOPOP_PWRS_COMBO_PROJECT = pluginId_ + ".PWRS0006";
    -
    - //private Combo module_;
    -
    - /* CONTEXT_ID PWRS0018 for the client project type combo box of the runtime selection Page */
    - private String INFOPOP_PWRS_COMBO_CLIENT_PROJECT_TYPE = pluginId_ + ".PWRS0018";
    -
    - /* CONTEXT_ID PWRS0024 for the service project type combo box of the runtime selection Page */
    - private String INFOPOP_PWRS_COMBO_SERVICE_PROJECT_TYPE = pluginId_ + ".PWRS0018";
    -
    - //private Combo earModule_;
    -
    - /*
    - * Default Constructor
    - */
    - public ProjectSelectionWidget() {
    - }
    -
    - /*
    - * ProjectSelectionWidget @param isClient
    - */
    - public ProjectSelectionWidget(boolean isClient) {
    - this.isClient_ = isClient;
    - }
    -
    - public WidgetDataEvents addControls(Composite parent, Listener statusListener) {
    -
    - parent_ = parent;
    - UIUtils uiUtils = new UIUtils(pluginId_);
    -
    - statusListener_ = statusListener;
    -
    - if (isClient_)
    - {
    - moduleProject_ = uiUtils.createCombo(parent, ConsumptionUIMessages.LABEL_CLIENT_PROJECT, ConsumptionUIMessages.LABEL_CLIENT_PROJECT, INFOPOP_PWRS_COMBO_PROJECT, SWT.SINGLE | SWT.BORDER );
    - projectType_ = uiUtils.createCombo(parent, ConsumptionUIMessages.LABEL_CLIENT_TYPE, ConsumptionUIMessages.TOOLTIP_PWCR_COMBO_CLIENT_TYPE, INFOPOP_PWRS_COMBO_CLIENT_PROJECT_TYPE, SWT.SINGLE | SWT.BORDER |SWT.READ_ONLY);
    - earProject_ = uiUtils.createCombo(parent, ConsumptionUIMessages.LABEL_CLIENT_EAR_PROJECT, ConsumptionUIMessages.LABEL_CLIENT_EAR_PROJECT, INFOPOP_PWRS_COMBO_PROJECT, SWT.SINGLE | SWT.BORDER );
    - }
    - else
    - {
    - moduleProject_ = uiUtils.createCombo(parent, ConsumptionUIMessages.LABEL_SERVICE_PROJECT, ConsumptionUIMessages.LABEL_SERVICE_PROJECT, INFOPOP_PWRS_COMBO_PROJECT, SWT.SINGLE | SWT.BORDER );
    - projectType_ = uiUtils.createCombo(parent, ConsumptionUIMessages.LABEL_SERVICE_TYPE, ConsumptionUIMessages.TOOLTIP_PWCR_COMBO_SERVICE_TYPE, INFOPOP_PWRS_COMBO_SERVICE_PROJECT_TYPE, SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY);
    - earProject_ = uiUtils.createCombo(parent, ConsumptionUIMessages.LABEL_SERVICE_EAR_PROJECT, ConsumptionUIMessages.LABEL_SERVICE_EAR_PROJECT, INFOPOP_PWRS_COMBO_PROJECT, SWT.SINGLE | SWT.BORDER );
    - }
    -
    - //Temporarily remove the listeners
    -
    - projectTypeListener_ = new ModifyListener()
    - {
    - public void modifyText(ModifyEvent evt)
    - {
    - handleProjectTypeChanged();
    - statusListener_.handleEvent( null );
    - }
    - };
    -
    - moduleProjectListener_ = new ModifyListener()
    - {
    - public void modifyText(ModifyEvent evt)
    - {
    - handleProjectChanged();
    - statusListener_.handleEvent( null );
    - }
    - };
    -
    - earProjectListener_ = new ModifyListener()
    - {
    - public void modifyText(ModifyEvent evt)
    - {
    - statusListener_.handleEvent( null );
    - }
    - };
    -
    - // message area
    - messageText_ = uiUtils.createText(parent, ConsumptionUIMessages.LABEL_NO_LABEL, ConsumptionUIMessages.LABEL_NO_LABEL, null, SWT.WRAP | SWT.MULTI | SWT.READ_ONLY);
    - setEarProjectItems();
    -
    - return this;
    - }
    -
    - private void listenersOn()
    - {
    - projectType_.addModifyListener(projectTypeListener_);
    - moduleProject_.addModifyListener( moduleProjectListener_ );
    - earProject_.addModifyListener( earProjectListener_ );
    - }
    -
    - private void listenersOff()
    - {
    - projectType_.removeModifyListener(projectTypeListener_);
    - moduleProject_.removeModifyListener( moduleProjectListener_ );
    - earProject_.removeModifyListener( earProjectListener_ );
    - }
    -
    - public String getProjectName()
    - {
    - return moduleProject_.getText();
    - }
    -
    - public void setProjectName( String name )
    - {
    - listenersOff();
    - moduleProject_.setText( name );
    - handleProjectChanged();
    - updateEARState();
    - listenersOn();
    - }
    -
    - public String getEarProjectName()
    - {
    - return earProject_.getText();
    - }
    -
    - public void setEarProjectName( String name )
    - {
    - listenersOff();
    - earProject_.setText( name );
    - listenersOn();
    - }
    -
    - public void setComponentType( String type )
    - {
    - listenersOff();
    - if (type != null && type.length()>0)
    - {
    - String label = FacetUtils.getTemplateLabelById(type);
    - projectType_.setText(label);
    - }
    - else
    - projectType_.setText("");
    -
    - handleProjectTypeChanged();
    - listenersOn();
    - }
    -
    - public String getComponentType()
    - {
    - int idx = projectType_.getSelectionIndex();
    - if (templates_ != null && idx > -1)
    - {
    - return templates_[idx];
    - }
    - else
    - {
    - String templateLabel = projectType_.getText();
    - String templateId = FacetUtils.getTemplateIdByLabel(templateLabel);
    - return templateId;
    - }
    -
    - }
    -
    - public boolean getNeedEAR()
    - {
    - return needEAR_;
    - }
    -
    - public void setNeedEAR(boolean b)
    - {
    - listenersOff();
    - needEAR_ = b;
    - if (needEAR_)
    - {
    - earProject_.setEnabled(true);
    - populateEARCombos();
    - }
    - else
    - {
    - earProject_.setEnabled(false);
    - earProject_.setText("");
    - }
    - listenersOn();
    - }
    -
    - public void setTypeRuntimeServer(TypeRuntimeServer trs)
    - {
    - trsIds_ = trs;
    - if (earProject_ != null)
    - {
    - listenersOff();
    - updateEARState();
    - listenersOn();
    - }
    - }
    -
    - public void refreshProjectItems()
    - {
    - listenersOff();
    - String selectedModuleProject = moduleProject_.getText();
    - String runtimeId = trsIds_.getRuntimeId();
    - String typeId = trsIds_.getTypeId();
    -
    - //Get all the projects that are compatible with the type and runtime
    - String[] projectNames = null;
    - if (isClient_)
    - {
    - projectNames = WebServiceRuntimeExtensionUtils2.getProjectsForClientTypeAndRuntime(typeId, runtimeId);
    - }
    - else
    - {
    - projectNames = WebServiceRuntimeExtensionUtils2.getProjectsForServiceTypeAndRuntime(typeId, runtimeId);
    - }
    -
    - moduleProject_.setItems(projectNames);
    - moduleProject_.setText(selectedModuleProject);
    - handleProjectChanged();
    - updateEARState();
    - listenersOn();
    - }
    -
    - public void setEarProjectItems()
    - {
    - IVirtualComponent[] ears = J2EEUtils.getAllEARComponents();
    - String[] earProjectNames = new String[ears.length];
    - for (int i=0; i<earProjectNames.length; i++)
    - {
    - earProjectNames[i]=ears[i].getProject().getName();
    - }
    - earProject_.setItems(earProjectNames);
    -
    - if (earProjectNames.length > 0)
    - earProject_.select(0);
    - }
    -
    - private void handleProjectTypeChanged()
    - {
    - updateEARState();
    - }
    -
    - private void handleProjectChanged()
    - {
    - updateTemplates();
    - }
    -
    - private void updateTemplates()
    - {
    - String projectName = moduleProject_.getText();
    - if (projectName != null && projectName.length()>0)
    - {
    - IProject project = ProjectUtilities.getProject(projectName);
    - if (project.exists())
    - {
    - projectType_.setEnabled(false);
    - projectType_.deselectAll();
    - }
    - else
    - {
    - populateProjectTypeCombo();
    - projectType_.setEnabled(true);
    - }
    - }
    - }
    -
    - private void populateProjectTypeCombo()
    - {
    - //Get the old value if there was one.
    - String oldTemplateId = getComponentType();
    -
    - String[] templates = null;
    - if (trsIds_ != null)
    - {
    - if (isClient_)
    - {
    - templates = WebServiceRuntimeExtensionUtils2.getClientProjectTemplates(trsIds_.getTypeId(), trsIds_.getRuntimeId());
    - }
    - else
    - {
    - templates = WebServiceRuntimeExtensionUtils2.getServiceProjectTemplates(trsIds_.getTypeId(), trsIds_.getRuntimeId());
    - }
    -
    - String[] templateLabels = FacetUtils.getTemplateLabels(templates);
    - projectType_.setItems(templateLabels);
    - templates_ = templates;
    -
    - if (templates.length > 0)
    - {
    -
    - //Select the previous template selection if that one is in the list.
    - int idx = getIndexOfTemplateId(templates, oldTemplateId);
    - if (idx > -1)
    - {
    - projectType_.select(idx);
    - }
    - else
    - {
    - // Select the preferred client project type.
    - ProjectTopologyContext ptc = WebServiceConsumptionUIPlugin.getInstance().getProjectTopologyContext();
    - String[] preferredTemplateIds = null;
    - if (isClient_)
    - {
    - preferredTemplateIds = ptc.getClientTypes();
    - }
    - else
    - {
    - preferredTemplateIds = ptc.getServiceTypes();
    - }
    -
    - boolean selected = false;
    - outer: for (int j = 0; j < preferredTemplateIds.length; j++)
    - {
    - for (int i = 0; i < templates.length; i++)
    - {
    - String templateId = templates[i];
    - if (templateId.equals(preferredTemplateIds[j]))
    - {
    - projectType_.select(i);
    - selected = true;
    - break outer;
    - }
    - }
    - }
    -
    - if (!selected)
    - {
    - projectType_.select(0);
    - }
    - }
    - }
    - }
    - }
    -
    -
    - private int getIndexOfTemplateId(String[] templateIds, String templateId)
    - {
    - for (int i=0; i<templateIds.length; i++)
    - {
    - if (templateIds[i].equals(templateId))
    - {
    - return i;
    - }
    - }
    -
    - return -1;
    - }
    -
    - private void updateEARState()
    - {
    - if(!projectNeedsEAR(moduleProject_.getText()))
    - {
    - earProject_.setEnabled(false);
    - earProject_.setText("");
    - needEAR_ = false;
    - }
    - else
    - {
    - needEAR_ = true;
    - earProject_.setEnabled(true);
    - populateEARCombos();
    - }
    -
    - }
    -
    - private void populateEARCombos()
    - {
    - earProject_.removeAll();
    - setEarProjectItems();
    -
    - String earName = DefaultingUtils.getDefaultEARProjectName(moduleProject_.getText());
    - earProject_.setText(earName);
    - }
    -
    - private boolean projectNeedsEAR(String projectName)
    - {
    - //If the project is a simple Java project or the project type is
    - //Java utility return false.
    - if (projectName != null && projectName.length()>0)
    - {
    - IProject project = ProjectUtilities.getProject(projectName);
    - if (project.exists())
    - {
    - if (FacetUtils.isJavaProject(project))
    - {
    - return false;
    - }
    - }
    - }
    -
    - //Project didn't rule out the need for an EAR
    - //so check the proect type
    - String templateId = getComponentType();
    - if (templateId != null && templateId.length()>0)
    - {
    - if (FacetUtils.isUtilityTemplate(templateId))
    - {
    - return false;
    - }
    - }
    -
    -
    - //Project or project type didn't rule out the need for an EAR
    - //so check the server type.
    - if (trsIds_ != null && trsIds_.getServerId() != null)
    - {
    - String targetId = ServerUtils.getRuntimeTargetIdFromFactoryId(trsIds_.getServerId());
    - if (targetId!=null && targetId.length()>0)
    - {
    - if (!ServerUtils.isTargetValidForEAR(targetId,"13")) //rm j2ee
    - {
    - return false;
    - }
    - }
    - }
    -
    - return true;
    - }
    -
    -
    - private IStatus handleSetMessageText() {
    - IStatus status = Status.OK_STATUS;
    - try {
    - byte result = (byte) 0;
    - if (moduleProject_.getText().length() != 0 && earProject_.getText().length() != 0) {
    - String projectText = moduleProject_.getText();
    - String earText = earProject_.getText();
    - IProject project = ResourceUtils.getWorkspaceRoot().getProject(projectText);
    - IProject ear = ResourceUtils.getWorkspaceRoot().getProject(earText);
    - if (project != null) {
    - if (!project.exists()) {
    - result = (byte) (result | CREATE_PROJECT);
    - }
    - if (!ear.exists()) {
    - result = (byte) (result | CREATE_EAR);
    - }
    -
    - if (project.exists() && J2EEUtils.exists(project) && ear.exists() && J2EEUtils.exists(ear)) {
    - if (!J2EEUtils.isComponentAssociated(ear, project)) result = (byte) (result | ADD_EAR_ASSOCIATION);
    - }
    - }
    - }
    - if (isClient_) {
    - messageText_.setText(getValidationMessage(result, ConsumptionUIMessages.MSG_CLIENT_SUB));
    - }
    - else {
    - messageText_.setText(getValidationMessage(result, ConsumptionUIMessages.MSG_SERVICE_SUB));
    - }
    - parent_.layout(); //force message area resize/wrap
    - }
    - catch (Exception e) {
    - return StatusUtils.errorStatus( ConsumptionUIMessages.PAGE_MSG_VALIDATION_INTERNAL_ERROR, e );
    - }
    - return status;
    - }
    -
    - private String getValidationMessage(byte result, String serviceOrClient) {
    - String msg = null;
    - switch (result) {
    - case 0:
    - return "";
    - case 1:
    - case 5:
    - msg = ConsumptionUIMessages.MSG_PROJECT_WILL_BE_CREATED;
    - break;
    - case 2:
    - case 6:
    - msg = ConsumptionUIMessages.MSG_EAR_WILL_BE_CREATED;
    - break;
    - case 3:
    - case 7:
    - msg = ConsumptionUIMessages.MSG_PROJECT_AND_EAR_CREATED;
    - break;
    - case 4:
    - msg = ConsumptionUIMessages.MSG_EAR_WILL_BE_ASSOCIATED;
    - break;
    - }
    - return msg != null ? NLS.bind(msg, new Object[] { serviceOrClient}) : "";
    - }
    -
    - public IStatus getStatus()
    - {
    - IStatus finalStatus = Status.OK_STATUS;
    - handleSetMessageText();
    - String projectText = moduleProject_.getText();
    - String earText = earProject_.getText();
    -
    - if (projectText==null || projectText.length()==0)
    - {
    - if (isClient_)
    - return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_CLIENT_PROJECT_EMPTY, new String[]{""} ) );
    - else
    - return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_SERVICE_PROJECT_EMPTY, new String[]{""} ) );
    - }
    -
    - if (needEAR_ && (earText==null || earText.length()==0))
    - {
    - if (isClient_)
    - {
    - return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_CLIENT_EAR_EMPTY, new String[]{""} ) );
    - }
    - else
    - {
    - return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_SERVICE_EAR_EMPTY, new String[]{""} ) );
    - }
    - }
    -
    - //If the project and EAR both exist and the project is not already associated with the EAR, ensure
    - //they can be associated.
    - if (needEAR_)
    - {
    - IProject p = ProjectUtilities.getProject(projectText.trim());
    - IProject ep = ProjectUtilities.getProject(earText.trim());
    - if (p.exists() && ep.exists())
    - {
    - if (!J2EEUtils.isComponentAssociated(ep,p))
    - {
    - IStatus associateStatus = J2EEUtils.canAssociateProjectToEAR(p, ep);
    - if (associateStatus.getSeverity() == IStatus.ERROR)
    - {
    - if (isClient_)
    - {
    - return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_CLIENT_CANNOT_ASSOCIATE, new String[]{p.getName(), ep.getName(), associateStatus.getMessage()} ) );
    - }
    - else
    - {
    - return StatusUtils.errorStatus( NLS.bind(ConsumptionUIMessages.MSG_SERVICE_CANNOT_ASSOCIATE, new String[]{p.getName(), ep.getName(), associateStatus.getMessage()} ) );
    - }
    - }
    - }
    - }
    - }
    -
    - return finalStatus;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestDelegateCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestDelegateCommand.java
    deleted file mode 100644
    index 271982326..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestDelegateCommand.java
    +++ /dev/null
    @@ -1,355 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
    - * 20060608 145529 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
    -
    -import java.util.List;
    -import java.util.Vector;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.context.ScenarioContext;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.jst.ws.internal.ext.test.WebServiceTestExtension;
    -import org.eclipse.jst.ws.internal.ext.test.WebServiceTestRegistry;
    -import org.eclipse.wst.command.internal.env.core.ICommandFactory;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
    -import org.eclipse.wst.command.internal.env.core.selection.SelectionList;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.environment.IStatusHandler;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.ServerCore;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceTester;
    -import org.eclipse.wst.ws.internal.wsrt.TestInfo;
    -
    -
    -/*
    -* The JSPGeneration task runs the jsp generation engine found in the
    -* JBWizard Plugin
    -*
    -*
    -*/
    -public class ClientTestDelegateCommand extends AbstractDataModelOperation
    -{
    - private WebServiceTestRegistry testRegistry;
    - private SelectionList testFacilities;
    - private String jspFolder;
    - private BooleanSelection[] methods;
    - private String sampleServerTypeID;
    - private IServer sampleExistingServer;
    - private String proxyBean;
    - private boolean runTestClient;
    - private String sampleProject;
    - private String sampleP;
    - private String clientProject;
    - private String clientP;
    - private String clientC;
    - private boolean clientNeedEAR;
    - private String clientEarProjectName;
    - private String clientEarComponentName;
    - private TypeRuntimeServer serverIds;
    - private String serviceProject;
    - private String serviceP;
    - private String wsdlServiceURL;
    - private boolean isTestWidget = false;
    - private String setEndpointMethod;
    - private List endpoints;
    -
    - public ClientTestDelegateCommand ()
    - {
    - testRegistry = WebServiceTestRegistry.getInstance();
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    - IStatus status = Status.OK_STATUS;
    - String clientTestID = testFacilities.getSelection();
    -
    - //Get the webservice extension
    -
    - WebServiceTestExtension wscte = (WebServiceTestExtension)testRegistry.getWebServiceExtensionsByName(clientTestID);
    - IWebServiceTester iwst = (IWebServiceTester)wscte.getWebServiceExecutableExtension();
    - TestInfo testInfo = getTestInfo();
    -
    - status = commandFactoryExecution(iwst.generate(testInfo),env, monitor );
    - if(status.getSeverity() == Status.ERROR){
    - return status;
    - }
    -
    - testInfo.setRunTestClient(runTestClient);
    -
    - status = commandFactoryExecution(iwst.launch(testInfo),env, monitor );
    - if(status.getSeverity() == Status.ERROR){
    - return status;
    - }
    - return status;
    - }
    -
    - private IStatus commandFactoryExecution(ICommandFactory commandFactory,IEnvironment env, IProgressMonitor monitor )
    - {
    - IStatus status = Status.OK_STATUS;
    -
    - while(commandFactory.hasNext())
    - {
    - AbstractDataModelOperation operation = commandFactory.getNextCommand();
    - operation.setEnvironment( env );
    -
    - try
    - {
    - status = operation.execute( monitor, null );
    - }
    - catch( Exception exc )
    - {
    - status = StatusUtils.errorStatus( exc );
    - }
    -
    - if(status.getSeverity() == Status.ERROR){
    - IStatusHandler sHandler = env.getStatusHandler();
    - sHandler.reportError(status);
    - return status;
    - }
    - }
    - return status;
    - }
    -
    -
    - //Helper method which sets up the TestInfo data structure
    - private TestInfo getTestInfo()
    - {
    - IServer serviceExistingServer = null;
    - String serviceServerTypeID = null;
    -
    - //service server info
    - if(serverIds != null){
    - if (serverIds.getServerInstanceId() != null)
    - serviceExistingServer = ServerCore.findServer(serverIds.getServerInstanceId());
    - }
    - if (serviceExistingServer != null)
    - serviceServerTypeID = serviceExistingServer.getServerType().getId();
    -
    -
    - if(clientProject != null){
    - int index = clientProject.indexOf("/");
    - if (index!=-1){
    - clientP = clientProject.substring(0,index);
    - clientC = clientProject.substring(index + 1);
    - }
    - }
    -
    -
    - if(sampleProject != null){
    - int index = sampleProject.indexOf("/");
    - if (index!=-1){
    - sampleP = sampleProject.substring(0,index);
    - }
    - }
    -
    - TestInfo testInfo = new TestInfo();
    - testInfo.setClientExistingServer(sampleExistingServer);
    - testInfo.setClientServerTypeID(sampleServerTypeID);
    - testInfo.setJspFolder(jspFolder);
    - testInfo.setExternalBrowser(false);
    - testInfo.setEndpoint(endpoints);
    - testInfo.setGenerationProject(sampleP);
    - testInfo.setProxyBean(proxyBean);
    - testInfo.setSetEndpointMethod(setEndpointMethod);
    - testInfo.setClientProject(clientP);
    - testInfo.setClientModule(clientC);
    - testInfo.setClientNeedEAR(clientNeedEAR);
    - testInfo.setClientEARProject(clientEarProjectName);
    - testInfo.setClientEARModule(clientEarComponentName);
    - testInfo.setMethods(methods);
    -
    - //if this is a client scenario the service stuff is empty
    - if(serviceServerTypeID == null){
    - serviceServerTypeID = sampleServerTypeID;
    - serviceExistingServer = sampleExistingServer;
    - }
    -
    -
    - testInfo.setServiceServerTypeID(serviceServerTypeID);
    - testInfo.setServiceExistingServer(serviceExistingServer);
    - //wsdl stuff
    - testInfo.setServiceProject(getWSDLProject());
    - testInfo.setWsdlServiceURL(wsdlServiceURL);
    - return testInfo;
    - }
    -
    -
    -
    - //The test facilities retrieved from the extension
    - //plus the default
    - public void setTestFacility(SelectionList selection)
    - {
    - testFacilities = selection;
    - }
    -
    - public void setFolder(String folder)
    - {
    - }
    -
    - public void setJspFolder(String jspFolder)
    - {
    - this.jspFolder = jspFolder;
    - }
    -
    - public void setMethods(BooleanSelection[] methods)
    - {
    - this.methods = methods;
    - }
    -
    - public void setRunTestClient(boolean runTestClient)
    - {
    - this.runTestClient = runTestClient;
    - }
    -
    - public void setProxyBean(String proxyBean)
    - {
    - this.proxyBean = proxyBean;
    - }
    -
    - public void setSampleProject(String sampleProject)
    - {
    - this.sampleProject = sampleProject;
    - }
    -
    - public void setClientProject(String clientProject)
    - {
    - this.clientProject = clientProject;
    - }
    -
    - public void setScenarioContext(ScenarioContext scenarioContext)
    - {
    - }
    -
    - public void setClientTestRegistry(WebServiceTestRegistry testRegistry)
    - {
    - this.testRegistry = testRegistry;
    - }
    -
    - public void setSampleServerTypeID(String sampleServerTypeID)
    - {
    - this.sampleServerTypeID = sampleServerTypeID;
    - }
    -
    - public void setSampleExistingServer(IServer sampleExistingServer)
    - {
    - this.sampleExistingServer = sampleExistingServer;
    - }
    -
    - public void setClientTypeRuntimeServer(TypeRuntimeServer ids)
    - {
    - }
    -
    - public void setServiceTypeRuntimeServer(TypeRuntimeServer ids)
    - {
    - serverIds = ids;
    - }
    -
    - public String getSampleServerTypeID()
    - {
    - return sampleServerTypeID;
    - }
    -
    - public IServer getSampleExistingServer()
    - {
    - return sampleExistingServer;
    - }
    -
    - public void setClientServer(String clientServer)
    - {
    - }
    -
    - public void setServerProject(String serviceProject)
    - {
    - this.serviceProject = serviceProject;
    - }
    -
    - public String getWSDLProject()
    - {
    - if(serviceProject != null){
    - int index = serviceProject.indexOf("/");
    - if (index!=-1) {
    - serviceP = serviceProject.substring(0,index);
    - return serviceP;
    - }
    - }
    -
    - return clientP;
    - }
    -
    - public void setWsdlURI(String wsdlServiceURL)
    - {
    - this.wsdlServiceURL = wsdlServiceURL;
    - }
    -
    - public void setGenerateProxy(boolean generateProxy)
    - {
    - }
    -
    - public boolean getIsTestWidget()
    - {
    - return isTestWidget;
    - }
    -
    - public void setClientEarProjectName(String clientEarProjectName)
    - {
    - this.clientEarProjectName = clientEarProjectName;
    - }
    -
    - public void setClientEarComponentName(String clientEarComponentName)
    - {
    - this.clientEarComponentName = clientEarComponentName;
    - }
    -
    -
    -
    - /**
    - * @param setEndpointMethod The setEndpointMethod to set.
    - */
    - public void setSetEndpointMethod(String setEndpointMethod)
    - {
    - this.setEndpointMethod = setEndpointMethod;
    - }
    - /**
    - * @param endpoint The endpoint to set.
    - */
    - public void setEndpoint(String endpoint)
    - {
    - if (endpoint != null && endpoint.length() > 0)
    - {
    - Vector v = new Vector();
    - v.add(endpoint);
    - setEndpoints(v);
    - }
    - }
    -
    - public void setEndpoints(List endpoints)
    - {
    - this.endpoints = endpoints;
    - }
    -
    - public boolean getClientNeedEAR() {
    - return clientNeedEAR;
    - }
    -
    - public void setClientNeedEAR(boolean clientNeedEAR) {
    - this.clientNeedEAR = clientNeedEAR;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestFragment.java
    deleted file mode 100644
    index 0f6fb6f21..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestFragment.java
    +++ /dev/null
    @@ -1,62 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060727 144354 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -/**
    - */
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
    -
    -import org.eclipse.wst.command.internal.env.core.common.Condition;
    -import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
    -
    -
    -public class ClientTestFragment extends BooleanFragment
    -{
    - private boolean testService;
    - private boolean genProxy; // This actually represent whether client test is requested
    - private boolean launchedTest = false;
    -
    - public ClientTestFragment( String id )
    - {
    - SequenceFragment clientTestRoot = new SequenceFragment();
    - Condition condition = new Condition()
    - {
    - public boolean evaluate()
    - {
    - return testService && genProxy;
    - }
    - };
    - setCondition( condition );
    -
    - clientTestRoot.add( new SimpleFragment( new WebServiceClientTestArrivalCommand(), "" ) );
    - clientTestRoot.add( new SimpleFragment( id ) );
    - setTrueFragment( clientTestRoot );
    -
    - }
    -
    - public void setGenerateProxy( boolean genProxy )
    - {
    - this.genProxy = genProxy;
    - }
    -
    - public void setTestService( Boolean testService )
    - {
    - this.testService = testService.booleanValue();
    - }
    -
    - public boolean getLaunchedTest()
    - {
    - return launchedTest;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestWidget.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestWidget.java
    deleted file mode 100644
    index 6b579d3ba..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/ClientTestWidget.java
    +++ /dev/null
    @@ -1,480 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
    - * 20060815 104870 makandre@ca.ibm.com - Andrew Mak, enable/disable test page controls base on settings in test facility extension
    - * 20060815 153903 makandre@ca.ibm.com - Andrew Mak, Browse does not work in generate client test page
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
    -
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.Path;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.common.FolderResourceFilter;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.ext.test.WebServiceTestExtension;
    -import org.eclipse.jst.ws.internal.ext.test.WebServiceTestRegistry;
    -import org.eclipse.jst.ws.internal.ui.common.UIUtils;
    -import org.eclipse.jst.ws.internal.ui.dialog.DialogUtils;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.events.ModifyEvent;
    -import org.eclipse.swt.events.ModifyListener;
    -import org.eclipse.swt.events.SelectionAdapter;
    -import org.eclipse.swt.events.SelectionEvent;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Button;
    -import org.eclipse.swt.widgets.Combo;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Group;
    -import org.eclipse.swt.widgets.Label;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.Text;
    -import org.eclipse.swt.widgets.Tree;
    -import org.eclipse.swt.widgets.TreeItem;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
    -import org.eclipse.wst.command.internal.env.core.selection.SelectionList;
    -import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
    -import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
    -
    -
    -public class ClientTestWidget extends SimpleWidgetDataContributor
    -{
    - private String pluginId_ = "org.eclipse.jst.ws.consumption.ui";
    -
    - /*CONTEXT_ID PWSM0001 for the Sample Page*/
    - private String INFOPOP_PWSM_PAGE = "PWSM0001";
    - //
    - private Button testCheckbox_;
    - /*CONTEXT_ID PWSM0002 for the Test check box of the Sample Page*/
    - private String INFOPOP_PWSM_CHECKBOX_TEST = "PWSM0002";
    -
    - private Combo testTypeCombo_;
    - /*CONTEXT_ID PWSM0003 for the Test Type Combo box of the Sample Page*/
    - private String INFOPOP_PWSM_COMBOBOX_TEST = "PWSM0003";
    -
    - private Text jspFolderText_;
    - /*CONTEXT_ID PWSM0008 for the JSP Folder field of the Sample Page*/
    - private String INFOPOP_PWSM_TEXT_JSP_FOLDER = "PWSM0008";
    -
    - private Button sampleFolderBrowseButton_;
    - /*CONTEXT_ID PWSM0009 for the JSP Folder Browse button of the Sample Page*/
    - private String INFOPOP_PWSM_BUTTON_JSP_FOLDER_BROWSE = "PWSM0009";
    -
    - private Combo projectCombo_;
    - /*CONTEXT_ID PWSM0010 for the Project combo box of the Sample Page*/
    - private String INFOPOP_PWSM_COMBO_PROJECT = "PWSM0010";
    -
    - private Tree methodsTree_;
    -
    - private Button selectAllMethodsButton_;
    - /*CONTEXT_ID PWSM0006 for the Select All button of the Sample Page*/
    - private String INFOPOP_PWSM_BUTTON_SELECT_ALL = "PWSM0006";
    -
    - private Button deselectAllMethodsButton_;
    - /*CONTEXT_ID PWSM0007 for the Deselect All button of the Sample Page*/
    - private String INFOPOP_PWSM_BUTTON_DESELECT_ALL = "PWSM0007";
    -
    - private Text sampleFolderText_;
    - /*CONTEXT_ID PWSM0014 for the Folder field of the Sample Page*/
    - private String INFOPOP_PWSM_TEXT_SAMPLE_FOLDER = "PWSM0014";
    - //
    - private Button runTestCheckbox_;
    - /*CONTEXT_ID PWSM0015 for the run test check box of the Sample Page*/
    - private String INFOPOP_PWSM_CHECKBOX_LAUNCH = "PWSM0015";
    - //
    - private Combo earCombo_;
    - /*CONTEXT_ID PWSM0016 for the EAR combo box of the Sample Page*/
    - private String INFOPOP_PWSM_EAR_COMBO = "PWSM0016";
    -
    - private Composite comboGroup_;
    - private SelectionList testFacilities_;
    - private FolderResourceFilter folderFilter_ = new FolderResourceFilter();
    - private IStructuredSelection initialSelection_;
    - private boolean isTestWidget = false;
    -
    - private IPath webContentPath_;
    - private IResource webContent_;
    -
    - public WidgetDataEvents addControls( Composite parent, Listener statusListener )
    - {
    - isTestWidget = true;
    - UIUtils uiUtils = new UIUtils( pluginId_ );
    -
    - parent.setToolTipText( ConsumptionUIMessages.TOOLTIP_PWSM_PAGE );
    - PlatformUI.getWorkbench().getHelpSystem().setHelp( parent, pluginId_ + "." + INFOPOP_PWSM_PAGE );
    -
    - testCheckbox_ = uiUtils.createCheckbox( parent, ConsumptionUIMessages.BUTTON_TEST,
    - ConsumptionUIMessages.TOOLTIP_PWSM_CHECKBOX_TEST,
    - INFOPOP_PWSM_CHECKBOX_TEST );
    - testCheckbox_.addSelectionListener( new SelectionAdapter()
    - {
    - public void widgetSelected( SelectionEvent evt )
    - {
    - handleTestButton();
    - }
    - });
    -
    - comboGroup_ = uiUtils.createComposite( parent, 3, 5, 0 );
    -
    - testTypeCombo_ = uiUtils.createCombo( comboGroup_, ConsumptionUIMessages.LABEL_TEST_TYPES,
    - ConsumptionUIMessages.TOOLTIP_PWSM_COMBOBOX_TEST,
    - INFOPOP_PWSM_COMBOBOX_TEST,
    - SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY );
    - testTypeCombo_.addSelectionListener(
    - new SelectionAdapter() {
    - public void widgetSelected(SelectionEvent e) {
    - handleTestFacilitySelection();
    - }
    - }
    - );
    -
    - new Label( comboGroup_, SWT.NONE );
    -
    - projectCombo_ = uiUtils.createCombo( comboGroup_, ConsumptionUIMessages.LABEL_JSP_PROJECT_NAME,
    - ConsumptionUIMessages.TOOLTIP_PWSM_COMBO_PROJECT,
    - INFOPOP_PWSM_COMBO_PROJECT,
    - SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY );
    - projectCombo_.setEnabled( false );
    - new Label( comboGroup_, SWT.NONE );
    -
    -
    - earCombo_ = uiUtils.createCombo( comboGroup_, ConsumptionUIMessages.LABEL_EAR_PROJECTS,
    - ConsumptionUIMessages.TOOLTIP_PWSM_EAR_PROJECT,
    - INFOPOP_PWSM_EAR_COMBO,
    - SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY );
    - earCombo_.setEnabled( false );
    - new Label( comboGroup_, SWT.NONE );
    -
    -
    -
    - sampleFolderText_ = uiUtils.createText( comboGroup_, ConsumptionUIMessages.LABEL_FOLDER_NAME,
    - ConsumptionUIMessages.TOOLTIP_PWSM_TEXT_SAMPLE_FOLDER,
    - INFOPOP_PWSM_TEXT_SAMPLE_FOLDER,
    - SWT.SINGLE | SWT.BORDER );
    -
    - sampleFolderText_.addModifyListener( new ModifyListener()
    - {
    - public void modifyText( ModifyEvent evt )
    - {
    - handleFolderText();
    - }
    - });
    -
    -
    - sampleFolderBrowseButton_ = uiUtils.createPushButton( comboGroup_, ConsumptionUIMessages.BUTTON_BROWSE,
    - ConsumptionUIMessages.TOOLTIP_PWSM_BUTTON_JSP_FOLDER_BROWSE,
    - INFOPOP_PWSM_BUTTON_JSP_FOLDER_BROWSE );
    - sampleFolderBrowseButton_.addSelectionListener( new SelectionAdapter()
    - {
    - public void widgetSelected( SelectionEvent evt )
    - {
    - handleSampleBrowse();
    - }
    - });
    -
    - jspFolderText_ = uiUtils.createText( comboGroup_, ConsumptionUIMessages.LABEL_JSP_FOLDER_NAME,
    - ConsumptionUIMessages.TOOLTIP_PWSM_TEXT_JSP_FOLDER,
    - INFOPOP_PWSM_TEXT_JSP_FOLDER,
    - SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY );
    - jspFolderText_.setEnabled( false );
    -
    - Group methodsGroup = uiUtils.createGroup( parent, ConsumptionUIMessages.LABEL_METHODS,
    - ConsumptionUIMessages.TOOLTIP_PWSM_TREE_METHODS, null );
    -
    - methodsGroup.setLayoutData( uiUtils.createFillAll() );
    -
    - GridLayout layout = new GridLayout();
    - layout.marginHeight = 0;
    - layout.marginWidth = 0;
    - methodsGroup.setLayout( layout );
    -
    - // TODO No infopop for this tree.
    - methodsTree_ = uiUtils.createTree( methodsGroup, ConsumptionUIMessages.TOOLTIP_PWSM_TREE_METHODS,
    - null,
    - SWT.MULTI | SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL | SWT.CHECK );
    -
    - Composite selectButtons = uiUtils.createComposite( methodsGroup, 2 );
    -
    - selectAllMethodsButton_
    - = uiUtils.createPushButton( selectButtons, ConsumptionUIMessages.BUTTON_SELECT_ALL,
    - ConsumptionUIMessages.TOOLTIP_PWSM_BUTTON_SELECT_ALL,
    - INFOPOP_PWSM_BUTTON_SELECT_ALL );
    - selectAllMethodsButton_.addSelectionListener( new SelectionAdapter()
    - {
    - public void widgetSelected( SelectionEvent evt )
    - {
    - handleSelectAll( true );
    - }
    - });
    -
    - deselectAllMethodsButton_
    - = uiUtils.createPushButton( selectButtons, ConsumptionUIMessages.BUTTON_DESELECT_ALL,
    - ConsumptionUIMessages.TOOLTIP_PWSM_BUTTON_DESELECT_ALL,
    - INFOPOP_PWSM_BUTTON_DESELECT_ALL );
    - deselectAllMethodsButton_.addSelectionListener( new SelectionAdapter()
    - {
    - public void widgetSelected( SelectionEvent evt )
    - {
    - handleSelectAll( false );
    - }
    - });
    -
    - runTestCheckbox_ = uiUtils.createCheckbox( parent, ConsumptionUIMessages.BUTTON_RUN_TEST,
    - ConsumptionUIMessages.TOOLTIP_PWSM_CHECKBOX_LAUNCH,
    - INFOPOP_PWSM_CHECKBOX_LAUNCH );
    -
    - return this;
    - }
    -
    - private void handleFolderText()
    - {
    - // webContentPath_ is set when jspFolderText_ is set for the first time. Therefore,
    - // if webContentPath_ is still null, there is no need to touch jspFolderText_ yet.
    -
    - if (webContentPath_ == null)
    - return;
    -
    - String folder = sampleFolderText_.getText();
    - jspFolderText_.setText(webContentPath_.toString() + IPath.SEPARATOR + folder);
    - }
    -
    - private void handleSampleBrowse()
    - {
    - IPath selectedPath = null;
    - IResource initialResource = null;
    -
    - try
    - {
    - initialResource = ResourceUtils.getResourceFromSelection( initialSelection_ );
    - }
    - catch( CoreException exc )
    - {
    - }
    -
    - if( initialResource == null )initialResource = webContent_;
    -
    - IResource resource = DialogUtils.browseResources( comboGroup_.getShell(),
    - webContent_,
    - initialResource,
    - folderFilter_ );
    -
    - if( resource != null )
    - {
    - selectedPath = resource.getFullPath();
    -
    - int webModuleSegments = selectedPath.matchingFirstSegments(webContentPath_);
    -
    - if ( webModuleSegments < webContentPath_.segmentCount() )
    - {
    - sampleFolderText_.setText("");
    - handleFolderText();
    - }
    - else
    - {
    - sampleFolderText_.setText(selectedPath.removeFirstSegments(webModuleSegments).toString());
    - handleFolderText();
    - }
    - }
    - }
    -
    - private void handleTestButton()
    - {
    - boolean enabled = testCheckbox_.getSelection();
    -
    - testTypeCombo_.setEnabled( enabled );
    -
    - if (enabled && testFacilities_ != null) {
    - handleTestFacilitySelection();
    - return;
    - }
    -
    - sampleFolderText_.setEnabled( enabled );
    - methodsTree_.setEnabled( enabled );
    - runTestCheckbox_.setEnabled( enabled );
    - selectAllMethodsButton_.setEnabled( enabled );
    - deselectAllMethodsButton_.setEnabled( enabled );
    - sampleFolderBrowseButton_.setEnabled( enabled );
    - }
    -
    - private void handleTestFacilitySelection() {
    -
    - String clientTestID = getTestFacility().getSelection();
    -
    - WebServiceTestExtension testExtension =
    - (WebServiceTestExtension) WebServiceTestRegistry.getInstance()
    - .getWebServiceExtensionsByName(clientTestID);
    -
    - boolean hasCodeGen = testExtension.isCodeGenNeeded();
    -
    - // folder selection is only applicable for test facilities with codegen
    - sampleFolderText_.setEnabled( hasCodeGen );
    - sampleFolderBrowseButton_.setEnabled( hasCodeGen && webContent_ != null );
    -
    - boolean hasMethods = testExtension.areMethodsNeeded();
    -
    - // method selection is only applicable for test facilities with methods
    - methodsTree_.setEnabled( hasMethods );
    - selectAllMethodsButton_.setEnabled( hasMethods );
    - deselectAllMethodsButton_.setEnabled( hasMethods );
    -
    - // run on server only applicable for test facilities that needs launching
    - runTestCheckbox_.setEnabled( testExtension.isServerNeeded() );
    - }
    -
    - private void handleSelectAll( boolean value )
    - {
    - TreeItem[] items = methodsTree_.getItems();
    -
    - for( int i = 0; i < items.length; i++ )
    - {
    - items[i].setChecked(value);
    - }
    - }
    -
    - // Here are the getters and setters for this widget.
    - public void setTestService( Boolean testService )
    - {
    - testCheckbox_.setSelection( testService.booleanValue() );
    - handleTestButton();
    - }
    -
    - public Boolean getTestService()
    - {
    - return new Boolean( testCheckbox_.getSelection() );
    - }
    -
    - public void setTestFacility( SelectionList testFacilities )
    - {
    - testFacilities_ = testFacilities;
    - testTypeCombo_.setItems( testFacilities.getList() );
    - testTypeCombo_.select( testFacilities.getIndex() );
    - handleTestFacilitySelection();
    - }
    -
    - public SelectionList getTestFacility()
    - {
    - testFacilities_.setIndex( testTypeCombo_.getSelectionIndex() );
    - return testFacilities_;
    - }
    -
    - public String getTestID()
    - {
    - return testTypeCombo_.getText();
    - }
    -
    - /**
    - * Given a project name which may be of the (obsolete) format "project/module",
    - * return only the project part of the name
    - *
    - * @param project The project name.
    - * @return If the name has the format "project/module", returns only "project",
    - * otherwise returns the name as is.
    - */
    - private String extractProjectName(String project) {
    -
    - int index = project.indexOf("/");
    -
    - if (index != -1)
    - project = project.substring(0, index);
    -
    - return project;
    - }
    -
    - public void setSampleProject(String clientProject)
    - {
    - projectCombo_.setItems( new String[]{ extractProjectName(clientProject) } );
    - projectCombo_.select(0);
    - }
    -
    - public void setSampleProjectEAR(String clientProjectEAR)
    - {
    - earCombo_.setItems( new String[]{ extractProjectName(clientProjectEAR) } );
    - earCombo_.select(0);
    - }
    -
    - public String getFolder()
    - {
    - return sampleFolderText_.getText();
    - }
    -
    - public void setFolder( String folder )
    - {
    - sampleFolderText_.setText( folder );
    - }
    -
    - public boolean getIsTestWidget()
    - {
    - return isTestWidget;
    - }
    -
    - public void setJspFolder( String folder )
    - {
    - webContentPath_ = (new Path(folder)).removeLastSegments(1);
    - webContent_ = ResourceUtils.findResource(webContentPath_);
    - sampleFolderBrowseButton_.setEnabled(webContent_ != null);
    -
    - jspFolderText_.setText( folder );
    - }
    -
    - public String getJspFolder()
    - {
    - return jspFolderText_.getText();
    - }
    -
    - public void setLaunchedServiceTestName (String launchedServiceTestName)
    - {
    - }
    -
    - public boolean getRunTestClient()
    - {
    - return runTestCheckbox_.getSelection();
    - }
    -
    - public void setRunTestClient( boolean value )
    - {
    - runTestCheckbox_.setSelection( value );
    - }
    -
    - public BooleanSelection[] getMethods()
    - {
    - TreeItem[] items = methodsTree_.getItems();
    - BooleanSelection[] methods = new BooleanSelection[items.length];
    -
    - for( int index = 0; index < items.length; index++ )
    - {
    - methods[index] = new BooleanSelection( items[index].getText(), items[index].getChecked() );
    - }
    -
    - return methods;
    - }
    -
    - public void setMethods( BooleanSelection[] methods )
    - {
    - methodsTree_.removeAll();
    -
    - for( int index = 0; index < methods.length; index++ )
    - {
    - if(methods[index] == null)continue;
    - TreeItem item = new TreeItem( methodsTree_, SWT.NULL );
    - item.setText( methods[index].getValue() );
    - item.setChecked( methods[index].isSelected() );
    - }
    - }
    -
    - public void setInitialSelection( IStructuredSelection selection )
    - {
    - initialSelection_ = selection;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/CopyWebServiceUtilsJarCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/CopyWebServiceUtilsJarCommand.java
    deleted file mode 100644
    index b87d2725f..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/CopyWebServiceUtilsJarCommand.java
    +++ /dev/null
    @@ -1,137 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060912 157039 makandre@ca.ibm.com - Andrew Mak, new webserviceutils.jar not copied in client generation
    - * 20061025 161250 makandre@ca.ibm.com - Andrew Mak, Installations or workspace paths with spaces break Sample Gen and Java Editor Launch
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
    -
    -import java.io.File;
    -import java.net.URL;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.FileLocator;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Path;
    -import org.eclipse.core.runtime.Plugin;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.plugin.WebServiceConsumptionPlugin;
    -import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
    -import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
    -import org.eclipse.wst.command.internal.env.core.context.TransientResourceContext;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.environment.IStatusHandler;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.common.BundleUtils;
    -
    -
    -public class CopyWebServiceUtilsJarCommand extends AbstractDataModelOperation
    -{
    - private String sampleProject;
    -
    -/**
    - * Default CTOR;
    - */
    -
    -
    -public CopyWebServiceUtilsJarCommand()
    -{
    -
    -}
    -
    -/**
    - * Execute the command
    - */
    -public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    -{
    - IEnvironment env = getEnvironment();
    -
    - try
    - {
    - ProgressUtils.report( monitor, ConsumptionMessages.PROGRESS_INFO_COPY_WEBSERVICE_UTILS );
    - IProject sampleIProject = ProjectUtilities.getProject(sampleProject);
    - IPath webModulePath = J2EEUtils.getWebContentPath(sampleIProject);
    - if (webModulePath == null)
    - return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_PROJECT_NOT_FOUND );
    -
    - IStatus status = copyIFile("webserviceutils.jar",webModulePath,"WEB-INF/lib/webserviceutils.jar", WebServiceConsumptionPlugin.getInstance(),env, monitor);
    - if(status.getSeverity() == Status.ERROR){
    - IStatusHandler sHandler = env.getStatusHandler();
    - IStatus errorStatus = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_FILECOPY_WEBSERVICE_UTILS );
    - sHandler.reportError(errorStatus);
    - return status;
    - }
    -
    -
    - }
    - catch (Exception e) {
    - IStatusHandler sHandler = env.getStatusHandler();
    - IStatus errorStatus = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_FILECOPY_WEBSERVICE_UTILS );
    - sHandler.reportError(errorStatus);
    - return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_FILECOPY_WEBSERVICE_UTILS, e);
    - }
    - return Status.OK_STATUS;
    -}
    -
    -/**
    - *
    - */
    -private IStatus copyIFile(String source, IPath targetPath, String targetFile, Plugin plugin,IEnvironment env, IProgressMonitor monitor )
    -{
    -
    - if (plugin != null)
    - {
    - IPath target = targetPath.append(new Path(targetFile));
    -
    - ProgressUtils.report( monitor, ConsumptionMessages.PROGRESS_INFO_COPYING_FILE );
    - try
    - {
    - ResourceContext context = new TransientResourceContext();
    - context.setOverwriteFilesEnabled(true);
    - context.setCreateFoldersEnabled(true);
    - context.setCheckoutFilesEnabled(true);
    - IResource resource = FileResourceUtils.findResource(target);
    - URL sourceURL = BundleUtils.getURLFromBundle( WebServiceConsumptionPlugin.ID, source );
    - if(resource != null) {
    - File sourceFile = new File(FileLocator.toFileURL(sourceURL).getPath());
    - if (resource.getLocation().toFile().length() == sourceFile.length())
    - return Status.OK_STATUS;
    - }
    - FileResourceUtils.createFile(context,
    - target,
    - sourceURL.openStream(),
    - monitor,
    - env.getStatusHandler());
    - }
    - catch (Exception e) {
    - return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_FILECOPY_WEBSERVICE_UTILS ,e);
    - }
    - }
    - return Status.OK_STATUS;
    -}
    -
    -public void setSampleProject(String sampleProject)
    -{
    - this.sampleProject = sampleProject;
    -}
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishDefaultCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishDefaultCommand.java
    deleted file mode 100644
    index 9c6df0cba..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishDefaultCommand.java
    +++ /dev/null
    @@ -1,73 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.ServerCore;
    -
    -
    -/*
    -* The JSPGeneration task runs the jsp generation engine found in the
    -* JBWizard Plugin
    -*
    -*
    -*/
    -public class FinishDefaultCommand extends AbstractDataModelOperation
    -{
    - private String sampleServerTypeID;
    - private IServer sampleExistingServer;
    - private String sampleServerInstanceId;
    -
    -
    - public FinishDefaultCommand ()
    - {
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IStatus status = Status.OK_STATUS;
    - if(sampleServerInstanceId != null){
    - sampleExistingServer = ServerCore.findServer(sampleServerInstanceId);
    - if (sampleExistingServer != null)
    - sampleServerTypeID = sampleExistingServer.getServerType().getId();
    -
    - }
    - return status;
    -
    - }
    -
    - public void setServerInstanceId(String serverInstanceId)
    - {
    - this.sampleServerInstanceId = serverInstanceId;
    - }
    -
    - public String getSampleServerTypeID()
    - {
    - return sampleServerTypeID;
    -
    - }
    -
    - public IServer getSampleExistingServer()
    - {
    - return sampleExistingServer;
    - }
    -
    - public void setExistingServerId(String existingServerId)
    - {
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishJavaTestFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishJavaTestFragment.java
    deleted file mode 100644
    index f90c1b5ac..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishJavaTestFragment.java
    +++ /dev/null
    @@ -1,64 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -/*
    - * Created on May 4, 2004
    - *
    - * TODO To change the template for this generated file go to
    - * Window - Preferences - Java - Code Style - Code Templates
    - */
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
    -
    -import org.eclipse.jst.ws.internal.consumption.command.common.BuildProjectCommand;
    -import org.eclipse.wst.command.internal.env.core.common.Condition;
    -import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
    -
    -
    -/**
    - * @author gilberta
    - *
    - * TODO To change the template for this generated type comment go to
    - * Window - Preferences - Java - Code Style - Code Templates
    - */
    -public class FinishJavaTestFragment extends BooleanFragment
    -{
    - private boolean generateProxy;
    -
    - public FinishJavaTestFragment()
    - {
    - SequenceFragment javaTestRoot = new SequenceFragment();
    - Condition condition = new Condition()
    - {
    - public boolean evaluate()
    - {
    - return generateProxy;
    - }
    - };
    - setCondition(condition);
    - javaTestRoot.add(new SimpleFragment(new TestClientDepartureInitCommand(), ""));
    - javaTestRoot.add(new SimpleFragment(new BuildProjectCommand(), ""));
    - setTrueFragment(javaTestRoot);
    - }
    -
    - public void setGenerateProxy(boolean generateProxy)
    - {
    - this.generateProxy = generateProxy;
    - }
    -
    - public void setIsJSPGen(boolean jspGen)
    - {
    -
    - }
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishTestFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishTestFragment.java
    deleted file mode 100644
    index 20fd0bea5..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/FinishTestFragment.java
    +++ /dev/null
    @@ -1,108 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060727 144354 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -/*
    - * Created on May 4, 2004
    - *
    - * TODO To change the template for this generated file go to
    - * Window - Preferences - Java - Code Style - Code Templates
    - */
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
    -
    -import org.eclipse.jst.ws.internal.context.ScenarioContext;
    -import org.eclipse.jst.ws.internal.ext.test.WebServiceTestExtension;
    -import org.eclipse.jst.ws.internal.ext.test.WebServiceTestRegistry;
    -import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
    -import org.eclipse.wst.command.internal.env.core.common.Condition;
    -import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
    -
    -
    -/**
    - * @author gilberta
    - *
    - * TODO To change the template for this generated type comment go to
    - * Window - Preferences - Java - Code Style - Code Templates
    - */
    -public class FinishTestFragment extends BooleanFragment{
    -
    - private boolean isTestWidget;
    - private boolean generateProxy; // This actually represent whether client test is requested
    - private String launchedServiceTestName;
    - private boolean testService;
    - private String testID;
    - public FinishTestFragment()
    - {
    - Condition condition = new Condition()
    - {
    - public boolean evaluate()
    - {
    - if(!testService) return false;
    - if(launchedServiceTestName == null) return true;
    - if(launchedServiceTestName != null)
    - if((!launchedServiceTestName.equals("") && (!isPreferedAWSDLTest() || (isTestWidget && isClientTestJava())) && generateProxy) || launchedServiceTestName.equals("")) return true;
    -
    - return false;
    - }
    - };
    -
    - setTrueFragment(new WebServiceTestClientDepartureFragment());
    - setCondition(condition);
    - }
    -
    - public void setLaunchedServiceTestName(String launchedServiceTestName)
    - {
    - this.launchedServiceTestName = launchedServiceTestName;
    - }
    -
    - public boolean isPreferedAWSDLTest()
    - {
    - ScenarioContext scenarioContext = WebServicePlugin.getInstance().getScenarioContext().copy();
    - String[] testTypes = scenarioContext.getWebServiceTestTypes();
    - WebServiceTestRegistry wsttRegistry = WebServiceTestRegistry.getInstance();
    - WebServiceTestExtension wscte = (WebServiceTestExtension)wsttRegistry.getWebServiceExtensionsByName(testTypes[0]);
    - if(wscte.testWSDL())
    - return true;
    - return false;
    - }
    -
    - public boolean isClientTestJava()
    - {
    - if(testID == null) return false;
    - WebServiceTestRegistry wsttRegistry = WebServiceTestRegistry.getInstance();
    - WebServiceTestExtension wscte = (WebServiceTestExtension)wsttRegistry.getWebServiceExtensionsByName(testID);
    - if(!wscte.testWSDL())
    - return true;
    - return false;
    - }
    -
    -
    - public void setTestService(boolean testService)
    - {
    - this.testService = testService;
    - }
    -
    - public void setGenerateProxy(boolean generateProxy)
    - {
    - this.generateProxy = generateProxy;
    - }
    -
    - public void setTestID(String testID)
    - {
    - this.testID = testID;
    - }
    -
    - public void setIsTestWidget(boolean isTestWidget)
    - {
    - this.isTestWidget = isTestWidget;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestClientDepartureInitCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestClientDepartureInitCommand.java
    deleted file mode 100644
    index 6c61ebaaa..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestClientDepartureInitCommand.java
    +++ /dev/null
    @@ -1,52 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -/*
    - * Created on Mar 25, 2004
    - *
    - * To change the template for this generated file go to
    - * Window - Preferences - Java - Code Generation - Code and Comments
    - */
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
    -
    -import org.eclipse.core.commands.ExecutionException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -/**
    - * @author gilberta
    - *
    - * To change the template for this generated type comment go to
    - * Window - Preferences - Java - Code Generation - Code and Comments
    - */
    -public class TestClientDepartureInitCommand extends AbstractDataModelOperation
    -{
    -
    - private boolean forceBuild;
    -
    - public TestClientDepartureInitCommand()
    - {
    - forceBuild = true;
    - }
    -
    - public boolean getForceBuild()
    - {
    - return forceBuild;
    - }
    -
    - public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
    - {
    - return Status.OK_STATUS;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestDefaultingFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestDefaultingFragment.java
    deleted file mode 100644
    index a246e7cbc..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestDefaultingFragment.java
    +++ /dev/null
    @@ -1,135 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060727 144354 kathy@ca.ibm.com - Kathy Chan
    - * 20060821 153833 makandre@ca.ibm.com - Andrew Mak, Allow the Web Service Test extension point to specify the supported client runtime
    - * 20060907 156606 makandre@ca.ibm.com - Andrew Mak, no sample JSP in the pop-up action of Generate Sample JSPs
    - *******************************************************************************/
    -/*
    - * Created on May 4, 2004
    - *
    - * TODO To change the template for this generated file go to
    - * Window - Preferences - Java - Code Style - Code Templates
    - */
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
    -
    -import java.util.ArrayList;
    -import java.util.List;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.context.ScenarioContext;
    -import org.eclipse.jst.ws.internal.ext.test.WebServiceTestExtension;
    -import org.eclipse.jst.ws.internal.ext.test.WebServiceTestRegistry;
    -import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
    -import org.eclipse.wst.command.internal.env.core.selection.SelectionList;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -
    -/**
    - * @author gilberta
    - *
    - * TODO To change the template for this generated type comment go to
    - * Window - Preferences - Java - Code Style - Code Templates
    - */
    -public class TestDefaultingFragment extends AbstractDataModelOperation
    -{
    -
    - private SelectionList testFacilities;
    - private String launchedServiceTestName;
    - private ScenarioContext scenarioContext;
    - private boolean generateProxy; // This actually represent whether client test is requested
    -
    - private String clientRuntimeId_;
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IStatus status = Status.OK_STATUS;
    -
    - scenarioContext = WebServicePlugin.getInstance().getScenarioContext().copy();
    - // test facilities
    - selectTestFacility();
    - return status;
    - }
    -
    - // The test facilities retrieved from the extension
    - // plus the default
    - public SelectionList getTestFacility()
    - {
    - return testFacilities;
    - }
    -
    -
    -
    - // ***********************
    - // This method uses the preference to
    - // select the correct test facility
    - //
    - //***********************
    - private void selectTestFacility()
    - {
    - //if we find something we launched earlier
    - //put it on the bottom
    - String[] testTypes = scenarioContext.getWebServiceTestTypes();
    - List newTestTypes = new ArrayList();
    - String[] wsdlCases = scenarioContext.getNonJavaTestService();
    - boolean launched = false;
    -
    - for(int i = 0;i<testTypes.length;i++){
    -
    - WebServiceTestExtension extension =
    - (WebServiceTestExtension) WebServiceTestRegistry.getInstance()
    - .getWebServiceExtensionsByName(testTypes[i]);
    -
    - if (clientRuntimeId_ != null && !extension.supportsRuntime(clientRuntimeId_))
    - continue;
    -
    - if(testTypes[i].equals(launchedServiceTestName))
    - launched = true;
    - else{
    - newTestTypes.add(testTypes[i]);
    - }
    - }
    -
    - if(launched)
    - newTestTypes.add(launchedServiceTestName);
    -
    -
    - if(!generateProxy)
    - testFacilities = new SelectionList(wsdlCases,0);
    - else {
    - String[] tempArray = new String[newTestTypes.size()];
    - testFacilities = new SelectionList((String[]) newTestTypes.toArray(tempArray), 0);
    - }
    - }
    -
    - public void setLaunchedServiceTestName(String launchedServiceTestName)
    - {
    - this.launchedServiceTestName = launchedServiceTestName;
    - }
    -
    - public void setGenerateProxy(boolean generateProxy)
    - {
    - this.generateProxy = generateProxy;
    - }
    -
    - /**
    - * Sets the client runtime ID.
    - *
    - * @param clientRuntimeId The client runtime ID.
    - */
    - public void setClientRuntimeId(String clientRuntimeId) {
    - clientRuntimeId_ = clientRuntimeId;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestWebServiceClient.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestWebServiceClient.java
    deleted file mode 100644
    index a4efaabcb..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/TestWebServiceClient.java
    +++ /dev/null
    @@ -1,54 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2003, 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
    -
    -import org.eclipse.wst.command.internal.env.core.ICommandFactory;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.ws.internal.wsrt.AbstractWebServiceClient;
    -import org.eclipse.wst.ws.internal.wsrt.IContext;
    -import org.eclipse.wst.ws.internal.wsrt.ISelection;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceClientInfo;
    -
    -public class TestWebServiceClient extends AbstractWebServiceClient {
    -
    - public TestWebServiceClient(WebServiceClientInfo clientInfo){
    - super(clientInfo);
    - }
    -
    - public ICommandFactory assemble(IEnvironment env, IContext ctx, ISelection sel,
    - String project, String earProject){
    - return null;
    - }
    -
    - public ICommandFactory deploy(IEnvironment env, IContext ctx, ISelection sel,
    - String project, String earProject){
    - return null;
    - }
    -
    -
    - public ICommandFactory develop(IEnvironment env, IContext ctx, ISelection sel,
    - String project, String earProject){
    - return null;
    - }
    -
    - public ICommandFactory install(IEnvironment env, IContext ctx, ISelection sel,
    - String project, String earProject){
    - return null;
    - }
    -
    -
    - public ICommandFactory run(IEnvironment env, IContext ctx, ISelection sel,
    - String project, String earProject){
    - return null;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLFinishFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLFinishFragment.java
    deleted file mode 100644
    index 07f436804..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLFinishFragment.java
    +++ /dev/null
    @@ -1,30 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -/*
    - * Created on May 4, 2004
    - *
    - * TODO To change the template for this generated file go to
    - * Window - Preferences - Java - Code Style - Code Templates
    - */
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
    -
    -import org.eclipse.wst.command.internal.env.core.fragment.BooleanFragment;
    -
    -/**
    - * @author gilberta
    - *
    - * TODO To change the template for this generated type comment go to
    - * Window - Preferences - Java - Code Style - Code Templates
    - */
    -public class WSDLFinishFragment extends BooleanFragment{
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLTestLaunchCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLTestLaunchCommand.java
    deleted file mode 100644
    index 89d839b0d..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WSDLTestLaunchCommand.java
    +++ /dev/null
    @@ -1,189 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -/*
    - * Created on May 4, 2004
    - *
    - * Window - Preferences - Java - Code Style - Code Templates
    - */
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
    -
    -import java.util.List;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.jst.ws.internal.ext.test.WebServiceTestExtension;
    -import org.eclipse.jst.ws.internal.ext.test.WebServiceTestRegistry;
    -import org.eclipse.wst.command.internal.env.core.ICommandFactory;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.environment.IStatusHandler;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.ServerCore;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceTester;
    -import org.eclipse.wst.ws.internal.wsrt.TestInfo;
    -
    -/**
    - * @author gilberta
    - *
    - * Window - Preferences - Java - Code Style - Code Templates
    - */
    -public class WSDLTestLaunchCommand extends AbstractDataModelOperation
    -{
    - private String testID;
    - private String launchedServiceTestName;
    - private TypeRuntimeServer serviceids;
    - private String serverProject;
    - private String serverModule;
    - private String wsdlURI;
    - private boolean externalBrowser;
    - private List endpoints;
    - private IServer serviceExistingServer = null;
    - private String serviceServerTypeID = null;
    - private String serviceServerInstanceId = null;
    -
    - public WSDLTestLaunchCommand()
    - {
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    - IStatus status = Status.OK_STATUS;
    -
    - WebServiceTestRegistry testRegistry = WebServiceTestRegistry.getInstance();
    - WebServiceTestExtension wscte = (WebServiceTestExtension)testRegistry.getWebServiceExtensionsByName(testID);
    - IWebServiceTester iwst = (IWebServiceTester)wscte.getWebServiceExecutableExtension();
    - TestInfo testInfo = getTestInfo();
    -
    -
    - status = commandFactoryExecution(iwst.launch(testInfo),env, monitor);
    -
    - //Dont need to shut everything down because the wsdl test doesnt work
    - if(status.getSeverity() != Status.OK){
    - IStatusHandler sHandler = env.getStatusHandler();
    - IStatus infoStatus = StatusUtils.infoStatus( ConsumptionUIMessages.MSG_ERROR_UNABLE_TO_LAUNCH_WSDL_TEST );
    - sHandler.reportInfo(infoStatus);
    - return infoStatus;
    - }
    - return status;
    -
    - }
    -
    - private IStatus commandFactoryExecution(ICommandFactory commandFactory,IEnvironment env, IProgressMonitor monitor)
    - {
    - IStatus status = Status.OK_STATUS;
    - while(commandFactory.hasNext())
    - {
    - AbstractDataModelOperation operation = commandFactory.getNextCommand();
    -
    - if (operation != null)
    - {
    - try
    - {
    - operation.setEnvironment( env );
    - status = operation.execute( monitor, null );
    - }
    - catch( Exception exc )
    - {
    - status = StatusUtils.errorStatus( exc );
    - }
    - }
    -
    - if(status.getSeverity() == Status.ERROR){
    - IStatusHandler sHandler = env.getStatusHandler();
    - sHandler.reportError(status);
    - return status;
    - }
    - }
    - return status;
    - }
    -
    -
    - private TestInfo getTestInfo()
    - {
    - // get the server stuff
    - if (serviceids.getServerInstanceId() != null)
    - serviceExistingServer = ServerCore.findServer(serviceids.getServerInstanceId());
    - else if (serviceServerInstanceId!=null)
    - serviceExistingServer = ServerCore.findServer(serviceServerInstanceId);
    -
    - if (serviceExistingServer != null)
    - serviceServerTypeID = serviceExistingServer.getServerType().getId();
    - else
    - serviceServerTypeID = serviceids.getServerId();
    - // server will be created in ServerDeployableConfigurationCommand
    -
    - TestInfo testInfo = new TestInfo();
    - if (serviceExistingServer!=null)
    - testInfo.setServiceExistingServer(serviceExistingServer);
    - testInfo.setServiceServerTypeID(serviceServerTypeID);
    - testInfo.setServiceProject(serverProject);
    - testInfo.setWsdlServiceURL(wsdlURI);
    - testInfo.setExternalBrowser(externalBrowser);
    - testInfo.setEndpoint(endpoints);
    - return testInfo;
    -
    - }
    -
    -
    - public void setTestID(String testID)
    - {
    - this.testID = testID;
    - }
    -
    - public String getLaunchedServiceTestName()
    - {
    - return launchedServiceTestName;
    - }
    - public void setWsdlURI(String wsdlURI)
    - {
    - this.wsdlURI = wsdlURI;
    - }
    -
    - public void setServerProject(String serverProject)
    - {
    - this.serverProject = serverProject;
    - }
    -
    -
    - public void setServiceTypeRuntimeServer(TypeRuntimeServer serviceids)
    - {
    - this.serviceids = serviceids;
    - }
    -
    - public void setExternalBrowser(boolean externalBrowser)
    - {
    - this.externalBrowser = externalBrowser;
    - }
    -
    - public void setEndpoint(List endpoints)
    - {
    - this.endpoints = endpoints;
    - }
    -
    -public String getServerModule() {
    - return serverModule;
    -}
    -
    -public void setServerModule(String serverModule) {
    - this.serverModule = serverModule;
    -}
    -
    -public void setServiceServerInstanceId(String ssInstanceId){
    - this.serviceServerInstanceId = ssInstanceId;
    -}
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceClientTestArrivalCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceClientTestArrivalCommand.java
    deleted file mode 100644
    index 9cd65589a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceClientTestArrivalCommand.java
    +++ /dev/null
    @@ -1,276 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2003, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060608 144500 mahutch@ca.ibm.com - Mark Hutchinson
    - * 20060818 153903 makandre@ca.ibm.com - Andrew Mak, Browse does not work in generate client test page
    - * 20060906 154548 gilberta@ca.ibm.com - Gilbert Andrews, This fixes name collisions when creating a sample project
    - * 20060922 158177 makandre@ca.ibm.com - Andrew Mak, NPE when creating web service client into existing Java project with test
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
    -
    -import java.util.List;
    -import java.util.ListIterator;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.JavaClass;
    -import org.eclipse.jem.java.JavaHelpers;
    -import org.eclipse.jem.java.Method;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.consumption.command.common.JavaMofReflectionCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.environment.IStatusHandler;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -
    -/**
    -* This task sets up all the defaults for the webservice test
    -* client page
    -*
    -*/
    -public class WebServiceClientTestArrivalCommand extends AbstractDataModelOperation
    -{
    - public static final String DEFAULT_WEB_MODULE_ROOT = "WebContent";
    - public static final String DEFAULT_SAMPLE_WEB_PROJECT_EXT = "Sample";
    -
    - public static String SAMPLE_DIR = "sample";
    -
    - private String clientProject;
    - private String clientProjectEAR;
    - private String clientP;
    - private String clientC;
    - private IProject clientIProject;
    - private String folder;
    - private String jspFolder;
    - private BooleanSelection[] methods;
    - private String proxyBean;
    - private String sampleProject;
    - private String sampleP;
    - private String sampleC;
    - private String sampleProjectEAR;
    -
    -
    -
    - /**
    - * Constructs a new WebServiceClientTestArrivalTask object with the given label and description.
    - */
    - public WebServiceClientTestArrivalCommand ()
    - {
    -
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    -
    - IStatus status = Status.OK_STATUS;
    -
    - sampleProjectAndEarSetup(env);
    - IPath webcontentPath = null;
    -
    - // *need* to double-check that clientIProject is a web project
    - if (J2EEUtils.isWebComponent(clientIProject))
    - webcontentPath = J2EEUtils.getWebContentPath(clientIProject);
    -
    - //Get the sample Folder ready
    - StringBuffer sb = new StringBuffer();
    -
    - if (webcontentPath != null)
    - {
    - String path = webcontentPath.toString();
    - sb.append(path).append("/");
    - }
    - else
    - { //then just use the default
    - sb.append("/").append(sampleC).append("/").append(DEFAULT_WEB_MODULE_ROOT).append("/");
    - }
    - folder = SAMPLE_DIR + getBean();
    -
    - sb.append(folder);
    - jspFolder = sb.toString();
    -
    - //get the method names ready
    - //find the full path of the file in the project
    - /*
    - * Getting the method names using javamof introspection
    - */
    - if(proxyBean == null){
    - IStatusHandler sHandler = env.getStatusHandler();
    - IStatus errorStatus = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_JTS_PROXY_NOT_COMPILED );
    - sHandler.reportError(errorStatus);
    - return errorStatus;
    -
    - }
    -
    -
    - JavaMofReflectionCommand javamofcommand = new JavaMofReflectionCommand();
    - javamofcommand.setProxyBean(proxyBean);
    - javamofcommand.setClientProject(clientP);
    - javamofcommand.setEnvironment( env );
    -
    -
    -
    - try{
    - IStatus mofStatus = javamofcommand.execute( monitor, null);
    - if(mofStatus.getSeverity() == Status.ERROR)
    - return mofStatus;
    - }catch(Exception exc){
    - IStatusHandler sHandler = env.getStatusHandler();
    - IStatus errorStatus = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_JTS_PROXY_NOT_COMPILED );
    - sHandler.reportError(errorStatus);
    - return errorStatus;
    - }
    - JavaHelpers javaHelpers = javamofcommand.getJavaClass();
    - if (javaHelpers == null) return status;
    -
    - JavaClass javaClass = null;
    - if(javaHelpers instanceof JavaClass)
    - javaClass = (JavaClass)javaHelpers;
    - else return status;
    - List methodList = javaClass.getPublicMethods();
    - BooleanSelection[] tempMethods = new BooleanSelection[methodList.size()];
    - ListIterator listIterator = methodList.listIterator();
    -
    - int j = 0;
    - while (listIterator.hasNext())
    - {
    - Method method = (Method)listIterator.next();
    - if(method.isConstructor()) continue;
    -
    - tempMethods[j] = new BooleanSelection( method.getMethodElementSignature(), true);
    - j++;
    - }
    - methods = tempMethods;
    - return status;
    - }
    - public static final String DEFAULT_SAMPLE_EAR_PROJECT_EXT = "EAR";
    -
    - private void sampleProjectAndEarSetup(IEnvironment env)
    - {
    - if(clientProject == null) return;
    - else{
    - int index = clientProject.indexOf("/");
    - clientP = clientProject.substring(0,index);
    - clientC = clientProject.substring(index + 1);
    - }
    -
    - clientIProject = (IProject)ProjectUtilities.getProject(clientP);
    -
    - if(J2EEUtils.isWebComponent(clientIProject)){
    - sampleProject = clientProject;
    - sampleP = clientP;
    - sampleC = clientC;
    - }
    - else{
    - sampleP = clientP + DEFAULT_SAMPLE_WEB_PROJECT_EXT;
    - sampleC = clientC + DEFAULT_SAMPLE_WEB_PROJECT_EXT;
    - sampleProject = sampleP + "/" + sampleC;
    -
    - String sampleTemp = sampleP;
    -
    - boolean nameFound = false;
    - int i = 1;
    - while(!nameFound){
    - IProject sampleIProject = (IProject)ProjectUtilities.getProject(sampleTemp);
    - if(sampleIProject.exists() && !J2EEProjectUtilities.isDynamicWebProject(sampleIProject)){
    - sampleTemp = sampleP + Integer.toString(i);
    - sampleProject = sampleTemp + "/" + sampleC;
    -
    - }
    - else
    - nameFound = true;
    -
    - i++;
    - }
    - sampleP = sampleTemp;
    -
    - }
    -
    -
    -
    -
    - sampleProjectEAR = clientProjectEAR;
    - if (sampleProjectEAR == null || sampleProjectEAR.length()==0){
    - sampleProjectEAR = sampleP + DEFAULT_SAMPLE_EAR_PROJECT_EXT + "/" + sampleC + DEFAULT_SAMPLE_EAR_PROJECT_EXT;
    - }
    -
    - }
    -
    - //getters and setters
    -
    - private String getBean()
    - {
    - int index = proxyBean.lastIndexOf(".");
    - String end = "";
    - if(index != -1){
    - end = proxyBean.substring(index + 1);
    - }
    - String bean = end.substring(0,end.length());
    -
    - return bean;
    - }
    -
    -
    -
    -
    - public String getFolder()
    - {
    - return folder;
    - }
    -
    - public String getJspFolder()
    - {
    - return jspFolder;
    - }
    -
    - public BooleanSelection[] getMethods()
    - {
    - return methods;
    - }
    -
    - public String getSampleProject()
    - {
    - return sampleProject;
    - }
    -
    - public void setClientProject(String clientProject)
    - {
    - this.clientProject = clientProject;
    - }
    -
    -
    - public void setClientProjectEAR(String clientProjectEAR)
    - {
    - this.clientProjectEAR = clientProjectEAR;
    - }
    -
    -
    - public void setProxyBean(String proxyBean)
    - {
    - this.proxyBean = proxyBean;
    - }
    -
    - public String getSampleProjectEAR()
    - {
    - return sampleProjectEAR;
    - }
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceTestClientDepartureFragment.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceTestClientDepartureFragment.java
    deleted file mode 100644
    index 00bdfd0b4..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/WebServiceTestClientDepartureFragment.java
    +++ /dev/null
    @@ -1,50 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -/*
    - * Created on Mar 25, 2004
    - *
    - * To change the template for this generated file go to
    - * Window - Preferences - Java - Code Generation - Code and Comments
    - */
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test;
    -
    -import org.eclipse.jst.ws.internal.consumption.command.common.BuildProjectCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample.AddModuleDependenciesCommand;
    -import org.eclipse.wst.command.internal.env.core.data.DataMappingRegistry;
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -import org.eclipse.wst.command.internal.env.core.fragment.SimpleFragment;
    -
    -
    -/**
    - * @author gilberta
    - *
    - * To change the template for this generated type comment go to
    - * Window - Preferences - Java - Code Generation - Code and Comments
    - */
    -public class WebServiceTestClientDepartureFragment extends SequenceFragment
    -{
    - public WebServiceTestClientDepartureFragment()
    - {
    - add(new SimpleFragment(new FinishDefaultCommand(),""));
    - add(new SimpleFragment(new ClientTestDelegateCommand(),""));
    - }
    -
    - public void registerDataMappings(DataMappingRegistry dataRegistry)
    - {
    - dataRegistry.addMapping(TestClientDepartureInitCommand.class, "ForceBuild",BuildProjectCommand.class);
    - dataRegistry.addMapping(FinishDefaultCommand.class, "SampleServerTypeID",AddModuleDependenciesCommand.class);
    - dataRegistry.addMapping(FinishDefaultCommand.class, "SampleExistingServer",AddModuleDependenciesCommand.class);
    - dataRegistry.addMapping(FinishDefaultCommand.class, "SampleServerTypeID",ClientTestDelegateCommand.class);
    - dataRegistry.addMapping(FinishDefaultCommand.class, "SampleExistingServer",ClientTestDelegateCommand.class);
    -
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/ExplorerServiceTestCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/ExplorerServiceTestCommand.java
    deleted file mode 100644
    index ebbf6a453..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/ExplorerServiceTestCommand.java
    +++ /dev/null
    @@ -1,97 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer;
    -
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Vector;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.ext.test.WSDLTestFinishCommand;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.ws.internal.explorer.LaunchOption;
    -import org.eclipse.wst.ws.internal.explorer.LaunchOptions;
    -import org.eclipse.wst.ws.internal.explorer.WSExplorerLauncherCommand;
    -import org.eclipse.wst.ws.internal.explorer.plugin.ExplorerPlugin;
    -
    -public class ExplorerServiceTestCommand extends AbstractDataModelOperation implements WSDLTestFinishCommand
    -{
    -
    - private boolean externalBrowser = true;
    - private String wsdlServiceURL;
    - private List endpoints;
    -
    - /**
    - * Constructs a new WebServiceExplorerLaunch object with the given label and description.
    - */
    - public ExplorerServiceTestCommand ()
    - {
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    -
    - IStatus status = Status.OK_STATUS;
    -
    - WSExplorerLauncherCommand launchCommand = new WSExplorerLauncherCommand();
    - launchCommand.setForceLaunchOutsideIDE(externalBrowser);
    - Vector launchOptionVector = new Vector();
    - String stateLocation = ExplorerPlugin.getInstance().getPluginStateLocation();
    - String defaultFavoritesLocation = ExplorerPlugin.getInstance().getDefaultFavoritesLocation();
    - launchOptionVector.add(new LaunchOption(LaunchOptions.STATE_LOCATION,stateLocation));
    - launchOptionVector.add(new LaunchOption(LaunchOptions.DEFAULT_FAVORITES_LOCATION,defaultFavoritesLocation));
    - launchOptionVector.add(new LaunchOption(LaunchOptions.WSDL_URL,wsdlServiceURL));
    - if (endpoints != null)
    - for (Iterator it = endpoints.iterator(); it.hasNext();)
    - launchOptionVector.add(new LaunchOption(LaunchOptions.WEB_SERVICE_ENDPOINT, it.next().toString()));
    - launchCommand.setLaunchOptions((LaunchOption[])launchOptionVector.toArray(new LaunchOption[0]));
    - launchCommand.setEnvironment( env );
    - status = launchCommand.execute( monitor, null );
    - return status;
    - }
    -
    - public void setExternalBrowser(boolean externalBrowser)
    - {
    - this.externalBrowser = externalBrowser;
    - }
    -
    - public void setWsdlServiceURL(String wsdlServiceURL)
    - {
    - this.wsdlServiceURL = wsdlServiceURL;
    - }
    -
    - public void setServerTypeID(String serviceServerTypeID)
    - {
    - //TODO: Type mappings to this property should be removed.
    - }
    -
    - public void setExistingServer(IServer serviceExistingServer)
    - {
    - //TODO: Type mappings to this property should be removed.
    - }
    -
    - public void setServiceProject(String serviceProject)
    - {
    - //TODO: Type mappings to this property should be removed.
    - }
    -
    - public void setEndpoint(List endpoints)
    - {
    - this.endpoints = endpoints;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEGenerateCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEGenerateCommand.java
    deleted file mode 100644
    index 8ad6eeb12..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEGenerateCommand.java
    +++ /dev/null
    @@ -1,60 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer;
    -
    -import java.util.Iterator;
    -import java.util.Vector;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.explorer.LaunchOption;
    -import org.eclipse.wst.ws.internal.explorer.LaunchOptions;
    -import org.eclipse.wst.ws.internal.explorer.WSExplorerLauncherCommand;
    -import org.eclipse.wst.ws.internal.explorer.plugin.ExplorerPlugin;
    -import org.eclipse.wst.ws.internal.wsrt.TestInfo;
    -
    -public class WSEGenerateCommand extends AbstractDataModelOperation
    -{
    -
    - private TestInfo testInfo;
    -
    - public WSEGenerateCommand(TestInfo testInfo){
    - this.testInfo = testInfo;
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    -
    - IStatus status = Status.OK_STATUS;
    -
    - WSExplorerLauncherCommand launchCommand = new WSExplorerLauncherCommand();
    - launchCommand.setForceLaunchOutsideIDE(testInfo.getExternalBrowser());
    - Vector launchOptionVector = new Vector();
    - String stateLocation = ExplorerPlugin.getInstance().getPluginStateLocation();
    - String defaultFavoritesLocation = ExplorerPlugin.getInstance().getDefaultFavoritesLocation();
    - launchOptionVector.add(new LaunchOption(LaunchOptions.STATE_LOCATION,stateLocation));
    - launchOptionVector.add(new LaunchOption(LaunchOptions.DEFAULT_FAVORITES_LOCATION,defaultFavoritesLocation));
    - launchOptionVector.add(new LaunchOption(LaunchOptions.WSDL_URL,testInfo.getWsdlServiceURL()));
    - if (testInfo.getEndpoint() != null)
    - for (Iterator it = testInfo.getEndpoint().iterator(); it.hasNext();)
    - launchOptionVector.add(new LaunchOption(LaunchOptions.WEB_SERVICE_ENDPOINT, it.next().toString()));
    - launchCommand.setLaunchOptions((LaunchOption[])launchOptionVector.toArray(new LaunchOption[0]));
    - launchCommand.setEnvironment( env );
    - status = launchCommand.execute( monitor, null );
    - return status;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEWebServiceTester.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEWebServiceTester.java
    deleted file mode 100644
    index cfa116d05..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WSEWebServiceTester.java
    +++ /dev/null
    @@ -1,34 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer;
    -
    -import java.util.Vector;
    -
    -import org.eclipse.wst.command.internal.env.core.ICommandFactory;
    -import org.eclipse.wst.command.internal.env.core.SimpleCommandFactory;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceTester;
    -import org.eclipse.wst.ws.internal.wsrt.TestInfo;
    -
    -public class WSEWebServiceTester implements IWebServiceTester {
    -
    - public ICommandFactory generate(TestInfo testInfo){
    - Vector commands = new Vector();
    - return new SimpleCommandFactory(commands);
    - }
    -
    - public ICommandFactory launch(TestInfo testInfo){
    - Vector commands = new Vector();
    - commands.add(new WSEGenerateCommand(testInfo));
    - return new SimpleCommandFactory(commands);
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WebServiceExplorerExecutable.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WebServiceExplorerExecutable.java
    deleted file mode 100644
    index ecb320e5a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/explorer/WebServiceExplorerExecutable.java
    +++ /dev/null
    @@ -1,35 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer;
    -
    -import org.eclipse.jst.ws.internal.ext.WebServiceExecutable;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -/**
    -* This is the interface for objects that represent a kind of
    -* Web Service-Server-Runtime artifact. The primary purpose of a WebServiceServerRuntimeType
    -* object is to manufacture the wizard pages that support the type, server, and runtime configuration.
    -*/
    -public class WebServiceExplorerExecutable implements WebServiceExecutable
    -{
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public AbstractDataModelOperation getFinishCommand()
    - {
    - return new ExplorerServiceTestCommand();
    - }
    -
    -}
    -
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/AddModuleDependenciesCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/AddModuleDependenciesCommand.java
    deleted file mode 100644
    index 3c6638f50..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/AddModuleDependenciesCommand.java
    +++ /dev/null
    @@ -1,292 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2003, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060324 122799 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060503 138478 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060510 141115 rsinha@ca.ibm.com - Rupam Kuehner
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample;
    -
    -import java.io.IOException;
    -import java.util.List;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.NullProgressMonitor;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jdt.core.IClasspathEntry;
    -import org.eclipse.jdt.core.IJavaProject;
    -import org.eclipse.jdt.core.JavaCore;
    -import org.eclipse.jdt.core.JavaModelException;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveManifest;
    -import org.eclipse.jst.j2ee.internal.plugin.IJ2EEModuleConstants;
    -import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
    -import org.eclipse.jst.j2ee.project.facet.IJavaProjectMigrationDataModelProperties;
    -import org.eclipse.jst.j2ee.project.facet.JavaProjectMigrationDataModelProvider;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.consumption.command.common.AddModuleToServerCommand;
    -import org.eclipse.jst.ws.internal.consumption.command.common.AssociateModuleWithEARCommand;
    -import org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand;
    -import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.StartServerCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.common.ValidationUtils;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.componentcore.ComponentCore;
    -import org.eclipse.wst.common.componentcore.datamodel.properties.ICreateReferenceComponentsDataModelProperties;
    -import org.eclipse.wst.common.componentcore.internal.operation.CreateReferenceComponentsDataModelProvider;
    -import org.eclipse.wst.common.componentcore.internal.util.ComponentUtilities;
    -import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
    -import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
    -import org.eclipse.wst.ws.internal.wsrt.TestInfo;
    -
    -public class AddModuleDependenciesCommand extends AbstractDataModelOperation
    -{
    -
    - private TestInfo testInfo;
    -
    - private IProject sampleIProject;
    - private IProject clientIProject;
    - private IProject sampleEARIProject;
    - private String sampleEARProject;
    -
    - public AddModuleDependenciesCommand(TestInfo testInfo)
    - {
    - this.testInfo = testInfo;
    - }
    -
    - /**
    - * Execute WebServerDefaultingTask Set the default server name and id given a
    - * deployable.
    - */
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    - //1. Create a Web project for the sample if one does not already exist.
    - sampleIProject = ProjectUtilities.getProject(testInfo.getGenerationProject());
    - boolean createdSampleProject = false;
    - if (!sampleIProject.exists())
    - {
    - CreateFacetedProjectCommand command = new CreateFacetedProjectCommand();
    - command.setProjectName(testInfo.getGenerationProject());
    - command.setTemplateId(IJ2EEModuleConstants.JST_WEB_TEMPLATE);
    - // RequiredFacetVersions is set to an empty array because we don't need to impose any additional constraints.
    - // We just want to create the highest level of Web project that the selected server supports.
    - command.setRequiredFacetVersions(new RequiredFacetVersion[0]);
    - command.setServerFactoryId(testInfo.getClientServerTypeID());
    - command.setServerInstanceId(testInfo.getClientExistingServer().getId());
    - IStatus status = command.execute( monitor, adaptable );
    - if (status.getSeverity() == Status.ERROR)
    - {
    - env.getStatusHandler().reportError( status );
    - return status;
    - }
    - createdSampleProject = true;
    - }
    -
    - //2. If the selected server requires an EAR and no EAR name
    - //has been provided, choose an EAR name and create it if it doesn't exist.
    - ValidationUtils vu = new ValidationUtils();
    - boolean serverNeedsEAR = vu.serverNeedsEAR(testInfo.getClientServerTypeID());
    - if (serverNeedsEAR) {
    - if (testInfo.getClientEARProject() == null
    - || testInfo.getClientEARProject().length() == 0) {
    - sampleEARProject = testInfo.getGenerationProject() + DEFAULT_SAMPLE_EAR_PROJECT_EXT;
    - } else {
    - sampleEARProject = testInfo.getClientEARProject();
    - }
    - sampleEARIProject = ProjectUtilities.getProject(sampleEARProject);
    - if (sampleEARIProject == null || !sampleEARIProject.exists())
    - {
    - CreateFacetedProjectCommand command = new CreateFacetedProjectCommand();
    - command.setProjectName(sampleEARProject);
    - command.setTemplateId(IJ2EEModuleConstants.JST_EAR_TEMPLATE);
    - // RequiredFacetVersions is set to an empty array because we don't need to impose any additional constraints.
    - // We just want to create the highest level of Web project that the selected server supports.
    - command.setRequiredFacetVersions(new RequiredFacetVersion[0]);
    - command.setServerFactoryId(testInfo.getClientServerTypeID());
    - command.setServerInstanceId(testInfo.getClientExistingServer().getId());
    - IStatus status = command.execute( monitor, adaptable );
    - if (status.getSeverity() == Status.ERROR)
    - {
    - env.getStatusHandler().reportError( status );
    - return status;
    - }
    - }
    -
    - }
    -
    - // 3. If the selected server requires an EAR, and the sample project has
    - // not already been added to the EAR, add it.
    - if (serverNeedsEAR)
    - {
    - AssociateModuleWithEARCommand associateCommand = new AssociateModuleWithEARCommand();
    - associateCommand.setProject(testInfo.getGenerationProject());
    - associateCommand.setEARProject(sampleEARProject);
    - associateCommand.setEar(sampleEARProject);
    - associateCommand.setEnvironment( env );
    - IStatus status = associateCommand.execute( monitor, null );
    - if (status.getSeverity()==Status.ERROR)
    - {
    - env.getStatusHandler().reportError(status);
    - }
    - }
    -
    -
    -
    -
    - // 4. If server requires an EAR, and the sample EAR has not already been
    - // added to the server, add it.
    - // If no EAR is required, and sample project has not been added to the server add it.
    - if (serverNeedsEAR)
    - {
    - //Add sampleEARIProject to the server if needed.
    - AddModuleToServerCommand modToServer = new AddModuleToServerCommand();
    - modToServer.setModule(sampleEARProject);
    - modToServer.setProject(sampleEARProject);
    - modToServer.setServerInstanceId(testInfo.getClientExistingServer().getId());
    - modToServer.setEnvironment( env );
    - IStatus status = modToServer.execute( monitor, null );
    - if (status.getSeverity()==Status.ERROR)
    - {
    - env.getStatusHandler().reportError(status);
    - }
    - }
    - else
    - {
    - //add sampleIProject directly to the server if needed.
    - AddModuleToServerCommand addToServer = new AddModuleToServerCommand();
    - addToServer.setModule(testInfo.getGenerationProject());
    - addToServer.setProject(testInfo.getGenerationProject());
    - addToServer.setServerInstanceId(testInfo.getClientExistingServer().getId());
    - addToServer.setEnvironment( env );
    - IStatus status = addToServer.execute( monitor, null );
    - if (status.getSeverity()==Status.ERROR)
    - {
    - env.getStatusHandler().reportError(status);
    - }
    - }
    -
    - //5. Call StartServerCommand if this command had to create the sample project.
    - if (createdSampleProject)
    - {
    - StartServerCommand startServer = new StartServerCommand(true);
    - startServer.setServerInstanceId(testInfo.getClientExistingServer().getId());
    - startServer.setEnvironment( env );
    - IStatus status = startServer.execute( monitor, null );
    - if (status.getSeverity()==Status.ERROR)
    - {
    - env.getStatusHandler().reportError(status);
    - }
    - }
    -
    -
    - //6. Establish all necessary dependencies between client project, sample project, and EAR
    -
    - clientIProject = ProjectUtilities.getProject(testInfo.getClientProject());
    -
    - if (clientIProject != null && !J2EEUtils.isWebComponent(clientIProject)) {
    - if (J2EEUtils.isJavaComponent(clientIProject)) {
    - addJavaProjectAsUtilityJar(clientIProject, sampleEARIProject, monitor);
    - addJavaProjectAsUtilityJar(clientIProject, sampleIProject,monitor);
    - }
    -
    - try
    - {
    - String uri = clientIProject.getName() + ".jar";
    - addJAROrModuleDependency(sampleIProject, uri);
    - } catch (CoreException ce)
    - {
    - String errorMessage = NLS.bind(ConsumptionUIMessages.MSG_ERROR_MODULE_DEPENDENCY, new String[]{sampleIProject.getName(), clientIProject.getName()});
    - IStatus errorStatus = StatusUtils.errorStatus(errorMessage);
    - env.getStatusHandler().reportError(errorStatus);
    - } catch (IOException ioe)
    - {
    - String errorMessage = NLS.bind(ConsumptionUIMessages.MSG_ERROR_MODULE_DEPENDENCY, new String[]{sampleIProject.getName(), clientIProject.getName()});
    - IStatus errorStatus = StatusUtils.errorStatus(errorMessage);
    - env.getStatusHandler().reportError(errorStatus);
    - }
    -
    - try {
    - addBuildPath(sampleIProject, clientIProject);
    - } catch (JavaModelException jme) {
    - // Do nothing in this catch block. The worst that
    - // will happen is that the sample Web project
    - // will show some compile errors. The sample will
    - // likely still launch successfully on the server
    - // and the user will be able to use it.
    - }
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    - private void addJAROrModuleDependency(IProject project, String uri) throws IOException, CoreException
    - {
    - if (J2EEUtils.isWebComponent(project))
    - {
    - ArchiveManifest manifest = J2EEProjectUtilities.readManifest(project);
    - manifest.mergeClassPath(new String[]{uri});
    - J2EEProjectUtilities.writeManifest(project, manifest);
    - }
    - }
    -
    - private void addJavaProjectAsUtilityJar(IProject javaProject, IProject earProject,IProgressMonitor monitor)
    - {
    - try {
    - IDataModel migrationdm = DataModelFactory.createDataModel(new JavaProjectMigrationDataModelProvider());
    - migrationdm.setProperty(IJavaProjectMigrationDataModelProperties.PROJECT_NAME, javaProject.getName());
    - migrationdm.getDefaultOperation().execute(monitor, null);
    -
    -
    - IDataModel refdm = DataModelFactory.createDataModel(new CreateReferenceComponentsDataModelProvider());
    - List targetCompList = (List) refdm.getProperty(ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENT_LIST);
    -
    - IVirtualComponent targetcomponent = ComponentCore.createComponent(javaProject);
    - IVirtualComponent sourcecomponent = ComponentUtilities.getComponent(earProject.getName());
    - targetCompList.add(targetcomponent);
    -
    - refdm.setProperty(ICreateReferenceComponentsDataModelProperties.SOURCE_COMPONENT,sourcecomponent );
    - refdm.setProperty(ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENT_LIST, targetCompList);
    - refdm.setProperty(ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENTS_DEPLOY_PATH, "/WEB-INF/lib");
    - refdm.getDefaultOperation().execute(monitor, null);
    - }catch (Exception e) {
    -
    - }
    - }
    -
    -
    - private void addBuildPath(IProject referencingProject, IProject referencedProject) throws JavaModelException
    - {
    - IJavaProject javaProject = JavaCore.create(referencingProject);
    - if (javaProject != null)
    - {
    - IClasspathEntry[] oldCp = javaProject.getRawClasspath();
    - IClasspathEntry[] newCp = new IClasspathEntry[oldCp.length + 1];
    - for (int i = 0; i < oldCp.length; i++)
    - newCp[i] = oldCp[i];
    - newCp[newCp.length - 1] = JavaCore.newProjectEntry(referencedProject.getFullPath());
    - javaProject.setRawClasspath(newCp, new NullProgressMonitor());
    - }
    - }
    -
    -
    - public static final String DEFAULT_SAMPLE_EAR_PROJECT_EXT = "EAR";
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCGenerateCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCGenerateCommand.java
    deleted file mode 100644
    index e7d91d9aa..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCGenerateCommand.java
    +++ /dev/null
    @@ -1,172 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample;
    -
    -import org.eclipse.core.resources.IFile;
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IWorkspaceRoot;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Path;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.InputFileGenerator;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.MethodFileGenerator;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.ResultFileGenerator;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.TestClientFileGenerator;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.command.GeneratePageCommand;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.command.JavaToModelCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.CopyWebServiceUtilsJarCommand;
    -import org.eclipse.wst.command.internal.env.ui.eclipse.EnvironmentUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.datamodel.Model;
    -import org.eclipse.wst.ws.internal.wsrt.TestInfo;
    -
    -public class GSTCGenerateCommand extends AbstractDataModelOperation
    -{
    -
    - public static String INPUT = "Input.jsp";
    - public static String TEST_CLIENT = "TestClient.jsp";
    - public static String RESULT = "Result.jsp";
    - public static String METHOD = "Method.jsp";
    -
    - private TestInfo testInfo;
    - private Model proxyModel;
    - private String jspfolder;
    -
    - public GSTCGenerateCommand(TestInfo testInfo){
    - this.testInfo = testInfo;
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    - IStatus status = Status.OK_STATUS;
    - CopyWebServiceUtilsJarCommand copy = new CopyWebServiceUtilsJarCommand();
    - copy.setSampleProject(testInfo.getGenerationProject());
    - copy.setEnvironment( env );
    - status = copy.execute( monitor, null);
    - if (status.getSeverity() == Status.ERROR) return status;
    - setJSPFolder();
    - status = createModel(env, monitor);
    - if (status.getSeverity() == Status.ERROR) return status;
    - status = generatePages(env);
    - if (status.getSeverity() == Status.ERROR) return status;
    - return status;
    - }
    -
    - private void setJSPFolder(){
    - //if the client is not a webcomponent then the
    - //sample must have been created, we must now factor in
    - //flexible projects
    -
    - IProject clientIProject = ProjectUtilities.getProject(testInfo.getClientProject());
    - if (clientIProject != null && !J2EEUtils.isWebComponent(clientIProject)){
    - IProject project = ProjectUtilities.getProject(testInfo.getGenerationProject());
    - IPath path = J2EEUtils.getWebContentPath(project);
    - int index = testInfo.getJspFolder().lastIndexOf("/");
    - String jsp = testInfo.getJspFolder().substring(index + 1);
    - StringBuffer sb = new StringBuffer();
    - sb.append("/").append(path.toString()).append("/").append(jsp);
    - jspfolder = sb.toString();
    - }
    - else
    - jspfolder = testInfo.getJspFolder();
    -
    -
    - }
    -
    - //create the model from the resource
    - private IStatus createModel(IEnvironment env, IProgressMonitor monitor ) {
    - JavaToModelCommand jtmc = new JavaToModelCommand();
    - jtmc.setMethods(testInfo.getMethods());
    - jtmc.setClientProject(testInfo.getClientProject());
    - jtmc.setProxyBean(testInfo.getProxyBean());
    - jtmc.setEnvironment( env );
    - IStatus status = jtmc.execute( monitor, null);
    - if (status.getSeverity() == Status.ERROR) return status;
    - proxyModel = jtmc.getJavaDataModel();
    - return status;
    - }
    -
    - /**
    - * Generate the four jsps that make up this
    - * sample app.
    - */
    - private IStatus generatePages(IEnvironment env)
    - {
    - IStatus status = Status.OK_STATUS;
    - IPath fDestinationFolderPath = new Path(jspfolder);
    - fDestinationFolderPath = fDestinationFolderPath.makeAbsolute();
    - IWorkspaceRoot fWorkspace = ResourcesPlugin.getWorkspace().getRoot();
    -
    - IPath pathTest = fDestinationFolderPath.append(TEST_CLIENT);
    - IFile fileTest = fWorkspace.getFile(pathTest);
    - GeneratePageCommand gpcTest = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
    - new TestClientFileGenerator(INPUT,METHOD,RESULT),fileTest);
    - //gpcTest.setStatusMonitor(getStatusMonitor());
    - gpcTest.setEnvironment( env );
    - status = gpcTest.execute( null, null );
    - if (status.getSeverity() == Status.ERROR )
    - return status;
    -
    -
    - //input codegen
    - IPath pathInput = fDestinationFolderPath.append(INPUT);
    - IFile fileInput = fWorkspace.getFile(pathInput);
    - InputFileGenerator inputGenerator = new InputFileGenerator(RESULT);
    - GeneratePageCommand gpcInput = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
    - inputGenerator,fileInput);
    - //gpcInput.setStatusMonitor(getStatusMonitor());
    - gpcInput.setEnvironment( env );
    - status = gpcInput.execute( null, null );
    - if (status.getSeverity() == Status.ERROR )
    - return status;
    -
    - //method codegen
    - IPath pathMethod = fDestinationFolderPath.append(METHOD);
    - IFile fileMethod = fWorkspace.getFile(pathMethod);
    - MethodFileGenerator methodGenerator = new MethodFileGenerator(INPUT);
    - methodGenerator.setClientFolderPath(jspfolder);
    - GeneratePageCommand gpcMethod = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
    - methodGenerator,fileMethod);
    - //gpcMethod.setStatusMonitor(getStatusMonitor());
    - gpcMethod.setEnvironment( env );
    - status = gpcMethod.execute( null, null );
    - if (status.getSeverity() == Status.ERROR )
    - return status;
    -
    -
    - //result codegen
    - IPath pathResult = fDestinationFolderPath.append(RESULT);
    - IFile fileResult = fWorkspace.getFile(pathResult);
    - ResultFileGenerator rfg = new ResultFileGenerator();
    - rfg.setClientFolderPath(jspfolder);
    - rfg.setSetEndpointMethod(testInfo.getSetEndpointMethod());
    - GeneratePageCommand gpcResult = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
    - rfg,fileResult);
    - gpcResult.setEnvironment( env );
    - status = gpcResult.execute( null, null );
    -
    - return status;
    - }
    -
    -
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCLaunchCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCLaunchCommand.java
    deleted file mode 100644
    index 15bfc8cf3..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCLaunchCommand.java
    +++ /dev/null
    @@ -1,191 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060418 134322 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060424 124368 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample;
    -
    -import java.io.IOException;
    -import java.io.InputStream;
    -import java.net.MalformedURLException;
    -import java.net.URL;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Path;
    -import org.eclipse.core.runtime.Platform;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.common.ServerUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.command.StartServerCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.ui.PartInitException;
    -import org.eclipse.ui.browser.IWebBrowser;
    -import org.eclipse.ui.browser.IWorkbenchBrowserSupport;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.environment.ILog;
    -import org.eclipse.wst.common.environment.StatusException;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.wsrt.TestInfo;
    -
    -public class GSTCLaunchCommand extends AbstractDataModelOperation
    -{
    -
    - public static String INPUT = "Input.jsp";
    - public static String TEST_CLIENT = "TestClient.jsp";
    - public static String RESULT = "Result.jsp";
    - public static String METHOD = "Method.jsp";
    -
    - private TestInfo testInfo;
    - private String jspfolder;
    -
    - public GSTCLaunchCommand(TestInfo testInfo){
    - this.testInfo = testInfo;
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    -
    - setJSPFolder();
    -
    - return launchSample(env, monitor);
    - }
    - private void setJSPFolder(){
    - //if the client is not a webcomponent then the
    - //sample must have been created, we must now factor in
    - //flexible projects
    -
    - IProject clientIProject = ProjectUtilities.getProject(testInfo.getClientProject());
    - if (clientIProject != null && !J2EEUtils.isWebComponent(clientIProject)){
    - IProject project = ProjectUtilities.getProject(testInfo.getGenerationProject());
    - IPath path = J2EEUtils.getWebContentPath(project);
    - int index = testInfo.getJspFolder().lastIndexOf("/");
    - String jsp = testInfo.getJspFolder().substring(index + 1);
    - StringBuffer sb = new StringBuffer();
    - sb.append("/").append(path.toString()).append("/").append(jsp);
    - jspfolder = sb.toString();
    - }
    - else
    - jspfolder = testInfo.getJspFolder();
    -
    -
    - }
    -
    - private IStatus launchSample (IEnvironment env, IProgressMonitor monitor ) {
    - IStatus status = Status.OK_STATUS;
    - IPath fDestinationFolderPath = new Path(jspfolder);
    - fDestinationFolderPath = fDestinationFolderPath.makeAbsolute();
    - try
    - {
    - Platform.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, null);
    - }
    - catch( InterruptedException exc )
    - {
    - // UISynchronizer.syncExec seems to interrupt the UI tread when the autobuilder is done. Not sure, why.
    - // I'm assuming here that the autobuilder has actually completed its stuff.
    - }
    -
    - StartServerCommand serverCommand = new StartServerCommand( true );
    - serverCommand.setServerInstanceId( testInfo.getClientExistingServer().getId() );
    - serverCommand.setEnvironment( env );
    -
    - status = serverCommand.execute(monitor, null);
    - if (status.getSeverity() == Status.ERROR) return status;
    -
    - IProject sampleProject = ProjectUtilities.getProject(testInfo.getGenerationProject());
    - String newPath = ServerUtils.getWebComponentURL(sampleProject, testInfo.getClientServerTypeID(),testInfo.getClientExistingServer());
    - int count = J2EEUtils.getWebContentPath(sampleProject).segmentCount();
    -
    - newPath = newPath + "/" + fDestinationFolderPath.removeFirstSegments(count);
    - StringBuffer urlString = new StringBuffer( newPath + "/" + TEST_CLIENT );
    - if (testInfo.getEndpoint() != null && !testInfo.getEndpoint().isEmpty())
    - {
    - urlString.append("?endpoint=");
    - urlString.append(testInfo.getEndpoint().get(0).toString());
    - }
    -
    - try{
    - URL url;
    - url = new URL(urlString.toString());
    -
    - InputStream resultStream = null;
    - InputStream methodStream = null;
    - InputStream inputStream = null;
    - InputStream clientStream = null;
    -
    - for( int retries = 0; retries < 10; retries++ )
    - {
    - try
    - {
    - // Test the URLs
    -
    - resultStream = new URL(newPath + "/" + RESULT).openStream();
    - methodStream = new URL(newPath + "/" + METHOD).openStream();
    - inputStream = new URL(newPath + "/" + INPUT).openStream();
    - clientStream = new URL(newPath + "/" + TEST_CLIENT).openStream();
    -
    - // Looks good, exit loop
    - break;
    - }
    - catch( IOException ioe )
    - {
    - try
    - {
    - Thread.sleep(1000);
    - }
    - catch (InterruptedException ie) {}
    - }
    - finally
    - {
    - try
    - {
    - if( resultStream != null ) resultStream.close();
    - if( methodStream != null ) methodStream.close();
    - if( inputStream != null ) inputStream.close();
    - if( clientStream != null ) clientStream.close();
    - }
    - catch( IOException exc )
    - {
    - }
    - }
    - }
    -
    - IWorkbenchBrowserSupport browserSupport = WebServiceConsumptionUIPlugin.getInstance().getWorkbench().getBrowserSupport();
    - IWebBrowser browser = browserSupport.createBrowser(IWorkbenchBrowserSupport.LOCATION_BAR, null, null, null);
    - browser.openURL(url);
    - return status;
    - }catch(PartInitException exc){
    - env.getLog().log(ILog.ERROR, 5048, this, "launchSample", exc);
    - status = StatusUtils.errorStatus(exc.getMessage(), exc);
    - env.getStatusHandler().reportError(status);
    - return status;
    - }catch(MalformedURLException exc){
    - env.getLog().log(ILog.WARNING, 5048, this, "launchSample", exc);
    - status = StatusUtils.warningStatus( ConsumptionUIMessages.MSG_ERROR_MALFORMED_URL, exc );
    - try {
    - env.getStatusHandler().report(status);
    - } catch (StatusException e) {
    - status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_MALFORMED_URL, e );
    - }
    - return status;
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCWebServiceTester.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCWebServiceTester.java
    deleted file mode 100644
    index ea068568d..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/GSTCWebServiceTester.java
    +++ /dev/null
    @@ -1,41 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060608 145529 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample;
    -
    -import java.util.Vector;
    -
    -import org.eclipse.wst.command.internal.env.core.ICommandFactory;
    -import org.eclipse.wst.command.internal.env.core.SimpleCommandFactory;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceTester;
    -import org.eclipse.wst.ws.internal.wsrt.TestInfo;
    -
    -public class GSTCWebServiceTester implements IWebServiceTester {
    -
    - public ICommandFactory generate(TestInfo testInfo){
    - Vector commands = new Vector();
    - commands.add(new AddModuleDependenciesCommand(testInfo));
    - commands.add(new GSTCGenerateCommand(testInfo));
    - return new SimpleCommandFactory(commands);
    - }
    -
    - public ICommandFactory launch(TestInfo testInfo){
    - Vector commands = new Vector();
    - if (testInfo.getRunTestClient()) {
    - commands.add(new GSTCLaunchCommand(testInfo));
    - }
    - return new SimpleCommandFactory(commands);
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WSSampleFinishCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WSSampleFinishCommand.java
    deleted file mode 100644
    index 9a7bc7e0d..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WSSampleFinishCommand.java
    +++ /dev/null
    @@ -1,322 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060424 124368 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample;
    -
    -import java.io.IOException;
    -import java.net.MalformedURLException;
    -import java.net.URL;
    -import java.util.List;
    -
    -import org.eclipse.core.resources.IFile;
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IWorkspaceRoot;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Path;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.command.common.StartProjectCommand;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.InputFileGenerator;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.MethodFileGenerator;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.ResultFileGenerator;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.TestClientFileGenerator;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.command.GeneratePageCommand;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.command.JavaToModelCommand;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.jst.ws.internal.consumption.ui.widgets.test.CopyWebServiceUtilsJarCommand;
    -import org.eclipse.jst.ws.internal.ext.test.JavaProxyTestCommand;
    -import org.eclipse.ui.PartInitException;
    -import org.eclipse.ui.browser.IWebBrowser;
    -import org.eclipse.ui.browser.IWorkbenchBrowserSupport;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
    -import org.eclipse.wst.command.internal.env.ui.eclipse.EnvironmentUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.environment.ILog;
    -import org.eclipse.wst.common.environment.StatusException;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.ws.internal.datamodel.Model;
    -
    -public class WSSampleFinishCommand extends AbstractDataModelOperation implements JavaProxyTestCommand
    -{
    -
    - public static String INPUT = "Input.jsp";
    - public static String TEST_CLIENT = "TestClient.jsp";
    - public static String RESULT = "Result.jsp";
    - public static String METHOD = "Method.jsp";
    -
    - private Model proxyModel;
    - private String sampleServerTypeID;
    - private IServer sampleExistingServer;
    -
    -
    - private String clientProject;
    - private String jspFolder;
    - private boolean runClientTest;
    - private String sampleProject;
    - private BooleanSelection[] methods;
    - private String proxyBean;
    - private String setEndpointMethod;
    - private List endpoints;
    -
    - /**
    - * Constructs a new JavaBeanToSampleActiveTask object with the given label and description.
    - */
    - public WSSampleFinishCommand ()
    - {
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    -
    - IStatus status = Status.OK_STATUS;
    - //setters and getters to be removed
    - CopyWebServiceUtilsJarCommand copy = new CopyWebServiceUtilsJarCommand();
    - copy.setSampleProject(sampleProject);
    - copy.setEnvironment( env );
    - status = copy.execute( monitor, null );
    - if (status.getSeverity() == Status.ERROR) return status;
    - status = createModel(env, monitor );
    - if (status.getSeverity() == Status.ERROR) return status;
    - status = generatePages(env, monitor );
    - if (status.getSeverity() == Status.ERROR) return status;
    - //if (!isSuccessful()) return;
    - status = launchSample(env, monitor);
    - return status;
    - }
    -
    -
    - /**
    - * Generate the four jsps that make up this
    - * sample app.
    - */
    - protected IStatus generatePages(IEnvironment env, IProgressMonitor monitor )
    - {
    - IStatus status = Status.OK_STATUS;
    - IPath fDestinationFolderPath = new Path(jspFolder);
    - fDestinationFolderPath = fDestinationFolderPath.makeAbsolute();
    - IWorkspaceRoot fWorkspace = ResourcesPlugin.getWorkspace().getRoot();
    -
    - IPath pathTest = fDestinationFolderPath.append(TEST_CLIENT);
    - IFile fileTest = fWorkspace.getFile(pathTest);
    - GeneratePageCommand gpcTest = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
    - new TestClientFileGenerator(INPUT,METHOD,RESULT),fileTest);
    - //gpcTest.setStatusMonitor(getStatusMonitor());
    - gpcTest.setEnvironment( env );
    - status = gpcTest.execute( monitor, null );
    - if (status.getSeverity() == Status.ERROR )
    - return status;
    -
    -
    - //input codegen
    - IPath pathInput = fDestinationFolderPath.append(INPUT);
    - IFile fileInput = fWorkspace.getFile(pathInput);
    - InputFileGenerator inputGenerator = new InputFileGenerator(RESULT);
    - GeneratePageCommand gpcInput = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
    - inputGenerator,fileInput);
    - //gpcInput.setStatusMonitor(getStatusMonitor());
    - gpcInput.setEnvironment( env );
    - status = gpcInput.execute( monitor, null );
    - if (status.getSeverity() == Status.ERROR )
    - return status;
    -
    - //method codegen
    - IPath pathMethod = fDestinationFolderPath.append(METHOD);
    - IFile fileMethod = fWorkspace.getFile(pathMethod);
    - MethodFileGenerator methodGenerator = new MethodFileGenerator(INPUT);
    - methodGenerator.setClientFolderPath(jspFolder);
    - GeneratePageCommand gpcMethod = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
    - methodGenerator,fileMethod);
    - //gpcMethod.setStatusMonitor(getStatusMonitor());
    - gpcMethod.setEnvironment( env );
    - status = gpcMethod.execute( monitor, null );
    - if (status.getSeverity() == Status.ERROR )
    - return status;
    -
    -
    - //result codegen
    - IPath pathResult = fDestinationFolderPath.append(RESULT);
    - IFile fileResult = fWorkspace.getFile(pathResult);
    - ResultFileGenerator rfg = new ResultFileGenerator();
    - rfg.setClientFolderPath(jspFolder);
    - rfg.setSetEndpointMethod(setEndpointMethod);
    - GeneratePageCommand gpcResult = new GeneratePageCommand(EnvironmentUtils.getResourceContext(env), proxyModel,
    - rfg,fileResult);
    - //gpcResult.setStatusMonitor(getStatusMonitor());
    - gpcResult.setEnvironment( env );
    - status = gpcResult.execute( monitor, null );
    -
    - return status;
    - }
    -
    -
    - protected IStatus launchSample (IEnvironment env, IProgressMonitor monitor ) {
    -
    - IStatus status = Status.OK_STATUS;
    - if (!runClientTest) return status;
    -
    -
    - IPath fDestinationFolderPath = new Path(jspFolder);
    - fDestinationFolderPath = fDestinationFolderPath.makeAbsolute();
    -
    - StartProjectCommand spc = new StartProjectCommand(false );
    - spc.setServiceServerTypeID(sampleServerTypeID);
    - spc.setSampleExistingServer(sampleExistingServer);
    - IProject project = (IProject) ResourceUtils.findResource(sampleProject);
    - spc.setSampleProject(project);
    - spc.setIsWebProjectStartupRequested(true);
    - spc.setEnvironment( env );
    -
    - status = spc.execute( monitor, null );
    - if (status.getSeverity() == Status.ERROR) return status;
    -
    - IPath newPath = new Path(ResourceUtils.getWebProjectURL(ResourceUtils.getProjectOf(fDestinationFolderPath),sampleServerTypeID,sampleExistingServer));
    - newPath = newPath.append(fDestinationFolderPath.removeFirstSegments(2).makeAbsolute());
    - StringBuffer urlString = new StringBuffer(newPath.append(TEST_CLIENT).toString());
    - if (endpoints != null && !endpoints.isEmpty())
    - {
    - urlString.append("?endpoint=");
    - urlString.append(endpoints.get(0).toString());
    - }
    -
    - try{
    - URL url;
    - url = new URL(urlString.toString());
    -
    - for( int retries = 0; retries < 10; retries++ )
    - {
    - try
    - {
    - // Test the URLs
    - (new URL(newPath.append(RESULT).toString())).openStream();
    - (new URL(newPath.append(METHOD).toString())).openStream();
    - (new URL(newPath.append(INPUT).toString())).openStream();
    - (new URL(newPath.append(TEST_CLIENT).toString())).openStream();
    - // Looks good, exit loop
    - break;
    - }
    - catch( IOException ioe )
    - {
    - try
    - {
    - Thread.sleep(1000);
    - }
    - catch (InterruptedException ie) {}
    - }
    - }
    -
    - IWorkbenchBrowserSupport browserSupport = WebServiceConsumptionUIPlugin.getInstance().getWorkbench().getBrowserSupport();
    - IWebBrowser browser = browserSupport.createBrowser(IWorkbenchBrowserSupport.LOCATION_BAR | IWorkbenchBrowserSupport.NAVIGATION_BAR, null, null, null);
    - browser.openURL(url);
    - return status;
    - }catch(PartInitException exc){
    - //TODO: change error message
    - env.getLog().log(ILog.WARNING, 5048, this, "launchSample", exc);
    - status = StatusUtils.warningStatus( ConsumptionUIMessages.MSG_ERROR_MALFORMED_URL, exc );
    - try {
    - env.getStatusHandler().report(status);
    - } catch (StatusException e) {
    - status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_MALFORMED_URL, e );
    - }
    - return status;
    - }catch(MalformedURLException exc){
    - env.getLog().log(ILog.WARNING, 5048, this, "launchSample", exc);
    - status = StatusUtils.warningStatus( ConsumptionUIMessages.MSG_ERROR_MALFORMED_URL, exc );
    - try {
    - env.getStatusHandler().report(status);
    - } catch (StatusException e) {
    - status = StatusUtils.errorStatus( ConsumptionUIMessages.MSG_ERROR_MALFORMED_URL, e );
    - }
    - return status;
    - }
    - }
    -
    -
    -
    - protected IStatus createModel(IEnvironment env, IProgressMonitor monitor ) {
    -
    - //create the model from the resource
    - JavaToModelCommand jtmc = new JavaToModelCommand();
    - jtmc.setMethods(methods);
    - jtmc.setClientProject(clientProject);
    - jtmc.setProxyBean(proxyBean);
    - jtmc.setEnvironment( env );
    - //jtmc.setStatusMonitor(getStatusMonitor());
    - IStatus status = jtmc.execute( monitor, null);
    - if (status.getSeverity() == Status.ERROR) return status;
    -
    - proxyModel = jtmc.getJavaDataModel();
    - return status;
    - }
    -
    - public void setServerTypeID(String sampleServerTypeID)
    - {
    - this.sampleServerTypeID = sampleServerTypeID;
    - }
    -
    - public void setExistingServer(IServer sampleExistingServer)
    - {
    - this.sampleExistingServer = sampleExistingServer;
    - }
    -
    - public void setJspFolder(String jspFolder)
    - {
    - this.jspFolder = jspFolder;
    - }
    -
    - public void setRunClientTest(boolean runClientTest)
    - {
    - this.runClientTest = runClientTest;
    - }
    -
    - public void setSampleProject(String sampleProject)
    - {
    - this.sampleProject = sampleProject;
    - }
    -
    - public void setClientProject(String clientProject)
    - {
    - this.clientProject = clientProject;
    - }
    -
    - public void setMethods(BooleanSelection[] methods)
    - {
    - this.methods = methods;
    - }
    -
    - public void setProxyBean(String proxyBean)
    - {
    - this.proxyBean = proxyBean;
    - }
    -
    - /**
    - * @param setEndpointMethod The setEndpointMethod to set.
    - */
    - public void setSetEndpointMethod(String setEndpointMethod)
    - {
    - this.setEndpointMethod = setEndpointMethod;
    - }
    -
    - public void setEndpoint(List endpoints)
    - {
    - this.endpoints = endpoints;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WebServiceWSSampleExecutable.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WebServiceWSSampleExecutable.java
    deleted file mode 100644
    index 59f68f977..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/test/wssample/WebServiceWSSampleExecutable.java
    +++ /dev/null
    @@ -1,33 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample;
    -
    -import org.eclipse.jst.ws.internal.ext.WebServiceExecutable;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -/**
    -* This is the interface for objects that represent a kind of
    -* Web Service-Server-Runtime artifact. The primary purpose of a WebServiceServerRuntimeType
    -* object is to manufacture the wizard pages that support the type, server, and runtime configuration.
    -*/
    -public class WebServiceWSSampleExecutable implements WebServiceExecutable
    -{
    -
    -
    - public AbstractDataModelOperation getFinishCommand()
    - {
    - return new WSSampleFinishCommand();
    - }
    -
    -}
    -
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PrivateUDDIRegistryTypeRegistry.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PrivateUDDIRegistryTypeRegistry.java
    deleted file mode 100644
    index e19b750e6..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PrivateUDDIRegistryTypeRegistry.java
    +++ /dev/null
    @@ -1,59 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wizard;
    -
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IConfigurationElement;
    -import org.eclipse.core.runtime.IExtensionRegistry;
    -import org.eclipse.core.runtime.Platform;
    -import org.eclipse.jst.ws.internal.ui.uddi.PrivateUDDIRegistryType;
    -
    -
    -public class PrivateUDDIRegistryTypeRegistry
    -{
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    - private static PrivateUDDIRegistryTypeRegistry instance_;
    -
    - private PrivateUDDIRegistryTypeRegistry() {
    - }
    -
    - /**
    - * Returns a singleton instance of this class.
    - * @return A singleton WebServiceClientTypeRegistry object.
    - */
    - public static PrivateUDDIRegistryTypeRegistry getInstance() {
    - if (instance_ == null) {
    - instance_ = new PrivateUDDIRegistryTypeRegistry();
    - }
    -
    - return instance_;
    - }
    -
    - public PrivateUDDIRegistryType getPrivateUDDIRegistryType() {
    - IExtensionRegistry reg = Platform.getExtensionRegistry();
    - IConfigurationElement[] config = reg.getConfigurationElementsFor(
    - "org.eclipse.jst.ws.consumption.ui",
    - "privateUDDIRegistryType");
    -
    - try {
    - Object configElement = ((config.length > 0) ? config[0].createExecutableExtension("class") : null);
    - if(configElement != null && configElement instanceof PrivateUDDIRegistryType)
    - return (PrivateUDDIRegistryType)configElement;
    - else
    - return null;
    - }
    - catch (CoreException e) {
    - return null;
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PublicUDDIRegistryTypeRegistry.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PublicUDDIRegistryTypeRegistry.java
    deleted file mode 100644
    index 0070383df..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/PublicUDDIRegistryTypeRegistry.java
    +++ /dev/null
    @@ -1,96 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2002, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wizard;
    -
    -import java.util.Vector;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IConfigurationElement;
    -import org.eclipse.core.runtime.IExtensionRegistry;
    -import org.eclipse.core.runtime.Platform;
    -import org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi.PublicUDDIRegistryType;
    -
    -
    -public class PublicUDDIRegistryTypeRegistry
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2002.";
    -
    - private static PublicUDDIRegistryTypeRegistry instance_;
    - private Vector types_;
    - private Vector configElements_;
    -
    - private PublicUDDIRegistryTypeRegistry() {
    - types_ = new Vector();
    - configElements_ = new Vector();
    -
    - init();
    - }
    -
    - /**
    - * Returns a singleton instance of this class.
    - * @return A singleton WebServiceClientTypeRegistry object.
    - */
    - public static PublicUDDIRegistryTypeRegistry getInstance() {
    - if (instance_ == null) {
    - instance_ = new PublicUDDIRegistryTypeRegistry();
    - }
    -
    - return instance_;
    - }
    -
    - public void init() {
    - IExtensionRegistry reg = Platform.getExtensionRegistry();
    - IConfigurationElement[] config = reg.getConfigurationElementsFor(
    - "org.eclipse.jst.ws.consumption.ui",
    - "publicUDDIRegistryType");
    -
    - for (int i = 0; i < config.length; i++) {
    - try {
    - Object configElement = config[i].createExecutableExtension("class");
    -
    - if( configElement instanceof PublicUDDIRegistryType) {
    - types_.add(configElement);
    - configElements_.add(config[i]);
    - }
    - }
    - catch (CoreException e) {}
    - }
    - }
    -
    - public PublicUDDIRegistryType[] getAllPublicUDDIRegistryTypes() {
    - PublicUDDIRegistryType[] types = new PublicUDDIRegistryType[types_.size()];
    - for (int i = 0; i < types_.size(); i++) {
    - types[i] = (PublicUDDIRegistryType)types_.elementAt(i);
    - }
    - return types;
    - }
    -
    - public PublicUDDIRegistryType getPublicUDDIRegistryTypeByID(String id) {
    - for (int i = 0; i < configElements_.size(); i++) {
    - IConfigurationElement c = (IConfigurationElement)configElements_.elementAt(i);
    - if (c.getAttribute("id").equals(id))
    - return (PublicUDDIRegistryType)types_.elementAt(i);
    - }
    - return null;
    - }
    -
    - public String getPublicUDDIRegistryTypeIDByName(String name) {
    - for (int i = 0; i < types_.size(); i++) {
    - PublicUDDIRegistryType type = (PublicUDDIRegistryType)types_.elementAt(i);
    - if (type.getName().equals(name))
    - return ((IConfigurationElement)configElements_.elementAt(i)).getAttribute("id");
    - }
    - return null;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/RuntimeServerSelectionDialog.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/RuntimeServerSelectionDialog.java
    deleted file mode 100644
    index 206f597ff..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/RuntimeServerSelectionDialog.java
    +++ /dev/null
    @@ -1,751 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060327 131605 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060717 150577 makandre@ca.ibm.com - Andrew Mak
    - * 20060726 150865 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060726 150867 sengpl@ca.ibm.com - Seng Phung-Lu
    - * 20060728 151723 mahutch@ca.ibm.com - Mark Hutchinson
    - * 20060802 148731 mahutch@ca.ibm.com - Mark Hutchinson
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.wizard;
    -
    -import java.util.Arrays;
    -import java.util.Comparator;
    -import java.util.Hashtable;
    -import java.util.Vector;
    -
    -import org.eclipse.jface.dialogs.Dialog;
    -import org.eclipse.jface.resource.ImageDescriptor;
    -import org.eclipse.jface.viewers.ILabelProvider;
    -import org.eclipse.jst.ws.internal.common.ServerUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.swt.graphics.Point;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Button;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Control;
    -import org.eclipse.swt.widgets.Display;
    -import org.eclipse.swt.widgets.Event;
    -import org.eclipse.swt.widgets.Group;
    -import org.eclipse.swt.widgets.Label;
    -import org.eclipse.swt.widgets.Listener;
    -import org.eclipse.swt.widgets.Shell;
    -import org.eclipse.swt.widgets.Text;
    -import org.eclipse.swt.widgets.Tree;
    -import org.eclipse.swt.widgets.TreeItem;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.ui.help.IWorkbenchHelpSystem;
    -import org.eclipse.wst.server.core.IRuntimeType;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.IServerType;
    -import org.eclipse.wst.server.core.ServerCore;
    -import org.eclipse.wst.server.ui.ServerUICore;
    -
    -public class RuntimeServerSelectionDialog extends Dialog implements Listener {
    -
    - private Shell thisShell;
    - private Group viewSelectionGroup_;
    - private Text messageBanner_;
    - private Composite primaryGroup_;
    - private Group runtimesGroup_;
    - private Group serversGroup_;
    - private Tree runtimesList_;
    - private Tree serverList_;
    - private Button viewSelectionByRuntimeButton_;
    - private Button viewSelectionByServerButton_;
    - private Button viewSelectionByExploreButton_;
    - private ILabelProvider labelProvider_;
    - private Image serverTypesIcon;
    - private Image existingServersIcon;
    -
    - /*
    - * CONTEXT_ID PWRS0001 for the selection of runtime, server and project combination
    - */
    - private String INFOPOP_PWRS_DIALOG = WebServiceConsumptionUIPlugin.ID + ".PWRS0001";
    - /* CONTEXT_ID PWRS0002 for the runtime selection on in the dailog */
    - private String INFOPOP_PWRS_LIST_RUNTIMES = WebServiceConsumptionUIPlugin.ID + ".PWRS0002";
    - /* CONTEXT_ID PWRS0003 for the server selection in the dialog */
    - private String INFOPOP_PWRS_LIST_SERVERS = WebServiceConsumptionUIPlugin.ID + ".PWRS0003";
    - /*
    - * CONTEXT_ID PWRS0004 for the EJB Project combo box of the runtime selection dialog
    - */
    - // private String INFOPOP_PWRS_EJB_PROJECT = WebServiceConsumptionUIPlugin.ID
    - // + ".PWRS0004";
    - /*
    - * CONTEXT_ID PWRS0005 for the runtime view radio button of the runtime selection dialog
    - */
    - private String INFOPOP_PWRS_RADIO_RUNTIME = WebServiceConsumptionUIPlugin.ID + ".PWRS0005";
    - /*
    - * CONTEXT_ID PWRS0006 for the server view radio button of the runtime selection dialog
    - */
    - private String INFOPOP_PWRS_RADIO_SERVER = WebServiceConsumptionUIPlugin.ID + ".PWRS0006";
    - /*
    - * CONTEXT_ID PWRS0007 for the explore view radio button of the runtime selection dialog
    - */
    - private String INFOPOP_PWRS_RADIO_EXPLORE = WebServiceConsumptionUIPlugin.ID + ".PWRS0007";
    - private Hashtable serverLabels_;
    - private Hashtable existingServersTable_;
    - private String defaultServer_;
    - private String defaultRuntime_;
    - private String typeId_;
    -
    - private RuntimeDescriptor selectedRuntime_;
    -
    - private IServer selectedServer_;
    - private String selectedServerLabel_;
    - private String selectedServerFactoryID_;
    - private boolean isExistingServer_;
    - private boolean validateOn_ = false;
    - private byte selectionMode_;
    - private final byte MODE_SERVICE = (byte) 0;
    - private final String SERVER_TYPES_ICON = "icons/servers/servers_obj.gif";
    - private final String EXISTING_SERVERS_ICON = "icons/servers/existing_server_obj.gif";
    - private String serverInstanceID_;
    -
    - private boolean selectServerFirst_ = false;
    -
    - public RuntimeServerSelectionDialog(Shell shell, byte mode, TypeRuntimeServer ids, String j2eeVersion) {
    - super(shell);
    - selectionMode_ = mode;
    - typeId_ = ids.getTypeId();
    - defaultRuntime_ = ids.getRuntimeId();
    - defaultServer_ = ids.getServerId();
    - serverInstanceID_ = ids.getServerInstanceId();
    - setIsExistingServer(ids.getServerInstanceId() != null);
    - serverLabels_ = new Hashtable();
    - existingServersTable_ = new Hashtable();
    - labelProvider_ = ServerUICore.getLabelProvider();
    - }
    -
    - public void setSelectServerFirst(boolean selectServerFirst) {
    - selectServerFirst_ = selectServerFirst;
    - }
    -
    - protected Point getInitialSize()
    - {
    - return this.getShell().computeSize(550, SWT.DEFAULT, true);
    - }
    -
    - public TypeRuntimeServer getTypeRuntimeServer() {
    - TypeRuntimeServer ids = new TypeRuntimeServer();
    -
    - ids.setTypeId(typeId_);
    - if (selectedRuntime_ != null)
    - ids.setRuntimeId(selectedRuntime_.getId());
    -
    - if( selectedServerFactoryID_ == null )
    - {
    - ids.setServerId( defaultServer_ );
    - ids.setServerInstanceId( serverInstanceID_ );
    - }
    - else
    - {
    - ids.setServerId(selectedServerFactoryID_);
    -
    - if (isExistingServer_ && selectedServer_ != null)
    - {
    - ids.setServerInstanceId(selectedServer_.getId());
    - }
    - }
    -
    - return ids;
    - }
    -
    - private boolean getIsExistingServer() {
    - return isExistingServer_;
    - }
    -
    - private void setIsExistingServer(boolean isExisting) {
    - isExistingServer_ = isExisting;
    - }
    -
    - protected Control createContents(Composite parent) {
    - Composite comp = (Composite) super.createContents(parent);
    - comp.pack();
    -
    - if (selectServerFirst_) {
    - viewSelectionByServerButton_.setSelection(true);
    - handleServerViewSelectionEvent();
    - }
    - else
    - viewSelectionByRuntimeButton_.setSelection(true);
    -
    - return comp;
    - }
    -
    - protected void setShellStyle(int newShellStyle)
    - {
    - super.setShellStyle( newShellStyle | SWT.RESIZE );
    - }
    -
    - protected Control createDialogArea(Composite parent) {
    - validateOn_ = false;
    - thisShell = parent.getShell();
    - if (thisShell == null) {
    - thisShell = createShell();
    - }
    - Composite composite = (Composite) super.createDialogArea(parent);
    - GridLayout gl;
    - GridData gd;
    - // Window title
    - if (selectionMode_ == MODE_SERVICE)
    - thisShell.setText(ConsumptionUIMessages.PAGE_TITLE_WS_RUNTIME_SELECTION);
    - else
    - thisShell.setText(ConsumptionUIMessages.PAGE_TITLE_WS_CLIENT_RUNTIME_SELECTION);
    -
    - IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
    -
    - helpSystem.setHelp(thisShell, INFOPOP_PWRS_DIALOG);
    - // Dialog description banner
    - messageBanner_ = new Text(composite, SWT.READ_ONLY | SWT.WRAP);
    - messageBanner_.setText(ConsumptionUIMessages.PAGE_DESC_WS_RUNTIME_SELECTION + "\n" + " "); // reserves a second line for message display
    - messageBanner_.setToolTipText(ConsumptionUIMessages.PAGE_DESC_WS_RUNTIME_SELECTION);
    - gd = new GridData(GridData.FILL_HORIZONTAL);
    - messageBanner_.setLayoutData(gd);
    - // -----------------------------------------------------------------------//
    - new Label(composite, SWT.HORIZONTAL);
    - // -----------------------------------------------------------------------//
    - // Selection
    - thisShell.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_PAGE);
    - viewSelectionGroup_ = new Group(composite, SWT.NONE);
    - gl = new GridLayout();
    - gl.marginHeight = 0;
    - gl.marginWidth = 0;
    - viewSelectionGroup_.setLayout(gl);
    - gd = new GridData(GridData.FILL_HORIZONTAL);
    - viewSelectionGroup_.setLayoutData(gd);
    - if (selectionMode_ == MODE_SERVICE)
    - viewSelectionGroup_.setText(ConsumptionUIMessages.LABEL_SELECTION_VIEW_TITLE);
    - else
    - viewSelectionGroup_.setText(ConsumptionUIMessages.LABEL_CLIENT_SELECTION_VIEW_TITLE);
    - viewSelectionByServerButton_ = new Button(viewSelectionGroup_, SWT.RADIO);
    - viewSelectionByServerButton_.setText(ConsumptionUIMessages.LABEL_SELECTION_VIEW_SERVER);
    - viewSelectionByServerButton_.addListener(SWT.Selection, this);
    - viewSelectionByServerButton_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_RADIO_SERVER);
    - helpSystem.setHelp(viewSelectionByServerButton_, INFOPOP_PWRS_RADIO_SERVER);
    - viewSelectionByRuntimeButton_ = new Button(viewSelectionGroup_, SWT.RADIO);
    - viewSelectionByRuntimeButton_.setText(ConsumptionUIMessages.LABEL_SELECTION_VIEW_RUNTIME);
    - viewSelectionByRuntimeButton_.addListener(SWT.Selection, this);
    - viewSelectionByRuntimeButton_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_RADIO_RUNTIME);
    - helpSystem.setHelp(viewSelectionByRuntimeButton_, INFOPOP_PWRS_RADIO_RUNTIME);
    - viewSelectionByExploreButton_ = new Button(viewSelectionGroup_, SWT.RADIO);
    - viewSelectionByExploreButton_.setText(ConsumptionUIMessages.LABEL_SELECTION_VIEW_EXPLORE);
    - viewSelectionByExploreButton_.addListener(SWT.Selection, this);
    - viewSelectionByExploreButton_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_RADIO_EXPLORE);
    - helpSystem.setHelp(viewSelectionByExploreButton_, INFOPOP_PWRS_RADIO_EXPLORE);
    - primaryGroup_ = new Composite(composite, SWT.NONE);
    - gl = new GridLayout();
    - gl.numColumns = 1;
    - gl.makeColumnsEqualWidth = true;
    - gd = new GridData(GridData.FILL_BOTH);
    - primaryGroup_.setLayout(gl);
    - primaryGroup_.setLayoutData(gd);
    - runtimesGroup_ = new Group(primaryGroup_, SWT.NONE);
    - gl = new GridLayout();
    - runtimesGroup_.setLayout(gl);
    - gd = new GridData(GridData.FILL_BOTH);
    - runtimesGroup_.setLayoutData(gd);
    - runtimesGroup_.setText(ConsumptionUIMessages.LABEL_RUNTIMES_LIST);
    - runtimesList_ = new Tree(runtimesGroup_, SWT.SINGLE | SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
    - gd = new GridData(GridData.FILL_BOTH);
    - runtimesList_.setLayoutData(gd);
    - runtimesList_.addListener(SWT.Selection, this);
    - runtimesList_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_LIST_RUNTIMES);
    - helpSystem.setHelp(runtimesList_, INFOPOP_PWRS_LIST_RUNTIMES);
    - // Server labels control
    - serversGroup_ = new Group(primaryGroup_, SWT.NONE);
    - gl = new GridLayout();
    - serversGroup_.setLayout(gl);
    - gd = new GridData(GridData.FILL_BOTH);
    - serversGroup_.setLayoutData(gd);
    - serversGroup_.setText(ConsumptionUIMessages.LABEL_SERVERS_LIST);
    - serverList_ = new Tree(serversGroup_, SWT.SINGLE | SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
    - serverList_.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL));
    - serverList_.addListener(SWT.Selection, this);
    - serverList_.setToolTipText(ConsumptionUIMessages.TOOLTIP_PWRS_LIST_SERVERS);
    - ServersList serverList = new ServersList();
    - serverList.setServerTreeItems(serverList_);
    - helpSystem.setHelp(serverList_, INFOPOP_PWRS_LIST_SERVERS);
    - setRuntimesGroup();
    - // -----------------------------------------------------------------------//
    - new Label(composite, SWT.HORIZONTAL);
    - validateOn_ = true;
    - org.eclipse.jface.dialogs.Dialog.applyDialogFont(parent);
    - return composite;
    - }
    -
    -
    - private void validateServerRuntimeSelection() {
    -
    - if (selectionMode_ == MODE_SERVICE) {
    - if (selectedServerFactoryID_ != null && selectedRuntime_ != null)
    - {
    -
    - if (WebServiceRuntimeExtensionUtils2.isServerRuntimeTypeSupported(selectedServerFactoryID_, selectedRuntime_.getId(),
    - typeId_))
    - {
    - setOKStatusMessage();
    - } else
    - {
    - String serverLabel = WebServiceRuntimeExtensionUtils2.getServerLabelById(selectedServerFactoryID_);
    - String runtimeLabel = selectedRuntime_.getLabel();
    - setERRORStatusMessage(NLS.bind(ConsumptionUIMessages.MSG_INVALID_SRT_SELECTIONS, new String[] { serverLabel,
    - runtimeLabel }));
    - // Found an error - so return.
    - return;
    - }
    - }
    - }
    - else {
    -
    - if (selectedServerFactoryID_ != null && selectedRuntime_ != null)
    - {
    - String clientId = typeId_;
    - if (WebServiceRuntimeExtensionUtils2.isServerClientRuntimeTypeSupported(selectedServerFactoryID_, selectedRuntime_
    - .getId(), clientId))
    - {
    - setOKStatusMessage();
    - } else
    - {
    - String serverLabel = WebServiceRuntimeExtensionUtils2.getServerLabelById(selectedServerFactoryID_);
    - String runtimeLabel = selectedRuntime_.getLabel();
    - setERRORStatusMessage(NLS.bind(ConsumptionUIMessages.MSG_INVALID_SRT_SELECTIONS, new String[] { serverLabel,
    - runtimeLabel }));
    -
    - // Found an error - so return.
    - return;
    - }
    - }
    - }
    - // Disable OK button if the runtime selection is invalid
    - TreeItem[] runtimeSel = runtimesList_.getSelection();
    - if (runtimeSel == null || runtimeSel.length <= 0 || runtimeSel[0].getText().length() == 0) {
    - disableOKButton();
    - }
    - // Disable OK button if server selection is invalid
    - TreeItem[] serverSel = serverList_.getSelection();
    - String currentSelection = (serverSel != null && serverSel.length > 0) ? serverSel[0].getText() : "";
    - if (serverSel == null || currentSelection.length() == 0) {
    - disableOKButton();
    - }
    - if (!serverLabels_.containsKey(currentSelection) || !existingServersTable_.containsKey(currentSelection)) {
    - disableOKButton();
    - setOKStatusMessage();
    - }
    - // Disable OK button if category is selected rather than a server
    - if (serverSel.length > 0 && serverSel[0].getItemCount()!=0) {
    - disableOKButton();
    - }
    - else {
    - enableOKButton();
    - }
    -
    - }
    -
    - private void setOKStatusMessage() {
    - messageBanner_.setText(ConsumptionUIMessages.PAGE_DESC_WS_RUNTIME_SELECTION);
    - messageBanner_.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_BLACK));
    - enableOKButton();
    - }
    -
    - private void setERRORStatusMessage(String message) {
    - messageBanner_.setText(message);
    - messageBanner_.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_RED));
    - disableOKButton();
    - }
    -
    - private void disableOKButton() {
    - if (getButton(0) != null)
    - getButton(0).setEnabled(false);
    - }
    -
    - private void enableOKButton() {
    - if (getButton(0) != null)
    - getButton(0).setEnabled(true);
    - }
    -
    - protected void okPressed() {
    - if (labelProvider_!=null)
    - labelProvider_.dispose();
    - if (existingServersIcon!=null)
    - existingServersIcon.dispose();
    - if (serverTypesIcon!=null)
    - serverTypesIcon.dispose();
    - setReturnCode(OK);
    - close();
    - }
    -
    - protected void cancelPressed() {
    - if (labelProvider_!=null)
    - labelProvider_.dispose();
    - if (existingServersIcon!=null)
    - existingServersIcon.dispose();
    - if (serverTypesIcon!=null)
    - serverTypesIcon.dispose();
    - setReturnCode(CANCEL);
    - close();
    - }
    -
    - /**
    - * Called when an event occurs on the page. Handles the event and revalidates the page.
    - *
    - * @param event
    - * The event that occured.
    - */
    - public void handleEvent(Event event) {
    - if (!validateOn_)
    - return;
    - enableOKButton();
    - if (viewSelectionByRuntimeButton_ == event.widget) {
    - handleRuntimeViewSelectionEvent();
    - return;
    - }
    - else if (viewSelectionByServerButton_ == event.widget) {
    - handleServerViewSelectionEvent();
    - return;
    - }
    - else if (viewSelectionByExploreButton_ == event.widget) {
    - handleExploreViewSelectionEvent();
    - return;
    - }
    - else if (runtimesList_ == event.widget) {
    - TreeItem[] runtimeSel = runtimesList_.getSelection();
    - processRuntimeListSelection(runtimeSel[0].getText());
    - validateServerRuntimeSelection();
    - }
    - else if (serverList_ == event.widget) {
    - processServerListSelection();
    - validateServerRuntimeSelection();
    - }
    - }
    -
    - private void handleRuntimeViewSelectionEvent() {
    - GridLayout gl = new GridLayout();
    - gl.numColumns = 1;
    - gl.makeColumnsEqualWidth = true;
    - GridData gd = new GridData(GridData.FILL_BOTH);
    - primaryGroup_.setLayout(gl);
    - primaryGroup_.setLayoutData(gd);
    - runtimesGroup_.moveAbove(serversGroup_);
    - primaryGroup_.layout();
    -
    - // TODO: Show all runtimes, and only servers supported by current type id
    - }
    -
    - //
    - // Called by handleEvent() when the user selects the layout to view
    - //
    - public void handleServerViewSelectionEvent() {
    - GridLayout gl = new GridLayout();
    - gl.numColumns = 1;
    - gl.makeColumnsEqualWidth = true;
    - GridData gd = new GridData(GridData.FILL_BOTH);
    - primaryGroup_.setLayout(gl);
    - primaryGroup_.setLayoutData(gd);
    - serversGroup_.moveAbove(runtimesGroup_);
    - primaryGroup_.layout();
    -
    - // TODO: Show all servers, and only runtimes supported by the current type id
    - }
    -
    - //
    - // Called by handleEvent() when the user selects the layout to view
    - //
    - private void handleExploreViewSelectionEvent() {
    - GridLayout gl;
    - gl = (GridLayout) primaryGroup_.getLayout();
    - gl.numColumns = 2;
    - gl.makeColumnsEqualWidth = true;
    - GridData gd = new GridData(GridData.FILL_BOTH);
    - primaryGroup_.setLayout(gl);
    - primaryGroup_.setLayoutData(gd);
    - runtimesGroup_.moveAbove(serversGroup_);
    - primaryGroup_.layout();
    -
    - // TODO: Show all servers and runtimes from the type id
    -
    - }
    -
    - private void processRuntimeListSelection(String runtimeName) {
    -
    - if (selectionMode_ == MODE_SERVICE) {
    - selectedRuntime_ = WebServiceRuntimeExtensionUtils2.getRuntimeByLabel(runtimeName);
    - }
    - else {
    - selectedRuntime_ = WebServiceRuntimeExtensionUtils2.getRuntimeByLabel(runtimeName);
    - }
    - }
    -
    - private void processServerListSelection() {
    - String currentSelection;
    - TreeItem[] serverSel = serverList_.getSelection();
    - if (serverSel != null && serverSel.length > 0) {
    - currentSelection = serverSel[0].getText();
    - if (serverLabels_.containsKey(currentSelection) || existingServersTable_.containsKey(currentSelection)) {
    - if (existingServersTable_.containsKey(currentSelection)) {
    - selectedServer_ = (IServer) existingServersTable_.get(currentSelection);
    - selectedServerLabel_ = currentSelection;
    - selectedServerFactoryID_ = selectedServer_.getServerType().getId();
    - }
    - else if (serverLabels_.containsKey(currentSelection)) {
    - TreeItem parentItem = serverSel[0].getParentItem();
    - if (parentItem != null && !parentItem.getText().equalsIgnoreCase(ConsumptionUIMessages.LABEL_TREE_EXISTING_SERVERS)) {
    - selectedServerLabel_ = currentSelection;
    - selectedServer_ = null;
    - selectedServerFactoryID_ = (String) serverLabels_.get(currentSelection);
    - }
    - }
    -
    - // check if isExistingServer or new ServerType
    - TreeItem parentItem = serverSel[0].getParentItem();
    - if (parentItem != null && parentItem.getText().equalsIgnoreCase(ConsumptionUIMessages.LABEL_TREE_EXISTING_SERVERS)) {
    - setIsExistingServer(true);
    - }
    - else {
    - setIsExistingServer(false);
    - }
    - }
    - else {
    - selectedServer_ = null;
    - selectedServerLabel_ = null;
    - selectedServerFactoryID_ = null;
    - setIsExistingServer(false);
    - return;
    - }
    - }
    - }
    -
    -// private static String getMessage(String key) {
    -// return WebServiceConsumptionUIPlugin.getMessage(key);
    -// }
    -
    - private void setRuntimesGroup() {
    - runtimesList_.removeAll();
    - String[] runtimes = null;
    -
    - if (selectionMode_ == MODE_SERVICE) {
    - runtimes = WebServiceRuntimeExtensionUtils2.getRuntimesByServiceType(typeId_);
    - }
    - else {
    - runtimes = WebServiceRuntimeExtensionUtils2.getRuntimesByClientType(typeId_);
    - }
    -
    - //sort the runtimes based on the runtime name (bug 151723)
    - Comparator comparator = new RuntimeNameComparator();
    - Arrays.sort(runtimes, comparator);
    -
    - TreeItem[] runtimeName = new TreeItem[runtimes.length];
    -
    - if (runtimes != null) {
    - for (int i = 0; i < runtimes.length; i++) {
    - String runtimeLabel = getRuntimeLabel(runtimes[i]);
    - runtimeName[i] = new TreeItem(runtimesList_, SWT.NONE);
    - runtimeName[i].setText(runtimeLabel);
    -
    - if (runtimes[i].equalsIgnoreCase(defaultRuntime_)) {
    - runtimesList_.setSelection(new TreeItem[] { runtimeName[i]});
    - selectedRuntime_ = getRuntime(runtimes[i]);
    - }
    - }
    - }
    - }
    -
    - private class RuntimeNameComparator implements Comparator
    - {
    - public RuntimeNameComparator()
    - {
    - }
    - //Compare to runtime ID strings by their labels. Used for sorting.
    - public int compare(Object item1, Object item2) {
    - try {
    - String runtime1 = (String)item1;
    - String runtime2 = (String)item2;
    -
    - return getRuntimeLabel(runtime1).compareToIgnoreCase(getRuntimeLabel(runtime2));
    - }
    - catch (Exception e)
    - { //Just in case of class cast exception or NPE. should never happen
    - }
    - return 0;
    - }
    - }
    -
    - private String getRuntimeLabel(String type) {
    - return getRuntime(type).getLabel();
    - }
    -
    - private RuntimeDescriptor getRuntime(String type) {
    - if (selectionMode_ == MODE_SERVICE) {
    - return WebServiceRuntimeExtensionUtils2.getRuntimeById(type);
    - }
    - else {
    - return WebServiceRuntimeExtensionUtils2.getRuntimeById(type);
    - }
    - }
    -
    - /**
    - *
    - * ServersList class
    - *
    - * Class which easily creates the Tree structure and entries for existing servers and server types
    - */
    - public class ServersList {
    -
    - private TreeItem[] existingServersTree;
    - boolean existingServer = false;
    -
    - public void setServerTreeItems(Tree serversList) {
    - this.setExistingServersTree(serversList);
    - this.setServerTypesTree(serversList);
    - }
    -
    - public void setExistingServersTree(Tree serverList) {
    - String[] serverIds = this.getAllExistingServers();
    - existingServersTree = new TreeItem[1];
    - TreeItem[] existingServerItems = new TreeItem[serverIds.length];
    - existingServersTree[0] = new TreeItem(serverList, SWT.NONE);
    - existingServersTree[0].setText(ConsumptionUIMessages.LABEL_TREE_EXISTING_SERVERS);
    - ImageDescriptor id = WebServiceConsumptionUIPlugin.getImageDescriptor(EXISTING_SERVERS_ICON);
    - if (id != null) {
    - existingServersIcon = id.createImage();
    - existingServersTree[0].setImage(existingServersIcon);
    - }
    - for (int k = 0; k < serverIds.length; k++) {
    - IServerType serverType = ServerCore.findServerType(((IServer) existingServersTable_.get(serverIds[k])).getServerType().getId());
    - if (serverType != null) {
    - existingServerItems[k] = new TreeItem(existingServersTree[0], SWT.NONE);
    - existingServerItems[k].setText(serverIds[k]);
    - if (serverIds[k].equalsIgnoreCase(defaultServer_) && getIsExistingServer()) {
    - existingServersTree[0].setExpanded(true);
    - serverList.setSelection(new TreeItem[] { existingServerItems[k]});
    - existingServer = true;
    - RuntimeServerSelectionDialog.this.setIsExistingServer(true);
    - selectedServer_ = (IServer) existingServersTable_.get(defaultServer_);
    - selectedServerLabel_ = serverIds[k];
    - selectedServerFactoryID_ = selectedServer_.getServerType().getId();
    - }
    - existingServerItems[k].setImage(labelProvider_.getImage(serverType));
    - }
    - }
    - }
    -
    - public void setServerTypesTree(Tree serverList) {
    -
    - TreeItem[] serverTypesTree = new TreeItem[1];
    - serverTypesTree[0] = new TreeItem(serverList, SWT.NONE);
    - serverTypesTree[0].setText(ConsumptionUIMessages.LABEL_TREE_SERVER_TYPES);
    - ImageDescriptor id = WebServiceConsumptionUIPlugin.getImageDescriptor(SERVER_TYPES_ICON);
    - if (id != null) {
    - serverTypesIcon = id.createImage();
    - serverTypesTree[0].setImage(serverTypesIcon);
    - }
    - Hashtable categories_ = new Hashtable();
    - Hashtable categoryTreeItem = new Hashtable();
    - String[] serverIds = null;
    - // rm String wst = wse.getWebServiceType();
    - if (selectionMode_ == MODE_SERVICE) {
    - serverIds = WebServiceRuntimeExtensionUtils2.getServerFactoryIdsByServiceType(typeId_);
    - }
    - else {
    - serverIds = WebServiceRuntimeExtensionUtils2.getAllClientServerFactoryIds();
    - }
    - // rm serverId =
    - // wssrtRegistry.getServerFactoryIdsByType(wse.getWebServiceType());
    - if (serverIds == null) {
    - serverIds = getAllServerTypes();
    - }
    - TreeItem[] parent = new TreeItem[serverIds.length];
    - TreeItem[] item = new TreeItem[serverIds.length];
    - if (serverIds != null) {
    - for (int i = 0; i < serverIds.length; i++) {
    - String server = ServerUtils.getInstance().getServerLabelForId(serverIds[i]);
    - if (server != null) {
    - RuntimeServerSelectionDialog.this.serverLabels_.put(server, serverIds[i]);
    - IServerType serverType = ServerCore.findServerType(serverIds[i]);
    - IRuntimeType runtimeType = serverType.getRuntimeType();
    - if (!categories_.containsKey(serverType) && runtimeType != null) {
    - categories_.put(serverType, runtimeType);
    - if (categoryTreeItem.get(runtimeType) == null) {
    - String categoryText = runtimeType.getName();
    - Image categoryImage = labelProvider_.getImage(runtimeType);
    - parent[i] = new TreeItem(serverTypesTree[0], SWT.NONE);
    - parent[i].setText(categoryText);
    - parent[i].setImage(categoryImage);
    - categoryTreeItem.put(runtimeType, parent[i]);
    - }
    - else {
    - parent[i] = (TreeItem) categoryTreeItem.get(runtimeType);
    - }
    - String factoryText = serverType.getName();
    - Image factoryImage = labelProvider_.getImage(serverType);
    - item[i] = new TreeItem(parent[i], SWT.NONE);
    - item[i].setText(factoryText);
    - item[i].setImage(factoryImage);
    - item[i].setData(serverType);
    - if (factoryText.equalsIgnoreCase(defaultServer_) && !existingServer) {
    - serverList.setSelection(new TreeItem[] { item[i]});
    - selectedServer_ = null;
    - selectedServerLabel_ = factoryText;
    - selectedServerFactoryID_ = (String) serverLabels_.get(selectedServerLabel_);
    - }
    - }
    - }
    - }
    - }
    -
    - }
    -
    - /**
    - * Get all servers in the workspace
    - *
    - * @return String[] of existing server names
    - */
    - private String[] getAllExistingServers() {
    - Vector serverIds = new Vector();
    - {
    - IServer[] servers = ServerCore.getServers();
    - if (servers != null && servers.length!=0) {
    - for (int i = 0; i < servers.length; i++) {
    - IServer server = (IServer) servers[i];
    - serverIds.add(server.getName());
    - existingServersTable_.put(server.getName(), server);
    - }
    - }
    - }
    - return (String[]) serverIds.toArray(new String[serverIds.size()]);
    - }
    -
    - /**
    - * Get all server types available for creation
    - *
    - * @return String[] of server names
    - */
    - private String[] getAllServerTypes() {
    - Vector serverTypes_ = new Vector();
    - IServerType[] defaultServersList = ServerCore.getServerTypes();
    - for (int i = 0; i < defaultServersList.length; i++) {
    - IServerType serverType = (IServerType) defaultServersList[i];
    - serverTypes_.add(serverType.getId());
    - }
    - return (String[]) serverTypes_.toArray(new String[serverTypes_.size()]);
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionFilter2.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionFilter2.java
    deleted file mode 100644
    index f362fd288..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionFilter2.java
    +++ /dev/null
    @@ -1,202 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060606 105045 mahutch@ca.ibm.com - Mark Hutchinson
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wizard;
    -
    -import java.util.ArrayList;
    -import java.util.Iterator;
    -import org.eclipse.core.resources.IContainer;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceImpl;
    -import org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
    -
    -
    -public class TypeSelectionFilter2
    -{
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    - public String[] getWebServiceTypeByInitialSelection(IStructuredSelection initialSelection, ArrayList webServiceTypeList)
    - {
    -
    - ArrayList supportedTypes = new ArrayList();
    - if (initialSelection != null && initialSelection.size() == 1)
    - {
    -
    - // Check for null initial selection
    - Object initialObject = initialSelection.getFirstElement();
    - if (initialObject == null)
    - {
    - return null;
    - }
    - // Match up resource type metadata with initial selection
    - Iterator iter = webServiceTypeList.iterator();
    - while (iter.hasNext())
    - {
    - String wst = (String)iter.next();
    - String scenario = wst.substring(0,wst.indexOf("/"));
    - String implId = wst.substring(wst.indexOf("/")+1);
    - //IWebServiceType wst = (IWebServiceType)iter.next();
    - //String typeId = (String)wst.getId();
    - if (scenario.equals(String.valueOf(WebServiceScenario.BOTTOMUP)) && !supportedTypes.contains(wst))
    - {
    -
    -
    - WebServiceImpl wsimpl = WebServiceRuntimeExtensionUtils2.getWebServiceImplById(implId);
    - String[] resourceTypes = wsimpl.getResourceTypeMetadata();
    - for (int i=0; i<resourceTypes.length; i++)
    - {
    - if (resourceTypes[i]!=null)
    - {
    - if ((initialObject.getClass().getName()).endsWith(resourceTypes[i]))
    - {
    - String name = null;
    - IResource resource = null;
    -
    - try
    - {
    - resource = ResourceUtils.getResourceFromSelection(initialObject);
    - }
    - catch( CoreException exc )
    - {
    - resource = null;
    - }
    -
    - if (resource instanceof IContainer)
    - {
    - name = initialObject.getClass().getName();
    - }
    - else if( resource != null )
    - {
    - name = resource.getFullPath().toString();
    - }
    - else
    - {
    - name = initialObject.getClass().getName();
    - }
    - String[] extensions = wsimpl.getExtensionMetadata();
    - if (acceptsName(name, extensions))
    - {
    - supportedTypes.add(wst);
    - }
    - }
    -
    - }
    - }
    - }
    - }
    -
    - //If no wsImpls have accepted this selection, check if this is WSDL. If it is,
    - //add the top-down Java service type to the list.
    - if (supportedTypes.isEmpty())
    - {
    - String[] resourceTypes = {"File", "IResource", "String", "ServiceImpl", "ServiceRefImpl", "WSDLResourceImpl"};
    - for (int i=0; i<resourceTypes.length; i++)
    - {
    - if (resourceTypes[i]!=null)
    - {
    - if ((initialObject.getClass().getName()).endsWith(resourceTypes[i]))
    - {
    - String name = null;
    - IResource resource = null;
    -
    - try
    - {
    - resource = ResourceUtils.getResourceFromSelection(initialObject);
    - }
    - catch( CoreException exc )
    - {
    - resource = null;
    - }
    -
    - if (resource instanceof IContainer)
    - {
    - name = initialObject.getClass().getName();
    - }
    - else if( resource != null )
    - {
    - name = resource.getFullPath().toString();
    - }
    - else if (initialObject instanceof String)
    - { //the initialObject could be a path name that is a string
    - //bug 105045
    - name = (String)initialObject;
    - }
    - else
    - {
    - name = initialObject.getClass().getName();
    - }
    -
    - String[] extensions = {".wsdl", ".wsil", ".html", ".ServiceImpl", ".ServiceRefImpl", ".WSDLResourceImpl"};
    - if (acceptsName(name, extensions))
    - {
    - StringBuffer entrybuff = new StringBuffer();
    - entrybuff.append(String.valueOf(WebServiceScenario.TOPDOWN));
    - entrybuff.append("/");
    - entrybuff.append("org.eclipse.jst.ws.wsImpl.java");
    - String entry = entrybuff.toString();
    - supportedTypes.add(entry);
    - }
    - }
    -
    - }
    - }
    - }
    -
    - }
    -
    -
    -
    - if (supportedTypes.isEmpty())
    - {
    - //It's not a registered implementation and its not WSDL so return null;
    - return null;
    - }
    - else
    - {
    - return (String[])supportedTypes.toArray(new String[0]);
    - }
    - }
    - //
    - // Checks if the given name is acceptable based upon its extension
    - //
    - private boolean acceptsName ( String name, String[] extensions)
    - {
    - //Return true if "all" extensions are supported.
    -
    - if (extensions[0]!=null)
    - {
    - if (extensions[0].equals("all"))
    - {
    - return true;
    - }
    - }
    -
    - for (int i=0; i<extensions.length; i++)
    - {
    - if (extensions[i]!=null)
    - {
    - if (name.endsWith(extensions[i]))
    - return true;
    - }
    - }
    - return false;
    - }
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionMetadata.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionMetadata.java
    deleted file mode 100644
    index 8275acc8c..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/TypeSelectionMetadata.java
    +++ /dev/null
    @@ -1,84 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wizard;
    -
    -import com.ibm.icu.util.StringTokenizer;
    -
    -
    - //
    - // This class holds the set of distinguishing factors in determining
    - // the default Web service type. The default Web Service type will be determined
    - // by pattern matching the initial selection with the supported extension
    - // and the resource type metadata specified in the manifest file.
    - //
    - public class TypeSelectionMetadata
    - {
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    - public String[] extensionMeta;
    - public String[] resourceTypeMeta;
    -
    - public TypeSelectionMetadata(String extensionMD, String resourceTypeMD)
    - {
    - setExtensionMetadata(extensionMD);
    - setResourceTypeMetadata(resourceTypeMD);
    - }
    -
    - public void setExtensionMetadata(String extensionMetadata)
    - {
    - StringTokenizer st = new StringTokenizer(extensionMetadata);
    - extensionMeta = new String[st.countTokens()];
    - int i=0;
    - while (st.hasMoreElements())
    - {
    - String exten = (String)st.nextToken();
    - if (exten!=null)
    - {
    - extensionMeta[i]=exten;
    - }
    - i++;
    - }
    -
    - }
    -
    - public String[] getExtensionMetadata()
    - {
    - return extensionMeta;
    - }
    -
    - public void setResourceTypeMetadata(String resourceTypeMetadata)
    - {
    - StringTokenizer st = new StringTokenizer(resourceTypeMetadata);
    - resourceTypeMeta = new String[st.countTokens()];
    - int i=0;
    - while (st.hasMoreElements())
    - {
    - String resourceType = (String)st.nextToken();
    - if (resourceType!=null)
    - {
    - resourceTypeMeta[i]=resourceType;
    - }
    - i++;
    - }
    - }
    -
    - public String[] getResourceTypeMetadata()
    - {
    - return resourceTypeMeta;
    - }
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/WebServiceInfo.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/WebServiceInfo.java
    deleted file mode 100644
    index 64bc552ba..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/WebServiceInfo.java
    +++ /dev/null
    @@ -1,26 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wizard;
    -
    -
    -/**
    -* This type is used to hold user or calculated
    -* data to be use by finsih tasks
    -*/
    -public interface WebServiceInfo
    -{
    -
    -}
    -
    -
    -
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryNTTComm.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryNTTComm.java
    deleted file mode 100644
    index 26e14b4b1..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryNTTComm.java
    +++ /dev/null
    @@ -1,41 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2002, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi;
    -
    -import org.eclipse.wst.ws.parser.PluginMessages;
    -
    -public class PublicUDDIRegistryNTTComm implements PublicUDDIRegistryType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2002.";
    -
    - public PublicUDDIRegistryNTTComm() {
    - }
    -
    - public String getName() {
    - return PluginMessages.PUBLICUDDIREGISTRYTYPE_NAME_NTTCOMM;
    - }
    -
    - public String getInquiryURL() {
    - return "http://www.uddi.ne.jp/ubr/inquiryapi";
    - }
    -
    - public String getPublishURL() {
    - return "https://www.uddi.ne.jp/ubr/publishapi";
    - }
    -
    - public String getRegistrationURL() {
    - return "http://www.ntt.com/uddi/";
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAP.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAP.java
    deleted file mode 100644
    index 1ad68fe4a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAP.java
    +++ /dev/null
    @@ -1,41 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2002, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi;
    -
    -import org.eclipse.wst.ws.parser.PluginMessages;
    -
    -public class PublicUDDIRegistrySAP implements PublicUDDIRegistryType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2002.";
    -
    - public PublicUDDIRegistrySAP() {
    - }
    -
    - public String getName() {
    - return PluginMessages.PUBLICUDDIREGISTRYTYPE_NAME_SAP;
    - }
    -
    - public String getInquiryURL() {
    - return "http://uddi.sap.com/UDDI/api/inquiry/";
    - }
    -
    - public String getPublishURL() {
    - return "https://uddi.sap.com/UDDI/api/publish/";
    - }
    -
    - public String getRegistrationURL() {
    - return "http://uddi.sap.com/";
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAPTest.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAPTest.java
    deleted file mode 100644
    index 5fad14824..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistrySAPTest.java
    +++ /dev/null
    @@ -1,41 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2002, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi;
    -
    -import org.eclipse.wst.ws.parser.PluginMessages;
    -
    -public class PublicUDDIRegistrySAPTest implements PublicUDDIRegistryType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2002.";
    -
    - public PublicUDDIRegistrySAPTest() {
    - }
    -
    - public String getName() {
    - return PluginMessages.PUBLICUDDIREGISTRYTYPE_NAME_SAP_TEST;
    - }
    -
    - public String getInquiryURL() {
    - return "http://udditest.sap.com/UDDI/api/inquiry/";
    - }
    -
    - public String getPublishURL() {
    - return "https://udditest.sap.com/UDDI/api/publish/";
    - }
    -
    - public String getRegistrationURL() {
    - return "http://udditest.sap.com/";
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryType.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryType.java
    deleted file mode 100644
    index e4d9e6589..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryType.java
    +++ /dev/null
    @@ -1,25 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2002, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi;
    -
    -public interface PublicUDDIRegistryType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2002.";
    -
    - public String getName();
    - public String getInquiryURL();
    - public String getPublishURL();
    - public String getRegistrationURL();
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryXMethods.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryXMethods.java
    deleted file mode 100644
    index 8e7bde35a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wizard/uddi/PublicUDDIRegistryXMethods.java
    +++ /dev/null
    @@ -1,43 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2002, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wizard.uddi;
    -
    -import org.eclipse.wst.ws.parser.PluginMessages;
    -
    -public class PublicUDDIRegistryXMethods implements PublicUDDIRegistryType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2002.";
    -
    - public PublicUDDIRegistryXMethods() {
    - }
    -
    - public String getName() {
    - return PluginMessages.PUBLICUDDIREGISTRYTYPE_NAME_XMETHODS;
    - }
    -
    - public String getInquiryURL() {
    - //return "http://uddi.xmethods.net/inquire";
    - return "http://uddi.xmethods.net/inquire2";
    - }
    -
    - // Read-only registry. The publish and registration URLs don't exist.
    - public String getPublishURL() {
    - return "https://uddi.xmethods.net/publish2";
    - }
    -
    - public String getRegistrationURL() {
    - return "http://www.xmethods.net/ve2/Register.po?event=registerOrg";
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/AddWSDLToWSILWrapperCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/AddWSDLToWSILWrapperCommand.java
    deleted file mode 100644
    index 23193c1a5..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/AddWSDLToWSILWrapperCommand.java
    +++ /dev/null
    @@ -1,65 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2003, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wsil;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.wsil.AddWSDLToWSILCommand;
    -
    -
    -
    -public class AddWSDLToWSILWrapperCommand extends AbstractDataModelOperation
    -{
    - private AddWSDLToWSILCommand command;
    - private Arguments args;
    -
    - public AddWSDLToWSILWrapperCommand()
    - {
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    -
    - if (command == null)
    - command = new AddWSDLToWSILCommand();
    - if (!args.isEmpty())
    - {
    - command.setArguments(args.getStringArguments());
    - command.setWWWAuthenticationHandler(new DialogWWWAuthentication(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell()));
    - command.setEnvironment( env );
    - return command.execute( null, null);
    - }
    - return Status.OK_STATUS;
    - }
    - /**
    - * @param args The args to set.
    - */
    - public void setArgs(Arguments args)
    - {
    - this.args = args;
    - }
    -
    - /**
    - * @param command The command to set.
    - */
    - public void setCommand(AddWSDLToWSILCommand command)
    - {
    - this.command = command;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Arguments.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Arguments.java
    deleted file mode 100644
    index 7a177c5a8..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Arguments.java
    +++ /dev/null
    @@ -1,75 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2003, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wsil;
    -
    -import java.util.Vector;
    -
    -public class Arguments
    -{
    - private Vector args_;
    -
    - public Arguments()
    - {
    - args_ = new Vector();
    - }
    -
    - public void add(String key, Object value)
    - {
    - args_.add(key);
    - if (value != null)
    - args_.add(value);
    - }
    -
    - public void remove(String key)
    - {
    - int index = args_.indexOf(key);
    - if (index >= 0)
    - {
    - args_.remove(index);
    - args_.remove(index+1);
    - }
    - }
    -
    - public Object get(String key)
    - {
    - int index = args_.indexOf(key);
    - if (index >= 0)
    - return args_.get(index+1);
    - else
    - return null;
    - }
    -
    - public void clear()
    - {
    - args_.clear();
    - }
    -
    - public Object[] getArguments()
    - {
    - Object[] args = new Object[args_.size()];
    - args_.copyInto(args);
    - return args;
    - }
    -
    - public String[] getStringArguments()
    - {
    - String[] args = new String[args_.size()];
    - for (int i = 0; i < args.length; i++)
    - args[i] = args_.get(i).toString();
    - return args;
    - }
    -
    - public boolean isEmpty()
    - {
    - return args_.isEmpty();
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/DialogWWWAuthentication.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/DialogWWWAuthentication.java
    deleted file mode 100644
    index 565c91dc2..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/DialogWWWAuthentication.java
    +++ /dev/null
    @@ -1,153 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2003, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wsil;
    -
    -import org.eclipse.jface.dialogs.Dialog;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Control;
    -import org.eclipse.swt.widgets.Label;
    -import org.eclipse.swt.widgets.Shell;
    -import org.eclipse.swt.widgets.Text;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.ws.internal.parser.wsil.WWWAuthenticationException;
    -import org.eclipse.wst.ws.internal.parser.wsil.WWWAuthenticationHandler;
    -
    -
    -public class DialogWWWAuthentication extends Dialog implements WWWAuthenticationHandler
    -{
    -
    - /*CONTEXT_ID DBAS0001 for the HTTP basic authentication user name*/
    - private final String INFOPOP_DBAS_USERNAME = WebServiceConsumptionUIPlugin.ID + ".DBAS0001";
    -
    - /*CONTEXT_ID DBAS0002 for the HTTP basic authentication password*/
    - private final String INFOPOP_DBAS_PASSWORD = WebServiceConsumptionUIPlugin.ID + ".DBAS0002";
    -
    - private String usernameString_;
    - private String passwordString_;
    -
    - private Text username_;
    - private Text password_;
    -
    - private WWWAuthenticationException wwwae_;
    -
    - public DialogWWWAuthentication(Shell shell)
    - {
    - super(shell);
    - usernameString_ = null;
    - passwordString_ = null;
    - wwwae_ = null;
    - }
    -
    - /**
    - * Called when the Cancel button is pressed.
    - */
    - protected void cancelPressed()
    - {
    - usernameString_ = null;
    - passwordString_ = null;
    - super.cancelPressed();
    - }
    -
    - /**
    - * Called when the OK button is pressed.
    - */
    - protected void okPressed()
    - {
    - String usernameString = username_.getText();
    - usernameString_ = (usernameString.length() > 0) ? usernameString : null;
    - String passwordString = password_.getText();
    - passwordString_ = (passwordString.length() > 0) ? passwordString : null;
    - setReturnCode(Dialog.OK);
    - super.okPressed();
    - }
    -
    - /**
    - * See {@link org.eclipse.jface.window.Window#configureShell}.
    - * @param shell The shell.
    - */
    - protected void configureShell(Shell shell)
    - {
    - super.configureShell(shell);
    - shell.setText(ConsumptionUIMessages.DIALOG_TITLE_HTTP_BASIC_AUTH);
    - }
    -
    - /**
    - * Creates the dialog area.
    - * @param parent The parent composite.
    - * @return The control area.
    - */
    - protected Control createDialogArea(Composite parent)
    - {
    - Composite composite = (Composite)super.createDialogArea(parent);
    - GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL | GridData.GRAB_VERTICAL);
    - gd.widthHint = 400;
    - gd.grabExcessVerticalSpace = true;
    - gd.grabExcessHorizontalSpace = true;
    - composite.setLayoutData(gd);
    - GridLayout gl = new GridLayout();
    - gl.numColumns = 2;
    - gl.verticalSpacing = 15;
    - composite.setLayout(gl);
    -
    - Label label = new Label(composite, SWT.WRAP);
    - label.setText(ConsumptionUIMessages.LABEL_URL);
    - label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    -
    - label = new Label(composite, SWT.WRAP);
    - label.setText(wwwae_.getURL());
    - label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    -
    - label = new Label(composite, SWT.WRAP);
    - label.setText(ConsumptionUIMessages.LABEL_HTTP_BASIC_AUTH_USERNAME);
    - label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    -
    - username_ = new Text(composite, SWT.BORDER);
    - username_.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    - username_.setToolTipText(ConsumptionUIMessages.TOOLTIP_HTTP_BASIC_AUTH_USERNAME);
    - PlatformUI.getWorkbench().getHelpSystem().setHelp(username_, INFOPOP_DBAS_USERNAME);
    -
    - label = new Label(composite, SWT.WRAP);
    - label.setText(ConsumptionUIMessages.LABEL_HTTP_BASIC_AUTH_PASSWORD);
    - label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    -
    - password_ = new Text(composite, SWT.BORDER);
    - password_.setEchoChar('*');
    - password_.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    - password_.setToolTipText(ConsumptionUIMessages.TOOLTIP_HTTP_BASIC_AUTH_PASSWORD);
    - PlatformUI.getWorkbench().getHelpSystem().setHelp(username_, INFOPOP_DBAS_PASSWORD);
    -
    - return composite;
    - }
    -
    - public void handleWWWAuthentication(WWWAuthenticationException wwwae)
    - {
    - usernameString_ = null;
    - passwordString_ = null;
    - wwwae_ = wwwae;
    - open();
    - }
    -
    - public String getUsername()
    - {
    - return usernameString_;
    - }
    -
    - public String getPassword()
    - {
    - return passwordString_;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/TableViewerEditor.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/TableViewerEditor.java
    deleted file mode 100644
    index 6b47c1211..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/TableViewerEditor.java
    +++ /dev/null
    @@ -1,525 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2003, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wsil;
    -
    -import java.util.ArrayList;
    -import java.util.List;
    -
    -import org.eclipse.jface.viewers.ColumnWeightData;
    -import org.eclipse.jface.viewers.ILabelProviderListener;
    -import org.eclipse.jface.viewers.ISelection;
    -import org.eclipse.jface.viewers.ISelectionChangedListener;
    -import org.eclipse.jface.viewers.IStructuredContentProvider;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.ITableLabelProvider;
    -import org.eclipse.jface.viewers.SelectionChangedEvent;
    -import org.eclipse.jface.viewers.StructuredSelection;
    -import org.eclipse.jface.viewers.TableLayout;
    -import org.eclipse.jface.viewers.TableViewer;
    -import org.eclipse.jface.viewers.Viewer;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.custom.TableEditor;
    -import org.eclipse.swt.events.KeyEvent;
    -import org.eclipse.swt.events.KeyListener;
    -import org.eclipse.swt.events.MouseEvent;
    -import org.eclipse.swt.events.MouseListener;
    -import org.eclipse.swt.events.SelectionEvent;
    -import org.eclipse.swt.events.SelectionListener;
    -import org.eclipse.swt.events.TraverseEvent;
    -import org.eclipse.swt.events.TraverseListener;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.swt.graphics.Rectangle;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Button;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Table;
    -import org.eclipse.swt.widgets.TableColumn;
    -import org.eclipse.swt.widgets.TableItem;
    -import org.eclipse.swt.widgets.Text;
    -import org.eclipse.ui.PlatformUI;
    -
    -
    -public class TableViewerEditor extends Composite
    -{
    - private int DEFAULT_TABLE_HEIGHT_HINT = 100;
    - private int DEFAULT_COLUMN_WIDTH = 80;
    -
    - private String[] columns_;
    - private TableViewer tableViewer_;
    - private Table table_;
    - private TableEditor editor_;
    - private TableEditorListener tableEditorListener_;
    - private Text text_;
    - private Button add_;
    - private Button remove_;
    -
    - private List values_;
    - private Object defaultValue_;
    -
    - public TableViewerEditor(Composite parent, String[] columns, List initValues, Object defaultValue)
    - {
    - super(parent, SWT.NONE);
    - columns_ = columns;
    - values_ = new ArrayList();
    - if (initValues != null && initValues.size() > 0)
    - values_.addAll(initValues);
    - defaultValue_ = (defaultValue != null) ? defaultValue : new String("");
    - createPartControl(this);
    - }
    -
    - private void createPartControl(Composite parent)
    - {
    - GridLayout gl = new GridLayout();
    - gl.marginHeight = 0;
    - gl.marginWidth = 0;
    - setLayout(gl);
    - setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    -
    - Composite composite = new Composite(parent, SWT.NONE);
    - gl = new GridLayout();
    - gl.marginHeight = 0;
    - gl.marginWidth = 0;
    - composite.setLayout(gl);
    - composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    -
    - table_ = new Table(composite, SWT.SINGLE | SWT.FULL_SELECTION | SWT.BORDER);
    - GridData gd = new GridData(GridData.FILL_BOTH);
    - gd.heightHint = DEFAULT_TABLE_HEIGHT_HINT;
    - table_.setLayoutData(gd);
    - table_.setHeaderVisible(true);
    - table_.setLinesVisible(true);
    - TableLayout tableLayout = new TableLayout();
    - int maxWidth = DEFAULT_COLUMN_WIDTH;
    - for (int i = 0; i < columns_.length; i++)
    - {
    - TableColumn tableColumn = new TableColumn(table_, SWT.NONE);
    - tableColumn.setText(columns_[i]);
    - tableColumn.pack();
    - int tableColumnWidth = Math.max(DEFAULT_COLUMN_WIDTH, tableColumn.getWidth());
    - maxWidth = Math.max(maxWidth, tableColumnWidth);
    - ColumnWeightData columnData = new ColumnWeightData(tableColumnWidth, tableColumnWidth, true);
    - tableLayout.addColumnData(columnData);
    - }
    - table_.setLayout(tableLayout);
    - // initialize the table editor
    - editor_ = new TableEditor(table_);
    - // The editor must have the same size as the cell and must
    - // not be any smaller than 50 pixels.
    - editor_.horizontalAlignment = SWT.LEFT;
    - editor_.grabHorizontal = true;
    - editor_.minimumWidth = maxWidth;
    - tableEditorListener_ = new TableEditorListener();
    - table_.addMouseListener(tableEditorListener_);
    - tableViewer_ = new TableViewer(table_);
    - tableViewer_.getControl().addKeyListener(
    - new KeyListener()
    - {
    - public void keyPressed(KeyEvent e)
    - {
    - // Del
    - if (((int)e.character) == 127)
    - handleDeleteKeyPressed();
    - // Enter or space
    - if (((int)e.character) == 13 || ((int)e.character) == 32)
    - tableEditorListener_.editSelection();
    - }
    - public void keyReleased(KeyEvent e)
    - {
    - }
    - }
    - );
    - tableViewer_.setContentProvider(new ListContentProvider());
    - tableViewer_.setLabelProvider(new ListLabelProvider());
    - tableViewer_.setInput(values_);
    - tableViewer_.addSelectionChangedListener(
    - new ISelectionChangedListener()
    - {
    - public void selectionChanged(SelectionChangedEvent event)
    - {
    - enableRemove(true);
    - }
    - }
    - );
    -
    - Composite buttonComposite = new Composite(composite, SWT.NONE);
    - gl = new GridLayout();
    - gl.numColumns = 2;
    - gl.makeColumnsEqualWidth = true;
    - buttonComposite.setLayout(gl);
    - buttonComposite.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_BEGINNING));
    -
    - add_ = new Button(buttonComposite, SWT.PUSH);
    - add_.setText(ConsumptionUIMessages.LABEL_ADD);
    - add_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    - add_.addSelectionListener(
    - new SelectionListener()
    - {
    - public void widgetSelected(SelectionEvent event)
    - {
    - handleAddButtonSelected(event);
    - }
    - public void widgetDefaultSelected(SelectionEvent event)
    - {
    - }
    - }
    - );
    -
    - remove_ = new Button(buttonComposite, SWT.PUSH);
    - remove_.setText(ConsumptionUIMessages.LABEL_REMOVE);
    - remove_.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    - remove_.addSelectionListener(
    - new SelectionListener()
    - {
    - public void widgetSelected(SelectionEvent event)
    - {
    - handleRemoveButtonSelected(event);
    - }
    - public void widgetDefaultSelected(SelectionEvent event)
    - {
    - }
    - }
    - );
    - enableRemove(false);
    - }
    -
    - private void enableRemove(boolean enabled)
    - {
    - remove_.setEnabled(enabled && !tableViewer_.getSelection().isEmpty());
    - }
    -
    - private void handleAddButtonSelected(SelectionEvent event)
    - {
    - values_.add(defaultValue_);
    - refresh();
    - setSelectionAsObject(values_.get(table_.getItemCount()-1));
    - tableEditorListener_.editSelection();
    - }
    -
    - private void handleRemoveButtonSelected(SelectionEvent event)
    - {
    - handleDeleteKeyPressed();
    - }
    -
    - private void handleDeleteKeyPressed()
    - {
    - internalDispose();
    - ISelection selection = tableViewer_.getSelection();
    - if (selection != null && !selection.isEmpty() && (selection instanceof IStructuredSelection))
    - {
    - int selectionIndex = table_.getSelectionIndex();
    - int selectionCount = table_.getItemCount();
    - values_.remove(selectionIndex);
    - if (selectionIndex < selectionCount-1)
    - setSelectionAsObject(values_.get(selectionIndex));
    - else if (selectionCount -2 >= 0)
    - setSelectionAsObject(values_.get(selectionCount-2));
    - refresh();
    - }
    - }
    -
    - private void internalRefresh()
    - {
    - // synchronize text field, previously selected table cell and model (inputObject)
    - if (text_ != null)
    - {
    - TableItem oldTableItem = editor_.getItem();
    - int oldColumnIndex = editor_.getColumn();
    - if (oldTableItem != null && oldColumnIndex >= 0 && oldColumnIndex < columns_.length)
    - {
    - String oldText = text_.getText();
    - oldTableItem.setText(oldColumnIndex, oldText);
    - int oldRowIndex = table_.indexOf(oldTableItem);
    - values_.set(oldRowIndex, oldText);
    - }
    - }
    - }
    -
    - private void setSelectionAsObject(Object object)
    - {
    - tableViewer_.setSelection(new StructuredSelection(object), true);
    - }
    -
    - public void setToolTipText(String string)
    - {
    - table_.setToolTipText(string);
    - }
    -
    - public void setInfopop(String string)
    - {
    - PlatformUI.getWorkbench().getHelpSystem().setHelp(table_, string);
    - }
    -
    - public void setInput(List list)
    - {
    - values_.clear();
    - values_.addAll(list);
    - }
    -
    - public void refresh()
    - {
    - internalRefresh();
    - tableViewer_.refresh();
    - }
    -
    - public TableItem[] getItems()
    - {
    - internalRefresh();
    - return table_.getItems();
    - }
    -
    - public void setEnabled(boolean enabled)
    - {
    - super.setEnabled(enabled);
    - add_.setEnabled(enabled);
    - enableRemove(enabled);
    - }
    -
    - public void dispose()
    - {
    - super.dispose();
    - internalDispose();
    - if (editor_ != null)
    - editor_.dispose();
    - if (table_ != null)
    - table_.dispose();
    - if (add_ != null)
    - add_.dispose();
    - if (remove_ != null)
    - remove_.dispose();
    - }
    -
    - private void internalDispose()
    - {
    - if (text_ != null)
    - text_.dispose();
    - text_ = null;
    - }
    -
    - protected class TableEditorListener implements MouseListener
    - {
    - private int currSelectionIndex_;
    - private int editRow_;
    - private int editColumn_;
    -
    - public TableEditorListener()
    - {
    - super();
    - currSelectionIndex_ = -1;
    - editRow_ = -1;
    - editColumn_ = -1;
    - }
    -
    - public void mouseDoubleClick(MouseEvent e)
    - {
    - mouseDown(e);
    - }
    -
    - public void mouseDown(MouseEvent e)
    - {
    - // refresh table
    - internalRefresh();
    - // Clean up previous text editor control
    - internalDispose();
    - // update table
    - if (table_.isFocusControl())
    - {
    - int selectedRowIndex = getSelectedRow(table_, e.y);
    - if (currSelectionIndex_ != -1 && selectedRowIndex != -1 && currSelectionIndex_ == selectedRowIndex)
    - {
    - TableItem tableItem = table_.getItem(selectedRowIndex);
    - int selectedColumnIndex = getSelectedColumn(tableItem, e.x, e.y);
    - if (selectedColumnIndex != -1 && (text_ == null || text_.isDisposed() || selectedColumnIndex != editor_.getColumn()))
    - editSelection(selectedRowIndex, selectedColumnIndex);
    - }
    - currSelectionIndex_ = selectedRowIndex;
    - }
    - }
    -
    - public void mouseUp(MouseEvent e)
    - {
    - }
    -
    - private int getSelectedRow(Table table, int y)
    - {
    - TableItem[] tableItems = table.getItems();
    - for (int i = 0; i < tableItems.length; i++)
    - {
    - Rectangle rectangle = tableItems[i].getBounds(0);
    - if (rectangle != null && y >= rectangle.y && y < (rectangle.y + rectangle.height))
    - return i;
    - }
    - return -1;
    - }
    -
    - private int getSelectedColumn(TableItem tableItem, int x, int y)
    - {
    - for (int i = 0; i < columns_.length; i++)
    - {
    - if (tableItem.getBounds(i).contains(x, y))
    - return i;
    - }
    - return -1;
    - }
    -
    - private void editSelection(int row, int column)
    - {
    - editRow_ = row;
    - editColumn_ = column;
    - TableItem tableItem = table_.getItem(row);
    - // Setup adapter for the new selection
    - text_ = new Text(table_, SWT.NONE);
    - String text = tableItem.getText(column);
    - text_.setText((text != null) ? text : "");
    - text_.addKeyListener(new KeyListener()
    - {
    - public void keyPressed(KeyEvent e)
    - {
    - // Esc
    - if (((int)e.character) == 27)
    - cancelSelection();
    - }
    - public void keyReleased(KeyEvent e)
    - {
    - }
    - }
    - );
    - text_.addTraverseListener(new TraverseListener()
    - {
    - public void keyTraversed(TraverseEvent e)
    - {
    - if (e.detail == SWT.TRAVERSE_TAB_NEXT)
    - traverseTabNext();
    - else if (e.detail == SWT.TRAVERSE_TAB_PREVIOUS)
    - traverseTabPrevious();
    - }
    - }
    - );
    - editor_.setEditor(text_, tableItem, column);
    - text_.setFocus();
    - text_.selectAll();
    - }
    -
    - protected void traverseTabNext()
    - {
    - internalRefresh();
    - internalDispose();
    - if (!(editRow_ == table_.getItems().length-1 && editColumn_ == columns_.length-1))
    - {
    - if (editColumn_ < columns_.length-1)
    - editColumn_++;
    - else
    - {
    - editColumn_ = 0;
    - editRow_++;
    - table_.select(editRow_);
    - }
    - editSelection(editRow_, editColumn_);
    - }
    - }
    -
    - protected void traverseTabPrevious()
    - {
    - internalRefresh();
    - internalDispose();
    - if (!(editRow_ == 0 && editColumn_ == 0))
    - {
    - if (editColumn_ > 0)
    - editColumn_--;
    - else
    - {
    - editColumn_ = columns_.length-1;
    - editRow_--;
    - table_.select(editRow_);
    - }
    - editSelection(editRow_, editColumn_);
    - }
    - }
    -
    - public void cancelSelection()
    - {
    - internalDispose();
    - internalRefresh();
    - }
    -
    - public void editSelection()
    - {
    - int selectedRowIndex = table_.getSelectionIndex();
    - if (selectedRowIndex != -1 && columns_.length > 0)
    - {
    - // refresh table
    - internalRefresh();
    - // Clean up any previous editor control
    - internalDispose();
    - editSelection(selectedRowIndex, 0);
    - }
    - currSelectionIndex_ = selectedRowIndex;
    - }
    - }
    -
    - protected class ListContentProvider implements IStructuredContentProvider
    - {
    - public void dispose()
    - {
    - }
    -
    - public void inputChanged(Viewer viewer, Object oldInput, Object newInput)
    - {
    - tableViewer_.add(getElements(newInput));
    - }
    -
    - public Object[] getElements(Object inputElement)
    - {
    - if (inputElement instanceof List)
    - {
    - List list = (List)inputElement;
    - Object[] objects = new Object[list.size()];
    - for (int i = 0; i < objects.length; i++)
    - objects[i] = list.get(i);
    - return objects;
    - }
    - else
    - return new Object[0];
    - }
    - }
    -
    - protected class ListLabelProvider implements ITableLabelProvider
    - {
    - public Image getColumnImage(Object element, int columnIndex)
    - {
    - return null;
    - }
    -
    - public String getColumnText(Object element, int columnIndex)
    - {
    - return element.toString();
    - }
    -
    - public void addListener(ILabelProviderListener listener)
    - {
    - }
    -
    - public void removeListener(ILabelProviderListener listener)
    - {
    - }
    -
    - public boolean isLabelProperty(Object element, String property)
    - {
    - return true;
    - }
    -
    - public void dispose()
    - {
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Utils.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Utils.java
    deleted file mode 100644
    index 4dae50bac..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsil/Utils.java
    +++ /dev/null
    @@ -1,52 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2002, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wsil;
    -
    -import java.net.MalformedURLException;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -
    -
    -public class Utils
    -{
    - public Utils()
    - {
    - }
    -
    - public String toFileSystemURI(String relativePlatformURI)
    - {
    - if (relativePlatformURI != null)
    - return toFileSystemURI(ResourceUtils.findResource(relativePlatformURI));
    - else
    - return null;
    - }
    -
    - public String toFileSystemURI(IResource res)
    - {
    - if (res != null)
    - {
    - IPath path = res.getLocation();
    - if (path != null)
    - {
    - try
    - {
    - return path.toFile().toURL().toString();
    - }
    - catch (MalformedURLException murle)
    - {
    - }
    - }
    - }
    - return null;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientRuntimeDescriptor.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientRuntimeDescriptor.java
    deleted file mode 100644
    index 65bedf58f..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientRuntimeDescriptor.java
    +++ /dev/null
    @@ -1,147 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
    -
    -import java.util.ArrayList;
    -import java.util.HashSet;
    -import java.util.Hashtable;
    -import java.util.Set;
    -
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IConfigurationElement;
    -import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
    -import org.eclipse.wst.common.project.facet.core.IProjectFacet;
    -import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
    -import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceRuntime;
    -
    -public class ClientRuntimeDescriptor
    -{
    - private IConfigurationElement elem;
    - private Hashtable allWebServiceClientImpls;
    - private Hashtable allRuntimes;
    - private String id;
    - private WebServiceClientImpl clientImplementationType;
    - private RuntimeDescriptor runtime;
    - private String clientRuntimeClassName;
    - private IWebServiceRuntime webServiceRuntime;
    - private RequiredFacetVersion[] requiredFacetVersions;
    - private Set projectFacetVersions;
    -
    - public ClientRuntimeDescriptor(IConfigurationElement elem, Hashtable allWebServiceClientImpls, Hashtable allRuntimes)
    - {
    - this.elem = elem;
    - this.allWebServiceClientImpls = allWebServiceClientImpls;
    - this.allRuntimes = allRuntimes;
    - }
    -
    - public WebServiceClientImpl getClientImplementationType()
    - {
    - if (clientImplementationType == null)
    - {
    - String clientImplementationTypeId = elem.getAttribute("clientImplementationTypeId");
    - clientImplementationType = (WebServiceClientImpl)allWebServiceClientImpls.get(clientImplementationTypeId);
    - }
    - return clientImplementationType;
    - }
    -
    - public String getClientRuntimeClassName()
    - {
    - if (clientRuntimeClassName == null)
    - {
    - clientRuntimeClassName = elem.getAttribute("class");
    - }
    - return clientRuntimeClassName;
    - }
    -
    - public String getId()
    - {
    - if (id == null)
    - {
    - id = elem.getAttribute("id");
    - }
    - return id;
    - }
    -
    - public RequiredFacetVersion[] getRequiredFacetVersions()
    - {
    - if (requiredFacetVersions == null)
    - {
    - ArrayList requiredFacetVersionList = new ArrayList();
    - IConfigurationElement[] facetElems = elem.getChildren("required-facet-version");
    - for (int i = 0; i < facetElems.length; i++)
    - {
    - RequiredFacetVersion rfv = new RequiredFacetVersion();
    - IProjectFacet projectFacet = ProjectFacetsManager.getProjectFacet(facetElems[i].getAttribute("facet"));
    - IProjectFacetVersion projectFacetVersion = projectFacet.getVersion(facetElems[i].getAttribute("version"));
    - rfv.setProjectFacetVersion(projectFacetVersion);
    - String allowNewerValue = facetElems[i].getAttribute("allow-newer");
    - if (allowNewerValue == null)
    - {
    - rfv.setAllowNewer(false);
    - }
    - else
    - {
    - rfv.setAllowNewer(Boolean.valueOf(allowNewerValue).booleanValue());
    - }
    -
    - requiredFacetVersionList.add(rfv);
    - }
    -
    - requiredFacetVersions = (RequiredFacetVersion[])requiredFacetVersionList.toArray(new RequiredFacetVersion[]{});
    - }
    -
    - return requiredFacetVersions;
    - }
    -
    - public Set getProjectFacetVersions()
    - {
    - if (projectFacetVersions == null)
    - {
    - projectFacetVersions = new HashSet();
    - RequiredFacetVersion[] rfv = getRequiredFacetVersions();
    - for (int i=0; i<rfv.length; i++)
    - {
    - projectFacetVersions.add(rfv[i].getProjectFacetVersion());
    - }
    - }
    -
    - return projectFacetVersions;
    - }
    -
    - public RuntimeDescriptor getRuntime()
    - {
    - if (runtime == null)
    - {
    - String runtimeId = elem.getAttribute("runtimeId");
    - runtime = (RuntimeDescriptor)allRuntimes.get(runtimeId);
    - }
    - return runtime;
    - }
    -
    - public IWebServiceRuntime getWebServiceRuntime()
    - {
    - if (webServiceRuntime == null)
    - {
    - try
    - {
    - webServiceRuntime = (IWebServiceRuntime)elem.createExecutableExtension("class");
    - }
    - catch(CoreException ce)
    - {
    -
    - }
    - }
    -
    - return webServiceRuntime;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientType.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientType.java
    deleted file mode 100644
    index e3c4b51fe..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ClientType.java
    +++ /dev/null
    @@ -1,120 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
    -
    -import java.util.Hashtable;
    -import org.eclipse.core.runtime.IConfigurationElement;
    -import com.ibm.icu.util.StringTokenizer;
    -
    -public class ClientType {
    -
    - private IConfigurationElement elem_;
    - private Hashtable webServiceClientImpls_;
    -
    - private String id;
    - private WebServiceClientImpl webServiceClientImpl;
    - private String[] moduleTypesInclude;
    - private String[] moduleTypesExclude;
    -
    -
    -
    - public ClientType(IConfigurationElement elem_, Hashtable webServiceClientImpls_)
    - {
    - super();
    - this.elem_ = elem_;
    - this.webServiceClientImpls_ = webServiceClientImpls_;
    - }
    -
    -
    -
    - public String getId()
    - {
    - if (id==null)
    - {
    - id = elem_.getAttribute("id");
    - }
    - return id;
    - }
    -
    -
    -
    -
    - public String[] getModuleTypesExclude()
    - {
    - if (moduleTypesExclude==null)
    - {
    - String attr = elem_.getAttribute("moduleTypesExclude");
    - if (attr != null && attr.length()>0)
    - {
    - StringTokenizer st = new StringTokenizer(attr, " ");
    - int size = st.countTokens();
    - moduleTypesExclude = new String[size];
    - for (int i = 0; i < moduleTypesExclude.length; i++)
    - moduleTypesExclude[i] = st.nextToken();
    - }
    - }
    - return moduleTypesExclude;
    - }
    -
    -
    -
    -
    - public String[] getModuleTypesInclude()
    - {
    - if (moduleTypesInclude==null)
    - {
    - String attr = elem_.getAttribute("moduleTypesInclude");
    - if (attr != null && attr.length()>0)
    - {
    - StringTokenizer st = new StringTokenizer(attr, " ");
    - int size = st.countTokens();
    - moduleTypesInclude = new String[size];
    - for (int i = 0; i < moduleTypesInclude.length; i++)
    - moduleTypesInclude[i] = st.nextToken();
    - }
    - }
    - return moduleTypesInclude;
    - }
    -
    -
    -
    -
    - public WebServiceClientImpl getWebServiceClientImpl()
    - {
    - if (webServiceClientImpl==null)
    - {
    - String wscimplId = elem_.getAttribute("implId");
    - webServiceClientImpl = (WebServiceClientImpl)webServiceClientImpls_.get(wscimplId);
    - }
    - return webServiceClientImpl;
    - }
    -
    -
    -
    - /*
    - public String getWebServiceClientTypeId()
    - {
    - if (webServiceClientTypeId==null)
    - {
    - webServiceClientTypeId = elem_.getAttribute("webServiceClientTypeId");
    - }
    - return webServiceClientTypeId;
    - }
    - */
    -
    -
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Context.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Context.java
    deleted file mode 100644
    index 034a6e8ef..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Context.java
    +++ /dev/null
    @@ -1,143 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
    -
    -import org.eclipse.wst.ws.internal.wsrt.IContext;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
    -
    -/**
    - * @author rsinha
    - *
    - * TODO To change the template for this generated type comment go to
    - * Window - Preferences - Java - Code Style - Code Templates
    - */
    -public class Context implements IContext {
    - private WebServiceScenario scenario;
    - private boolean develop;
    - private boolean assemble;
    - private boolean deploy;
    - private boolean install;
    - private boolean run;
    - private boolean client;
    - private boolean test;
    - private boolean publish;
    - private boolean overWriteFiles;
    - private boolean createFolders;
    - private boolean checkOutFiles;
    -
    - public boolean getAssemble() {
    - return assemble;
    - }
    -
    - public boolean getCheckOutFiles() {
    - return checkOutFiles;
    - }
    -
    - public boolean getClient() {
    - return client;
    - }
    -
    - public boolean getCreateFolders() {
    - return createFolders;
    - }
    -
    - public boolean getDeploy() {
    - return deploy;
    - }
    -
    - public boolean getDevelop() {
    - return develop;
    - }
    -
    - public boolean getInstall() {
    - return install;
    - }
    -
    - public boolean getOverWriteFiles() {
    - return overWriteFiles;
    - }
    -
    - public boolean getPublish() {
    - return publish;
    - }
    -
    - public boolean getRun() {
    - return run;
    - }
    -
    - public WebServiceScenario getScenario() {
    - return scenario;
    - }
    -
    - public boolean getTest() {
    - return test;
    - }
    -
    - public void setAssemble(boolean assemble) {
    - this.assemble = assemble;
    - }
    -
    -
    - public void setCheckOutFiles(boolean checkOutFiles) {
    - this.checkOutFiles = checkOutFiles;
    - }
    -
    -
    - public void setClient(boolean client) {
    - this.client = client;
    - }
    -
    -
    - public void setCreateFolders(boolean createFolders) {
    - this.createFolders = createFolders;
    - }
    -
    -
    - public void setDeploy(boolean deploy) {
    - this.deploy = deploy;
    - }
    -
    -
    - public void setDevelop(boolean develop) {
    - this.develop = develop;
    - }
    -
    -
    - public void setInstall(boolean install) {
    - this.install = install;
    - }
    -
    -
    - public void setOverWriteFiles(boolean overWriteFiles) {
    - this.overWriteFiles = overWriteFiles;
    - }
    -
    -
    - public void setPublish(boolean publish) {
    - this.publish = publish;
    - }
    -
    -
    - public void setRun(boolean run) {
    - this.run = run;
    - }
    -
    -
    - public void setScenario(WebServiceScenario scenario) {
    - this.scenario = scenario;
    - }
    -
    -
    - public void setTest(boolean test) {
    - this.test = test;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/FacetMatchCache.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/FacetMatchCache.java
    deleted file mode 100644
    index 293d9f48a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/FacetMatchCache.java
    +++ /dev/null
    @@ -1,495 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner (initial creation)
    - * 20060426 138051 kathy@ca.ibm.com - Kathy Chan
    - * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
    -
    -import java.util.ArrayList;
    -import java.util.HashSet;
    -import java.util.Hashtable;
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Set;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.resources.IResourceChangeEvent;
    -import org.eclipse.core.resources.IResourceChangeListener;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.ws.internal.consumption.common.FacetMatcher;
    -import org.eclipse.jst.ws.internal.consumption.common.FacetSetsByTemplateCache;
    -import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
    -import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
    -import org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate;
    -import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
    -import org.eclipse.wst.common.project.facet.core.runtime.IRuntime;
    -
    -/**
    - * FacetMatchCache caches results of calculations made respecting
    - * the suitability of projects and project types for serviceRuntimes
    - * and clientRuntimes.
    - *
    - * <br/><br/>
    - * Teminology used in the javadoc in this class:
    - * <ul>
    - * <li><b>serviceRuntime</b>: extension to org.eclipse.jst.ws.consumption.ui.serviceRuntimes.
    - * The Java representation of this is org.eclipse.jst.ws.internal.consumption.ui.wsrt.ServiceRuntimeDescriptor</li>
    - * <li><b>clientRuntime</b>: extension to org.eclipse.jst.ws.consumption.ui.clientRuntimes.
    - * The Java representation of this is org.eclipse.jst.ws.internal.consumption.ui.wsrt.ClientRuntimeDescriptor</li>
    - * </ul>
    - *
    - */
    -public class FacetMatchCache implements IResourceChangeListener
    -{
    - //single instance per workbench
    - private static FacetMatchCache instance_;
    -
    -
    - //Tables related to existing projects in the workspace
    -
    - //serviceFacetMatchTable_:
    - //key: Object of type String.
    - // Forward slash separated concatenation of a serviceRuntimeId and a projectName
    - // (e.g. org.eclipse.jst.ws.axis.creation.java/wp).
    - //value: Object of type org.eclipse.jst.ws.internal.consumption.common.FacetMatcher.
    - // The FacetMatcher contains the matching characteristics calculated for the
    - // serviceRuntime and project in the key.
    - private Hashtable serviceFacetMatchTable_;
    -
    - //serviceTableKeysByProjectName_:
    - //key: Object of type String.
    - // project name (e.g. wp)
    - //value: Set of elements of type String. The Strings in the Set are keys from the serviceFacetMatchTable_
    - // that contain the project name (e.g. org.eclipse.jst.ws.axis.creation.java/wp). Used to rapidly
    - // delete entries from serviceFacetMatchTable_ after a project is deleted from the workspace.
    - private Hashtable serviceTableKeysByProjectName_;
    -
    - //clientFacetMatchTable_;
    - //key: Object of type String.
    - // forward slash separated concatenation of a clientRuntimeId and a projectName
    - // (e.g. org.eclipse.jst.ws.axis.consumption.java/wp)
    - //value: Object of type org.eclipse.jst.ws.internal.consumption.common.FacetMatcher
    - // The FacetMatcher contains the matching characteristics calculated for the
    - // clientRuntime and project in the key.
    - private Hashtable clientFacetMatchTable_;
    -
    - //clientTableKeysByProjectName_
    - //key: Object of type String.
    - // project name (e.g. wp)
    - //value: Set of elements of type String. The Strings in the Set are keys from the clientFacetMatchTable_
    - // that contain the project name (e.g. org.eclipse.jst.ws.axis.consumption.java/wp). Used to rapidly
    - // delete entries from clientFacetMatchTable_ after a project is deleted from the workspace.
    - private Hashtable clientTableKeysByProjectName_;
    -
    - //projectEntriesToDelete_: elements of type String containing the names of projects that have
    - //been deleted from the workspace but their corresponding entries from serviceFacetMatchTable_
    - //and clientFacetMatchTable_ have yet to be deleted.
    - private List projectEntriesToDelete_;
    -
    -
    -
    - //Tables related to templates
    -
    - //templatesByServiceRuntimeId_:
    - //key: Object of type String.
    - // serviceRuntime id
    - //value: Set of elements of type org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate
    - // This the set of templates that support the serviceRuntime identified by the key.
    - private Hashtable templatesByServiceRuntimeId_;
    -
    - //templatesByClientRuntimeId_
    - //key: Object of type String.
    - // clientRuntime id
    - //value: Set of elements of type org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate
    - // This the set of templates that support the clientRuntime identified by the key.
    - private Hashtable templatesByClientRuntimeId_;
    -
    -
    - /**
    - * Returns a singleton instance of this class.
    - *
    - * @return A singleton FacetMatchCache object.
    - */
    - public static synchronized FacetMatchCache getInstance()
    - {
    - if (instance_ == null)
    - {
    - instance_ = new FacetMatchCache();
    - instance_.load();
    - }
    - return instance_;
    - }
    -
    - private void load()
    - {
    - serviceFacetMatchTable_ = new Hashtable();
    - serviceTableKeysByProjectName_ = new Hashtable();
    - clientFacetMatchTable_ = new Hashtable();
    - clientTableKeysByProjectName_ = new Hashtable();
    - projectEntriesToDelete_ = new ArrayList();
    - templatesByClientRuntimeId_ = new Hashtable();
    - templatesByServiceRuntimeId_ = new Hashtable();
    -
    - //Listen for deletions of projects in order to delete all entries in
    - //Hashtables for the deleted project.
    - ResourcesPlugin.getWorkspace().addResourceChangeListener(this, IResourceChangeEvent.PRE_DELETE);
    - }
    -
    -
    - /*
    - * Returns the FacetMatcher resulting from matching a serviceRuntime or clientRuntime with an existing project.
    - * @param isClient true if runtimeId is a clientRuntimeId. false if runtimeId is a serviceRuntimeId.
    - * @param runtimeId the id of a clientRuntime if isClient is true or the id of a serviceRuntime if
    - * isClient is false.
    - * @param projectName the name of an existing project.
    - *
    - * @returns FacetMatcher resulting from calling FacetUtils.match(..) using the serviceRuntime or clientRuntime id
    - * and the project name. Returns null if the project doesn't exist. Non-faceted existing projects will always result
    - * in a FacetMatcher with isMatch() equal to false (with the exception of Java projects which are a special case
    - * - see FacetUtils.getFacetsForProject()).
    - */
    - public synchronized FacetMatcher getMatchForProject(boolean isClient, String runtimeId, String projectName)
    - {
    - //Delete entries from tables if there are deletions pending.
    - if (projectEntriesToDelete_.size() > 0)
    - {
    - Iterator projectItr = projectEntriesToDelete_.iterator();
    - while(projectItr.hasNext())
    - {
    - String projectNameToDelete = (String)projectItr.next();
    -
    - //Delete entries from client table
    - removeTableEntriesForProject(true, projectNameToDelete);
    -
    - //Delete entries from service table
    - removeTableEntriesForProject(false, projectNameToDelete);
    - }
    -
    - //Clear the projectEntriesToDelete list
    - projectEntriesToDelete_.clear();
    - }
    -
    - IProject project = ProjectUtilities.getProject(projectName);
    - FacetMatcher fm = null;
    - if (project != null && project.exists())
    - {
    - String key = getKey(runtimeId, projectName);
    - if (isClient)
    - {
    - fm = (FacetMatcher) clientFacetMatchTable_.get(key);
    - }
    - else
    - {
    - fm = (FacetMatcher) serviceFacetMatchTable_.get(key);
    - }
    -
    - if (fm == null)
    - {
    - // This combination has not yet been calculated and cached so calculate it and cache it.
    - fm = calculateFacetMatcher(isClient, runtimeId, projectName);
    - if (isClient)
    - {
    - clientFacetMatchTable_.put(key,fm);
    - }
    - else
    - {
    - serviceFacetMatchTable_.put(key, fm);
    - }
    - updateTableOfKeys(isClient, key, projectName);
    -
    - } else
    - {
    - // If the project's facets have changed since the last time the
    - // facets were calculated, refresh the facetMatcher.
    - Set currentFacetVersions = FacetUtils.getFacetsForProject(projectName);
    - Set previousFacetVersions = fm.getFacetsTested();
    - if (!currentFacetVersions.equals(previousFacetVersions))
    - {
    - //recalculate and cache the FacetMatcher
    - fm = calculateFacetMatcher(isClient, runtimeId, projectName);
    - if (isClient)
    - {
    - clientFacetMatchTable_.put(key,fm);
    - }
    - else
    - {
    - serviceFacetMatchTable_.put(key, fm);
    - }
    - }
    - }
    - }
    -
    - return fm;
    - }
    -
    - /**
    - * Updates serviceTableKeysByProjectName_ or clientTableKeysByProjectName_ with
    - * the provided project name and key. This is called whenever a new entry is
    - * added to serviceFacetMatchTable_ or clientFacetMatchTable_.
    - * @param isClient true if runtimeId is a clientRuntimeId. false if runtimeId is a serviceRuntimeId.
    - * @param key
    - * @param projectName
    - */
    - private void updateTableOfKeys(boolean isClient, String key, String projectName)
    - {
    - Set setOfKeysForProjectName = null;
    - if (isClient)
    - {
    - setOfKeysForProjectName = (Set)clientTableKeysByProjectName_.get(projectName);
    - }
    - else
    - {
    - setOfKeysForProjectName = (Set)serviceTableKeysByProjectName_.get(projectName);
    - }
    -
    - if (setOfKeysForProjectName == null)
    - {
    - //Add an entry in the table for this project.
    - Set keys = new HashSet();
    - keys.add(key);
    - if (isClient)
    - {
    - clientTableKeysByProjectName_.put(projectName, keys);
    - }
    - else
    - {
    - serviceTableKeysByProjectName_.put(projectName, keys);
    - }
    - }
    - else
    - {
    - //Update the entry in the table for this project.
    - setOfKeysForProjectName.add(key);
    - }
    - }
    -
    - /**
    - * Returns the {@link FacetMatcher} calculated for the given serviceRuntime or clientRuntime and project
    - * @param isClient true if runtimeId is a clientRuntimeId. false if runtimeId is a serviceRuntimeId.
    - * @param runtimeId the id of a clientRuntime if isClient is true or the id of a serviceRuntime if
    - * isClient is false.
    - * @param projectName the name of an existing project.
    - * @return FacetMatcher resulting from calling FacetUtils.match(..) using the serviceRuntime or clientRuntime id
    - * and the project name. Returns null if the project doesn't exist. Non-faceted existing projects will always result
    - * in a FacetMatcher with isMatch() equal to false (with the exception of Java projects which are a special case
    - * - see FacetUtils.getFacetsForProject()).
    - */
    - private FacetMatcher calculateFacetMatcher(boolean isClient, String runtimeId, String projectName)
    - {
    - FacetMatcher fm = null;
    - RequiredFacetVersion[] rfvs = null;
    - if (isClient)
    - {
    - ClientRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(runtimeId);
    - rfvs = desc.getRequiredFacetVersions();
    - }
    - else
    - {
    - ServiceRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(runtimeId);
    - rfvs = desc.getRequiredFacetVersions();
    - }
    -
    - Set facetVersions = FacetUtils.getFacetsForProject(projectName);
    - if (facetVersions == null)
    - {
    - fm = new FacetMatcher();
    - fm.setMatch(false);
    - return fm;
    - }
    -
    - fm = FacetUtils.match(rfvs, facetVersions);
    -
    - // Check if the facet runtime required by the required facet is supported
    - // by the project without chaning it's current facet runtime
    -
    - IRuntime fProjectRuntime = FacetUtils.getFacetRuntimeForProject(projectName);
    - if (fProjectRuntime != null) {
    - String fProjectRuntimeName = fProjectRuntime.getName();
    - boolean projectSupportRequiredFacetRuntime = false;
    - Set rts = FacetUtils.getRuntimes(rfvs);
    - for (Iterator iterator = rts.iterator(); iterator.hasNext() && !projectSupportRequiredFacetRuntime;) {
    - IRuntime fRequiredRuntime = (IRuntime) iterator.next();
    - if (fRequiredRuntime != null) {
    - if (fRequiredRuntime.getName().equals(fProjectRuntimeName)) {
    - projectSupportRequiredFacetRuntime = true;
    - }
    - }
    - }
    -
    - // if project does not support the required facet runtime, set FacetMatch match to false
    - if (!projectSupportRequiredFacetRuntime) {
    - fm.setMatch(false);
    - }
    - }
    - return fm;
    - }
    -
    - private String getKey(String a, String b)
    - {
    - StringBuffer keysb = new StringBuffer();
    - keysb.append(a);
    - keysb.append("/");
    - keysb.append(b);
    - return keysb.toString();
    - }
    -
    - /**
    - * Removes all table entries in this cache for the given project
    - * @param isClient true to remove entries from client side tables. false to remove entries from service side tables
    - * @param projectName
    - */
    - private void removeTableEntriesForProject(boolean isClient, String projectName)
    - {
    - //First remove the entries from clientFacetMatchTable_ or serviceFacetMatchTable_
    - //that have keys containing this project name.
    - Set setOfKeysForProjectName = null;
    - if (isClient)
    - {
    - setOfKeysForProjectName = (Set)clientTableKeysByProjectName_.get(projectName);
    - }
    - else
    - {
    - setOfKeysForProjectName = (Set)serviceTableKeysByProjectName_.get(projectName);
    - }
    -
    - if (setOfKeysForProjectName != null)
    - {
    - Iterator keysItr = setOfKeysForProjectName.iterator();
    - while (keysItr.hasNext())
    - {
    - String key = (String)keysItr.next();
    - if (isClient)
    - {
    - clientFacetMatchTable_.remove(key);
    - }
    - else
    - {
    - serviceFacetMatchTable_.remove(key);
    - }
    - }
    -
    - //Second, remove the entry in clientTableKeysByProjectName_ or serviceTableKeysByProjectName_
    - //with this projectName as the key.
    - if (isClient)
    - {
    - clientTableKeysByProjectName_.remove(projectName);
    - }
    - else
    - {
    - serviceTableKeysByProjectName_.remove(projectName);
    - }
    -
    - }
    -
    - }
    -
    - /**
    - * Returns a set of templates supported by the given clientRuntime
    - * @param clientRuntimeId id of a clientRuntime
    - * @returns Set (elementtype: IFacetedProjectTemplate)
    - */
    - public synchronized Set getTemplatesForClientRuntime(String clientRuntimeId)
    - {
    - Set templates = (Set)templatesByClientRuntimeId_.get(clientRuntimeId);
    - if (templates != null)
    - {
    - //Return the cached set of templates.
    - return templates;
    - }
    - else
    - {
    - //Calculate the templates, cache them for later use, and return them.
    - ClientRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getClientRuntimeDescriptorById(clientRuntimeId);
    - Set validTemplates = getTemplates(desc.getRequiredFacetVersions());
    - templatesByClientRuntimeId_.put(clientRuntimeId, validTemplates);
    - return validTemplates;
    - }
    - }
    -
    - /**
    - * Returns a set of templates supported by the given serviceRuntime
    - * @param serviceRuntimeId id of a serviceRuntime
    - * @returns Set (elementtype: IFacetedProjectTemplate)
    - */
    - public synchronized Set getTemplatesForServiceRuntime(String serviceRuntimeId)
    - {
    - Set templates = (Set)templatesByServiceRuntimeId_.get(serviceRuntimeId);
    - if (templates != null)
    - {
    - //Return the cached set of templates.
    - return templates;
    - }
    - else
    - {
    - //Calculate the templates, cache them for later use, and return them.
    - ServiceRuntimeDescriptor desc = WebServiceRuntimeExtensionUtils2.getServiceRuntimeDescriptorById(serviceRuntimeId);
    - Set validTemplates = getTemplates(desc.getRequiredFacetVersions());
    - templatesByServiceRuntimeId_.put(serviceRuntimeId, validTemplates);
    - return validTemplates;
    - }
    - }
    -
    -
    - /**
    - * Returns the set of templates that supported the given required facet versions.
    - * @param requiredFacetVersions
    - * @return Set containing elemets of type {@link IFacetedProjectTemplate}.
    - */
    - private Set getTemplates(RequiredFacetVersion[] requiredFacetVersions)
    - {
    - Set templates = new HashSet();
    -
    - for( Iterator itr = ProjectFacetsManager.getTemplates().iterator(); itr.hasNext(); )
    - {
    - final IFacetedProjectTemplate template = (IFacetedProjectTemplate) itr.next();
    - String templateId = template.getId();
    - if (templateId.indexOf("ear") == -1 && templateId.indexOf("wst.web") == -1) //Don't include the EARs!!
    - {
    - Set[] combinations = FacetSetsByTemplateCache.getInstance().getFacetVersionCombinationsFromTemplate(templateId);
    - for (int i=0; i<combinations.length; i++)
    - {
    - FacetMatcher fm = FacetUtils.match(requiredFacetVersions, combinations[i]);
    - if (fm.isMatch())
    - {
    - //Found a combination that worked. Add the template to the list and move on.
    - templates.add(template);
    - break;
    - }
    - }
    - }
    - }
    -
    - return templates;
    -
    - }
    -
    - public synchronized void resourceChanged(IResourceChangeEvent event)
    - {
    - if (event.getType() == IResourceChangeEvent.PRE_DELETE)
    - {
    - IResource projectResource = event.getResource();
    - if (projectResource!=null)
    - {
    - String projectName = projectResource.getName();
    -
    - //Add this project name to the list of project entries
    - //to delete. Next time getMatchForProject is called all
    - //entries for this project from all tables in this cache
    - //will be deleted.
    - projectEntriesToDelete_.add(projectName);
    - }
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/RuntimeDescriptor.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/RuntimeDescriptor.java
    deleted file mode 100644
    index ac2bb3709..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/RuntimeDescriptor.java
    +++ /dev/null
    @@ -1,74 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
    -
    -import org.eclipse.core.runtime.IConfigurationElement;
    -
    -public class RuntimeDescriptor
    -{
    -
    - private IConfigurationElement elem;
    - private String id;
    - private String label;
    - private String serverRequiredString;
    - private boolean serverRequired;
    -
    -
    - public RuntimeDescriptor(IConfigurationElement elem)
    - {
    - this.elem = elem;
    - }
    -
    - public String getId()
    - {
    - if (id == null)
    - {
    - id = elem.getAttribute("id");
    - }
    - return id;
    - }
    -
    - public String getLabel()
    - {
    - if (label == null)
    - {
    - label = elem.getAttribute("label");
    - }
    - return label;
    - }
    -
    - public String[] getJ2eeLevels()
    - {
    - return new String[]{"13", "14"};
    - }
    -
    - public boolean getServerRequired()
    - {
    - if (serverRequiredString == null)
    - {
    - //Defaults to true if the extension omits this attribute
    - serverRequired = true;
    -
    - serverRequiredString = elem.getAttribute("serverRequired");
    - if (serverRequiredString != null)
    - {
    - serverRequired = Boolean.valueOf(serverRequiredString).booleanValue();
    - }
    -
    - }
    - return serverRequired;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Selection.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Selection.java
    deleted file mode 100644
    index 631454bd6..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/Selection.java
    +++ /dev/null
    @@ -1,30 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
    -
    -import org.eclipse.wst.ws.internal.wsrt.ISelection;
    -
    -public class Selection implements ISelection {
    -
    - private Object[] selection;
    -
    - public Object[] getSelection()
    - {
    - return selection;
    - }
    -
    - public void setSelection(Object[] selection)
    - {
    - this.selection = selection;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceRuntimeDescriptor.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceRuntimeDescriptor.java
    deleted file mode 100644
    index 97c58e125..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceRuntimeDescriptor.java
    +++ /dev/null
    @@ -1,171 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060802 152150 mahutch@ca.ibm.com
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
    -
    -import java.util.ArrayList;
    -import java.util.HashSet;
    -import java.util.Hashtable;
    -import java.util.Set;
    -
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IConfigurationElement;
    -import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
    -import org.eclipse.wst.common.project.facet.core.IProjectFacet;
    -import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
    -import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceRuntime;
    -
    -
    -public class ServiceRuntimeDescriptor
    -{
    - private IConfigurationElement elem;
    - private Hashtable allWebServiceImpls;
    - private Hashtable allRuntimes;
    - private String id;
    - private WebServiceImpl serviceImplementationType;
    - private RuntimeDescriptor runtime;
    - private boolean bottomUp = false;
    - private boolean topDown = false;
    - private String serviceRuntimeClassName;
    - private IWebServiceRuntime webServiceRuntime;
    - private RequiredFacetVersion[] requiredFacetVersions;
    - private Set projectFacetVersions;
    -
    - public ServiceRuntimeDescriptor(IConfigurationElement elem, Hashtable allWebServiceImpls, Hashtable allRuntimes)
    - {
    - this.elem = elem;
    - this.allWebServiceImpls = allWebServiceImpls;
    - this.allRuntimes = allRuntimes;
    -
    - bottomUp = (Boolean.valueOf(elem.getAttribute("bottomUp"))).booleanValue();
    - topDown = (Boolean.valueOf(elem.getAttribute("topDown"))).booleanValue();
    - }
    -
    - public boolean getBottomUp()
    - {
    - return bottomUp;
    - }
    -
    - public String getId()
    - {
    - if (id == null)
    - {
    - id = elem.getAttribute("id");
    - }
    - return id;
    - }
    -
    -
    - public RequiredFacetVersion[] getRequiredFacetVersions()
    - {
    - if (requiredFacetVersions == null)
    - {
    - ArrayList requiredFacetVersionList = new ArrayList();
    - IConfigurationElement[] facetElems = elem.getChildren("required-facet-version");
    - for (int i = 0; i < facetElems.length; i++)
    - {
    - String facetID = facetElems[i].getAttribute("facet");
    - if (ProjectFacetsManager.isProjectFacetDefined(facetID))
    - {
    - RequiredFacetVersion rfv = new RequiredFacetVersion();
    - IProjectFacet projectFacet = ProjectFacetsManager.getProjectFacet(facetID);
    - IProjectFacetVersion projectFacetVersion = projectFacet.getVersion(facetElems[i].getAttribute("version"));
    - rfv.setProjectFacetVersion(projectFacetVersion);
    - String allowNewerValue = facetElems[i].getAttribute("allow-newer");
    - if (allowNewerValue == null)
    - {
    - rfv.setAllowNewer(false);
    - }
    - else
    - {
    - rfv.setAllowNewer(Boolean.valueOf(allowNewerValue).booleanValue());
    - }
    -
    - requiredFacetVersionList.add(rfv);
    - }
    - }
    -
    - requiredFacetVersions = (RequiredFacetVersion[])requiredFacetVersionList.toArray(new RequiredFacetVersion[]{});
    - }
    -
    - return requiredFacetVersions;
    - }
    -
    - public Set getProjectFacetVersions()
    - {
    - if (projectFacetVersions == null)
    - {
    - projectFacetVersions = new HashSet();
    - RequiredFacetVersion[] rfv = getRequiredFacetVersions();
    - for (int i=0; i<rfv.length; i++)
    - {
    - projectFacetVersions.add(rfv[i].getProjectFacetVersion());
    - }
    - }
    -
    - return projectFacetVersions;
    - }
    -
    - public RuntimeDescriptor getRuntime()
    - {
    - if (runtime == null)
    - {
    - String runtimeId = elem.getAttribute("runtimeId");
    - runtime = (RuntimeDescriptor)allRuntimes.get(runtimeId);
    - }
    - return runtime;
    - }
    -
    - public WebServiceImpl getServiceImplementationType()
    - {
    - if (serviceImplementationType == null)
    - {
    - String serviceImplementationTypeId = elem.getAttribute("serviceImplementationTypeId");
    - serviceImplementationType = (WebServiceImpl)allWebServiceImpls.get(serviceImplementationTypeId);
    - }
    - return serviceImplementationType;
    - }
    -
    - public String getServiceRuntimeClassName()
    - {
    - if (serviceRuntimeClassName == null)
    - {
    - serviceRuntimeClassName = elem.getAttribute("class");
    - }
    - return serviceRuntimeClassName;
    - }
    -
    - public boolean getTopDown()
    - {
    - return topDown;
    - }
    -
    - public IWebServiceRuntime getWebServiceRuntime()
    - {
    - if (webServiceRuntime == null)
    - {
    - try
    - {
    - webServiceRuntime = (IWebServiceRuntime)elem.createExecutableExtension("class");
    - }
    - catch(CoreException ce)
    - {
    -
    - }
    - }
    -
    - return webServiceRuntime;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceType.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceType.java
    deleted file mode 100644
    index 417cc2917..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/ServiceType.java
    +++ /dev/null
    @@ -1,201 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
    -
    -import java.util.Hashtable;
    -import org.eclipse.core.runtime.IConfigurationElement;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
    -import com.ibm.icu.util.StringTokenizer;
    -
    -public class ServiceType {
    -
    - private IConfigurationElement elem_;
    - private Hashtable webServiceImpls_;
    - private String id;
    - private WebServiceImpl webServiceImpl;
    - private String[] bottomUpModuleTypesInclude;
    - private String[] topDownModuleTypesInclude;
    - private String[] bottomUpModuleTypesExclude;
    - private String[] topDownModuleTypesExclude;
    -
    -
    -
    -
    - public ServiceType(IConfigurationElement elem_, Hashtable webServiceImpls_)
    - {
    - super();
    - this.elem_ = elem_;
    - this.webServiceImpls_ = webServiceImpls_;
    - }
    -
    - public String[] getBottomUpModuleTypesExclude()
    - {
    - if (bottomUpModuleTypesExclude==null)
    - {
    - String attr = elem_.getAttribute("buModuleTypesExclude");
    - if (attr != null && attr.length()>0)
    - {
    - StringTokenizer st = new StringTokenizer(attr, " ");
    - int size = st.countTokens();
    - bottomUpModuleTypesExclude = new String[size];
    - for (int i = 0; i < bottomUpModuleTypesExclude.length; i++)
    - bottomUpModuleTypesExclude[i] = st.nextToken();
    - }
    - }
    - return bottomUpModuleTypesExclude;
    - }
    -
    - public void setBottomUpModuleTypesExclude(String[] bottomUpModuleTypesExclude)
    - {
    - this.bottomUpModuleTypesExclude = bottomUpModuleTypesExclude;
    - }
    -
    - public String[] getBottomUpModuleTypesInclude()
    - {
    - if (bottomUpModuleTypesInclude==null)
    - {
    - String attr = elem_.getAttribute("buModuleTypesInclude");
    - if (attr != null && attr.length()>0)
    - {
    - StringTokenizer st = new StringTokenizer(attr, " ");
    - int size = st.countTokens();
    - bottomUpModuleTypesInclude = new String[size];
    - for (int i = 0; i < bottomUpModuleTypesInclude.length; i++)
    - bottomUpModuleTypesInclude[i] = st.nextToken();
    - }
    - }
    - return bottomUpModuleTypesInclude;
    - }
    -
    - public void setBottomUpModuleTypesInclude(String[] bottomUpModuleTypesInclude)
    - {
    - this.bottomUpModuleTypesInclude = bottomUpModuleTypesInclude;
    - }
    -
    - public String getId()
    - {
    - if (id==null)
    - {
    - id = elem_.getAttribute("id");
    - }
    - return id;
    - }
    -
    - public void setId(String id)
    - {
    - this.id = id;
    - }
    -
    - public String[] getTopDownModuleTypesExclude()
    - {
    - if (topDownModuleTypesExclude==null)
    - {
    - String attr = elem_.getAttribute("tdModuleTypesExclude");
    - if (attr != null && attr.length()>0)
    - {
    - StringTokenizer st = new StringTokenizer(attr, " ");
    - int size = st.countTokens();
    - topDownModuleTypesExclude = new String[size];
    - for (int i = 0; i < topDownModuleTypesExclude.length; i++)
    - topDownModuleTypesExclude[i] = st.nextToken();
    - }
    - }
    - return topDownModuleTypesExclude;
    - }
    -
    - public void setTopDownModuleTypesExclude(String[] topDownModuleTypesExclude)
    - {
    - this.topDownModuleTypesExclude = topDownModuleTypesExclude;
    - }
    -
    - public String[] getTopDownModuleTypesInclude()
    - {
    - if (topDownModuleTypesInclude==null)
    - {
    - String attr = elem_.getAttribute("tdModuleTypesInclude");
    - if (attr != null && attr.length()>0)
    - {
    - StringTokenizer st = new StringTokenizer(attr, " ");
    - int size = st.countTokens();
    - topDownModuleTypesInclude = new String[size];
    - for (int i = 0; i < topDownModuleTypesInclude.length; i++)
    - topDownModuleTypesInclude[i] = st.nextToken();
    - }
    - }
    - return topDownModuleTypesInclude;
    - }
    -
    - public void setTopDownModuleTypesInclude(String[] topDownModuleTypesInclude)
    - {
    - this.topDownModuleTypesInclude = topDownModuleTypesInclude;
    - }
    -
    - public WebServiceImpl getWebServiceImpl()
    - {
    - if (webServiceImpl == null)
    - {
    - String wsimplId = elem_.getAttribute("implId");
    - webServiceImpl = (WebServiceImpl)webServiceImpls_.get(wsimplId);
    - }
    - return webServiceImpl;
    - }
    -
    - public void setWebServiceImpl1(WebServiceImpl webServiceImpl)
    - {
    - this.webServiceImpl = webServiceImpl;
    - }
    -
    - public boolean supportsScenario(int scenario)
    - {
    - switch(scenario)
    - {
    - case WebServiceScenario.BOTTOMUP:
    - String[] bus = getBottomUpModuleTypesInclude();
    - if (bus!=null && bus.length>0)
    - {
    - return true;
    - }
    - break;
    - case WebServiceScenario.TOPDOWN:
    - String[] tds = getTopDownModuleTypesInclude();
    - if (tds!=null && tds.length>0)
    - {
    - return true;
    - }
    - break;
    - default:
    -
    - }
    -
    - return false;
    - }
    -
    - public String[] getModuleTypesInclude(int scenario)
    - {
    - switch(scenario)
    - {
    - case WebServiceScenario.BOTTOMUP:
    - return getBottomUpModuleTypesInclude();
    - case WebServiceScenario.TOPDOWN:
    - return getTopDownModuleTypesInclude();
    - default:
    - }
    -
    - return null;
    - }
    -
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceClientImpl.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceClientImpl.java
    deleted file mode 100644
    index d187b3a6a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceClientImpl.java
    +++ /dev/null
    @@ -1,45 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
    -
    -import org.eclipse.core.runtime.IConfigurationElement;
    -
    -public class WebServiceClientImpl {
    -
    - private IConfigurationElement elem_;
    - private String id;
    - private String label;
    -
    - public WebServiceClientImpl(IConfigurationElement elem_)
    - {
    - super();
    - this.elem_ = elem_;
    - }
    -
    - public String getId()
    - {
    - if (id==null)
    - {
    - id = elem_.getAttribute("id");
    - }
    - return id;
    - }
    -
    -
    - public String getLabel()
    - {
    - if (label==null)
    - {
    - label = elem_.getAttribute("label");
    - }
    - return label;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceImpl.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceImpl.java
    deleted file mode 100644
    index b375424c4..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceImpl.java
    +++ /dev/null
    @@ -1,103 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
    -
    -import org.eclipse.core.runtime.IConfigurationElement;
    -import com.ibm.icu.util.StringTokenizer;
    -
    -public class WebServiceImpl {
    -
    - private IConfigurationElement elem_;
    - private String id;
    - private String label;
    - private String[] resourceTypeMetadata;
    - private String[] extensionMetadata;
    - private String objectSelectionWidget;
    -
    - public WebServiceImpl(IConfigurationElement elem_)
    - {
    - super();
    - this.elem_ = elem_;
    - }
    -
    - public String[] getExtensionMetadata()
    - {
    - if (extensionMetadata==null)
    - {
    - String attr = elem_.getAttribute("extensionMetadata");
    - if (attr != null && attr.length()>0)
    - {
    - StringTokenizer st = new StringTokenizer(attr, " ");
    - int size = st.countTokens();
    - extensionMetadata = new String[size];
    - for (int i = 0; i < extensionMetadata.length; i++)
    - extensionMetadata[i] = st.nextToken();
    - }
    - }
    - return extensionMetadata;
    - }
    -
    -
    - public String getId()
    - {
    - if (id==null)
    - {
    - id = elem_.getAttribute("id");
    - }
    - return id;
    - }
    -
    -
    - public String getLabel()
    - {
    - if (label==null)
    - {
    - label = elem_.getAttribute("label");
    - }
    - return label;
    - }
    -
    -
    - public String[] getResourceTypeMetadata()
    - {
    - if (resourceTypeMetadata==null)
    - {
    - String attr = elem_.getAttribute("resourceTypeMetadata");
    - if (attr != null && attr.length()>0)
    - {
    - StringTokenizer st = new StringTokenizer(attr, " ");
    - int size = st.countTokens();
    - resourceTypeMetadata = new String[size];
    - for (int i = 0; i < resourceTypeMetadata.length; i++)
    - resourceTypeMetadata[i] = st.nextToken();
    - }
    - }
    - return resourceTypeMetadata;
    - }
    -
    - public String getObjectSelectionWidget()
    - {
    - if (objectSelectionWidget==null)
    - {
    - objectSelectionWidget = elem_.getAttribute("objectSelectionWidget");
    - }
    - return objectSelectionWidget;
    - }
    -
    -
    -
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry.java
    deleted file mode 100644
    index acb0acc1b..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry.java
    +++ /dev/null
    @@ -1,216 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
    -
    -import java.util.ArrayList;
    -import java.util.HashMap;
    -import java.util.Hashtable;
    -import org.eclipse.core.runtime.IConfigurationElement;
    -import org.eclipse.core.runtime.IExtensionRegistry;
    -import org.eclipse.core.runtime.Platform;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
    -
    -public class WebServiceRuntimeExtensionRegistry
    -{
    -
    - private static WebServiceRuntimeExtensionRegistry instance_;
    -
    - HashMap webServiceTypes_;
    -
    - ArrayList webServiceTypesList_;
    -
    - ArrayList webServiceClientTypesList_;
    -
    - Hashtable webServiceImpls_;
    -
    - Hashtable webServiceClientImpls_;
    -
    - Hashtable serviceTypes_;
    -
    - Hashtable clientTypes_;
    -
    - Hashtable webServiceRuntimes_;
    -
    - /**
    - * Returns a singleton instance of this class.
    - *
    - * @return A singleton WebServiceRuntimeExtensionRegistry object.
    - */
    - public static WebServiceRuntimeExtensionRegistry getInstance()
    - {
    - if (instance_ == null)
    - {
    - instance_ = new WebServiceRuntimeExtensionRegistry();
    - instance_.load();
    - }
    - return instance_;
    - }
    -
    - private void load()
    - {
    - // Can't get rid of webServiceTypes in M4
    - webServiceTypes_ = new HashMap();
    - webServiceTypesList_ = new ArrayList();
    - webServiceClientTypesList_ = new ArrayList();
    - webServiceImpls_ = new Hashtable();
    - webServiceClientImpls_ = new Hashtable();
    - serviceTypes_ = new Hashtable();
    - clientTypes_ = new Hashtable();
    - webServiceRuntimes_ = new Hashtable();
    -
    - IExtensionRegistry reg = Platform.getExtensionRegistry();
    -
    - //Load WebServiceImpls
    - IConfigurationElement[] wsImplExts = reg.getConfigurationElementsFor(
    - "org.eclipse.jst.ws.consumption.ui", "wsImpl");
    -
    - for(int idx=0; idx<wsImplExts.length; idx++)
    - {
    - IConfigurationElement elem = wsImplExts[idx];
    -
    - if (elem.getName().equals("webServiceImpl"))
    - {
    - WebServiceImpl wsimpl = new WebServiceImpl(elem);
    - webServiceImpls_.put(elem.getAttribute("id"), wsimpl);
    - }
    - }
    -
    - //Load WebServiceClientImpls
    - IConfigurationElement[] wsClientImplExts = reg.getConfigurationElementsFor(
    - "org.eclipse.jst.ws.consumption.ui", "wsClientImpl");
    -
    - for(int idx=0; idx<wsClientImplExts.length; idx++)
    - {
    - IConfigurationElement elem = wsClientImplExts[idx];
    -
    - if (elem.getName().equals("webServiceClientImpl"))
    - {
    - WebServiceClientImpl wsClientImpl = new WebServiceClientImpl(elem);
    - webServiceClientImpls_.put(elem.getAttribute("id"), wsClientImpl);
    - }
    - }
    -
    - //Load ServiceTypes
    - IConfigurationElement[] serviceTypeExts = reg.getConfigurationElementsFor(
    - "org.eclipse.jst.ws.consumption.ui", "serviceType");
    -
    - for(int idx=0; idx<serviceTypeExts.length; idx++)
    - {
    - IConfigurationElement elem = serviceTypeExts[idx];
    -
    - if (elem.getName().equals("serviceType"))
    - {
    - ServiceType st = new ServiceType(elem,webServiceImpls_);
    - serviceTypes_.put(elem.getAttribute("id"), st);
    - }
    - }
    -
    - //Load ClientTypes
    - IConfigurationElement[] clientTypeExts = reg.getConfigurationElementsFor(
    - "org.eclipse.jst.ws.consumption.ui", "clientType");
    -
    - for(int idx=0; idx<clientTypeExts.length; idx++)
    - {
    - IConfigurationElement elem = clientTypeExts[idx];
    -
    - if (elem.getName().equals("clientType"))
    - {
    - ClientType ct = new ClientType(elem,webServiceClientImpls_);
    - clientTypes_.put(elem.getAttribute("id"), ct);
    - }
    - }
    -
    - //Load WebSerivceRuntimes
    - IConfigurationElement[] wsrtExts = reg.getConfigurationElementsFor(
    - "org.eclipse.jst.ws.consumption.ui", "webServiceRuntime");
    -
    - for(int idx=0; idx<wsrtExts.length; idx++)
    - {
    - IConfigurationElement elem = wsrtExts[idx];
    -
    - if (elem.getName().equals("webServiceRuntime"))
    - {
    - WebServiceRuntimeInfo wsrtInfo = new WebServiceRuntimeInfo(elem, serviceTypes_, clientTypes_);
    - webServiceRuntimes_.put(elem.getAttribute("id"), wsrtInfo);
    -
    - //Update the type lists
    - updateWebServiceTypeList(wsrtInfo);
    - updateWebServiceClientTypeList(wsrtInfo);
    -
    - }
    - }
    - }
    -
    - private void updateWebServiceTypeList(WebServiceRuntimeInfo wsrtInfo)
    - {
    - ServiceType[] sts = wsrtInfo.getServiceTypes();
    - if (sts != null)
    - {
    - for (int j = 0; j < sts.length; j++)
    - {
    - String implId = sts[j].getWebServiceImpl().getId();
    - String[] bus = sts[j].getBottomUpModuleTypesInclude();
    - String[] tds = sts[j].getTopDownModuleTypesInclude();
    - if (bus != null)
    - {
    - StringBuffer entrybuff = new StringBuffer();
    - entrybuff.append(String.valueOf(WebServiceScenario.BOTTOMUP));
    - entrybuff.append("/");
    - entrybuff.append(implId);
    - String entry = entrybuff.toString();
    - if (!webServiceTypesList_.contains(entry))
    - {
    - webServiceTypesList_.add(entry);
    - }
    - }
    - if (tds != null)
    - {
    - StringBuffer entrybuff = new StringBuffer();
    - entrybuff.append(String.valueOf(WebServiceScenario.TOPDOWN));
    - entrybuff.append("/");
    - entrybuff.append(implId);
    - String entry = entrybuff.toString();
    - if (!webServiceTypesList_.contains(entry))
    - {
    - webServiceTypesList_.add(entry);
    - }
    - }
    - }
    - }
    - }
    -
    - private void updateWebServiceClientTypeList(WebServiceRuntimeInfo wsrtInfo)
    - {
    - ClientType[] cts = wsrtInfo.getClientTypes();
    - if (cts != null)
    - {
    - for (int j = 0; j < cts.length; j++)
    - {
    - String implId = cts[j].getWebServiceClientImpl().getId();
    - String[] mods = cts[j].getModuleTypesInclude();
    - if (mods != null)
    - {
    - StringBuffer entrybuff = new StringBuffer();
    - entrybuff.append(String.valueOf(WebServiceScenario.CLIENT));
    - entrybuff.append("/");
    - entrybuff.append(implId);
    - String entry = entrybuff.toString();
    - if (!webServiceClientTypesList_.contains(entry))
    - {
    - webServiceClientTypesList_.add(entry);
    - }
    - }
    - }
    - }
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry2.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry2.java
    deleted file mode 100644
    index ab2df35e4..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionRegistry2.java
    +++ /dev/null
    @@ -1,225 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
    -
    -import java.util.ArrayList;
    -import java.util.Hashtable;
    -
    -import org.eclipse.core.runtime.IConfigurationElement;
    -import org.eclipse.core.runtime.IExtensionRegistry;
    -import org.eclipse.core.runtime.Platform;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
    -
    -public class WebServiceRuntimeExtensionRegistry2
    -{
    -
    - private static WebServiceRuntimeExtensionRegistry2 instance_;
    -
    - //webServiceImpls_:
    - //key: id attribute of extension to org.eclipse.jst.ws.consumption.ui.wsImpl
    - //value: org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceImpl
    - Hashtable webServiceImpls_;
    -
    - //webServiceClientImpls_:
    - //key: id attribute of extension to org.eclipse.jst.ws.consumption.ui.wsClientImpl
    - //value: org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceClientImpl
    - Hashtable webServiceClientImpls_;
    -
    - //runtimes_:
    - //key: id attribute of extension to org.eclipse.jst.ws.consumption.ui.runtimes
    - //value: org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor
    - Hashtable runtimes_;
    -
    - //serviceRuntimes_:
    - //key: id attribute of extension to org.eclipse.jst.ws.consumption.ui.serviceRuntimes
    - //value: org.eclipse.jst.ws.internal.consumption.ui.wsrt.ServiceRuntimeDescriptor
    - Hashtable serviceRuntimes_;
    -
    - //clientRuntimes_:
    - //key: id attribute of extension to org.eclipse.jst.ws.consumption.ui.clientRuntimes
    - //value: org.eclipse.jst.ws.internal.consumption.ui.wsrt.ClientRuntimeDescriptor
    - Hashtable clientRuntimes_;
    -
    - //webServiceTypesList_ contains a list of String values in this form: "scenario/webServiceImplId",
    - //where sceanrio the String representation of one of
    - //org.eclipse.wst.ws.internal.wsrt.WebServiceScenario.BOTTOM_UP or
    - //org.eclipse.wst.ws.internal.wsrt.WebServiceScenario.TOP_DOWN
    - //and webServiceImplId is the id attribute of an extension to org.eclipse.jst.ws.consumption.ui.wsImpl
    - //This list is used to determine the items displayed in the WebServiceType combo-box of page 1 of the
    - //Web serivce wizard.
    - ArrayList webServiceTypesList_;
    -
    - //TODO: Not used. Remove this and all references to it in this class.
    - ArrayList webServiceClientTypesList_;
    -
    -
    - /**
    - * Returns a singleton instance of this class.
    - *
    - * @return A singleton WebServiceRuntimeExtensionRegistry2 object.
    - */
    - public static WebServiceRuntimeExtensionRegistry2 getInstance()
    - {
    - if (instance_ == null)
    - {
    - instance_ = new WebServiceRuntimeExtensionRegistry2();
    - instance_.load();
    - }
    - return instance_;
    - }
    -
    - private void load()
    - {
    - webServiceImpls_ = new Hashtable();
    - webServiceClientImpls_ = new Hashtable();
    - runtimes_ = new Hashtable();
    - serviceRuntimes_ = new Hashtable();
    - clientRuntimes_ = new Hashtable();
    - webServiceTypesList_ = new ArrayList();
    - webServiceClientTypesList_ = new ArrayList();
    -
    -
    - IExtensionRegistry reg = Platform.getExtensionRegistry();
    -
    -// Load WebServiceImpls by reading all extensions to org.eclipse.jst.ws.consumption.ui.wsImpl
    - IConfigurationElement[] wsImplExts = reg.getConfigurationElementsFor(
    - "org.eclipse.jst.ws.consumption.ui", "wsImpl");
    -
    - for(int idx=0; idx<wsImplExts.length; idx++)
    - {
    - IConfigurationElement elem = wsImplExts[idx];
    - if (elem.getName().equals("webServiceImpl"))
    - {
    - WebServiceImpl wsimpl = new WebServiceImpl(elem);
    - webServiceImpls_.put(elem.getAttribute("id"), wsimpl);
    - }
    - }
    -
    - //Load WebServiceClientImpls by reading all extensions to org.eclipse.jst.ws.consumption.ui.wsClientImpl
    - IConfigurationElement[] wsClientImplExts = reg.getConfigurationElementsFor(
    - "org.eclipse.jst.ws.consumption.ui", "wsClientImpl");
    -
    - for(int idx=0; idx<wsClientImplExts.length; idx++)
    - {
    - IConfigurationElement elem = wsClientImplExts[idx];
    -
    - if (elem.getName().equals("webServiceClientImpl"))
    - {
    - WebServiceClientImpl wsClientImpl = new WebServiceClientImpl(elem);
    - webServiceClientImpls_.put(elem.getAttribute("id"), wsClientImpl);
    - }
    - }
    -
    - //Load runtimes by reading all extensions to org.eclipse.jst.ws.consumption.ui.runtimes
    - IConfigurationElement[] runtimeExts = reg.getConfigurationElementsFor(
    - "org.eclipse.jst.ws.consumption.ui", "runtimes");
    -
    - for(int idx=0; idx<runtimeExts.length; idx++)
    - {
    - IConfigurationElement elem = runtimeExts[idx];
    -
    - if (elem.getName().equals("runtime"))
    - {
    - RuntimeDescriptor rd = new RuntimeDescriptor(elem);
    - runtimes_.put(elem.getAttribute("id"), rd);
    - }
    - }
    -
    - //Load serviceRuntimes by reading all extensions to org.eclipse.jst.ws.consumption.ui.serviceRuntimes
    - IConfigurationElement[] serviceRuntimeExts = reg.getConfigurationElementsFor(
    - "org.eclipse.jst.ws.consumption.ui", "serviceRuntimes");
    -
    - for(int idx=0; idx<serviceRuntimeExts.length; idx++)
    - {
    - IConfigurationElement elem = serviceRuntimeExts[idx];
    -
    - if (elem.getName().equals("serviceRuntime"))
    - {
    - ServiceRuntimeDescriptor rd = new ServiceRuntimeDescriptor(elem, webServiceImpls_, runtimes_);
    - serviceRuntimes_.put(elem.getAttribute("id"), rd);
    - updateWebServiceTypeList(rd);
    - }
    - }
    -
    - //Load clientRuntimes by reading all extensions to org.eclipse.jst.ws.consumption.ui.clientRuntimes
    - IConfigurationElement[] clientRuntimeExts = reg.getConfigurationElementsFor(
    - "org.eclipse.jst.ws.consumption.ui", "clientRuntimes");
    -
    - for(int idx=0; idx<clientRuntimeExts.length; idx++)
    - {
    - IConfigurationElement elem = clientRuntimeExts[idx];
    -
    - if (elem.getName().equals("clientRuntime"))
    - {
    - ClientRuntimeDescriptor rd = new ClientRuntimeDescriptor(elem, webServiceClientImpls_, runtimes_);
    - clientRuntimes_.put(elem.getAttribute("id"), rd);
    - updateWebServiceClientTypeList(rd);
    -
    - }
    - }
    - }
    -
    - /**
    - * Updates the list of Web service types with the provided service runtime's contribution of
    - * scenario/webServiceImpl combination.
    - * @param descriptor
    - */
    - private void updateWebServiceTypeList(ServiceRuntimeDescriptor descriptor)
    - {
    - String serviceImplId = descriptor.getServiceImplementationType().getId();
    - boolean bottomUp = descriptor.getBottomUp();
    - boolean topDown = descriptor.getTopDown();
    - if (bottomUp)
    - {
    - StringBuffer entrybuff = new StringBuffer();
    - entrybuff.append(String.valueOf(WebServiceScenario.BOTTOMUP));
    - entrybuff.append("/");
    - entrybuff.append(serviceImplId);
    - String entry = entrybuff.toString();
    - if (!webServiceTypesList_.contains(entry))
    - {
    - webServiceTypesList_.add(entry);
    - }
    - }
    -
    - if (topDown)
    - {
    - StringBuffer entrybuff = new StringBuffer();
    - entrybuff.append(String.valueOf(WebServiceScenario.TOPDOWN));
    - entrybuff.append("/");
    - entrybuff.append(serviceImplId);
    - String entry = entrybuff.toString();
    - if (!webServiceTypesList_.contains(entry))
    - {
    - webServiceTypesList_.add(entry);
    - }
    - }
    - }
    -
    - private void updateWebServiceClientTypeList(ClientRuntimeDescriptor descriptor)
    - {
    - String clientImplId = descriptor.getClientImplementationType().getId();
    - StringBuffer entrybuff = new StringBuffer();
    - entrybuff.append(String.valueOf(WebServiceScenario.CLIENT));
    - entrybuff.append("/");
    - entrybuff.append(clientImplId);
    - String entry = entrybuff.toString();
    - if (!webServiceClientTypesList_.contains(entry))
    - {
    - webServiceClientTypesList_.add(entry);
    - }
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionUtils2.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionUtils2.java
    deleted file mode 100644
    index c0047b114..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeExtensionUtils2.java
    +++ /dev/null
    @@ -1,1952 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060227 124392 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060324 116750 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20070119 159458 mahutch@ca.ibm.com - Mark Hutchinson
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
    -
    -import java.util.ArrayList;
    -import java.util.Hashtable;
    -import java.util.Iterator;
    -import java.util.Set;
    -import java.util.Vector;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jst.server.core.FacetUtil;
    -import org.eclipse.jst.ws.internal.consumption.common.FacetMatcher;
    -import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
    -import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
    -import org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUIMessages;
    -import org.eclipse.jst.ws.internal.consumption.ui.wizard.TypeSelectionFilter2;
    -import org.eclipse.jst.ws.internal.data.LabelsAndIds;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.selection.SelectionList;
    -import org.eclipse.wst.command.internal.env.core.selection.SelectionListChoices;
    -import org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate;
    -import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
    -import org.eclipse.wst.common.project.facet.core.runtime.IRuntime;
    -import org.eclipse.wst.server.core.IRuntimeType;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.IServerType;
    -import org.eclipse.wst.server.core.ServerCore;
    -import org.eclipse.wst.server.ui.ServerUICore;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceRuntime;
    -import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
    -
    -/**
    - * This class contains numerous utility methods that
    - * process the information provided through extension points
    - * which are read in WebServiceRuntimeExtensionRegistry2:
    - * <ul>
    - * <li> org.eclipse.jst.ws.consumption.ui.wsImpl </li>
    - * <li> org.eclipse.jst.ws.consumption.ui.wsClientImpl </li>
    - * <li> org.eclipse.jst.ws.consumption.ui.runtimes </li>
    - * <li> org.eclipse.jst.ws.consumption.ui.serviceRuntimes </li>
    - * <li> org.eclipse.jst.ws.consumption.ui.clientRuntimes </li>
    - * </ul>
    - *
    - * to provide answers to common questions regarding which servers,
    - * projects, and project types a particular Web service runtime
    - * supports.
    - * <br/><br/>
    - * Teminology used in the javadoc in this class:
    - * <ul>
    - * <li><b>Web service scenario</b>: One of WebServiceScenario.BOTTOM_UP or WebServiceScenario.TOP_DOWN.</li>
    - * <li><b>Web service implementation type</b>: extension to org.eclipse.jst.ws.consumption.ui.wsImpl.
    - * The Java representation of this is org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceImpl.</li>
    - * <li><b>Web service type</b>: Forward slash separated concatenation of the String representation
    - * of a Web service scenario and a Web service implementation type id.
    - * For example, "0/org.eclipse.jst.ws.wsImpl.java", represents the bottom up Java bean Web service type.</li>
    - * <li><b>Web service client implementation type</b>: extension to org.eclipse.jst.ws.consumption.ui.wsClientImpl.
    - * The Java representation of this is org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceClientImpl.</li>
    - * <li><b>Web service runtime</b>: extension to org.eclipse.jst.ws.consumption.ui.runtimes.
    - * The Java representation of this is org.eclipse.jst.ws.internal.consumption.ui.wsrt.RuntimeDescriptor</li>
    - * <li><b>serviceRuntime</b>: extension to org.eclipse.jst.ws.consumption.ui.serviceRuntimes.
    - * The Java representation of this is org.eclipse.jst.ws.internal.consumption.ui.wsrt.ServiceRuntimeDescriptor</li>
    - * <li><b>clientRuntime</b>: extension to org.eclipse.jst.ws.consumption.ui.clientRuntimes.
    - * The Java representation of this is org.eclipse.jst.ws.internal.consumption.ui.wsrt.ClientRuntimeDescriptor</li>
    - * <li><b>server type</b>: This is a server tools artifact. You see a list of these when creating a new server
    - * in the tool.</li>
    - * <li><b>server runtime</b>: This is a server tools artifact. You see a list of these if you go to Preferences,
    - * Server > Installed Runtimes in the tool. The Java representation of this is org.eclipse.wst.server.core.IRuntime</li>
    - * <li><b>facet runtime</b>: The facet equivalent of a server runtime. The Java representation of this is
    - * org.eclipse.wst.common.project.facet.core.runtime.IRuntime. org.eclipse.jst.server.core.FacetUtil
    - * provides methods to translate from a server runtime to a facet runtime and vice-versa.</li>
    - * </ul>
    - */
    -public class WebServiceRuntimeExtensionUtils2
    -{
    - private static WebServiceRuntimeExtensionRegistry2 registry = WebServiceRuntimeExtensionRegistry2.getInstance();
    -
    - /**
    - * Returns the RuntimeDescriptor representing the Web service runtime
    - * with an id attribute equal to the provided id
    - * @param id
    - * @return RuntimeDescriptor representing the Web service runtime
    - * with an id attribute equal to the provided id. Returns null
    - * if such a RuntimeDescriptor cannot be found.
    - */
    - public static RuntimeDescriptor getRuntimeById(String id)
    - {
    - Object result = registry.runtimes_.get(id);
    - if (result!=null)
    - {
    - return (RuntimeDescriptor)result;
    - }
    - return null;
    - }
    -
    - /**
    - * Returns the union of all project types supported by all serviceRuntimes. Used by the
    - * ProjectTopology preference page.
    - * @return String[] array of template ids. The array may have 0 elements.
    - */
    - public static String[] getAllServiceProjectTypes()
    - {
    - ArrayList finalTemplateIdList = new ArrayList();
    - Iterator iter = registry.serviceRuntimes_.values().iterator();
    -
    - //Loop through all the serviceRuntimes
    - while (iter.hasNext())
    - {
    - ServiceRuntimeDescriptor desc = (ServiceRuntimeDescriptor)iter.next();
    -
    - //Get the templates for this serviceRuntime
    - Set templates = FacetMatchCache.getInstance().getTemplatesForServiceRuntime(desc.getId());
    -
    - //Add the template ids to the list if they have not already been added
    - Iterator itr = templates.iterator();
    - while (itr.hasNext())
    - {
    - IFacetedProjectTemplate template = (IFacetedProjectTemplate)itr.next();
    - if (!finalTemplateIdList.contains(template.getId()))
    - {
    - finalTemplateIdList.add(template.getId());
    - }
    - }
    - }
    -
    - return (String[])finalTemplateIdList.toArray(new String[]{});
    - }
    -
    - /**
    - * Returns the union of all project types supported by all clientRuntimes. Used by the
    - * ProjectTopology preference page.
    - * @return String[] array of template ids. The array may have 0 elements.
    - */
    - public static String[] getAllClientProjectTypes()
    - {
    - ArrayList finalTemplateIdList = new ArrayList();
    - Iterator iter = registry.clientRuntimes_.values().iterator();
    -
    - //Loop through all the clientRuntimes
    - while (iter.hasNext())
    - {
    - ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)iter.next();
    -
    - //Get the templates for this clientRuntime
    - Set templates = FacetMatchCache.getInstance().getTemplatesForClientRuntime(desc.getId());
    -
    - //Add the template ids to the list if they have not already been added
    - Iterator itr = templates.iterator();
    - while (itr.hasNext())
    - {
    - IFacetedProjectTemplate template = (IFacetedProjectTemplate)itr.next();
    - if (!finalTemplateIdList.contains(template.getId()))
    - {
    - finalTemplateIdList.add(template.getId());
    - }
    - }
    - }
    -
    - return (String[])finalTemplateIdList.toArray(new String[]{});
    - }
    -
    - /**
    - * Returns the label of a Web service runtime given its id
    - * @param runtimeId id of a Web service runtime
    - * @return String the label of the Web service runtime with an id equal to runtimeId.
    - * Returns null if such a Web service runtime cannot be found.
    - */
    - public static String getRuntimeLabelById(String runtimeId)
    - {
    - RuntimeDescriptor desc = getRuntimeById(runtimeId);
    - if (desc == null)
    - return null;
    -
    - return desc.getLabel();
    - }
    -
    - /**
    - * Returns the RuntimeDescriptor corresponding to the Web service runtime with the provided label
    - * @param label label of a Web service runtime
    - * @return RuntimeDescriptor corresponding to the Web service runtime with the provided label
    - * Returns null if such a Web service runtime cannot be found.
    - */
    - public static RuntimeDescriptor getRuntimeByLabel(String label)
    - {
    - Iterator iter = registry.runtimes_.values().iterator();
    - while (iter.hasNext())
    - {
    - RuntimeDescriptor descriptor = (RuntimeDescriptor)iter.next();
    - if (descriptor!=null) {
    - if (label.equals(descriptor.getLabel()))
    - return descriptor;
    - }
    - }
    - return null;
    - }
    -
    - /**
    - * Returns the label of an server type given its id
    - * @param serverFactoryId id of a server type
    - * @return String label of the server type with an id equal to serverFactoryId.
    - * Returns null if such a server type cannot be found.
    - */
    - public static String getServerLabelById(String serverFactoryId)
    - {
    - IServerType serverType = ServerCore.findServerType(serverFactoryId);
    - if (serverType == null)
    - return null;
    -
    - String serverLabel = ServerUICore.getLabelProvider().getText(serverType);
    - return serverLabel;
    - }
    -
    - /**
    - * Returns the label of an IServer given its id
    - * @param instanceId id of an IServer
    - * @return String label of the IServer with an id equal to instanceId.
    - */
    - public static String getServerInstanceLabelFromInstanceId( String instanceId )
    - {
    - IServer server = ServerCore.findServer( instanceId );
    - return server.getName();
    - }
    -
    - /**
    - * Returns the union of all server type ids corresponding to the facet runtimes
    - * in the provided set.
    - * @param facetRuntimes a set containing elements of type {@link IRuntime}.
    - * @return an array of IServerType ids. The array may have 0 elements.
    - */
    - private static String[] getServerFactoryIdsByFacetRuntimes(Set facetRuntimes)
    - {
    -
    - ArrayList supportedServerFactoryIds = new ArrayList();
    - String[] serverTypeIds = getAllServerFactoryIdsWithRuntimes();
    - Iterator itr = facetRuntimes.iterator();
    - while(itr.hasNext())
    - {
    - IRuntime fRuntime = (IRuntime)itr.next();
    - org.eclipse.wst.server.core.IRuntime sRuntime = FacetUtil.getRuntime(fRuntime);
    - for (int i=0; i<serverTypeIds.length; i++)
    - {
    - IServerType serverType = ServerCore.findServerType(serverTypeIds[i]);
    - IRuntimeType runtimeType = serverType.getRuntimeType();
    - if (runtimeType != null)
    - {
    - String runtimeTypeId = runtimeType.getId();
    - if (sRuntime != null && sRuntime.getRuntimeType() != null && runtimeTypeId.equals(sRuntime.getRuntimeType().getId()))
    - {
    - supportedServerFactoryIds.add(serverTypeIds[i]);
    - }
    - }
    - }
    - }
    -
    - return (String[])supportedServerFactoryIds.toArray(new String[0]);
    -
    - //Temporarily return all factory ids with runtimes
    - //return getAllServerFactoryIdsWithRuntimes();
    - }
    -
    - //Service-side utilities
    - /**
    - * Returns a WebServiceImpl given the id of a Web service implementation type.
    - * @param id
    - * @return WebServiceImpl with the given id
    - * Returns null if such a WebServiceImpl cannot be found.
    - */
    - public static WebServiceImpl getWebServiceImplById(String id)
    - {
    - Object result = registry.webServiceImpls_.get(id);
    - if (result!=null)
    - {
    - return (WebServiceImpl)result;
    - }
    - return null;
    - }
    -
    - /**
    - * Returns a {@link ServiceRuntimeDescriptor} given the id of a servicRuntime.
    - * @param id of a serviceRuntime
    - * @return ServiceRuntimeDescriptor with the given id
    - * Returns null if such a ServiceRuntimeDescriptor cannot be found.
    - */
    - public static ServiceRuntimeDescriptor getServiceRuntimeDescriptorById(String id)
    - {
    - Object result = registry.serviceRuntimes_.get(id);
    - if (result!=null)
    - {
    - return (ServiceRuntimeDescriptor)result;
    - }
    - return null;
    - }
    -
    - /**
    - * Returns the {@link IWebServiceRuntime} of the given serviceRuntime. Extenders provide the fully
    - * qualified name of a concrete IWebServiceRuntime in the class attribute of a serviceRuntimes extension.
    - * @param serviceRuntimeId id of a serviceRuntime
    - * @return IWebServiceRuntime
    - */
    - public static IWebServiceRuntime getServiceRuntime( String serviceRuntimeId )
    - {
    - ServiceRuntimeDescriptor descriptor = getServiceRuntimeDescriptorById(serviceRuntimeId);
    - IWebServiceRuntime webserviceRuntime = null;
    - if (descriptor != null)
    - {
    - webserviceRuntime = descriptor.getWebServiceRuntime();
    - }
    -
    - return webserviceRuntime;
    - }
    -
    - /**
    - * Returns the id of a serviceRuntime that supports the provided Web service type, Web service runtime,
    - * server type/server instance (if present), project or project type.
    - * @param trs an instance of {@link TypeRuntimeServer} containing a Web service type id, Web service runtime id,
    - * server type id and server instance id. The Web service type id and Web service runtime id must be non-null
    - * and non-empty. The server type id and server instance id may be null or empty.
    - * @param projectName the name of an IProject thay may or mat not exist in the workspace. Must be non-null and
    - * non-empty.
    - * @param templateId the id of an {@link IFacetedProjectTemplate}. Must be non-null and non-empty if
    - * an IProject with the name projectName does not exist in the workspace.
    - * @return String id of a serviceRuntime that supports the provided Web service type, Web service runtime,
    - * server type/server instance (if present), project or project type. Returns an empty String if no
    - * such serviceRuntime could be found.
    - */
    - public static String getServiceRuntimeId(TypeRuntimeServer trs, String projectName, String templateId)
    - {
    - boolean serverSelected = (trs.getServerId() != null) && (trs.getServerId().length() > 0);
    - //Find the first serviceRuntime that supports the implementation type, runtime, server, and project
    - String[] descs = getServiceRuntimesByServiceType(trs.getTypeId());
    - for (int i=0; i<descs.length; i++)
    - {
    - ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(descs[i]);
    - if (desc.getRuntime().getId().equals(trs.getRuntimeId()))
    - {
    - if (serverSelected)
    - {
    - boolean supportsServer = doesServiceRuntimeSupportServer(desc.getId(), trs.getServerId());
    - if (!supportsServer)
    - {
    - continue;
    - }
    - }
    -
    - IProject project = ProjectUtilities.getProject(projectName);
    - if (project.exists())
    - {
    - if (doesServiceRuntimeSupportProject(desc.getId(), projectName))
    - {
    - return desc.getId();
    - }
    - }
    - else
    - {
    - //Check if template is supported
    - if (doesServiceRuntimeSupportTemplate(desc.getId(), templateId))
    - {
    - return desc.getId();
    - }
    - }
    - }
    - }
    -
    - return "";
    -
    - }
    -
    - /**
    - * Returns the Web service scenario from the Web service type.
    - * @param typeId must be a String of the format "0/implId"
    - * where the digit before the "/" represents the scenario
    - * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
    - * @return int scenario (e.g. WebServiceScenario.BOTTOM_UP or WebServiceScenario.TOP_DOWN)
    - */
    - public static int getScenarioFromTypeId(String typeId)
    - {
    - return Integer.parseInt(typeId.substring(0,typeId.indexOf("/")));
    - }
    -
    - /**
    - * Returns the Web service implemenation type id fron the Web service type id.
    - * @param typeId must be a String of the format "0/implId"
    - * where the digit before the "/" represents the scenario
    - * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
    - * @return String the WebServiceImpl id.
    - */
    - public static String getWebServiceImplIdFromTypeId(String typeId)
    - {
    - return typeId.substring(typeId.indexOf("/")+1);
    - }
    -
    - /**
    - * Returns the ids of all Web service runtimes that support the given
    - * Web service type.
    - *
    - * @param typeId must be a String of the format "0/implId"
    - * where the digit before the "/" represents the scenario
    - * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
    - *
    - * @return String[] array containing the ids of all Web service runtimes that
    - * support the given Web service type. The array may have 0 elements.
    - */
    - public static String[] getRuntimesByServiceType(String typeId)
    - {
    - int scenario = getScenarioFromTypeId(typeId);
    - String implId = getWebServiceImplIdFromTypeId(typeId);
    - ArrayList ids = new ArrayList();
    - Iterator iter = registry.serviceRuntimes_.values().iterator();
    - while (iter.hasNext())
    - {
    - ServiceRuntimeDescriptor desc = (ServiceRuntimeDescriptor)iter.next();
    - //Check if this serviceRuntime supports the implementation type
    - if (desc.getServiceImplementationType().getId().equals(implId))
    - {
    - switch (scenario)
    - {
    - case WebServiceScenario.BOTTOMUP:
    - if (desc.getBottomUp())
    - {
    - String runtimeId = desc.getRuntime().getId();
    - if (!ids.contains(runtimeId))
    - {
    - ids.add(runtimeId);
    - }
    - }
    - break;
    - case WebServiceScenario.TOPDOWN:
    - if (desc.getTopDown())
    - {
    - String runtimeId = desc.getRuntime().getId();
    - if (!ids.contains(runtimeId))
    - {
    - ids.add(runtimeId);
    - }
    - }
    - break;
    - default:
    - }
    - }
    - }
    -
    - return (String[])ids.toArray(new String[]{});
    - }
    -
    - /**
    - * Returns the ids of all serviceRuntimes that support the given
    - * Web service type.
    - *
    - * @param typeId must be a String of the format "0/implId"
    - * where the digit before the "/" represents the scenario
    - * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
    - *
    - * @returns String[] array containing the ids of all serviceRuntimes that
    - * support the given Web service type. The array may have 0 elements.
    - */
    - public static String[] getServiceRuntimesByServiceType(String typeId)
    - {
    - int scenario = getScenarioFromTypeId(typeId);
    - String implId = getWebServiceImplIdFromTypeId(typeId);
    - ArrayList ids = new ArrayList();
    - Iterator iter = registry.serviceRuntimes_.values().iterator();
    - while (iter.hasNext())
    - {
    - ServiceRuntimeDescriptor desc = (ServiceRuntimeDescriptor)iter.next();
    - //Check if this serviceRuntime supports the implementation type
    - if (desc.getServiceImplementationType().getId().equals(implId))
    - {
    - switch (scenario)
    - {
    - case WebServiceScenario.BOTTOMUP:
    - if (desc.getBottomUp())
    - {
    - String serviceRuntimeId = desc.getId();
    - ids.add(serviceRuntimeId);
    - }
    - break;
    - case WebServiceScenario.TOPDOWN:
    - if (desc.getTopDown())
    - {
    - String serviceRuntimeId = desc.getId();
    - ids.add(serviceRuntimeId);
    - }
    - break;
    - default:
    - }
    - }
    - }
    -
    - return (String[])ids.toArray(new String[]{});
    - }
    -
    - /**
    - * Returns whether or not the given Web service runtime supports the given
    - * Web service type.
    - *
    - * @param typeId must be a String of the format "0/implId"
    - * where the digit before the "/" represents the scenario
    - * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
    - *
    - * @param runtimeId id of a Web service runtime
    - *
    - * @return boolean <code>true</code> if the given Web service runtime supports the given
    - * Web service type. <code>false</code> otherwise.
    - */
    - public static boolean isRuntimeSupportedForServiceType(String typeId, String runtimeId)
    - {
    - String[] serviceRuntimeIds = getServiceRuntimesByServiceType(typeId);
    - if (serviceRuntimeIds!=null)
    - {
    - for (int i=0; i < serviceRuntimeIds.length; i++)
    - {
    - ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(serviceRuntimeIds[i]);
    - if (desc.getRuntime().getId().equals(runtimeId))
    - {
    - return true;
    - }
    - }
    - }
    -
    - return false;
    - }
    -
    - /**
    - * Returns the ids of all server types that support the given
    - * Web service type.
    - *
    - * @param typeId must be a String of the format "0/implId"
    - * where the digit before the "/" represents the scenario
    - * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
    - *
    - * @returns String[] array containing the ids of all server types that
    - * support the given Web service type. The array may have 0 elements.
    - */
    - public static String[] getServerFactoryIdsByServiceType(String typeId)
    - {
    - ArrayList serverFactoryIds = new ArrayList();
    - String[] srts = getServiceRuntimesByServiceType(typeId);
    - if (srts != null)
    - {
    - for (int i = 0; i < srts.length; i++)
    - {
    - //Get the runtimes that work for the facets required for this serviceRuntime
    - String[] fIds = getServerFactoryIdsByServiceRuntime(srts[i]);
    - for (int j=0; j<fIds.length; j++)
    - {
    - if (!serverFactoryIds.contains(fIds[j]))
    - {
    - serverFactoryIds.add(fIds[j]);
    - }
    - }
    - }
    - }
    -
    - return (String[])serverFactoryIds.toArray(new String[]{});
    -
    - //Temporarily return all server type ids.
    - //return getAllServerFactoryIdsWithRuntimes();
    - }
    -
    - /**
    - * Returns whether or not the given server type supports the given
    - * Web service type.
    - *
    - * @param typeId must be a String of the format "0/implId"
    - * where the digit before the "/" represents the scenario
    - * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
    - *
    - * @param serverFactoryId id of a server type
    - *
    - * @return boolean <code>true</code> if the given server type supports the given
    - * Web service type. <code>false</code> otherwise.
    - */
    - public static boolean isServerSupportedForChosenServiceType(String typeId, String serverFactoryId)
    - {
    - String[] fIds = getServerFactoryIdsByServiceType(typeId);
    - if (fIds == null)
    - {
    - return false;
    - }
    -
    - for (int i=0;i<fIds.length;i++)
    - {
    - if (serverFactoryId.equals(fIds[i]))
    - {
    - return true;
    - }
    - }
    -
    - return false;
    - }
    -
    - /**
    - * Returns the ids of all server types that support the given
    - * serviceRuntime.
    - *
    - * @param serviceRuntimeId id of a serviceRuntime
    - *
    - * @returns String[] array containing the ids of all server types that
    - * support the given serviceRuntime. The array may have 0 elements.
    - */
    - public static String[] getServerFactoryIdsByServiceRuntime(String serviceRuntimeId)
    - {
    - ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(serviceRuntimeId);
    - Set facetRuntimes = getRuntimes(desc.getRequiredFacetVersions());
    -
    - //Temporarily return all server types
    - //return getAllServerFactoryIdsWithRuntimes();
    - return getServerFactoryIdsByFacetRuntimes(facetRuntimes);
    - }
    -
    -
    -
    - /**
    - * Returns whether or not the given server type supports the given
    - * serviceRuntime.
    - *
    - * @param serviceRuntimeId id of a serviceRuntime
    - * @param serverFactoryId id of a server type
    - *
    - * @return boolean <code>true</code> if the given server type supports the given
    - * serviceRuntime. <code>false</code> otherwise.
    - */
    - public static boolean doesServiceRuntimeSupportServer(String serviceRuntimeId, String serverFactoryId)
    - {
    - String[] serverIds = getServerFactoryIdsByServiceRuntime(serviceRuntimeId);
    - for (int i=0; i<serverIds.length; i++)
    - {
    - if (serverIds[i].equals(serverFactoryId))
    - {
    - return true;
    - }
    - }
    -
    - return false;
    - }
    -
    - /**
    - * Returns the labels and ids of all Web service types. Used to populate the Web service type combo box on
    - * page 1 of the Web service wizard.
    - * @return {@link LabelsAndIds}
    - */
    - public static LabelsAndIds getServiceTypeLabels()
    - {
    - LabelsAndIds labelIds = new LabelsAndIds();
    - Iterator iterator = registry.webServiceTypesList_.iterator();
    - int size = registry.webServiceTypesList_.size();
    - String[] labels = new String[size];
    - String[] ids = new String[size];
    - int index = 0;
    -
    - labelIds.setLabels_( labels );
    - labelIds.setIds_( ids );
    -
    - while( iterator.hasNext() )
    - {
    - String wst = (String)iterator.next();
    - int scenario = getScenarioFromTypeId(wst);
    - String implId = getWebServiceImplIdFromTypeId(wst);
    - WebServiceImpl wsimpl = getWebServiceImplById(implId);
    - String impllabel = wsimpl.getLabel();
    - ids[index] = wst;
    - String scenLabel = "";
    - switch(scenario)
    - {
    - case WebServiceScenario.BOTTOMUP:
    - scenLabel = NLS.bind(ConsumptionUIMessages.BOTTOMUP_LABEL, new String[0]);
    - break;
    - case WebServiceScenario.TOPDOWN:
    - scenLabel = NLS.bind(ConsumptionUIMessages.TOPDOWN_LABEL, new String[0]);
    - break;
    - default:
    - }
    - labels[index] = NLS.bind(ConsumptionUIMessages.COMBINED_TYPE_AND_RUNTIME_LABEL, new String[]{ scenLabel, impllabel });
    - index++;
    - }
    -
    - return labelIds;
    - }
    -
    - /**
    - * Returns the id of a Web service runtime that supports the given Web service type.
    - *
    - * @param typeId will be a String of the format "0/implId"
    - * where the digit before the "/" represents the scenario
    - * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
    - *
    - * @return String id of a Web service runtime that supports the given Web service type.
    - * Returns null if such a Web service runtime cannot be found.
    - */
    - public static String getDefaultRuntimeValueFor(String typeId)
    - {
    - String[] srIds = getServiceRuntimesByServiceType(typeId);
    - if (srIds == null)
    - {
    - return null;
    - }
    -
    - ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(srIds[0]);
    - return desc.getRuntime().getId();
    - }
    -
    - /**
    - * Returns the id of a server type that supports the given Web service type.
    - *
    - * @param typeId will be a String of the format "0/implId"
    - * where the digit before the "/" represents the scenario
    - * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
    - *
    - * @return String id of a id of a server type that supports the given Web service type.
    - * Returns null if such a server type cannot be found.
    - */
    - public static String getDefaultServerValueFor(String typeId)
    - {
    - String[] fIds = getServerFactoryIdsByServiceType(typeId);
    - if (fIds==null || fIds.length==0)
    - return null;
    -
    - return fIds[0];
    - }
    -
    - /**
    - * Returns whether or not the given combination of server type, Web service runtime, and Web service type is
    - * supported. Used for validation.
    - *
    - * @param serverFactoryId id of a server type
    - * @param runtimeId id of a Web service runtime
    - * @param typeId will be a String of the format "0/implId"
    - * where the digit before the "/" represents the scenario
    - * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
    - *
    - * @return boolean <code>true</code> if the given combination of server type, Web service runtime, and Web service type is
    - * supported. <code>false</code> otherwise.
    - */
    - public static boolean isServerRuntimeTypeSupported(String serverFactoryId, String runtimeId, String typeId)
    - {
    - //Ensure there is at least one serviceRuntime that supports the given type
    - String[] serviceRuntimes = getServiceRuntimesByServiceType(typeId);
    - if (serviceRuntimes!=null && serviceRuntimes.length>0)
    - {
    - //Ensure that at least one of these server runtimes supports the given server
    - for (int i=0; i<serviceRuntimes.length; i++)
    - {
    - ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(serviceRuntimes[i]);
    - if (desc.getRuntime().getId().equals(runtimeId))
    - {
    - //Matches the type and the runtime. Check if it matches the server
    - Set runtimes = getRuntimes(desc.getRequiredFacetVersions());
    - String[] fIds = getServerFactoryIdsByFacetRuntimes(runtimes);
    - for (int j=0; j<fIds.length; j++)
    - {
    - if (fIds[j].equals(serverFactoryId))
    - {
    - return true;
    - }
    - }
    - }
    - }
    - }
    -
    - //didn't find a match. return false.
    - return false;
    - }
    -
    - /**
    - * Returns an array of Web service type ids that are suitable for the provided selection.
    - * Used to default the Web service type combo box on page 1 of the Web service wizard
    - * based on the user's initial selection.
    - * @param selection
    - * @return String[] an array of Web service type ids that are suitable for the provided selection.
    - * Returns null if the selection is empty or no suitable Web service types are found.
    - */
    - public static String[] getWebServiceTypeBySelection(IStructuredSelection selection)
    - {
    - TypeSelectionFilter2 tsf = new TypeSelectionFilter2();
    - String[] wst = tsf.getWebServiceTypeByInitialSelection(selection, registry.webServiceTypesList_);
    - return wst == null ? null : wst;
    - }
    -
    - /**
    - * Returns whether or not the given server type supports the given Web service runtime
    - *
    - * @param runtimeId : id of a Web service runtime
    - * @param factoryId : id of a server type
    - * @return boolean <code>true</code> if the given server type supports the given
    - * Web service runtime for the service side. <code>false</code> otherwise.
    - */
    - public static boolean doesRuntimeSupportServerForServiceSide(String runtimeId, String factoryId)
    - {
    - //Get all the ServiceRuntimeDescriptors that point to this runtimeId
    - Iterator iter = registry.serviceRuntimes_.values().iterator();
    - while (iter.hasNext())
    - {
    - ServiceRuntimeDescriptor desc = (ServiceRuntimeDescriptor)iter.next();
    - //check if this serviceRuntime points to runtimeId
    - String thisRuntimeId = desc.getRuntime().getId();
    - if (thisRuntimeId.equals(runtimeId))
    - {
    - Set facetRuntimes = getRuntimes(desc.getRequiredFacetVersions());
    - String[] fIds = getServerFactoryIdsByFacetRuntimes(facetRuntimes);
    - for (int j=0; j<fIds.length; j++)
    - {
    - if (fIds[j].equals(factoryId))
    - {
    - return true;
    - }
    - }
    - }
    - }
    -
    - //No serviceRuntime matched. Return false.
    - return false;
    - }
    -
    - /**
    - * Returns the id of a server type that supports the given Web service runtime
    - * on the service side.
    - *
    - * @param runtimeId id of a Web service runtime
    - * @return String the id of a server type that supports the given Web service runtime.
    - * Returns null if such a server type cannot be found.
    - */
    - public static String getFirstSupportedServerForServiceSide(String runtimeId)
    - {
    - //Get all the ServiceRuntimeDescriptors that point to this runtimeId
    - Iterator iter = registry.serviceRuntimes_.values().iterator();
    - while (iter.hasNext())
    - {
    - ServiceRuntimeDescriptor desc = (ServiceRuntimeDescriptor)iter.next();
    - //check if this serviceRuntime points to runtimeId
    - String thisRuntimeId = desc.getRuntime().getId();
    - if (thisRuntimeId.equals(runtimeId))
    - {
    - Set facetRuntimes = getRuntimes(desc.getRequiredFacetVersions());
    - String[] factoryIds = getServerFactoryIdsByFacetRuntimes(facetRuntimes);
    - if (factoryIds!=null && factoryIds.length >0)
    - {
    - return factoryIds[0];
    - }
    - }
    - }
    -
    - //didn't get a single suitable server type id, return null.
    - return null;
    - }
    -
    - /**
    - * Returns the names of all projects in the workspace which support the given Web service type
    - * and Web service runtime.
    - * @param typeId must be a String of the format "0/implId"
    - * where the digit before the "/" represents the scenario
    - * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
    - * @param runtimeId id of a Web service runtime
    - * @return String[] array of project names. The array may have 0 elements.
    - */
    - public static String[] getProjectsForServiceTypeAndRuntime(String typeId, String runtimeId)
    - {
    - IProject[] projects = FacetUtils.getAllProjects();
    - ArrayList validProjects = new ArrayList();
    -
    - for (int i=0; i<projects.length;i++)
    - {
    - if (doesServiceTypeAndRuntimeSupportProject(typeId, runtimeId, projects[i].getName()))
    - {
    - validProjects.add(projects[i].getName());
    - }
    - }
    -
    - return (String[])validProjects.toArray(new String[0]);
    -
    - }
    -
    - /**
    - * Returns whether or not the given project supports the given Web service type and Web service runtime.
    - * @param typeId must be a String of the format "0/implId"
    - * where the digit before the "/" represents the scenario
    - * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
    - * @param runtimeId id of a Web service runtime
    - * @param projectName name of an IProject in the workspace
    - * @return boolean <code>true</code> if the project supports the given Web service type and
    - * Web service runtime. Returns <code>false</code>
    - * <ul>
    - * <li>if the project does not support the given Web service type and Web service runtime or</li>
    - * <li>if the project does not exist or</li>
    - * <li>if projectName is null or empty</li>
    - * </ul>
    - */
    - public static boolean doesServiceTypeAndRuntimeSupportProject(String typeId, String runtimeId, String projectName)
    - {
    - String[] descs = getServiceRuntimesByServiceType(typeId);
    - for (int j = 0; j < descs.length; j++)
    - {
    - ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(descs[j]);
    - if (desc.getRuntime().getId().equals(runtimeId))
    - {
    - if (doesServiceRuntimeSupportProject(descs[j], projectName))
    - {
    - return true;
    - }
    - }
    - }
    -
    - return false;
    -
    - }
    -
    - /**
    - * Returns whether or not the given project supports the given serviceRuntime.
    - * @param serviceRuntimeId id of a serviceRuntime
    - * @param projectName name of an IProject in the workspace
    - * @return boolean <code>true</code> if the project supports the given
    - * serviceRuntime. Returns <code>false</code>
    - * <ul>
    - * <li>if the project does not support the given serviceRuntime or</li>
    - * <li>if the project does not exist or</li>
    - * <li>if projectName is null or empty</li>
    - * </ul>
    - */
    - public static boolean doesServiceRuntimeSupportProject(String serviceRuntimeId, String projectName)
    - {
    - FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(false, serviceRuntimeId, projectName);
    - if (fm != null)
    - {
    - return fm.isMatch();
    - }
    - else
    - {
    - return false;
    - }
    - }
    -
    -
    - /**
    - * Returns an array of {@link IFacetedProjectTemplate} ids that support the given Web service type
    - * and Web service runtime.
    - * @param typeId must be a String of the format "0/implId"
    - * where the digit before the "/" represents the scenario
    - * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
    - * @param runtimeId id of a Web service runtime
    - * @return String[] array of {@link IFacetedProjectTemplate} ids that support the given Web service type
    - * and Web service runtime. The array may have 0 elements. Returns null if no serviceRuntimes supporting
    - * the given Web service type could be found.
    - */
    - public static String[] getServiceProjectTemplates(String typeId, String runtimeId)
    - {
    - String[] srIds = getServiceRuntimesByServiceType(typeId);
    - if (srIds == null)
    - {
    - return null;
    - }
    -
    - ArrayList templateIdList = new ArrayList();
    - for (int i = 0; i < srIds.length; i++)
    - {
    - ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(srIds[i]);
    - String thisRuntimeId = desc.getRuntime().getId();
    - if (thisRuntimeId.equals(runtimeId))
    - {
    - //Get the templates for this serviceRuntime
    - Set templates = FacetMatchCache.getInstance().getTemplatesForServiceRuntime(desc.getId());
    -
    - //Add the template ids to the list if they have not already been added
    - Iterator itr = templates.iterator();
    - while (itr.hasNext())
    - {
    - IFacetedProjectTemplate template = (IFacetedProjectTemplate)itr.next();
    - if (!templateIdList.contains(template.getId()))
    - {
    - templateIdList.add(template.getId());
    - }
    - }
    - }
    -
    - }
    -
    - return (String[])templateIdList.toArray(new String[]{});
    - }
    -
    - /**
    - * Returns whether or not the given {@link IFacetedProjectTemplate} supports the given Web service type
    - * and Web service runtime.
    - * @param typeId must be a String of the format "0/implId"
    - * where the digit before the "/" represents the scenario
    - * (e.g. WebServiceScenario.BOTTOM_UP) and the implId is the Web service implementation type id.
    - * @param runtimeId id of a Web service runtime
    - * @param templateId id of a {@link IFacetedProjectTemplate}
    - * @return boolean <code>true</code> if the given {@link IFacetedProjectTemplate} supports the given
    - * Web service type and Web service runtime. Returns <code>false</code> otherwise.
    - */
    - public static boolean doesServiceTypeAndRuntimeSupportTemplate(String typeId, String runtimeId, String templateId)
    - {
    - String[] srIds = getServiceRuntimesByServiceType(typeId);
    - if (srIds == null)
    - {
    - return false;
    - }
    -
    - for (int i = 0; i < srIds.length; i++)
    - {
    - ServiceRuntimeDescriptor desc = getServiceRuntimeDescriptorById(srIds[i]);
    - String thisRuntimeId = desc.getRuntime().getId();
    - if (thisRuntimeId.equals(runtimeId))
    - {
    - //Get the templates for this serviceRuntime
    - Set templates = FacetMatchCache.getInstance().getTemplatesForServiceRuntime(srIds[i]);
    -
    - //Check if any of the template ids match the given one.
    - Iterator itr = templates.iterator();
    - while (itr.hasNext())
    - {
    - IFacetedProjectTemplate template = (IFacetedProjectTemplate)itr.next();
    - if (template.getId().equals(templateId))
    - {
    - return true;
    - }
    -
    - }
    - }
    -
    - }
    -
    - return false;
    - }
    -
    - /**
    - * Returns whether or not the given {@link IFacetedProjectTemplate} supports the given serviceRuntime.
    - * @param serviceRuntimeId id of a serviceRuntime
    - * @param templateId id of a {@link IFacetedProjectTemplate}
    - * @return boolean <code>true</code> if the given {@link IFacetedProjectTemplate} supports the given
    - * serviceRuntime. Returns <code>false</code> otherwise.
    - */
    - public static boolean doesServiceRuntimeSupportTemplate(String serviceRuntimeId, String templateId)
    - {
    - //Get the templates for this serviceRuntime
    - Set templates = FacetMatchCache.getInstance().getTemplatesForServiceRuntime(serviceRuntimeId);
    - IFacetedProjectTemplate checkingTemplate = ProjectFacetsManager.getTemplate(templateId);
    - return templates.contains(checkingTemplate);
    - }
    -
    - //Client-side utilities
    - /**
    - * Returns a WebServiceClientImpl given the id of a Web service client implementation type.
    - * @param id
    - * @return {@link WebServiceClientImpl} with the given id
    - * Returns null if such a WebServiceClientImpl cannot be found.
    - */
    - public static WebServiceClientImpl getWebServiceClientImplById(String id)
    - {
    - Object result = registry.webServiceClientImpls_.get(id);
    - if (result!=null)
    - {
    - return (WebServiceClientImpl)result;
    - }
    - return null;
    - }
    -
    - /**
    - * Returns a {@link ClientRuntimeDescriptor} given the id of a clientRuntime.
    - * @param id of a clientRuntime
    - * @return ClientRuntimeDescriptor with the given id
    - * Returns null if such a ClientRuntimeDescriptor cannot be found.
    - */
    - public static ClientRuntimeDescriptor getClientRuntimeDescriptorById(String id)
    - {
    - Object result = registry.clientRuntimes_.get(id);
    - if (result!=null)
    - {
    - return (ClientRuntimeDescriptor)result;
    - }
    - return null;
    - }
    -
    - /**
    - * Returns the {@link IWebServiceRuntime} of the given clientRuntime. Extenders provide the fully
    - * qualified name of a concrete IWebServiceRuntime in the class attribute of a clientRuntimes extension.
    - * @param clientRuntimeId id of a clientRuntime
    - * @return IWebServiceRuntime
    - */
    - public static IWebServiceRuntime getClientRuntime( String clientRuntimeId )
    - {
    - ClientRuntimeDescriptor descriptor = getClientRuntimeDescriptorById(clientRuntimeId);
    - IWebServiceRuntime webserviceRuntime = null;
    - if (descriptor != null)
    - {
    - webserviceRuntime = descriptor.getWebServiceRuntime();
    - }
    -
    - return webserviceRuntime;
    - }
    -
    - /**
    - * Returns the id of a clientRuntime that supports the provided Web service client implementation type, Web service runtime,
    - * server type/server instance (if present), project or project type.
    - * @param trs an instance of {@link TypeRuntimeServer} containing a Web service client implementation type id, Web service runtime id,
    - * server type id and server instance id. The Web service client implementation type id and Web service runtime id must be non-null
    - * and non-empty. The server type id and server instance id may be null or empty.
    - * @param projectName the name of an IProject thay may or mat not exist in the workspace. Must be non-null and
    - * non-empty.
    - * @param templateId the id of an {@link IFacetedProjectTemplate}. Must be non-null and non-empty if
    - * an IProject with the name projectName does not exist in the workspace.
    - * @return String id of a clientRuntime that supports the provided Web service client implementation type, Web service runtime,
    - * server type/server instance (if present), project or project type. Returns an empty String if no
    - * such clientRuntime could be found.
    - */
    - public static String getClientRuntimeId(TypeRuntimeServer trs, String projectName, String templateId)
    - {
    - boolean serverSelected = (trs.getServerId()!=null) && (trs.getServerId().length()>0);
    - //Find the first clientRuntime that supports the implementation type, runtime, server, and project
    - String[] descs = getClientRuntimesByType(trs.getTypeId());
    - for (int i=0; i<descs.length; i++)
    - {
    - ClientRuntimeDescriptor desc = getClientRuntimeDescriptorById(descs[i]);
    - if (desc.getRuntime().getId().equals(trs.getRuntimeId()))
    - {
    - if (serverSelected)
    - {
    - boolean supportsServer = doesClientRuntimeSupportServer(desc.getId(), trs.getServerId());
    - if (!supportsServer)
    - {
    - continue;
    - }
    - }
    -
    - IProject project = ProjectUtilities.getProject(projectName);
    - if (project.exists())
    - {
    - if (doesClientRuntimeSupportProject(desc.getId(), projectName))
    - {
    - return desc.getId();
    - }
    - }
    - else
    - {
    - //Check if template is supported
    - if (doesClientRuntimeSupportTemplate(desc.getId(), templateId))
    - {
    - return desc.getId();
    - }
    - }
    - }
    - }
    -
    - return "";
    -
    - }
    -
    - /**
    - * Returns all Web service runtime ids for the client side.
    - * @return String[] array of Web service runtime ids for the client side.
    - * The array may have 0 elements.
    - */
    - public static String[] getAllRuntimesForClientSide()
    - {
    - ArrayList runtimeIds = new ArrayList();
    - Iterator iter = registry.clientRuntimes_.values().iterator();
    - while (iter.hasNext())
    - {
    - ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)iter.next();
    - String thisRuntimeId = desc.getRuntime().getId();
    - if (!runtimeIds.contains(thisRuntimeId))
    - runtimeIds.add(thisRuntimeId);
    - }
    - return (String[])runtimeIds.toArray(new String[]{});
    - }
    -
    - /**
    - * Returns the ids of all clientRuntimes that support the given
    - * Web service client implementation type.
    - * @param clientImplId id of a Web service client implementation type
    - * @returns String[] array containing the ids of all clientRuntimes that
    - * support the given Web service client implementation type. The array may have 0 elements.
    - */
    - public static String[] getClientRuntimesByType(String clientImplId)
    - {
    - ArrayList ids = new ArrayList();
    - Iterator iter = registry.clientRuntimes_.values().iterator();
    - while (iter.hasNext())
    - {
    - ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)iter.next();
    - //Check if this serviceRuntime supports the implementation type
    - if (desc.getClientImplementationType().getId().equals(clientImplId))
    - {
    - ids.add(desc.getId());
    - }
    - }
    -
    - return (String[])ids.toArray(new String[]{});
    - }
    -
    - /**
    - * Returns the ids of all Web service runtimes that support the given
    - * Web service client implementation type.
    - * @param clientImplId id of a Web service client implementation type
    - * @return String[] array containing the ids of all Web service runtimes that
    - * support the given Web service client implementation type. The array may have 0 elements.
    - */
    - public static String[] getRuntimesByClientType(String clientImplId)
    - {
    - ArrayList runtimeIds = new ArrayList();
    - Iterator iter = registry.clientRuntimes_.values().iterator();
    - while (iter.hasNext())
    - {
    - ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)iter.next();
    - //Check if this serviceRuntime supports the implementation type
    - if (desc.getClientImplementationType().getId().equals(clientImplId))
    - {
    - if (!runtimeIds.contains(desc.getRuntime().getId()))
    - {
    - runtimeIds.add(desc.getRuntime().getId());
    - }
    - }
    - }
    -
    - return (String[])runtimeIds.toArray(new String[]{});
    - }
    -
    - /**
    - * Returns whether or not the given Web service runtime supports the given
    - * Web service client implementation type.
    - * @param clientImplId id of a Web service client implementation type
    - * @param runtimeId id of a Web service runtime
    - * @return boolean <code>true</code> if the given Web service runtime supports the given
    - * Web service client implementation type. <code>false</code> otherwise.
    - */
    - public static boolean isRuntimeSupportedForClientType(String clientImplId, String runtimeId)
    - {
    - String[] clientRuntimeIds = getClientRuntimesByType(clientImplId);
    - if (clientRuntimeIds!=null)
    - {
    - for (int i=0; i < clientRuntimeIds.length; i++)
    - {
    - ClientRuntimeDescriptor desc = getClientRuntimeDescriptorById(clientRuntimeIds[i]);
    - if (desc.getRuntime().getId().equals(runtimeId))
    - {
    - return true;
    - }
    - }
    - }
    -
    - return false;
    - }
    -
    - /**
    - * Returns all server type ids with configured server runtimes.
    - * @return String[] array of server type ids. The array may have 0 elements.
    - */
    - public static String[] getAllClientServerFactoryIds()
    - {
    - //Iterator iter = registry.clientRuntimes_.values().iterator();
    - //while (iter.hasNext())
    - //{
    - //TODO iterate over all the server types and see if their runtime types have an
    - //id that matches the runtime type of any of the runtimes.
    - // ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)iter.next();
    - // Set runtimes = getRuntimes(desc.getRequiredFacetVersions());
    - // IServerType[] allServerTypes = ServerCore.getServerTypes();
    - //}
    - //return (String[])serverFactoryIds.toArray(new String[]{});
    - //Temporarily return all server types
    - return getAllServerFactoryIdsWithRuntimes();
    - }
    -
    - /**
    - * Returns the ids of all server types that support the given
    - * Web service client implementation type.
    - *
    - * @param clientImplId id of a Web service client implementation type
    - * @return String[] array containing the ids of all server types that
    - * support the given Web service client implementation type. The array may have 0 elements.
    - */
    - public static String[] getServerFactoryIdsByClientType(String clientImplId)
    - {
    - ArrayList serverFactoryIds = new ArrayList();
    - String[] crts = getClientRuntimesByType(clientImplId);
    - if (crts != null)
    - {
    - for (int i = 0; i < crts.length; i++)
    - {
    - //Get the runtimes that work for the facets required for this serviceRuntime
    - String[] fIds = getServerFactoryIdsByClientRuntime(crts[i]);
    - for (int j=0; j<fIds.length; j++)
    - {
    - if (!serverFactoryIds.contains(fIds[j]))
    - {
    - serverFactoryIds.add(fIds[j]);
    - }
    - }
    - }
    - }
    -
    - return (String[])serverFactoryIds.toArray(new String[]{});
    - }
    -
    - /**
    - * Returns whether or not the given server type supports the given
    - * Web service client implementation type.
    - * @param clientImplId id of a Web service client implementation type
    - * @param serverFactoryId id of a server type
    - * @return <code>true</code> if the given server type supports the given
    - * Web service client implementation type. <code>false</code> otherwise.
    - */
    - public static boolean isServerSupportedForChosenClientType(String clientImplId, String serverFactoryId)
    - {
    - String[] fIds = getServerFactoryIdsByClientType(clientImplId);
    - if (fIds == null)
    - {
    - return false;
    - }
    -
    - for (int i=0;i<fIds.length;i++)
    - {
    - if (serverFactoryId.equals(fIds[i]))
    - {
    - return true;
    - }
    - }
    -
    - return false;
    - }
    -
    - /**
    - * Returns the ids of all server types that support the given
    - * clientRuntime.
    - *
    - * @param clientRuntimeId id of a clientRuntime
    - * @return String[] array containing the ids of all server types that
    - * support the given clientRuntime. The array may have 0 elements.
    - */
    - public static String[] getServerFactoryIdsByClientRuntime(String clientRuntimeId)
    - {
    - ClientRuntimeDescriptor desc = getClientRuntimeDescriptorById(clientRuntimeId);
    - Set facetRuntimes = getRuntimes(desc.getRequiredFacetVersions());
    -
    - String[] fIds = getServerFactoryIdsByFacetRuntimes(facetRuntimes);
    - return fIds;
    - }
    -
    - /**
    - * Returns whether or not the given server type supports the given
    - * clientRuntime.
    - *
    - * @param clientRuntimeId id of a clientRuntime
    - * @param serverFactoryId id of a server type
    - * @return boolean <code>true</code> if the given server type supports the given
    - * clientRuntime. <code>false</code> otherwise.
    - */
    - public static boolean doesClientRuntimeSupportServer(String clientRuntimeId, String serverFactoryId)
    - {
    - String[] serverIds = getServerFactoryIdsByClientRuntime(clientRuntimeId);
    - for (int i=0; i<serverIds.length; i++)
    - {
    - if (serverIds[i].equals(serverFactoryId))
    - {
    - return true;
    - }
    - }
    -
    - return false;
    - }
    -
    - /**
    - * Returns whether or not the given server type supports the given Web service runtime
    - *
    - * @param runtimeId id of a Web service runtime
    - * @param factoryId id of a server type
    - * @return boolean <code>true</code> if the given server type supports the given
    - * Web service runtime for the client side. <code>false</code> otherwise.
    - */
    - public static boolean doesRuntimeSupportServerForClientSide(String runtimeId, String factoryId)
    - {
    - //Get all the ClientRuntimeDescriptors that point to this runtimeId
    - Iterator iter = registry.clientRuntimes_.values().iterator();
    - while (iter.hasNext())
    - {
    - ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)iter.next();
    - //check if this clientRuntime points to runtimeId
    - String thisRuntimeId = desc.getRuntime().getId();
    - if (thisRuntimeId.equals(runtimeId))
    - {
    - Set facetRuntimes = getRuntimes(desc.getRequiredFacetVersions());
    - String[] fIds = getServerFactoryIdsByFacetRuntimes(facetRuntimes);
    - for (int i=0; i<fIds.length; i++)
    - {
    - if (fIds[i].equals(factoryId))
    - {
    - return true;
    - }
    - }
    - }
    - }
    -
    - //No match.
    - return false;
    - }
    -
    - /**
    - * Returns the id of a server type that supports the given Web service runtime
    - * on the client side.
    - *
    - * @param runtimeId id of a Web service runtime
    - * @return String the id of a server type that supports the given Web service runtime
    - * on the client side. Returns null if such a server type cannot be found.
    - */
    - public static String getFirstSupportedServerForClientSide(String runtimeId)
    - {
    - //Get all the ClientRuntimeDescriptors that point to this runtimeId
    - Iterator iter = registry.clientRuntimes_.values().iterator();
    - while (iter.hasNext())
    - {
    - ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)iter.next();
    - //check if this clientRuntime points to runtimeId
    - String thisRuntimeId = desc.getRuntime().getId();
    - if (thisRuntimeId.equals(runtimeId))
    - {
    - Set facetRuntimes = getRuntimes(desc.getRequiredFacetVersions());
    - String[] factoryIds = getServerFactoryIdsByFacetRuntimes(facetRuntimes);
    - if (factoryIds!=null && factoryIds.length >0)
    - {
    - return factoryIds[0];
    - }
    - }
    - }
    -
    - //No suitable servers found. Return null.
    - return null;
    -
    - }
    -
    -
    - /**
    - * Returns whether or not the given combination of server type, Web service runtime, and
    - * Web service client implementation type is supported. Used for validation.
    - *
    - * @param serverFactoryId id of a server type
    - * @param runtimeId id of a Web service runtime
    - * @param clientImplId id of a Web service client implementation type
    - * @return boolean <code>true</code> if the given combination of server type, Web service runtime,
    - * and Web service client implementation type is supported. <code>false</code> otherwise.
    - */
    - public static boolean isServerClientRuntimeTypeSupported(String serverFactoryId, String runtimeId, String clientImplId)
    - {
    - //Ensure there is at least one clientRuntime that supports the given type
    - String[] clientRuntimes = getClientRuntimesByType(clientImplId);
    - if (clientRuntimes!=null && clientRuntimes.length>0)
    - {
    - //Ensure that at least one of these server runtimes supports the given server
    - for (int i=0; i<clientRuntimes.length; i++)
    - {
    - ClientRuntimeDescriptor desc = getClientRuntimeDescriptorById(clientRuntimes[i]);
    - if (desc.getRuntime().getId().equals(runtimeId))
    - {
    - //Matched type and runtime. Check the server.
    - String[] factoryIds = getServerFactoryIdsByClientRuntime(desc.getId());
    - for (int j=0; j<factoryIds.length; j++)
    - {
    - if (factoryIds[j].equals(serverFactoryId))
    - {
    - return true;
    - }
    - }
    - }
    - }
    - }
    -
    - //No match found. return false.
    - return false;
    - }
    -
    - /**
    - * Returns an array of {@link IFacetedProjectTemplate} ids that support the given Web service client implementation type
    - * and Web service runtime.
    - *
    - * @param clientImplId id of a Web service client implementation type
    - * @param runtimeId id of a Web service runtime
    - * @return String[] array of {@link IFacetedProjectTemplate} ids that support the given Web service client implementation type
    - * and Web service runtime. The array may have 0 elements. Returns null if no clientRuntimes supporting
    - * the given Web service client implementation type could be found.
    - */
    - public static String[] getClientProjectTemplates(String clientImplId, String runtimeId)
    - {
    - String[] crIds = getClientRuntimesByType(clientImplId);
    - if (crIds == null)
    - {
    - return null;
    - }
    -
    - ArrayList templateIdList = new ArrayList();
    - for (int i = 0; i < crIds.length; i++)
    - {
    - ClientRuntimeDescriptor desc = getClientRuntimeDescriptorById(crIds[i]);
    - String thisRuntimeId = desc.getRuntime().getId();
    - if (thisRuntimeId.equals(runtimeId))
    - {
    - //Get the templates for this clientRuntime
    - Set templates = FacetMatchCache.getInstance().getTemplatesForClientRuntime(desc.getId());
    -
    - //Add the template ids to the list if they have not already been added
    - Iterator itr = templates.iterator();
    - while (itr.hasNext())
    - {
    - IFacetedProjectTemplate template = (IFacetedProjectTemplate)itr.next();
    - if (!templateIdList.contains(template.getId()))
    - {
    - templateIdList.add(template.getId());
    - }
    - }
    - }
    -
    - }
    -
    - return (String[])templateIdList.toArray(new String[]{});
    - }
    -
    - /**
    - * Returns whether or not the given {@link IFacetedProjectTemplate} supports the given
    - * Web service client implementation type and Web service runtime.
    - *
    - * @param clientImplId id of a Web service client implementation type
    - * @param runtimeId id of a Web service runtime
    - * @param templateId id of a {@link IFacetedProjectTemplate}
    - * @return boolean <code>true</code> if the given {@link IFacetedProjectTemplate} supports the given
    - * Web service client implementation type and Web service runtime. Returns <code>false</code> otherwise.
    - */
    - public static boolean doesClientTypeAndRuntimeSupportTemplate(String clientImplId, String runtimeId, String templateId)
    - {
    - String[] crIds = getClientRuntimesByType(clientImplId);
    - if (crIds == null)
    - {
    - return false;
    - }
    -
    - for (int i = 0; i < crIds.length; i++)
    - {
    - ClientRuntimeDescriptor desc = getClientRuntimeDescriptorById(crIds[i]);
    - String thisRuntimeId = desc.getRuntime().getId();
    - if (thisRuntimeId.equals(runtimeId))
    - {
    - //Get the templates for this clientRuntime
    - Set templates = FacetMatchCache.getInstance().getTemplatesForClientRuntime(crIds[i]);
    -
    - //Check if the template ids contains the template we're checking for
    - Iterator itr = templates.iterator();
    - while (itr.hasNext())
    - {
    - IFacetedProjectTemplate template = (IFacetedProjectTemplate)itr.next();
    - if (template.getId().equals(templateId))
    - {
    - return true;
    - }
    - }
    - }
    -
    - }
    -
    - return false;
    - }
    -
    -
    - /**
    - * Returns whether or not the given {@link IFacetedProjectTemplate}
    - * supports the given clientRuntime
    - *
    - * @param clientRuntimeId id of a clientRuntime
    - * @param templateId id of a {@link IFacetedProjectTemplate}
    - * @return boolean <code>true</code> if the given {@link IFacetedProjectTemplate} supports the given
    - * clientRuntime. Returns <code>false</code> otherwise.
    - */
    - public static boolean doesClientRuntimeSupportTemplate(String clientRuntimeId, String templateId)
    - {
    - //Get the templates for this clientRuntime
    - Set templates = FacetMatchCache.getInstance().getTemplatesForClientRuntime(clientRuntimeId);
    - IFacetedProjectTemplate checkingTemplate = ProjectFacetsManager.getTemplate(templateId);
    - return templates.contains(checkingTemplate);
    - }
    -
    - /**
    - * Returns the labels and ids of all Web service client implementation types.
    - * Used to populate the Web service client type combo box on
    - * page 1 of the Web service wizard and Web service client wizard.
    - * @return {@link LabelsAndIds}
    - */
    - public static LabelsAndIds getClientTypeLabels()
    - {
    -
    - LabelsAndIds labelIds = new LabelsAndIds();
    - String[] idsArray = new String[0];
    - String[] labelsArray = new String[0];
    - labelIds.setIds_(idsArray);
    - labelIds.setLabels_(labelsArray);
    -
    - ArrayList ids = new ArrayList();
    - ArrayList labels = new ArrayList();
    -
    - Iterator itr = registry.clientRuntimes_.values().iterator();
    - while(itr.hasNext())
    - {
    - ClientRuntimeDescriptor desc = (ClientRuntimeDescriptor)itr.next();
    - WebServiceClientImpl thisClientImpl = desc.getClientImplementationType();
    - if (!ids.contains(thisClientImpl.getId()))
    - {
    - ids.add(thisClientImpl.getId());
    - labels.add(thisClientImpl.getLabel());
    - }
    - }
    -
    - if (ids.size() > 0)
    - {
    - idsArray = (String[]) ids.toArray(new String[0]);
    - labelsArray = (String[]) labels.toArray(new String[0]);
    - labelIds.setIds_(idsArray);
    - labelIds.setLabels_(labelsArray);
    - }
    -
    - return labelIds;
    -
    - }
    -
    - /**
    - * Returns all server type ids for which there are configured server runtimes
    - * present in the workspace.
    - *
    - * @return String[] array of server type ids for which there are configured server runtimes
    - * present in the workspace. The array may have 0 elements.
    - */
    - public static String[] getAllServerFactoryIdsWithRuntimes()
    - {
    - ArrayList fids = new ArrayList();
    - IServerType[] sts = ServerCore.getServerTypes();
    - org.eclipse.wst.server.core.IRuntime[] rts = ServerCore.getRuntimes();
    -
    - for (int i=0; i<sts.length; i++)
    - {
    - IServerType st = sts[i];
    - for (int j=0; j<rts.length; j++)
    - {
    - if (st == null || st.getRuntimeType() == null) break;
    - org.eclipse.wst.server.core.IRuntime rt = rts[j];
    - // If the server type has the same runtime type as this runtime, add it to the list
    - String serverTypeRuntimeTypeId = st.getRuntimeType().getId();
    -
    - if (rt != null)
    - {
    - IRuntimeType rtType = rt.getRuntimeType();
    - if (rtType != null)
    - {
    - String runtimeRuntimeTypeId = rtType.getId();
    - if (serverTypeRuntimeTypeId.equals(runtimeRuntimeTypeId))
    - {
    - if (!fids.contains(st.getId()))
    - {
    - fids.add(st.getId());
    - }
    - }
    - }
    - }
    - }
    - }
    -
    - return (String[])fids.toArray(new String[0]);
    - }
    -
    - /**
    - * Returns the names of all projects in the workspace which support the given Web service client
    - * implementation type and Web service runtime.
    - *
    - * @param typeId id of a Web service client implementation type
    - * @param runtimeId id of a Web service runtime
    - * @return String[] array of project names. The array may have 0 elements.
    - */
    - public static String[] getProjectsForClientTypeAndRuntime(String typeId, String runtimeId)
    - {
    - IProject[] projects = FacetUtils.getAllProjects();
    - ArrayList validProjects = new ArrayList();
    -
    - for (int i=0; i<projects.length;i++)
    - {
    - if (doesClientTypeAndRuntimeSupportProject(typeId, runtimeId, projects[i].getName()))
    - {
    - validProjects.add(projects[i].getName());
    - }
    - }
    -
    - return (String[])validProjects.toArray(new String[0]);
    -
    - }
    -
    - /**
    - * Returns whether or not the given project supports the given Web service client implementation type
    - * and Web service runtime.
    - *
    - * @param typeId id of a Web service client implementation type
    - * @param runtimeId id of a Web service runtime
    - * @param projectName name of an IProject in the workspace
    - * @return boolean <code>true</code> if the project supports the given Web service type and
    - * Web service runtime. Returns <code>false</code>
    - * <ul>
    - * <li>if the project does not support the given Web service client implementation type and
    - * Web service runtime or</li>
    - * <li>if the project does not exist or</li>
    - * <li>if projectName is null or empty</li>
    - * </ul>
    - */
    - public static boolean doesClientTypeAndRuntimeSupportProject(String typeId, String runtimeId, String projectName)
    - {
    - String[] descs = getClientRuntimesByType(typeId);
    - for (int j = 0; j < descs.length; j++)
    - {
    - ClientRuntimeDescriptor desc = getClientRuntimeDescriptorById(descs[j]);
    - if (desc.getRuntime().getId().equals(runtimeId))
    - {
    - if (doesClientRuntimeSupportProject(descs[j], projectName))
    - {
    - return true;
    - }
    - }
    - }
    -
    - return false;
    -
    -
    - }
    -
    -
    - /**
    - * Returns whether or not the given project supports the given clientRuntime.
    - * @param clientRuntimeId id of a clientRuntime
    - * @param projectName name of an IProject in the workspace
    - * @return boolean <code>true</code> if the project supports the given
    - * clientRuntime. Returns <code>false</code>
    - * <ul>
    - * <li>if the project does not support the given clientRuntime or</li>
    - * <li>if the project does not exist or</li>
    - * <li>if projectName is null or empty</li>
    - * </ul>
    - */
    - public static boolean doesClientRuntimeSupportProject(String clientRuntimeId, String projectName)
    - {
    - FacetMatcher fm = FacetMatchCache.getInstance().getMatchForProject(true, clientRuntimeId, projectName);
    - if (fm != null)
    - {
    - return fm.isMatch();
    - }
    - else
    - {
    - return false;
    - }
    - }
    -
    - //Utilities used by the ServerRuntimePreferencePage
    -
    - private static SelectionListChoices serverToRuntimeToJ2EE_;
    - private static Hashtable serverFactoryIdByLabel_;
    - private static Hashtable runtimeIdByLabel_;
    -
    - /**
    - * Returns the {@link SelectionListChoices} data structure representing the
    - * server type > Web service runtime > J2EE cascading lists .
    - * {@link SelectionListChoices} is a data structure which is like a cascading
    - * set of lists useful for populating a group of combo boxes in which the
    - * selection in a given combo box determines the list of items used to populate
    - * the combo box below it. The Server Runtime preference page contains two combo
    - * boxes: one for server types and, below it, one for Web service runtimes.
    - * The server type combo box is meant to contain the list of all available server types
    - * that support at least one Web service runtime on either the client or service side.
    - * The Web service runtime combo box is meant to contain the subset of Web service runtimes
    - * supported by the server type selected in the server type combo box.
    - * The SelectionListChoices returned by this method has three lists: server types, Web service runtimes,
    - * and J2EE levels. The first two lists correspond to the combo boxes on the preference
    - * page and are used to populate them. The J2EE levels list is a historical remnant from
    - * when J2EE levels used to be displayed on the preference page. It remains in this
    - * data structure with some hard-coded values but is not rendered to the user.
    - *
    - * @return SelectionListChoices representing the server type > Web service runtime > J2EE cascading lists
    - */
    - public static SelectionListChoices getServerToRuntimeToJ2EE()
    - {
    - if (serverToRuntimeToJ2EE_!=null)
    - {
    - return serverToRuntimeToJ2EE_;
    - }
    -
    - //TODO (see bug 116025): Instead of all server type ids, we should be calculating the set of server
    - //types that support at least one Web service runtime on either the client or service side.
    - //Getting all server types for now.
    - String[] servers = getAllServerFactoryIds();
    -
    - SelectionList serversList = new SelectionList(servers, 0);
    - Vector choices = new Vector();
    - for (int i=0; i<servers.length; i++)
    - {
    - choices.add(getRuntimeChoices(servers[i]));
    - }
    - serverToRuntimeToJ2EE_ = new SelectionListChoices(serversList, choices);
    - return serverToRuntimeToJ2EE_;
    -
    - }
    -
    - private static SelectionListChoices getRuntimeChoices(String serverFactoryId)
    - {
    - //TODO (see bug 116025): Instead of all Web service runtimes, we should be
    - //calculating the subset of Web service runtimes supported by the server type
    - //with id equal to serverFactoryId. Getting all the Web service runtimes for now.
    - Set runtimes = registry.runtimes_.keySet();
    - Iterator itr = registry.runtimes_.keySet().iterator();
    - String[] runtimeIds = new String[runtimes.size()];
    - int i = 0;
    - while (itr.hasNext())
    - {
    - String runtimeId = (String)itr.next();
    - runtimeIds[i] = runtimeId;
    - i++;
    - }
    -
    - SelectionList runtimesList = new SelectionList(runtimeIds, 0);
    - Vector choices = new Vector();
    - for (int j=0; j<runtimeIds.length; j++)
    - {
    - choices.add(getJ2EEChoices(runtimeIds[j]));
    - }
    - return new SelectionListChoices(runtimesList, choices);
    - }
    -
    - private static SelectionListChoices getJ2EEChoices(String runtimeId)
    - {
    - //J2EE levels have been removed from the Server Runtime preference page.
    - //Return some hard coded values. These will not be rendered on the preference page.
    - String[] j2eeVersions = new String[]{"13", "14"};
    - SelectionList j2eeVersionsList = new SelectionList(j2eeVersions, 0);
    - return new SelectionListChoices(j2eeVersionsList, null);
    - }
    -
    - private static String[] getAllServerFactoryIds()
    - {
    - //TODO (see bug 116025): Instead of all server type ids, we should be calculating the set of server
    - //types that support at least one Web service runtime on either the client or service side.
    - //Return all server type ids for now.
    - ArrayList ids = new ArrayList();
    - if (serverFactoryIdByLabel_ == null)
    - {
    - serverFactoryIdByLabel_ = new Hashtable();
    - IServerType[] serverTypes = ServerCore.getServerTypes();
    - for (int i=0; i<serverTypes.length; i++)
    - {
    - String id = serverTypes[i].getId();
    - String label = getServerLabelById(id);
    - serverFactoryIdByLabel_.put(label, id);
    - ids.add(id);
    - }
    - }
    - else
    - {
    - Iterator fids = serverFactoryIdByLabel_.values().iterator();
    - while (fids.hasNext())
    - {
    - String fid = (String)fids.next();
    - ids.add(fid);
    - }
    - }
    -
    - if (ids.size() > 0)
    - {
    - String[] serverFactoryIds = (String[])ids.toArray(new String[0]);
    - return serverFactoryIds;
    - }
    -
    - return null;
    - }
    -
    - /**
    - * Returns a server type id given the server type's label
    - * @param label server type label
    - * @return server type id or null if no server type with the given
    - * label is found.
    - */
    - public static String getServerFactoryId(String label)
    - {
    - if (label==null || label.length()==0)
    - return null;
    -
    - if (serverFactoryIdByLabel_ == null)
    - {
    - getAllServerFactoryIds();
    - }
    -
    - if (serverFactoryIdByLabel_.containsKey(label))
    - {
    - return (String)serverFactoryIdByLabel_.get(label);
    - }
    - else
    - {
    - return null;
    - }
    - }
    -
    - /**
    - * Returns a Web service runtime's id given its label
    - * @param label Web service runtime label
    - * @return Web service runtime id or null if no
    - * Web service runtime with the given label is found.
    - */
    - public static String getRuntimeId(String label)
    - {
    -
    - if (label==null || label.length()==0)
    - return null;
    -
    - if (runtimeIdByLabel_ == null)
    - {
    - runtimeIdByLabel_ = new Hashtable();
    - Iterator iter = registry.runtimes_.values().iterator();
    - while (iter.hasNext())
    - {
    - RuntimeDescriptor desc = (RuntimeDescriptor)iter.next();
    - runtimeIdByLabel_.put(desc.getLabel(), desc.getId());
    - }
    - }
    -
    - return (String)runtimeIdByLabel_.get(label);
    - }
    -
    -
    - /**
    - * Returns a set of facet runtimes that support the given
    - * required facet versions.
    - * @param requiredFacetVersions an array containing elements of type {@link RequiredFacetVersion}
    - * @return Set set of facet runtimes that support the given required facet versions.
    - * (element type: {@link IRuntime})
    - */
    - private static Set getRuntimes(RequiredFacetVersion[] requiredFacetVersions)
    - {
    - return FacetUtils.getRuntimes(requiredFacetVersions);
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeInfo.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeInfo.java
    deleted file mode 100644
    index a8e2562d7..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/wsrt/WebServiceRuntimeInfo.java
    +++ /dev/null
    @@ -1,210 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060216 127138 pmoogk@ca.ibm.com - Peter Moogk
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.ui.wsrt;
    -
    -import java.util.Hashtable;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IConfigurationElement;
    -import org.eclipse.wst.ws.internal.wsrt.IWebServiceRuntime;
    -import com.ibm.icu.util.StringTokenizer;
    -
    -
    -public class WebServiceRuntimeInfo {
    -
    - private IConfigurationElement elem_;
    - private Hashtable allServiceTypes_;
    - private Hashtable allClientTypes_;
    -
    - private String id;
    - private String label;
    - private ServiceType[] serviceTypes;
    - private ClientType[] clientTypes;
    - private java.lang.String[] servletLevels;
    - private java.lang.String[] j2eeLevels;
    - private java.lang.String[] runtimeIds;
    - private java.lang.String[] serverFactoryIds;
    - private String className;
    - private IWebServiceRuntime webServiceRuntime_;
    -
    - public WebServiceRuntimeInfo(IConfigurationElement elem_, Hashtable allServiceTypes_, Hashtable allClientTypes_)
    - {
    - super();
    - this.elem_ = elem_;
    - this.allServiceTypes_ = allServiceTypes_;
    - this.allClientTypes_ = allClientTypes_;
    - }
    -
    - public String getClassName()
    - {
    - if (className==null)
    - {
    - className=elem_.getAttribute("class");
    - }
    - return className;
    - }
    -
    -
    - public ClientType[] getClientTypes()
    - {
    - if (clientTypes==null)
    - {
    - String attr = elem_.getAttribute("clientTypes");
    - if (attr != null && attr.length()>0)
    - {
    - StringTokenizer st = new StringTokenizer(attr, " ");
    - int size = st.countTokens();
    - clientTypes = new ClientType[size];
    - for (int i = 0; i < clientTypes.length; i++)
    - {
    - String ctid = st.nextToken();
    - clientTypes[i] = (ClientType)allClientTypes_.get(ctid);
    - }
    - }
    - }
    - return clientTypes;
    - }
    -
    -
    - public String getId()
    - {
    - if (id==null)
    - {
    - id = elem_.getAttribute("id");
    - }
    - return id;
    - }
    -
    -
    - public String getLabel()
    - {
    - if (label==null)
    - {
    - label = elem_.getAttribute("label");
    - }
    - return label;
    - }
    -
    -
    - public java.lang.String[] getJ2eeLevels()
    - {
    - if (j2eeLevels == null)
    - {
    - String attr = elem_.getAttribute("j2eeLevels");
    - if (attr != null && attr.length()>0)
    - {
    - StringTokenizer st = new StringTokenizer(attr, " ");
    - int size = st.countTokens();
    - j2eeLevels = new String[size];
    - for (int i = 0; i < j2eeLevels.length; i++)
    - j2eeLevels[i] = st.nextToken();
    - }
    - }
    -
    - return j2eeLevels;
    - }
    -
    -
    - public java.lang.String[] getRuntimeIds()
    - {
    - if (runtimeIds == null)
    - {
    - String attr = elem_.getAttribute("runtimes");
    - if (attr != null && attr.length()>0)
    - {
    - StringTokenizer st = new StringTokenizer(attr, " ");
    - int size = st.countTokens();
    - runtimeIds = new String[size];
    - for (int i = 0; i < runtimeIds.length; i++)
    - runtimeIds[i] = st.nextToken();
    - }
    - }
    -
    - return runtimeIds;
    - }
    -
    -
    - public java.lang.String[] getServerFactoryIds()
    - {
    - if (serverFactoryIds == null)
    - {
    - String attr = elem_.getAttribute("servers");
    - if (attr != null && attr.length()>0)
    - {
    - StringTokenizer st = new StringTokenizer(attr, " ");
    - int size = st.countTokens();
    - serverFactoryIds = new String[size];
    - for (int i = 0; i < serverFactoryIds.length; i++)
    - serverFactoryIds[i] = st.nextToken();
    - }
    - }
    - return serverFactoryIds;
    - }
    -
    -
    - public ServiceType[] getServiceTypes()
    - {
    - if (serviceTypes==null)
    - {
    - String attr = elem_.getAttribute("serviceTypes");
    - if (attr != null && attr.length()>0)
    - {
    - StringTokenizer st = new StringTokenizer(attr, " ");
    - int size = st.countTokens();
    - serviceTypes = new ServiceType[size];
    - for (int i = 0; i < serviceTypes.length; i++)
    - {
    - String ctid = st.nextToken();
    - serviceTypes[i] = (ServiceType)allServiceTypes_.get(ctid);
    - }
    - }
    - }
    - return serviceTypes;
    - }
    -
    -
    - public java.lang.String[] getServletLevels()
    - {
    - if (servletLevels==null)
    - {
    - String attr = elem_.getAttribute("servletLevels");
    - if (attr != null && attr.length()>0)
    - {
    - StringTokenizer st = new StringTokenizer(attr, " ");
    - int size = st.countTokens();
    - servletLevels = new String[size];
    - for (int i = 0; i < servletLevels.length; i++)
    - servletLevels[i] = st.nextToken();
    - }
    - }
    - return servletLevels;
    - }
    -
    - public IWebServiceRuntime getWebServiceRuntime()
    - {
    - if (webServiceRuntime_ == null)
    - {
    - try
    - {
    - webServiceRuntime_ = (IWebServiceRuntime)elem_.createExecutableExtension("class");
    - }
    - catch(CoreException ce)
    - {
    - ce.printStackTrace();
    - }
    - }
    -
    - return webServiceRuntime_;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/.classpath b/bundles/org.eclipse.jst.ws.consumption/.classpath
    deleted file mode 100644
    index 7c69b4f1a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/.classpath
    +++ /dev/null
    @@ -1,8 +0,0 @@
    -<?xml version="1.0" encoding="UTF-8"?>
    -<classpath>
    - <classpathentry kind="src" path="src"/>
    - <classpathentry kind="src" path="webserviceutils"/>
    - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
    - <classpathentry kind="output" path="bin"/>
    -</classpath>
    diff --git a/bundles/org.eclipse.jst.ws.consumption/.cvsignore b/bundles/org.eclipse.jst.ws.consumption/.cvsignore
    deleted file mode 100644
    index ad09d9c9c..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/.cvsignore
    +++ /dev/null
    @@ -1,9 +0,0 @@
    -bin
    -build.xml
    -temp.folder
    -webserviceutils.jar
    -wsc.jar
    -webserviceutilssrc.zip
    -wscsrc.zip
    -javaCompiler.webserviceutils.jar.args
    -javaCompiler.wsc.jar.args
    diff --git a/bundles/org.eclipse.jst.ws.consumption/.project b/bundles/org.eclipse.jst.ws.consumption/.project
    deleted file mode 100644
    index 0758941dc..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/.project
    +++ /dev/null
    @@ -1,28 +0,0 @@
    -<?xml version="1.0" encoding="UTF-8"?>
    -<projectDescription>
    - <name>org.eclipse.jst.ws.consumption</name>
    - <comment></comment>
    - <projects>
    - </projects>
    - <buildSpec>
    - <buildCommand>
    - <name>org.eclipse.jdt.core.javabuilder</name>
    - <arguments>
    - </arguments>
    - </buildCommand>
    - <buildCommand>
    - <name>org.eclipse.pde.ManifestBuilder</name>
    - <arguments>
    - </arguments>
    - </buildCommand>
    - <buildCommand>
    - <name>org.eclipse.pde.SchemaBuilder</name>
    - <arguments>
    - </arguments>
    - </buildCommand>
    - </buildSpec>
    - <natures>
    - <nature>org.eclipse.jdt.core.javanature</nature>
    - <nature>org.eclipse.pde.PluginNature</nature>
    - </natures>
    -</projectDescription>
    diff --git a/bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.jdt.core.prefs
    deleted file mode 100644
    index 1426bed8a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.jdt.core.prefs
    +++ /dev/null
    @@ -1,57 +0,0 @@
    -#Mon Jan 30 10:35:51 EST 2006
    -eclipse.preferences.version=1
    -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
    -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
    -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
    -org.eclipse.jdt.core.compiler.compliance=1.4
    -org.eclipse.jdt.core.compiler.debug.lineNumber=generate
    -org.eclipse.jdt.core.compiler.debug.localVariable=generate
    -org.eclipse.jdt.core.compiler.debug.sourceFile=generate
    -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    -org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
    -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
    -org.eclipse.jdt.core.compiler.problem.deprecation=ignore
    -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
    -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
    -org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
    -org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    -org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
    -org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
    -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
    -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
    -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
    -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
    -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
    -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
    -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
    -org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
    -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
    -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
    -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
    -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
    -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
    -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
    -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
    -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
    -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
    -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
    -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
    -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
    -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
    -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
    -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
    -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
    -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
    -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
    -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
    -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
    -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
    -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
    -org.eclipse.jdt.core.compiler.problem.unusedImport=warning
    -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
    -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
    -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
    -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
    -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
    -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    -org.eclipse.jdt.core.compiler.source=1.3
    diff --git a/bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.pde.prefs
    deleted file mode 100644
    index 813550758..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/.settings/org.eclipse.pde.prefs
    +++ /dev/null
    @@ -1,12 +0,0 @@
    -#Mon Jan 30 10:41:25 EST 2006
    -compilers.p.deprecated=1
    -compilers.p.no-required-att=0
    -compilers.p.not-externalized-att=1
    -compilers.p.unknown-attribute=0
    -compilers.p.unknown-class=0
    -compilers.p.unknown-element=1
    -compilers.p.unknown-resource=0
    -compilers.p.unresolved-ex-points=0
    -compilers.p.unresolved-import=0
    -compilers.use-project=true
    -eclipse.preferences.version=1
    diff --git a/bundles/org.eclipse.jst.ws.consumption/META-INF/MANIFEST.MF b/bundles/org.eclipse.jst.ws.consumption/META-INF/MANIFEST.MF
    deleted file mode 100644
    index b1cba5f06..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/META-INF/MANIFEST.MF
    +++ /dev/null
    @@ -1,60 +0,0 @@
    -Manifest-Version: 1.0
    -Bundle-ManifestVersion: 2
    -Bundle-Name: %PLUGIN_NAME
    -Bundle-SymbolicName: org.eclipse.jst.ws.consumption; singleton:=true
    -Bundle-Version: 1.0.203.qualifier
    -Bundle-ClassPath: wsc.jar,
    - webserviceutils.jar
    -Bundle-Activator: org.eclipse.jst.ws.internal.consumption.plugin.WebServiceConsumptionPlugin
    -Bundle-Vendor: %PLUGIN_PROVIDER
    -Bundle-Localization: plugin
    -Export-Package: org.eclipse.jst.ws.internal.consumption;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.codegen;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.codegen.bean;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.command.common;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.common;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.datamodel.validate;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.fragments;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.plugin;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.sampleapp.command;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.sampleapp.common;x-internal:=true,
    - org.eclipse.jst.ws.internal.consumption.wsfinder;x-internal:=true,
    - org.eclipse.jst.ws.util
    -Require-Bundle: org.eclipse.jem;bundle-version="[1.2.0,1.3.0)",
    - org.eclipse.jem.workbench;bundle-version="[1.2.0,1.3.0)",
    - org.eclipse.emf.common;bundle-version="[2.2.0,2.4.0)",
    - org.eclipse.emf.ecore;bundle-version="[2.2.0,2.4.0)",
    - org.eclipse.jdt.core;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.core.resources;bundle-version="[3.2.0,3.4.0)",
    - org.eclipse.xsd;bundle-version="[2.2.0,2.4.0)",
    - org.eclipse.debug.core;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.jst.ws;bundle-version="[1.0.101,1.1.0)",
    - org.eclipse.jdt.launching;bundle-version="[3.2.0,3.3.0)",
    - org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
    - org.eclipse.wst.command.env;bundle-version="[1.0.101,1.1.0)",
    - org.eclipse.jem.workbench;bundle-version="[1.2.0,1.3.0)",
    - org.eclipse.jface;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.wst.ws;bundle-version="[1.0.100,1.1.0)",
    - org.eclipse.wst.ws.parser;bundle-version="[1.0.100,1.1.0)",
    - org.eclipse.wst.server.core;bundle-version="[1.0.102,1.1.0)",
    - org.eclipse.wst.wsdl;bundle-version="[1.0.100,1.1.0)",
    - org.eclipse.wst.internet.monitor.core;bundle-version="[1.0.102,1.1.0)",
    - org.eclipse.jst.j2ee.core;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.jst.j2ee.ejb;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.jst.j2ee;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.jst.j2ee.web;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.wst.common.frameworks;bundle-version="[1.1.0,1.2.0)",
    - org.wsdl4j;bundle-version="[1.4.0,1.5.0)",
    - org.eclipse.jem.util;bundle-version="[1.2.0,1.3.0)",
    - org.eclipse.wst.common.environment;bundle-version="[1.0.100,1.1.0)",
    - org.eclipse.wst.common.project.facet.core;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.jst.server.core;bundle-version="[1.0.102,1.1.0)",
    - com.ibm.icu;bundle-version="[3.4.4,4.0.0)",
    - org.eclipse.ui;bundle-version="[3.2.0,4.0.0)"
    -Eclipse-LazyStart: true
    diff --git a/bundles/org.eclipse.jst.ws.consumption/about.html b/bundles/org.eclipse.jst.ws.consumption/about.html
    deleted file mode 100644
    index 4ec598958..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/about.html
    +++ /dev/null
    @@ -1,34 +0,0 @@
    -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
    -<HTML>
    -
    -<head>
    -<title>About</title>
    -<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
    -</head>
    -
    -<BODY lang="EN-US">
    -
    -<H3>About This Content</H3>
    -
    -<P>May 2, 2006</P>
    -
    -<H3>License</H3>
    -
    -<P>The Eclipse Foundation makes available all content in this plug-in
    -("Content"). Unless otherwise indicated below, the Content is provided to you
    -under the terms and conditions of the Eclipse Public License Version 1.0
    -("EPL"). A copy of the EPL is available at
    -<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
    -For purposes of the EPL, "Program" will mean the Content.</P>
    -
    -<P>If you did not receive this Content directly from the Eclipse Foundation, the
    -Content is being redistributed by another party ("Redistributor") and different
    -terms and conditions may apply to your use of any object code in the Content.
    -Check the Redistributor’s license that was provided with the Content. If no such
    -license exists, contact the Redistributor. Unless otherwise indicated below, the
    -terms and conditions of the EPL still apply to any source code in the Content
    -and such source code may be obtained at
    -<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
    -
    -</BODY>
    -</HTML>
    diff --git a/bundles/org.eclipse.jst.ws.consumption/build.properties b/bundles/org.eclipse.jst.ws.consumption/build.properties
    deleted file mode 100644
    index 31b6245e1..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/build.properties
    +++ /dev/null
    @@ -1,11 +0,0 @@
    -source.wsc.jar = src/
    -source.webserviceutils.jar = webserviceutils/
    -jars.compile.order = wsc.jar,\
    - webserviceutils.jar
    -bin.includes = plugin.properties,\
    - plugin.xml,\
    - wsc.jar,\
    - webserviceutils.jar,\
    - META-INF/,\
    - about.html
    -jars.extra.classpath = ../org.apache.axis/lib/saaj.jar
    diff --git a/bundles/org.eclipse.jst.ws.consumption/plugin.properties b/bundles/org.eclipse.jst.ws.consumption/plugin.properties
    deleted file mode 100644
    index f484e2606..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/plugin.properties
    +++ /dev/null
    @@ -1,19 +0,0 @@
    -###############################################################################
    -# Copyright (c) 2000, 2004 IBM Corporation and others.
    -# All rights reserved. This program and the accompanying materials
    -# are made available under the terms of the Eclipse Public License v1.0
    -# which accompanies this distribution, and is available at
    -# http://www.eclipse.org/legal/epl-v10.html
    -#
    -# Contributors:
    -# IBM Corporation - initial API and implementation
    -###############################################################################
    -
    -#
    -# Messages in plugin.xml.
    -#
    -PLUGIN_NAME=Web Services Consumption
    -PLUGIN_PROVIDER=Eclipse.org
    -XP_WSFINDER=org.eclipse.jst.ws.internal.consumption.wsfinder
    -XP_WEB_SERVICE_START_SERVER_TYPE=WebServiceStartServerType
    -XP_SERVER_DEFAULTER=Server Defaulter
    diff --git a/bundles/org.eclipse.jst.ws.consumption/plugin.xml b/bundles/org.eclipse.jst.ws.consumption/plugin.xml
    deleted file mode 100644
    index f6640aacf..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/plugin.xml
    +++ /dev/null
    @@ -1,52 +0,0 @@
    -<?xml version="1.0" encoding="UTF-8"?>
    -<?eclipse version="3.0"?>
    -
    -<plugin>
    -
    - <!-- The following extension point is internal and likely to be removed in a future release. -->
    - <extension-point
    - id="wsfinder"
    - name="%XP_WSFINDER"/>
    -
    - <!-- The following extension point is internal and likely to be removed in a future release. -->
    - <extension-point
    - id="webServiceStartServerType"
    - name="%XP_WEB_SERVICE_START_SERVER_TYPE"/>
    -
    - <!-- The following extension point is internal and likely to be removed in a future release. -->
    - <extension-point
    - id="serverDefaulter"
    - name="%XP_SERVER_DEFAULTER"/>
    -
    -
    - <extension
    - point="org.eclipse.jst.ws.consumption.webServiceStartServerType">
    - <webServiceStartServerType
    - factoryId="org.eclipse.jst.server.tomcat.32"
    - class="org.eclipse.jst.ws.internal.consumption.command.common.StartTomcatServer"
    - id="SERVER_ID_TOMCAT32_LOCAL">
    - </webServiceStartServerType>
    - <webServiceStartServerType
    - factoryId="org.eclipse.jst.server.tomcat.40"
    - class="org.eclipse.jst.ws.internal.consumption.command.common.StartTomcatServer"
    - id="SERVER_ID_TOMCAT40_LOCAL">
    - </webServiceStartServerType>
    - <webServiceStartServerType
    - factoryId="org.eclipse.jst.server.tomcat.41"
    - class="org.eclipse.jst.ws.internal.consumption.command.common.StartTomcatServer"
    - id="SERVER_ID_TOMCAT41_LOCAL">
    - </webServiceStartServerType>
    - <webServiceStartServerType
    - factoryId="org.eclipse.jst.server.tomcat.50"
    - class="org.eclipse.jst.ws.internal.consumption.command.common.StartTomcatServer"
    - id="SERVER_ID_TOMCAT50_LOCAL">
    - </webServiceStartServerType>
    - <webServiceStartServerType
    - factoryId="org.eclipse.jst.server.geronimo.10"
    - class="org.eclipse.jst.ws.internal.consumption.command.common.StartTomcatServer"
    - id="SERVER_ID_GERONIMO10_LOCAL">
    - </webServiceStartServerType>
    - </extension>
    -
    -
    -</plugin>
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/Consumption.properties b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/Consumption.properties
    deleted file mode 100644
    index 36754615e..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/Consumption.properties
    +++ /dev/null
    @@ -1,193 +0,0 @@
    -###############################################################################
    -# Copyright (c) 2004, 2006 IBM Corporation and others.
    -# All rights reserved. This program and the accompanying materials
    -# are made available under the terms of the Eclipse Public License v1.0
    -# which accompanies this distribution, and is available at
    -# http://www.eclipse.org/legal/epl-v10.html
    -#
    -# Contributors:
    -# IBM Corporation - initial API and implementation
    -# yyyymmdd bug Email and other contact information
    -# -------- -------- -----------------------------------------------------------
    -# 20060217 126757 rsinha@ca.ibm.com - Rupam Kuehner
    -# 20060401 128827 kathy@ca.ibm.com - Kathy Chan
    -###############################################################################
    -
    -#
    -# Sample messages
    -#
    -MSG_ERROR_JTS_PROXY_HAS_NO_METHODS=IWAB0179E Unable to create a sample to the proxy because the proxy does not contain methods.
    -MSG_ERROR_JTS_PROXY_HAS_NO_DEFAULT=IWAB0180E Unable to create a sample to the proxy because the proxy is not a bean (i.e.. the sample does not have public default constructor).
    -MSG_ERROR_JTS_NO_PROXY_METHODS_PROCESSED=IWAB0181E Unable to create a sample to the proxy because none of the methods in the proxy were processed.
    -MSG_WARN_JTS_UNSUPPORTED_TYPE=IWAB0182W The Sample JSP client does not support the following type:
    -MSG_WARN_JTS_UNSUPPORTED_INDEXED_PROPERTIES=IWAB0187W The Sample JSP client does not support Indexed properties.
    -MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_ARRAYS=IWAB0237W The Sample JSP client does not support arrays:
    -MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_INPUTS=IWAB0124W The Sample JSP client does not support input parameters that are not beans:
    -MSG_ERROR_JTS_CYCLIC_BEAN=IWAB0188E The Sample JSP client does not support beans containing attributes that reference the beans.
    -MSG_WARN_JTS_PROXY_METHODS_OMITTED=IWAB0189W The Sample JSP client omitted some methods because they contained unsupported types.
    -MSG_ERROR_SAMPLE_CREATION_CANCELED=IWAB0021E Sample creation was canceled
    -MSG_WARN_UNABLE_TO_FIND_PROXY=IWAB0022W The Proxy Resource cound not not be found.
    -MSG_ERROR_JTS_JSP_GEN=Error in generating sample JSP
    -
    -# Not used
    -#MSG_ERROR_CANNOT_CREATE_COMPONENT=The Web service wizard cannot automatically create component "{0}". Cancel the wizard and create the component manually.
    -
    -
    -#
    -# Filters
    -#
    -FILTER_MSG_ERROR_NULL_OBJECT=IWAB0097E No object has been provided.
    -FILTER_MSG_ERROR_NOT_FILE=IWAB0098E The object "{0}" is not a file.
    -FILTER_MSG_ERROR_NOT_FOLDER=IWAB0137E The object "{0}" is not a folder.
    -
    -JAVA_FILTER_NAME=Java files
    -JAVA_FILTER_DESC=Files with names ending in ".java" or ".class".
    -JAVA_FILTER_MSG_ERROR_WRONG_EXTENSION=IWAB0102E The file "{0}" does not end in ".java" or ".class".
    -
    -WSDL_FILTER_NAME=WSDL files
    -WSDL_FILTER_DESC=Files with names ending in ".wsdl".
    -WSDL_FILTER_MSG_ERROR_WRONG_EXTENSION=IWAB0103E The file "{0}" does not end in ".wsdl".
    -
    -ISD_FILTER_NAME=ISD files
    -ISD_FILTER_DESC=Files with names ending in ".isd".
    -ISD_FILTER_MSG_ERROR_WRONG_EXTENSION=IWAB0095E The file "{0}" does not end in ".isd".
    -
    -PROPERTIES_FILTER_NAME=Properties files
    -PROPERTIES_FILTER_DESC=Files with names ending in ".properties"
    -PROPERTIES_FILTER_MSG_ERROR_WRONG_EXTENSION= The file "{0}" does not end in ".properties".
    -
    -FOLDER_FILTER_NAME=Folders
    -FOLDER_FILTER_DESC=Folders.
    -
    -#
    -# Deployment status
    -#
    -PROGRESS_INFO_COPY_WEBSERVICE_UTILS=IWAB0023I Copying the webservice utilities.
    -PROGRESS_INFO_COPYING_FILE=IWAB0197I Copying SOAP run-time file.
    -PROGRESS_INFO_START_WEB_PROJECT=IWAB0198I Starting Web project.
    -PROGRESS_INFO_PUBLISHING_SERVER=IWAB0199I Publishing server.
    -PROGRESS_INFO_STARTING_SERVER=IWAB0200I Starting server.
    -PROGRESS_INFO_PUBLISH_WEB_PROJECT=IWAB0205I Publishing Web project.
    -
    -
    -#
    -# Deployment messages
    -#
    -MSG_ERROR_PROJECT_NOT_FOUND=IWAB0207E Web project was not found.
    -MSG_ERROR_FILECOPY_WEBSERVICE_UTILS=IWAB0024E Error in copying Webservice Utility file.
    -MSG_ERROR_INSTANCE_NOT_FOUND=IWAB0212E Server was not found.
    -MSG_ERROR_SERVER=IWAB0213E Error in starting server.
    -MSG_ERROR_PUBLISH=IWAB0217E Error in publishing Web project.
    -MSG_ERROR_ADD_MODULE=Error occured when adding the module, {0}, to the server
    -
    -MSG_ERROR_CREATE_SERVER=IWAB0025E Unable to create server.
    -MSG_ERROR_STUB_ONLY=Unable to create server because only stub runtimes are available for the {0} server type. Go to Window > Preferences. Select Server > Installed Runtimes to install a non-stub runtime.
    -
    -#
    -# EJB messages
    -# 4 unused messages in jst.ws and wst.ws
    -TASK_LABEL_CREATE_EJB_PROJECT=CreateEJBProjectTask
    -TASK_DESC_CREATE_EJB_PROJECT=Create an EJB Project.
    -MSG_ERROR_CANNOT_CREATE_EJB_PROJECT=IWAB0432E Unable to create EJB project.
    -MSG_ERROR_CANNOT_CREATE_APP_CLIENT_PROJECT=IWAB0026E Unable to create application client project {0}.
    -
    -MSG_ERROR_CANNOT_CREATE_JAVA_PROJECT=IWAB0027E Unable to create Java project {0}.
    -MSG_ERROR_CANNOT_CREATE_EAR_PROJECT=IWAB0062E Unable to create EAR project {0}.
    -
    -#
    -# Validator task descriptions
    -#
    -TASK_LABEL_WEBSERVICE_DISABLE_VALIDATION=Disable validators.
    -TASK_DESC_WEBSERVICE_DISABLE_VALIDATION=Temporarily disabling validators.
    -TASK_LABEL_WEBSERVICE_RESTORE_VALIDATION=Restore validators.
    -TASK_DESC_WEBSERVICE_RESTORE_VALIDATION=Restoring states of validators.
    -TASK_LABEL_WEBSERVICE_DISABLE_BUILD=Disable auto build.
    -TASK_DESC_WEBSERVICE_DISABLE_BUILD=Temporarily disabling auto build.
    -TASK_LABEL_WEBSERVICE_RESTORE_BUILD=Restore auto build.
    -TASK_DESC_WEBSERVICE_RESTORE_BUILD=Restoring state of auto build.
    -
    -#
    -# MISC
    -#
    -MSG_ERROR_WEB_PROJECT_CREATE=IWAB0310E An error occurred during creation of the Web Project.
    -
    -#
    -# CheckProjectOKCommand
    -#
    -MSG_ERROR_SERVER_VIEW_OPEN=IWAB0126E The server configuration editor is open for {0}. Close it and restart the wizard.
    -
    -
    -#
    -# DetectNonJavaCharsCommand
    -#
    -MSG_WARN_JAVA_METHOD_START_WITH_UPPER_CASE=IWAB0129W Java method {0} in class {1} starts with an upper case letter. Method names should begin with lower case letters.
    -MSG_WARN_METHOD_NAME_INVALID=IWAB0131W Java method {0} name contains underscore or numeric digits followed by a lower case letter.\
    -Method names should not contain lower case letters after a numeric or underscore.
    -MSG_WARN_BOOLEAN_PROPERTY_ACCESSORS=IWAB0132W Boolean property accessor {0} in bean {1} begins with "get". Boolean getter methods should begin wth "is".
    -MSG_WARN_PACKAGE_NAME_HAS_UPPER_CASE=IWAB0133W The package name {0} of class {1} includes upper case letters. Package names should consist of lower case letters only.
    -
    -WARN_BEAN_NAME_STARTS_WITH_LOWER_CASE
    -
    -#
    -# JavaToModelCommand
    -#
    -LABEL_OK=OK
    -DESCRIPTION_OK=Select OK to continue
    -
    -LABEL_CANCEL=Cancel
    -DESCRIPTION_CANCEL=Select Cancel to cancel
    -
    -#
    -# CreateMonitorCommand
    -#
    -MSG_ERROR_UNABLE_TO_START_MONITOR=IWAB0001E Unable to monitor port {0} of {1}.
    -MSG_INFO_MONITORING_NOT_SUPPORTED=IWAB0002I {0} does not support port monitoring.
    -
    -#
    -# CopyWSDLCommand
    -#
    -COMMAND_LABEL_COPY_WSDL=Copying WSDL
    -COMMAND_DESC_COPY_WSDL=Copying WSDL into the workspace for Web service deployment
    -MSG_ERROR_COPY_WSDL=IWAB0028E Failed to copy WSDL {0} to {1}
    -
    -#
    -# AssociateModuleWithEARCommand
    -#
    -MSG_ERROR_UNABLE_TO_ASSOCIATE=Unable to associate component {0} to ear component {1}.
    -
    -#
    -# CreateModuleCommand
    -#
    -MSG_ERROR_CREATE_FLEX_PROJET=An error occured during creation of flexible project {0}.
    -MSG_ERROR_CREATE_EJB_COMPONENT=An error occured during creation of EJB component {0}.
    -MSG_ERROR_CREATE_APPCLIENT_COMPONENT=An error occured during creation of Application Client component {0}.
    -MSG_ERROR_COMPONENT_CREATION=Unable to create project {0} and/or component {1}.
    -
    -
    -#
    -# CreateFacetedProjectCommand
    -#
    -MSG_ERROR_PROJECT_CREATION=Unable to create project {0}.
    -
    -
    -#
    -# PreServiceDevelopCommand
    -#
    -MSG_ERROR_PROJECT_DOES_NOT_EXIST=The project {0} does not exist.
    -MSG_ERROR_PROJECT_IS_NOT_OPEN=The project {0} is not open.
    -
    -#
    -# SPECIAL NOTE TO TRANSLATORS: Substitution {1} in MSG_ERROR_ADDING_FACETS_TO_PROJECT and
    -# MSG_ERROR_FIXED_FACETS will be a delimited list of translated labels. The list is formed
    -# through repeated use of MSG_FACETS.
    -#
    -MSG_ERROR_ADDING_FACETS_TO_PROJECT=Unable to add the follwing facets to project {0}: {1}.
    -MSG_ERROR_FIXED_FACETS=Unable to set the following facets as fixed on project {0}: {1}.
    -MSG_FACETS={0}, {1}
    -
    -MSG_ERROR_SETTING_RUNTIME=Unable to bind project {0} to the {1} runtime.
    -
    -#
    -# SkeletonMergeCommand Messages
    -#
    -MSG_ERROR_FILE_MERGE=Error in merging file {0}.
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/ConsumptionMessages.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/ConsumptionMessages.java
    deleted file mode 100644
    index aad43c21f..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/ConsumptionMessages.java
    +++ /dev/null
    @@ -1,118 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060217 126757 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060401 128827 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption;
    -
    -import org.eclipse.osgi.util.NLS;
    -
    -public final class ConsumptionMessages extends NLS {
    -
    - private static final String BUNDLE_NAME = "org.eclipse.jst.ws.internal.consumption.Consumption";//$NON-NLS-1$
    -
    - private ConsumptionMessages() {
    - // Do not instantiate
    - }
    -
    - public static String MSG_ERROR_JTS_PROXY_HAS_NO_METHODS;
    - public static String MSG_ERROR_JTS_PROXY_HAS_NO_DEFAULT;
    - public static String MSG_ERROR_JTS_NO_PROXY_METHODS_PROCESSED;
    - public static String MSG_WARN_JTS_UNSUPPORTED_TYPE;
    - public static String MSG_WARN_JTS_UNSUPPORTED_INDEXED_PROPERTIES;
    - public static String MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_ARRAYS;
    - public static String MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_INPUTS;
    - public static String MSG_ERROR_JTS_CYCLIC_BEAN;
    - public static String MSG_WARN_JTS_PROXY_METHODS_OMITTED;
    - public static String MSG_ERROR_SAMPLE_CREATION_CANCELED;
    - public static String MSG_WARN_UNABLE_TO_FIND_PROXY;
    - public static String MSG_ERROR_JTS_JSP_GEN;
    - public static String FILTER_MSG_ERROR_NULL_OBJECT;
    - public static String FILTER_MSG_ERROR_NOT_FILE;
    - public static String FILTER_MSG_ERROR_NOT_FOLDER;
    - public static String JAVA_FILTER_NAME;
    - public static String JAVA_FILTER_DESC;
    - public static String JAVA_FILTER_MSG_ERROR_WRONG_EXTENSION;
    - public static String WSDL_FILTER_NAME;
    - public static String WSDL_FILTER_DESC;
    - public static String WSDL_FILTER_MSG_ERROR_WRONG_EXTENSION;
    - public static String ISD_FILTER_NAME;
    - public static String ISD_FILTER_DESC;
    - public static String ISD_FILTER_MSG_ERROR_WRONG_EXTENSION;
    - public static String PROPERTIES_FILTER_NAME;
    - public static String PROPERTIES_FILTER_DESC;
    - public static String PROPERTIES_FILTER_MSG_ERROR_WRONG_EXTENSION;
    - public static String FOLDER_FILTER_NAME;
    - public static String FOLDER_FILTER_DESC;
    - public static String PROGRESS_INFO_COPY_WEBSERVICE_UTILS;
    - public static String PROGRESS_INFO_COPYING_FILE;
    - public static String PROGRESS_INFO_START_WEB_PROJECT;
    - public static String PROGRESS_INFO_PUBLISHING_SERVER;
    - public static String PROGRESS_INFO_STARTING_SERVER;
    - public static String PROGRESS_INFO_PUBLISH_WEB_PROJECT;
    - public static String MSG_ERROR_PROJECT_NOT_FOUND;
    - public static String MSG_ERROR_FILECOPY_WEBSERVICE_UTILS;
    - public static String MSG_ERROR_INSTANCE_NOT_FOUND;
    - public static String MSG_ERROR_SERVER;
    - public static String MSG_ERROR_PUBLISH;
    - public static String MSG_ERROR_ADD_MODULE;
    - public static String MSG_ERROR_CREATE_SERVER;
    - public static String MSG_ERROR_STUB_ONLY;
    - public static String TASK_LABEL_CREATE_EJB_PROJECT;
    - public static String TASK_DESC_CREATE_EJB_PROJECT;
    - public static String MSG_ERROR_CANNOT_CREATE_EJB_PROJECT;
    - public static String MSG_ERROR_CANNOT_CREATE_APP_CLIENT_PROJECT;
    - public static String MSG_ERROR_CANNOT_CREATE_JAVA_PROJECT;
    - public static String MSG_ERROR_CANNOT_CREATE_EAR_PROJECT;
    - public static String TASK_LABEL_WEBSERVICE_DISABLE_VALIDATION;
    - public static String TASK_DESC_WEBSERVICE_DISABLE_VALIDATION;
    - public static String TASK_LABEL_WEBSERVICE_RESTORE_VALIDATION;
    - public static String TASK_DESC_WEBSERVICE_RESTORE_VALIDATION;
    - public static String TASK_LABEL_WEBSERVICE_DISABLE_BUILD;
    - public static String TASK_DESC_WEBSERVICE_DISABLE_BUILD;
    - public static String TASK_LABEL_WEBSERVICE_RESTORE_BUILD;
    - public static String TASK_DESC_WEBSERVICE_RESTORE_BUILD;
    - public static String MSG_ERROR_WEB_PROJECT_CREATE;
    - public static String MSG_ERROR_SERVER_VIEW_OPEN;
    - public static String MSG_WARN_JAVA_METHOD_START_WITH_UPPER_CASE;
    - public static String MSG_WARN_METHOD_NAME_INVALID;
    - public static String MSG_WARN_BOOLEAN_PROPERTY_ACCESSORS;
    - public static String MSG_WARN_PACKAGE_NAME_HAS_UPPER_CASE;
    - public static String WARN_BEAN_NAME_STARTS_WITH_LOWER_CASE;
    - public static String LABEL_OK;
    - public static String DESCRIPTION_OK;
    - public static String LABEL_CANCEL;
    - public static String DESCRIPTION_CANCEL;
    - public static String MSG_ERROR_UNABLE_TO_START_MONITOR;
    - public static String MSG_INFO_MONITORING_NOT_SUPPORTED;
    - public static String COMMAND_LABEL_COPY_WSDL;
    - public static String COMMAND_DESC_COPY_WSDL;
    - public static String MSG_ERROR_COPY_WSDL;
    - public static String MSG_ERROR_UNABLE_TO_ASSOCIATE;
    - public static String MSG_ERROR_CREATE_FLEX_PROJET;
    - public static String MSG_ERROR_CREATE_EJB_COMPONENT;
    - public static String MSG_ERROR_CREATE_APPCLIENT_COMPONENT;
    - public static String MSG_ERROR_COMPONENT_CREATION;
    - public static String MSG_ERROR_PROJECT_CREATION;
    - public static String MSG_ERROR_PROJECT_DOES_NOT_EXIST;
    - public static String MSG_ERROR_PROJECT_IS_NOT_OPEN;
    - public static String MSG_ERROR_ADDING_FACETS_TO_PROJECT;
    - public static String MSG_ERROR_FIXED_FACETS;
    - public static String MSG_FACETS;
    - public static String MSG_ERROR_SETTING_RUNTIME;
    - public static String MSG_ERROR_FILE_MERGE;
    -
    -
    - static {
    - NLS.initializeMessages(BUNDLE_NAME, ConsumptionMessages.class);
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Generator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Generator.java
    deleted file mode 100644
    index 8a2774bf1..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Generator.java
    +++ /dev/null
    @@ -1,245 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060811 153482 mahutch@ca.ibm.com - Mark Hutchinson
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen;
    -
    -import java.util.Vector;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -
    -
    -
    -/**
    -* Objects of this class represent a generator.
    -* */
    -public class Generator implements VisitorAction
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - * The StringBuffer that holds the codegen
    - * */
    - protected StringBuffer fbuffer;
    -
    - /**
    - * The Visitor that calls the visit method
    - * */
    - protected Visitor fVisitor;
    -
    - /**
    - * Vector that holds state data for this generator
    - * */
    - protected Vector fResidentVector;
    -
    - /*
    - * This int holds the current number
    - */
    - protected int fUniqueNumber =0;
    -
    -
    - protected String fClientFolderPath;
    -
    - public static final String FACTORY = "Factory";
    -
    - public static final String TAB = " ";
    - public static final String DOUBLE_TAB = " ";
    - public static final String SPACE = " ";
    -
    - /**
    - * Constructor.
    - *
    - */
    - public Generator ()
    - {
    - fbuffer = new StringBuffer();
    - fResidentVector = new Vector();
    -
    - }
    -
    - /**
    - * Constructor.
    - * @param StringBuffer Takes the buffer it will write code to
    - */
    - public Generator (StringBuffer buffer)
    - {
    - fbuffer = buffer;
    - fResidentVector = new Vector();
    - }
    -
    - public void initialize(String resident)
    - {
    - //nothing to be done but must be implemented
    - }
    -
    - public String getClientFolderPath()
    - {
    - return fClientFolderPath;
    - }
    -
    - public void setClientFolderPath(String fClientFolderPath_)
    - {
    - fClientFolderPath = fClientFolderPath_;
    - }
    -
    - protected String serviceName = "";
    - protected String portName = "";
    - protected String packageName = "";
    - protected String proxyBaseName = "";
    -
    - public void setInfo(String service, String port, String packageName, String proxyBase)
    - {
    - serviceName = service;
    - portName = port;
    - this.packageName = packageName;
    - proxyBaseName = proxyBase;
    - }
    -
    - private static final char UNDERSCORE = '_';
    - public String getSessionBeanId()
    - {
    - String name = getClientFolderPath();
    - int index = name.lastIndexOf("/");
    - index++;
    - StringBuffer newName = new StringBuffer(name.substring(index));
    -
    - //We need to make this a valid java identifier
    - //To do this we will replace any character that is not valid with an underscore
    - for (int i = 0; i < newName.length(); i++)
    - {
    - char c = newName.charAt(i);
    - if (i == 0 && !Character.isJavaIdentifierStart(c) || !Character.isJavaIdentifierPart(c))
    - {
    - newName.setCharAt(i,UNDERSCORE);
    - }
    - }
    - return newName + "id";
    - }
    -
    - /*
    - * The Number Factory is here for naming purposes. In
    - * this way we insure no names we create in a piece of
    - * code gen are the same. We keep track of the numbers
    - * used and we hand back the next one. Like take a number
    - * buddy
    - * @param int number we are at as the state data has to be settable
    - */
    - public void setNumberFactory(int number)
    - {
    - fUniqueNumber = number;
    - }
    -
    -
    - /*
    - * This is a unique number for state purposes
    - * @return int
    - */
    - public int getNumberFactory()
    - {
    - return fUniqueNumber;
    - }
    - /*
    - * This is a unique number for naming purposes
    - * @return int
    - */
    - public int getUniqueNumber()
    - {
    - return fUniqueNumber++;
    - }
    -
    -
    - /**
    - * returns the current StringBuffer
    - * @return StringBuffer Takes the buffer it will write code too
    - */
    - public StringBuffer getStringBuffer ()
    - {
    - return fbuffer;
    - }
    -
    -
    - /**
    - * returns the Visitor that called this generator
    - * @return Visitor
    - */
    - public Visitor getVisitor ()
    - {
    - return fVisitor;
    - }
    -
    -
    -
    -
    - /**
    - * vector used to hold state data
    - * @parameter Visitor
    - */
    - public void putResidentVector (Object object)
    - {
    - fResidentVector.addElement(object);
    - }
    -
    -
    - /**
    - * vector used to hold state data
    - * @parameter Visitor
    - */
    - public void setResidentVector (Vector vector)
    - {
    - fResidentVector = vector;
    - }
    -
    -
    - /**
    - * returns the resident vector
    - * @return Visitor
    - */
    - public Vector getResidentVector ()
    - {
    - return fResidentVector;
    - }
    -
    -
    - /**
    - * This function is used to initialize any state a generator may have
    - *
    - **/
    -
    - public void initialize()
    - {
    - //to be implemented in sublasses
    - }
    -
    -
    - /**
    - * sets the visitor that calls the visit
    - * @parameter Visitor
    - */
    -
    - public void setVisitor(Visitor visitor)
    - {
    - fVisitor = visitor;
    - }
    -
    -
    - public IStatus visit (Object object)
    - {
    - //implemented by subclasses
    - return Status.OK_STATUS;
    - }
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/RelVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/RelVisitor.java
    deleted file mode 100644
    index fac00ac9b..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/RelVisitor.java
    +++ /dev/null
    @@ -1,88 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen;
    -
    -import java.util.Enumeration;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -import org.eclipse.wst.ws.internal.datamodel.Rel;
    -
    -
    -/**
    -* Objects of this class represent a visitor.
    -* This vistor will visit elements in a model given a
    -* particular rel
    -* */
    -public class RelVisitor implements Visitor
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - private int fElementCounter;
    - private int fTotalElements;
    - private String frelName;
    -
    - /**
    - * Constructor.
    - *
    - */
    -
    - public RelVisitor (String relName)
    - {
    - frelName = relName;
    - }
    -
    - public int getTotalElementsToVisit()
    - {
    - return fTotalElements;
    - }
    -
    - public boolean isLastElement()
    - {
    - if(getTotalElementsToVisit() - presentElement() == 0) return true;
    - return false;
    - }
    -
    - public int presentElement()
    - {
    - return fElementCounter;
    - }
    -
    - public void initialize(VisitorAction va)
    - {
    - //implemented by subclasses
    - }
    - public IStatus run (Object sourceElement,VisitorAction vAction)
    - {
    - IStatus status = Status.OK_STATUS;
    - initialize(vAction);
    -
    - vAction.setVisitor(this);
    - Rel rel = ((BasicElement)sourceElement).getRel(frelName);
    - //set some state data
    - fTotalElements = rel.getNumberOfTargetElements();
    - fElementCounter = 0;
    -
    - Enumeration e = rel.getTargetElements();
    - while (e.hasMoreElements()){
    - BasicElement targetElement = (BasicElement)e.nextElement();
    - fElementCounter++;
    - initialize(vAction);
    - status = vAction.visit(targetElement);
    - }
    - return status;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Visitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Visitor.java
    deleted file mode 100644
    index c68cdadb0..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/Visitor.java
    +++ /dev/null
    @@ -1,30 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen;
    -
    -import org.eclipse.core.runtime.IStatus;
    -
    -
    -/**
    -* Objects of this class represent a visitor.
    -* */
    -public interface Visitor
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public IStatus run (Object object, VisitorAction vAction);
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/VisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/VisitorAction.java
    deleted file mode 100644
    index 9a3d6537f..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/VisitorAction.java
    +++ /dev/null
    @@ -1,31 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen;
    -
    -import org.eclipse.core.runtime.IStatus;
    -
    -
    -/**
    -* Objects of this class represent a VisitorAction.
    -* The visitor walks the model and the VisitorAction
    -* does the action
    -* */
    -public interface VisitorAction
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    - public IStatus visit (Object object);
    - public void setVisitor(Visitor visitor);
    - public void initialize(String residentString);
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/AttributeVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/AttributeVisitor.java
    deleted file mode 100644
    index a01a64112..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/AttributeVisitor.java
    +++ /dev/null
    @@ -1,77 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.bean;
    -
    -import java.util.Vector;
    -import org.eclipse.jst.ws.internal.consumption.codegen.RelVisitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeElement;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.InputFileAttributeGenerator;
    -
    -
    -/**
    -* Objects of this class represent a visitor.
    -* */
    -public class AttributeVisitor extends RelVisitor
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - private Vector fResidentVector1;
    - private Vector fResidentVector2;
    -
    - /**
    - * Constructor.
    - *
    - */
    -
    - public AttributeVisitor ()
    - {
    - super(TypeElement.REL_ATTRIBUTES);
    - }
    -
    - public AttributeVisitor (String rel)
    - {
    - super(rel);
    - }
    -
    - public void setResidentString(String resident)
    - {
    - }
    -
    - public void setResidentVector1(Vector resident)
    - {
    - fResidentVector1 = resident;
    - }
    -
    - public void setResidentVector2(Vector resident)
    - {
    - fResidentVector2 = resident;
    - }
    -
    -
    - public void initialize(VisitorAction vAction)
    - {
    - //hack for 197726
    -
    - if(vAction instanceof InputFileAttributeGenerator){
    - if(fResidentVector1 == null) fResidentVector1=new Vector();
    - if(fResidentVector2 == null) fResidentVector2=new Vector();
    - ((InputFileAttributeGenerator)vAction).setParentGetters(fResidentVector1,fResidentVector2);
    - }
    - }
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/FieldVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/FieldVisitor.java
    deleted file mode 100644
    index 5a9ad690a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/FieldVisitor.java
    +++ /dev/null
    @@ -1,71 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.bean;
    -
    -import java.util.Vector;
    -import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeElement;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.codegen.InputFileAttributeGenerator;
    -
    -
    -/**
    -* Objects of this class represent a visitor.
    -* */
    -public class FieldVisitor extends AttributeVisitor
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - private Vector fResidentVector1;
    - private Vector fResidentVector2;
    -
    - /**
    - * Constructor.
    - *
    - */
    -
    - public FieldVisitor ()
    - {
    - super(TypeElement.REL_FIELDS);
    - }
    -
    - public void setResidentString(String resident)
    - {
    - }
    -
    - public void setResidentVector1(Vector resident)
    - {
    - fResidentVector1 = resident;
    - }
    -
    - public void setResidentVector2(Vector resident)
    - {
    - fResidentVector2 = resident;
    - }
    -
    -
    - public void initialize(VisitorAction vAction)
    - {
    - //hack for 197726
    -
    - if(vAction instanceof InputFileAttributeGenerator){
    - if(fResidentVector1 == null) fResidentVector1=new Vector();
    - if(fResidentVector2 == null) fResidentVector2=new Vector();
    - ((InputFileAttributeGenerator)vAction).setParentGetters(fResidentVector1,fResidentVector2);
    - }
    - }
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/MethodVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/MethodVisitor.java
    deleted file mode 100644
    index 34664622f..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/MethodVisitor.java
    +++ /dev/null
    @@ -1,40 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.bean;
    -
    -import org.eclipse.jst.ws.internal.consumption.codegen.RelVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanElement;
    -
    -
    -/**
    -* Objects of this class represent a visitor.
    -* */
    -public class MethodVisitor extends RelVisitor
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - * Constructor.
    - *
    - */
    -
    - public MethodVisitor ()
    - {
    - super(BeanElement.REL_METHODS);
    - }
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ParameterVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ParameterVisitor.java
    deleted file mode 100644
    index 0749312d4..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ParameterVisitor.java
    +++ /dev/null
    @@ -1,40 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.bean;
    -
    -import org.eclipse.jst.ws.internal.consumption.codegen.RelVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.MethodElement;
    -
    -
    -/**
    -* Objects of this class represent a visitor.
    -* */
    -public class ParameterVisitor extends RelVisitor
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - * Constructor.
    - *
    - */
    -
    - public ParameterVisitor ()
    - {
    - super(MethodElement.REL_PARAMETERS);
    - }
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ReturnParameterVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ReturnParameterVisitor.java
    deleted file mode 100644
    index 1f6207072..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/ReturnParameterVisitor.java
    +++ /dev/null
    @@ -1,40 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.bean;
    -
    -import org.eclipse.jst.ws.internal.consumption.codegen.RelVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.MethodElement;
    -
    -
    -/**
    -* Objects of this class represent a visitor.
    -* */
    -public class ReturnParameterVisitor extends RelVisitor
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - * Constructor.
    - *
    - */
    -
    - public ReturnParameterVisitor ()
    - {
    - super(MethodElement.REL_RETURN_PARAMETERS);
    - }
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/TypeVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/TypeVisitor.java
    deleted file mode 100644
    index d254615d7..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/bean/TypeVisitor.java
    +++ /dev/null
    @@ -1,38 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.bean;
    -
    -import org.eclipse.jst.ws.internal.consumption.codegen.RelVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeElement;
    -
    -
    -/**
    -* Objects of this class represent a visitor.
    -* */
    -public class TypeVisitor extends RelVisitor
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - * Constructor.
    - *
    - */
    -
    - public TypeVisitor ()
    - {
    - super(TypeElement.REL_TYPE);
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsBeanVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsBeanVisitorAction.java
    deleted file mode 100644
    index 730077693..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsBeanVisitorAction.java
    +++ /dev/null
    @@ -1,91 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
    -
    -import java.util.Vector;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.JavaClass;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofMethodVisitor;
    -
    -
    -
    -
    -/**
    -* Objects of this class represent a JavaMofBeanVisitorAction.
    -* This VisitorAction will create a BeanElement using the
    -* JavaClass and the BeanModelElementsFactory
    -* It will also automatically walk the methods in the JavaClass
    -* */
    -public class DetectNonJavaCharsBeanVisitorAction extends VisitorActionImpl
    -{
    - private static char UNDERSCORE = '_';
    -
    - public DetectNonJavaCharsBeanVisitorAction ( Vector messages, Vector beans)
    - {
    - super (messages, beans);
    - }
    -
    - /**
    - * The visit will create the bean
    - * Walk the methods
    - * @param JavaClass the class to be used to create the bean model
    - **/
    - public IStatus visit (Object javaclass)
    - {
    - JavaClass javaClass = (JavaClass)javaclass;
    - String packageName = javaClass.getJavaPackage().getPackageName();
    - String beanName = javaClass.getName();
    -
    - if (!isBeanVisited(javaClass)) {
    - addVisitedBean(javaClass);
    - // check the bean name
    - checkBeanName(beanName);
    - checkPackageName(packageName, beanName);
    - DetectNonJavaCharsMethodVisitorAction methodVisitorAction = new DetectNonJavaCharsMethodVisitorAction(getMessages(), getBeansVisited());
    - JavaMofMethodVisitor methodVisitor = new JavaMofMethodVisitor();
    - methodVisitor.run(javaClass,methodVisitorAction);
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    - private void checkBeanName(String beanName)
    - {
    -
    - // check if the bean starts with a lower case
    - if ( Character.isLowerCase(beanName.charAt(0)))
    - addMessage(ConsumptionMessages.WARN_BEAN_NAME_STARTS_WITH_LOWER_CASE, new String[]{beanName});
    -
    -
    - //check if the name has an underscore, then next letter should be upper case
    - int underScoreIndex = beanName.indexOf(UNDERSCORE);
    - String tempName = beanName;
    - while(underScoreIndex !=-1) {
    - tempName = tempName.substring(underScoreIndex+1);
    - if ( Character.isLowerCase(tempName.charAt(0))) {
    - addMessage(ConsumptionMessages.MSG_WARN_METHOD_NAME_INVALID, new String[] { beanName });
    - break;
    - }
    - else
    - underScoreIndex = tempName.indexOf(UNDERSCORE);
    - }
    - }
    -
    - private void checkPackageName(String packageName, String beanName)
    - {
    - if (!packageName.equals(packageName.toLowerCase()))
    - addMessage(ConsumptionMessages.MSG_WARN_PACKAGE_NAME_HAS_UPPER_CASE, new String[] { packageName, beanName });
    - }
    - }
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsMethodVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsMethodVisitorAction.java
    deleted file mode 100644
    index 16bca06e6..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsMethodVisitorAction.java
    +++ /dev/null
    @@ -1,116 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
    -
    -import java.util.Vector;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.Method;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofParameterVisitor;
    -
    -
    -/**
    -* Objects of this class represent a JavaMofBeanVisitorAction.
    -* This VisitorAction will create a BeanElement using the
    -* JavaClass and the BeanModelElementsFactory
    -* It will also automatically walk the methods in the JavaClass
    -* */
    -public class DetectNonJavaCharsMethodVisitorAction extends VisitorActionImpl
    -{
    - private static char UNDERSCORE = '_';
    - private boolean serviceBean = false;
    -
    - public DetectNonJavaCharsMethodVisitorAction ( Vector messages, Vector beans)
    - {
    - super (messages, beans);
    - if ( beans.size() == 1)
    - serviceBean = true;
    - }
    -
    - /**
    - * Create a method element from the method
    - * @param Method the class to be used to create the method
    - **/
    - public IStatus visit (Object imethod)
    - {
    -
    - Method method = (Method)imethod;
    - String className = method.getContainingJavaClass().getName();
    - String name = method.getName();
    -
    - if ( serviceBean && !method.isConstructor() )
    - checkUpperCase(name, className);
    -
    - // for service bean or any referenced bean property accessors
    - if ( serviceBean || name.startsWith("get") || name.startsWith("set") || name.startsWith("is"))
    - {
    - checkUnderScore(name, className);
    - checkNumericDigits(name, className);
    - checkBooleanProperties(method, className);
    -
    - DetectNonJavaCharsParameterVisitorAction parameterVisitorAction = new DetectNonJavaCharsParameterVisitorAction(getMessages(), getBeansVisited());
    - // rsk Passing in null for the environment. DetectNonJavaCharsParameterVisitorAction always returns an OK status.
    - JavaMofParameterVisitor parameterVisitor = new JavaMofParameterVisitor(null);
    - parameterVisitor.run(method, parameterVisitorAction);
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    - private void checkUpperCase(String name, String className)
    - {
    - // in a service bean check if any method starts with upper case letter
    - if ( Character.isUpperCase(name.charAt(0)))
    - addMessage(ConsumptionMessages.MSG_WARN_JAVA_METHOD_START_WITH_UPPER_CASE, new String[]{name, className});
    -
    - }
    -
    - private void checkUnderScore(String name, String className)
    - {
    - //check if the name has an underscore, then next letter should be upper case
    - int underScoreIndex = name.indexOf(UNDERSCORE);
    - String tempName = name;
    - while(underScoreIndex !=-1) {
    - tempName = tempName.substring(underScoreIndex+1);
    - if ( Character.isLowerCase(tempName.charAt(0))) {
    - addMessage(ConsumptionMessages.MSG_WARN_METHOD_NAME_INVALID, new String[]{name, className});
    - break;
    - }
    - else
    - underScoreIndex = tempName.indexOf(UNDERSCORE);
    - }
    - }
    -
    - private void checkNumericDigits(String name, String className)
    - {
    - //check if the name has a numeric, then next letter should be upper case
    - for ( int i = 0; i < name.length(); i++)
    - {
    - if ( Character.isDigit(name.charAt(i)))
    - {
    - if (Character.isLowerCase(name.charAt(i+1))) {
    - addMessage(ConsumptionMessages.MSG_WARN_METHOD_NAME_INVALID, new String[]{name, className});
    - break;
    - }
    - }
    - }
    - }
    - private void checkBooleanProperties(Method method, String className)
    - {
    - if (!serviceBean && method.getName().startsWith("get") &&
    - (method.getReturnType().getName().equals("boolean") ||
    - method.getReturnType().getName().equals("java.lang.Boolean")))
    - addMessage(ConsumptionMessages.MSG_WARN_BOOLEAN_PROPERTY_ACCESSORS, new String[]{method.getName(), className});
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsParameterVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsParameterVisitorAction.java
    deleted file mode 100644
    index 680c07964..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/DetectNonJavaCharsParameterVisitorAction.java
    +++ /dev/null
    @@ -1,86 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
    -
    -import java.util.Vector;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.ArrayType;
    -import org.eclipse.jem.java.JavaClass;
    -import org.eclipse.jem.java.JavaHelpers;
    -import org.eclipse.jem.java.JavaParameter;
    -import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofBeanVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
    -
    -
    -
    -/**
    -* Objects of this class represent a JavaMofBeanVisitorAction.
    -* This VisitorAction will create a BeanElement using the
    -* JavaClass and the BeanModelElementsFactory
    -* It will also automatically walk the methods in the JavaClass
    -* */
    -public class DetectNonJavaCharsParameterVisitorAction extends VisitorActionImpl
    -{
    -
    - public DetectNonJavaCharsParameterVisitorAction ( Vector messages, Vector beans)
    - {
    - super (messages, beans);
    - }
    -
    - /**
    - * Create a method element from the method
    - * @param Method the class to be used to create the method
    - **/
    - public IStatus visit (Object ijavaParameter)
    - {
    -
    - JavaParameter javaParameter = (JavaParameter) ijavaParameter;
    - JavaClass javaClass = null;
    - if ( javaParameter.getJavaType() instanceof JavaClass)
    - {
    - javaClass = (JavaClass) javaParameter.getJavaType();
    - if (javaClass.isArray())
    - {
    - JavaHelpers componentType = ((ArrayType)javaClass).getComponentTypeAsHelper();
    - if (componentType instanceof JavaClass)
    - {
    - javaClass = (JavaClass)componentType;
    - }
    - else
    - {
    - javaClass = null; //The array contains primitive types, there is no need for further checking.
    - }
    - }
    - }
    - if (toBeVisited(javaClass)) {
    - DetectNonJavaCharsBeanVisitorAction beanVisitorAction = new DetectNonJavaCharsBeanVisitorAction(getMessages(), getBeansVisited());
    - JavaMofBeanVisitor beanVisitor = new JavaMofBeanVisitor();
    - beanVisitor.run(javaClass,beanVisitorAction);
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    -
    - private boolean toBeVisited (JavaClass javaClass)
    - {
    - //check for recognized types
    - if( javaClass == null ||
    - javaClass.isPrimitive() ||
    - javaClass.getJavaName().startsWith("javax") ||
    - TypeFactory.recognizedBean(javaClass.getJavaName()))
    - return false;
    - else
    - return true;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofAttributeVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofAttributeVisitorAction.java
    deleted file mode 100644
    index 1a9ac05d2..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofAttributeVisitorAction.java
    +++ /dev/null
    @@ -1,129 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.JavaHelpers;
    -import org.eclipse.jem.java.JavaParameter;
    -import org.eclipse.jem.java.Method;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofTypeVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.AttributeElement;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanModelElementsFactory;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.common.SamplePropertyDescriptor;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.environment.ILog;
    -import org.eclipse.wst.common.environment.StatusException;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -
    -
    -/**
    -* Objects of this class represent a JavaMofBeanVisitorAction.
    -* This VisitorAction will create a AttributeElement using the
    -* JavaClass and the BeanModelElementsFactory
    -* It will also automatically walk a complex type
    -* */
    -public class JavaMofAttributeVisitorAction extends JavaMofBeanVisitorAction
    -{
    -
    - /*
    - *Constructor
    - **/
    - public JavaMofAttributeVisitorAction(Element parentElement, String project, IEnvironment env)
    - {
    - super(parentElement,project, env);
    - }
    -
    - public IStatus visit (Object propertyDecorator)
    - {
    - IStatus status = Status.OK_STATUS;
    -
    - //PropertyDecorator pd = (PropertyDecorator)propertyDecorator;
    - SamplePropertyDescriptor pd = (SamplePropertyDescriptor)propertyDecorator;
    -
    -
    - try{
    - //if the type of this attribute is unsupported dont make an Attribute
    - if(!(getReturnParam() && TypeFactory.isRecognizedReturnType((JavaHelpers)pd.getPropertyType()))
    - && (TypeFactory.isUnSupportedType((JavaHelpers)pd.getPropertyType()))){
    - status = StatusUtils.warningStatus( ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_TYPE + ((JavaHelpers)pd.getPropertyType()).getJavaName() );
    - //getStatusMonitor().reportStatus( new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
    - //ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_TYPE + ((JavaHelpers)pd.getPropertyType()).getJavaName(),null));
    - return status;
    - }
    -
    - Method setMethod = pd.getWriteMethod();
    - Method getMethod = pd.getReadMethod();
    - if(setMethod != null){
    - if(setMethod.isStatic()){
    - setMethod=null;
    - }
    - }
    - if(getMethod != null){
    - if(getMethod.isStatic()){
    - getMethod=null;
    - }
    - }
    - if(pd.isfStatic()){
    - return status;
    - }
    -
    - AttributeElement attributeElement = (AttributeElement)BeanModelElementsFactory.getBeanModelElement(propertyDecorator,fParentElement);
    -
    - if(attributeElement != null){
    -
    - //lets check and see if the getter takes input params
    - //if so throw an error
    - //now the inputs
    - if(getMethod != null){
    - JavaParameter javaParameter[] = getMethod.listParametersWithoutReturn();
    - if(javaParameter.length > 0){
    - if(getReturnParam()) return status;
    - status = StatusUtils.warningStatus( ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_INDEXED_PROPERTIES + getMethod.getName() );
    - //getStatusMonitor().reportStatus (new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
    - // ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_INDEXED_PROPERTIES + getMethod.getName(),null));
    - return status;
    - }
    - }
    - if(setMethod != null) attributeElement.setSetterMethod(setMethod.getMethodElementSignature());
    - if(getMethod != null) attributeElement.setGetterMethod(getMethod.getMethodElementSignature());
    -
    - JavaMofTypeVisitorAction typeVisitorAction = new JavaMofTypeVisitorAction(attributeElement,clientProject, env_);
    - typeVisitorAction.setStatusMonitor(getStatusMonitor());
    - typeVisitorAction.setBeansCreated(getBeansCreated());
    - typeVisitorAction.setReturnParam(getReturnParam());
    - JavaMofTypeVisitor typeVisitor = new JavaMofTypeVisitor(env_);
    - typeVisitor.setClientProject(getProject());
    - status = typeVisitor.run(pd,typeVisitorAction);
    -
    - }
    -
    - return status;
    - }catch(Exception e)
    - {
    - env_.getLog().log(ILog.WARNING, 5054, this, "visit", e);
    - status = StatusUtils.warningStatus( ConsumptionMessages.MSG_ERROR_JTS_JSP_GEN, e);
    - try {
    - env_.getStatusHandler().report(status);
    - } catch (StatusException e1) {
    - status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_JTS_JSP_GEN);
    - }
    - return status;
    - }
    - //env.Log.write(this,"visit",ILog.OK,e);}
    -
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofBeanVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofBeanVisitorAction.java
    deleted file mode 100644
    index 9af115278..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofBeanVisitorAction.java
    +++ /dev/null
    @@ -1,425 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
    -
    -import java.util.Enumeration;
    -import java.util.Iterator;
    -import java.util.Vector;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.JavaClass;
    -import org.eclipse.jem.java.JavaParameter;
    -import org.eclipse.jem.java.Method;
    -import org.eclipse.jst.ws.internal.command.NullStatusMonitor;
    -import org.eclipse.jst.ws.internal.command.StatusMonitor;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
    -import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofAttributeVisitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofFieldVisitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofMethodVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanElement;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanModelElementsFactory;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
    -import org.eclipse.wst.common.environment.Choice;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -import org.eclipse.wst.ws.internal.datamodel.Model;
    -
    -/**
    -* Objects of this class represent a JavaMofBeanVisitorAction.
    -* This VisitorAction will create a BeanElement using the
    -* JavaClass and the BeanModelElementsFactory
    -* It will also automatically walk the methods in the JavaClass
    -* */
    -public class JavaMofBeanVisitorAction implements VisitorAction
    -{
    -
    - protected IEnvironment env_;
    - protected Visitor fVisitor;
    -
    - /*
    - * The project that defines the context
    - **/
    - protected String clientProject;
    -
    - /*
    - * The Status monitor
    - **/
    - protected StatusMonitor monitor_;
    -
    - /*
    - * The model that will be created
    - **/
    - protected Model fModel;
    -
    - /*
    - * This is the parent element used when creating a
    - * new element
    - */
    - protected Element fParentElement;
    -
    - /*
    - * Methods processed from proxy
    - */
    - protected Vector fBeansCreated;
    -
    - private BooleanSelection[] fMethodsSelected;
    -
    - /*
    - * this boolean tells wether the bean is a return parameter or an input parameter
    - * usually this should be set around the parametervisitoraction, and passed on from there
    - */
    - protected boolean fReturnParam=false;
    -
    - public JavaMofBeanVisitorAction(String clientProject,BooleanSelection[] methods, IEnvironment env)
    - {
    - this.clientProject = clientProject;
    - fMethodsSelected = methods;
    - env_ = env;
    - }
    -
    -
    -
    - /*
    - *Constructor
    - * @param Model model is the Model that this bean will be placed in
    - * @param IProject used in nature
    - **/
    - public JavaMofBeanVisitorAction(Model model, String clientProject, IEnvironment env)
    - {
    - this.clientProject = clientProject;
    - fModel = model;
    - env_ = env;
    - }
    -
    - /*
    - *Constructor
    - * @param Element the parent element that this element will be added too
    - * @param IProject used in nature
    - **/
    - public JavaMofBeanVisitorAction(Element parentElement, String clientProject, IEnvironment env )
    - {
    - fParentElement = parentElement;
    - this.clientProject = clientProject;
    - env_ = env;
    - }
    -
    - /**
    - * The visit will create the bean
    - * Walk the methods
    - * @param JavaClass the class to be used to create the bean model
    - **/
    - public IStatus visit (Object javaclass)
    - {
    - Choice OKChoice = new Choice('O', ConsumptionMessages.LABEL_OK, ConsumptionMessages.DESCRIPTION_OK);
    - Choice CancelChoice = new Choice('C', ConsumptionMessages.LABEL_CANCEL, ConsumptionMessages.DESCRIPTION_CANCEL);
    - IStatus status = Status.OK_STATUS;
    - JavaClass javaClass = (JavaClass)javaclass;
    -
    -
    - BeanElement beanElement = (BeanElement)BeanModelElementsFactory.getBeanModelElement(javaClass,fParentElement,fModel);
    - if(beanElement.isOwnerParameter()) {
    - resetBeansCreated();
    - }
    - fModel = beanElement.getModel();
    -
    - //this for the subsequent beans that represent types
    - //first do the attributes
    - //if we are not on the root
    - if (!(beanElement == fModel.getRootElement())){
    - Enumeration e = getBeansCreated().elements();
    - while(e.hasMoreElements()){
    - String name = (String)e.nextElement();
    - if(name.equals(javaClass.getName())){
    - status = StatusUtils.warningStatus( ConsumptionMessages.MSG_ERROR_JTS_CYCLIC_BEAN );
    - //getStatusMonitor().reportStatus(new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
    - //WebServiceConsumptionPlugin.getMessage( "%MSG_ERROR_JTS_CYCLIC_BEAN" ),null));
    - return status;
    - }
    - }
    -
    - JavaMofAttributeVisitorAction attributeVisitorAction = new JavaMofAttributeVisitorAction(beanElement,clientProject, env_);
    - //attributeVisitorAction.setStatusMonitor(getStatusMonitor());
    - Vector childVector = ((Vector)getBeansCreated().clone());
    - childVector.addElement(javaClass.getName());
    - attributeVisitorAction.setBeansCreated(childVector);
    - attributeVisitorAction.setReturnParam(getReturnParam());
    - JavaMofAttributeVisitor attributeVisitor = new JavaMofAttributeVisitor();
    - attributeVisitor.setReturnParameter(getReturnParam());
    - attributeVisitor.setProject(getProject());
    - attributeVisitor.setEnvironment(env_);
    - status = attributeVisitor.run(javaClass,attributeVisitorAction);
    - //
    - int severity = status.getSeverity();
    - if (severity==Status.ERROR)
    - return status;
    -
    - if (severity==Status.WARNING)
    - {
    - Choice result = env_.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
    - if (result.getLabel().equals(CancelChoice.getLabel()))
    - {
    - //return an error status since the user canceled
    - return StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
    - }
    -
    - }
    - //
    -
    - JavaMofFieldVisitorAction fieldVisitorAction = new JavaMofFieldVisitorAction(beanElement,clientProject, env_);
    - //fieldVisitorAction.setStatusMonitor(getStatusMonitor());
    - Vector childVector2 = ((Vector)getBeansCreated().clone());
    - childVector2.addElement(javaClass.getName());
    - fieldVisitorAction.setBeansCreated(childVector2);
    - fieldVisitorAction.setReturnParam(getReturnParam());
    - JavaMofFieldVisitor fieldVisitor = new JavaMofFieldVisitor();
    - fieldVisitor.setProject(getProject());
    - status = fieldVisitor.run(javaClass,fieldVisitorAction);
    - //
    - severity = status.getSeverity();
    - if (severity==Status.ERROR)
    - return status;
    -
    - if (severity==Status.WARNING)
    - {
    - Choice result = env_.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
    - if (result.getLabel().equals(CancelChoice.getLabel()))
    - {
    - //return an error status since the user canceled
    - return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
    - }
    -
    - }
    - //
    -
    - }
    -
    - //this is to insure we are on the proxy
    - //now do the methods
    - if (beanElement == fModel.getRootElement()){
    - //first lets make sure the proxy is in good form
    - //-it has a default constructor
    - //-it has at least one method
    - //otherwise return the problem in the form of a status
    -
    - if (!proxyCheck(javaClass, status)) return status;
    - JavaMofMethodVisitorAction methodVisitorAction = new JavaMofMethodVisitorAction(beanElement,clientProject, env_);
    -
    - //methodVisitorAction.setStatusMonitor(getStatusMonitor());
    - JavaMofMethodVisitor methodVisitor = new JavaMofMethodVisitor();
    - methodVisitor.setMethodSelection(fMethodsSelected);
    - status = methodVisitor.run(javaClass,methodVisitorAction);
    -
    - //
    - int severity = status.getSeverity();
    - if (severity==Status.ERROR)
    - return status;
    -
    - if (severity==Status.WARNING)
    - {
    - Choice result = env_.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
    - if (result.getLabel().equals(CancelChoice.getLabel()))
    - {
    - //return an error status since the user canceled
    - return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
    - }
    -
    - }
    - //
    - //This is where we check for several things:
    - //-if no methods were processed because of unsupported types then we send back that result
    - //-if there were any methods omitted we should warn them
    -
    - //first no methods
    - if (!methodVisitorAction.wereMethodsProcessed()){
    - //this has to be done to insure the dialog is an error
    - status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_JTS_NO_PROXY_METHODS_PROCESSED );
    - return status;
    - //getStatusMonitor().reportStatus( new Status(IStatus.ERROR,WebServiceConsumptionPlugin.ID,0,
    - // WebServiceConsumptionPlugin.getMessage( "%MSG_ERROR_JTS_NO_PROXY_METHODS_PROCESSED" ),null));
    - }
    - //now methods omitted
    - else if(methodVisitorAction.wereMethodsOmitted()){
    - //The dialog is already a warning so we just need to set the overall message
    - status = StatusUtils.warningStatus( ConsumptionMessages.MSG_WARN_JTS_PROXY_METHODS_OMITTED );
    - return status;
    - //getStatusMonitor().reportStatus( new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
    - // ConsumptionMessages.MSG_WARN_JTS_PROXY_METHODS_OMITTED,null));
    - }
    - }
    - return status;
    - }
    -
    - public void initialize(String resident)
    - {
    - //nothing to be done but must be implemented
    - }
    -
    -
    - /*
    - * Return the model that was created
    - * @return Model the bean model that was created
    - */
    - public Model getModel()
    - {
    - return fModel;
    - }
    -
    - /*
    - * The proxy check insures there is a default constructor and
    - * at Least one method
    - * @param JavaClass javaClass is used to traverse the methods on the proxy
    - */
    - public boolean proxyCheck(JavaClass javaClass, IStatus status)
    - {
    - // first check for a method
    - Iterator m=javaClass.getPublicMethods().iterator();
    - if (!m.hasNext()){
    - status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_JTS_PROXY_HAS_NO_METHODS );
    - //getStatusMonitor().reportStatus( new Status(IStatus.ERROR,WebServiceConsumptionPlugin.ID,0,
    - // ConsumptionMessages.MSG_ERROR_JTS_PROXY_HAS_NO_METHODS,null));
    - return false;
    - }
    - //now check for a default constructor
    - while (m.hasNext()) {
    - Method method=(Method)m.next();
    - if (javaClass.getName().equals(method.getName())){
    - //now the inputs
    - JavaParameter javaParameter[] = method.listParametersWithoutReturn();
    - if (javaParameter.length > 0){
    - //then we have no default constructor
    - status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_JTS_PROXY_HAS_NO_DEFAULT );
    - //getStatusMonitor().reportStatus( new Status(IStatus.ERROR,WebServiceConsumptionPlugin.ID,0,
    - //ConsumptionMessages.MSG_ERROR_JTS_PROXY_HAS_NO_DEFAULT,null));
    - return false;
    - }
    - }
    - }
    - return true;
    -
    - }
    -
    - /**
    - * Sets the status monitor that this action will use to report status that occres while executing the Action.
    - */
    - public void setStatusMonitor ( StatusMonitor monitor )
    - {
    - monitor_ = monitor;
    - }
    -
    - /**
    - * Returns the status monitor that this task is using to report status.
    - */
    - public StatusMonitor getStatusMonitor ()
    - {
    - if (monitor_ == null)
    - {
    - monitor_ = new NullStatusMonitor();
    - }
    - return monitor_;
    - }
    -
    -
    - /**
    - * check if the action has finished sucsessfully
    - */
    - /*
    - public boolean isSuccessful ()
    - {
    - return getStatusMonitor().canContinue();
    - }
    - */
    - public void resetBeansCreated()
    - {
    - fBeansCreated = new Vector();
    - }
    -
    - public void setEnvironment(IEnvironment env)
    - {
    - env_ = env;
    - }
    -
    - /*
    - * The command that called this will get the results of the operation in the form
    - * of a status.
    - */
    - public Vector getBeansCreated ()
    - {
    - if(fBeansCreated == null) fBeansCreated = new Vector();
    - return fBeansCreated;
    - }
    -
    - /*
    - * The command that called this will get the results of the operation in the form
    - * of a status.
    - */
    - public void setBeansCreated (Vector beansCreated)
    - {
    - fBeansCreated = beansCreated;
    - }
    -
    - /*
    - * This boolean tells wether we are dealing with a return param
    - */
    - public boolean getReturnParam ()
    - {
    - return fReturnParam;
    - }
    -
    - /*
    - * This boolean tells wether we are dealing with a return param
    - */
    - public void setReturnParam (boolean returnparam)
    - {
    - fReturnParam = returnparam;
    - }
    -
    - /*
    - * This boolean tells wether we are dealing with a return param
    - */
    - public String getProject ()
    - {
    - return clientProject;
    - }
    -
    - /*
    - * This boolean tells wether we are dealing with a return param
    - */
    - public void setProject (String clientProject)
    - {
    - this.clientProject = clientProject;
    - }
    -
    -
    - /**
    - * sets the visitor that calls the visit
    - * @parameter Visitor
    - */
    -
    - public void setVisitor(Visitor visitor)
    - {
    - fVisitor = visitor;
    - }
    -
    - /*
    - * Sets the parent element the child then knows where to
    - * add itself to the model
    - * @param Element parent element
    - */
    - public void setParentElement(Element element)
    - {
    - fParentElement = element;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofFieldVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofFieldVisitorAction.java
    deleted file mode 100644
    index 143774f22..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofFieldVisitorAction.java
    +++ /dev/null
    @@ -1,98 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.Field;
    -import org.eclipse.jem.java.JavaHelpers;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofTypeVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanModelElementsFactory;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.FieldElement;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.environment.ILog;
    -import org.eclipse.wst.common.environment.StatusException;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -
    -
    -/**
    -* Objects of this class represent a JavaMofBeanVisitorAction.
    -* This VisitorAction will create a AttributeElement using the
    -* JavaClass and the BeanModelElementsFactory
    -* It will also automatically walk a complex type
    -* */
    -public class JavaMofFieldVisitorAction extends JavaMofBeanVisitorAction
    -{
    -
    - /*
    - *Constructor
    - **/
    - public JavaMofFieldVisitorAction(Element parentElement, String project, IEnvironment env)
    - {
    - super(parentElement,project, env);
    - }
    -
    -
    - public IStatus visit (Object field_)
    - {
    - IStatus status = Status.OK_STATUS;
    - Field field = (Field)field_;
    -
    - try{
    - //if the type of this attribute is unsupported dont make an Attribute
    - if(!(getReturnParam() && TypeFactory.isRecognizedReturnType((JavaHelpers)field.getJavaClass()))
    - && (TypeFactory.isUnSupportedType((JavaHelpers)field.getJavaClass()))){
    - status = StatusUtils.warningStatus( ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_TYPE + ((JavaHelpers)field.getJavaClass()).getJavaName() );
    - //getStatusMonitor().reportStatus( new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
    - //ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_TYPE + ((JavaHelpers)field.getJavaClass()).getJavaName(),null));
    - return status;
    - }
    -
    -
    - FieldElement fieldElement = (FieldElement)BeanModelElementsFactory.getBeanModelElement(field,fParentElement);
    -
    - if(fieldElement != null){
    - //lets check and see if the getter takes input params
    - //if so throw an error
    - //now the inputs
    -
    - JavaMofTypeVisitorAction typeVisitorAction = new JavaMofTypeVisitorAction(fieldElement,clientProject, env_);
    - typeVisitorAction.setStatusMonitor(getStatusMonitor());
    - typeVisitorAction.setBeansCreated(getBeansCreated());
    - typeVisitorAction.setReturnParam(getReturnParam());
    - JavaMofTypeVisitor typeVisitor = new JavaMofTypeVisitor(env_);
    - typeVisitor.setClientProject(getProject());
    - status = typeVisitor.run(field,typeVisitorAction);
    -
    - }
    - return status;
    -
    - }catch(Exception e)
    - {
    - env_.getLog().log(ILog.WARNING, 5055, this, "visit", e);
    - status = StatusUtils.warningStatus( ConsumptionMessages.MSG_ERROR_JTS_JSP_GEN, e);
    - try {
    - env_.getStatusHandler().report(status);
    - }
    - catch (StatusException e1)
    - {
    - status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_JTS_JSP_GEN, e1 );
    - }
    - return status;
    - }
    -
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofMethodVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofMethodVisitorAction.java
    deleted file mode 100644
    index abe72790a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofMethodVisitorAction.java
    +++ /dev/null
    @@ -1,219 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
    -
    -import java.util.Iterator;
    -import java.util.Vector;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.JavaClass;
    -import org.eclipse.jem.java.JavaHelpers;
    -import org.eclipse.jem.java.JavaParameter;
    -import org.eclipse.jem.java.Method;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofParameterVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanModelElementsFactory;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.MethodElement;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -
    -
    -/**
    -* Objects of this class represent a JavaMofBeanVisitorAction.
    -* This VisitorAction will create a BeanElement using the
    -* JavaClass and the BeanModelElementsFactory
    -* It will also automatically walk the methods in the JavaClass
    -* */
    -public class JavaMofMethodVisitorAction extends JavaMofBeanVisitorAction
    -{
    -
    - public String fUnsupportedParameterName;
    -
    - /*
    - * Methods omitted from the proxy
    - */
    - protected Vector fMethodsOmitted;
    -
    - /*
    - * Methods processed from proxy
    - */
    - protected Vector fMethodsProcessed;
    -
    -
    - /*
    - *Constructor
    - **/
    - public JavaMofMethodVisitorAction(Element parentElement,String project, IEnvironment env)
    - {
    - super(parentElement,project, env);
    - fMethodsOmitted = new Vector();
    - fMethodsProcessed = new Vector();
    -
    - }
    -
    - /**
    - * Create a method element from the method
    - * @param Method the class to be used to create the method
    - **/
    - public IStatus visit (Object imethod)
    - {
    - IStatus status = Status.OK_STATUS;
    - Method method = (Method)imethod;
    -
    - if (methodCheck(method)){
    - //this is to check immediate input and return parameters
    - //if there is an unsupported type in these we can react immediately
    - //we add it to the omitted methods an go to the next one
    - if(!parameterCheck(method)){
    - status = StatusUtils.warningStatus(ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_ARRAYS + fUnsupportedParameterName );
    - //getStatusMonitor().reportStatus (new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
    - // ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_ARRAYS + fUnsupportedParameterName,null));
    - fMethodsOmitted.addElement(method.getMethodElementSignature());
    - return status;
    - }
    - if(!nullConstructor(method)){
    - status = StatusUtils.warningStatus( ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_INPUTS + fUnsupportedParameterName );
    - //getStatusMonitor().reportStatus (new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
    - // ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_PARAMETERS_INPUTS + fUnsupportedParameterName,null));
    - fMethodsOmitted.addElement(method.getMethodElementSignature());
    - return status;
    -
    - }
    -
    - //carry on all parameters supported
    - MethodElement methodElement = (MethodElement)BeanModelElementsFactory.getBeanModelElement(method,fParentElement);
    - JavaMofParameterVisitorAction parameterVisitorAction = new JavaMofParameterVisitorAction(methodElement,clientProject,env_);
    - parameterVisitorAction.setStatusMonitor(getStatusMonitor());
    - JavaMofParameterVisitor parameterVisitor = new JavaMofParameterVisitor(env_);
    - status = parameterVisitor.run(method,parameterVisitorAction);
    - //something may have gone wrong with an internal type
    - if (status.getSeverity()!=Status.OK){
    - //This method has to be omitted
    - fMethodsOmitted.addElement(method.getMethodElementSignature());
    - methodElement.setMethodOmmission(true);
    - }
    - else {
    - fMethodsProcessed.addElement(method.getMethodElementSignature());
    - }
    - }
    -
    - return status;
    - }
    -
    - /*
    - * Tells wether any methods were processed
    - * @return boolean true if any methods were processed
    - */
    - public boolean wereMethodsProcessed()
    - {
    - if(fMethodsProcessed.isEmpty()) return false;
    - return true;
    - }
    -
    - /*
    - * Tells wether there were methods omitted because of unsupported types
    - * @return boolean true if methods were omitted
    - */
    - public boolean wereMethodsOmitted()
    - {
    - if(fMethodsOmitted.isEmpty()) return false;
    - return true;
    - }
    -
    - /**
    - * There may be methods that we dont support
    - * and dont want in the model
    - * @param boolean true if all parameters are fine
    - **/
    - public boolean methodCheck(Method method)
    - {
    - boolean ok = true;
    - // if we have a constructor we return false
    - if (method.isConstructor()) return false;
    -
    -
    - return ok;
    - }
    -
    - /**
    - * There may be parameters of this method that have types
    - * not yet supported return false if we find any
    - * @param boolean true if all parameters are fine
    - **/
    - public boolean parameterCheck(Method method)
    - {
    -
    - boolean ok = true;
    -
    - //now the inputs
    - JavaParameter javaParameter[] = method.listParametersWithoutReturn();
    - for (int i = 0;i<javaParameter.length;i++) {
    - JavaParameter param=javaParameter[i];
    - JavaHelpers javaHelper1 = param.getJavaType();
    - if(TypeFactory.isUnSupportedType(javaHelper1)) {
    - fUnsupportedParameterName = param.getName();
    - return false;
    - }
    - }
    - return ok;
    - }
    -
    -
    - /**
    - * There may be parameters of this method that have types
    - * not yet supported return false if we find any
    - * @param boolean true if all parameters are fine
    - **/
    - public boolean nullConstructor(Method method)
    - {
    -
    - boolean ok = true;
    - //now the inputs
    - JavaParameter javaParameter[] = method.listParametersWithoutReturn();
    - for (int i = 0;i<javaParameter.length;i++) {
    - JavaParameter param=javaParameter[i];
    - JavaHelpers javaHelper1 = param.getJavaType();
    - if(javaHelper1 instanceof JavaClass){
    - JavaClass javaClass = (JavaClass)javaHelper1;
    - if(TypeFactory.recognizedBean(javaClass.getJavaName()))return true;
    - Iterator m=javaClass.getMethods().iterator();
    - while (m.hasNext()) {
    - Method method2=(Method)m.next();
    - if (javaClass.getName().equals(method2.getName())){
    - //now the inputs
    - JavaParameter javaParam[] = method2.listParametersWithoutReturn();
    - if (javaParam.length > 0){
    - //then we have no default constructor
    - fUnsupportedParameterName = param.getName();
    - ok = false;
    - }
    - else return true;
    - }
    - }
    - }
    - }
    - return ok;
    - }
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofParameterVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofParameterVisitorAction.java
    deleted file mode 100644
    index 2a1fb4547..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofParameterVisitorAction.java
    +++ /dev/null
    @@ -1,80 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofTypeVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanModelElementsFactory;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.ParameterElement;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.Choice;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -
    -
    -
    -/**
    -* Objects of this class represent a JavaMofBeanVisitorAction.
    -* This VisitorAction will create a parameterElement using the
    -* JavaClass and the BeanModelElementsFactory
    -* It will also automatically walk to its type
    -* */
    -public class JavaMofParameterVisitorAction extends JavaMofBeanVisitorAction
    -{
    -
    -
    - /*
    - *Constructor
    - **/
    - public JavaMofParameterVisitorAction(Element parentElement,String project, IEnvironment env)
    - {
    - super(parentElement,project, env);
    - }
    -
    - /**
    - * Create a parameter element from the method
    - * @param JavaParameter the mof element to be used to create the Parameter
    - **/
    - public IStatus visit (Object ijavaParameter)
    - {
    - IStatus status = Status.OK_STATUS;
    - Choice OKChoice = new Choice('O',ConsumptionMessages.LABEL_OK, ConsumptionMessages.DESCRIPTION_OK);
    - Choice CancelChoice = new Choice('C', ConsumptionMessages.LABEL_CANCEL, ConsumptionMessages.DESCRIPTION_CANCEL);
    -
    - ParameterElement parameterElement = (ParameterElement)BeanModelElementsFactory.getBeanModelElement(ijavaParameter,fParentElement);
    - JavaMofTypeVisitorAction typeVisitorAction = new JavaMofTypeVisitorAction(parameterElement,clientProject, env_);
    - //typeVisitorAction.setStatusMonitor(getStatusMonitor());
    - typeVisitorAction.setReturnParam(parameterElement.isReturn());
    - JavaMofTypeVisitor typeVisitor = new JavaMofTypeVisitor(env_);
    - typeVisitor.setClientProject(getProject());
    - status = typeVisitor.run(ijavaParameter,typeVisitorAction);
    - //
    - int severity = status.getSeverity();
    - if (severity==Status.ERROR)
    - return status;
    -
    - if (severity==Status.WARNING)
    - {
    - Choice result = env_.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
    - if (result.getLabel().equals(CancelChoice.getLabel()))
    - {
    - //return an error status since the user canceled
    - return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
    - }
    -
    - }
    - //
    - return status;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofTypeVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofTypeVisitorAction.java
    deleted file mode 100644
    index 88aa4591b..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/JavaMofTypeVisitorAction.java
    +++ /dev/null
    @@ -1,114 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.JavaClass;
    -import org.eclipse.jem.java.JavaHelpers;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofBeanVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanModelElementsFactory;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.Choice;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -
    -
    -
    -
    -/**
    -* Objects of this class represent a JavaMofBeanVisitorAction.
    -* This VisitorAction will create a TypeElement using the
    -* JavaClass and the BeanModelElementsFactory
    -* It will also automatically walk a complex type
    -* */
    -public class JavaMofTypeVisitorAction extends JavaMofBeanVisitorAction
    -{
    -
    - /*
    - *Constructor
    - **/
    - public JavaMofTypeVisitorAction(Element parentElement,String project, IEnvironment env)
    - {
    - super(parentElement,project, env);
    - }
    -
    - /**
    - * Create a type element from the JavaHelper
    - * @param JavaHelper the mof element to be used to create the Type
    - **/
    - public IStatus visit (Object typeNavigator)
    - {
    - IStatus status = Status.OK_STATUS;
    - Choice OKChoice = new Choice('O', ConsumptionMessages.LABEL_OK, ConsumptionMessages.DESCRIPTION_OK);
    - Choice CancelChoice = new Choice('C', ConsumptionMessages.LABEL_CANCEL, ConsumptionMessages.DESCRIPTION_CANCEL);
    -
    - //if bean
    - JavaClass javaClass = null;
    - if(typeNavigator instanceof JavaClass){
    - javaClass = (JavaClass)typeNavigator;
    - }
    -
    -
    - /* If we are dealing with a return parameter then we need to treat this differently then if it is an input
    - * parameter.
    - * We need to first see if it is a special case for return types if not we treat it the same as everything
    - * else.
    - */
    - if(getReturnParam() && TypeFactory.isRecognizedReturnType((JavaHelpers)typeNavigator))
    - {
    - BeanModelElementsFactory.getBeanModelElement(typeNavigator,fParentElement);
    - }
    - else{
    - if(TypeFactory.isUnSupportedType((JavaHelpers)typeNavigator)){
    - status = StatusUtils.warningStatus( ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_TYPE + ((JavaHelpers)typeNavigator).getJavaName() );
    - //getStatusMonitor().reportStatus( new Status(IStatus.WARNING,WebServiceConsumptionPlugin.ID,0,
    - //ConsumptionMessages.MSG_WARN_JTS_UNSUPPORTED_TYPE + ((JavaHelpers)typeNavigator).getJavaName(),null));
    - return status;
    - }
    -
    - //if javaclass is null then we have a simple type
    - if((javaClass == null) || TypeFactory.recognizedBean(javaClass.getJavaName()))
    - {
    - BeanModelElementsFactory.getBeanModelElement(typeNavigator,fParentElement);
    - }
    - else{
    - JavaMofBeanVisitorAction beanVisitorAction = new JavaMofBeanVisitorAction(fParentElement,clientProject, env_);
    - beanVisitorAction.setStatusMonitor(getStatusMonitor());
    - beanVisitorAction.setBeansCreated(getBeansCreated());
    - beanVisitorAction.setReturnParam(getReturnParam());
    - JavaMofBeanVisitor beanVisitor = new JavaMofBeanVisitor();
    - status = beanVisitor.run(javaClass,beanVisitorAction);
    - }
    - }
    -
    - //
    - int severity = status.getSeverity();
    - if (severity==Status.ERROR)
    - return status;
    -
    - if (severity==Status.WARNING)
    - {
    - Choice result = env_.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
    - if (result.getLabel().equals(CancelChoice.getLabel()))
    - {
    - //return an error status since the user canceled
    - return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
    - }
    -
    - }
    - //
    - return status;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/VisitorActionImpl.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/VisitorActionImpl.java
    deleted file mode 100644
    index 35833fbd4..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitoractions/VisitorActionImpl.java
    +++ /dev/null
    @@ -1,94 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions;
    -
    -import java.util.Vector;
    -
    -import org.eclipse.jem.java.JavaClass;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
    -import org.eclipse.osgi.util.NLS;
    -
    -
    -
    -
    -
    -/**
    -* Objects of this class represent a VisitorAction.
    -* It will automatically walk the methods in the JavaClass
    -* */
    -public abstract class VisitorActionImpl implements VisitorAction
    -{
    -
    - private Vector beansVisited = null;
    - private Vector messages = null;
    -
    - public VisitorActionImpl( Vector messages, Vector beansVisited)
    - {
    - this.messages = messages;
    - this.beansVisited = beansVisited;
    - }
    -
    - public void initialize(String resident)
    - {
    - //nothing to be done but must be implemented
    - }
    -
    - /**
    - * Returns the vector of all messages found
    - */
    - public Vector getMessages ()
    - {
    - if (messages == null)
    - messages = new Vector();
    - return messages;
    - }
    -
    - public Vector getBeansVisited()
    - {
    - if ( beansVisited == null)
    - beansVisited = new Vector();
    - return beansVisited;
    - }
    -
    - public void addVisitedBean( JavaClass bean)
    - {
    - if ( beansVisited == null)
    - beansVisited = new Vector();
    - beansVisited.add(bean);
    - }
    -
    - public boolean isBeanVisited (JavaClass bean)
    - {
    - return (beansVisited != null && beansVisited.contains(bean));
    - }
    -
    - /**
    - * sets the visitor that calls the visit
    - * @parameter Visitor
    - */
    -
    - public void setVisitor(Visitor visitor)
    - {
    - }
    -
    - protected void addMessage ( String key )
    - {
    - getMessages().add(key);
    - }
    -
    - protected void addMessage ( String key, Object[] args )
    - {
    - getMessages().add(NLS.bind(key,args));
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofAttributeVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofAttributeVisitor.java
    deleted file mode 100644
    index 6d2d6a044..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofAttributeVisitor.java
    +++ /dev/null
    @@ -1,217 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors;
    -
    -import java.util.Enumeration;
    -import java.util.Hashtable;
    -import java.util.Iterator;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.Field;
    -import org.eclipse.jem.java.JavaClass;
    -import org.eclipse.jem.java.JavaHelpers;
    -import org.eclipse.jem.java.JavaParameter;
    -import org.eclipse.jem.java.Method;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
    -import org.eclipse.jst.ws.internal.consumption.command.common.JavaMofReflectionCommand;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.common.SamplePropertyDescriptor;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -
    -
    -/**
    -* Objects of this class represent a visitor.
    -* */
    -public class JavaMofAttributeVisitor implements Visitor
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - private String clientProject;
    - private boolean returnParameter;
    - private IEnvironment env;
    -
    -
    - public void setEnvironment(IEnvironment env)
    - {
    - this.env = env;
    - }
    -
    - /*
    - * Use this to reflect
    - */
    - public void setProject(String clientProject)
    - {
    - this.clientProject = clientProject;
    - }
    -
    - /*
    - * Use this to reflect
    - */
    - public String getProject()
    - {
    - return clientProject;
    - }
    -
    - public void setReturnParameter(boolean returnParameter)
    - {
    - this.returnParameter = returnParameter;
    - }
    -
    -
    - /*
    - * Get the attribute belonging to this complex type
    - * @param JavaParameter javaParameter that owns the type
    - * @param VisitorAction Action to be performed on each method
    - **/
    - public IStatus run ( Object javaclass, VisitorAction vAction)
    - {
    - IStatus status = Status.OK_STATUS;
    - JavaClass javaClass = (JavaClass)javaclass;
    -
    - Hashtable spdMap = new Hashtable();
    - for (Iterator m=javaClass.getPublicMethods().iterator(); m.hasNext(); ) {
    - Method method=(Method)m.next();
    - if (((method.getMethodElementSignature().startsWith("get")
    - || method.getMethodElementSignature().startsWith("is"))
    - && method.listParametersWithoutReturn().length == 0 )
    - || (method.getMethodElementSignature().startsWith("set")
    - && method.listParametersWithoutReturn().length > 0)) {
    - int sub = 3;
    - if(method.getMethodElementSignature().startsWith("is"))
    - sub = 2;
    - String propertyName = method.getMethodElementSignature().substring(sub);
    - String lower = propertyName.substring(0,1).toLowerCase();
    - String remainder = propertyName.substring(1);
    - propertyName = lower + remainder;
    - int index = propertyName.lastIndexOf("(");
    - String temp = propertyName;
    - propertyName = temp.substring(0,index);
    -
    - //find the propertydescriptor
    - SamplePropertyDescriptor spd = (SamplePropertyDescriptor)spdMap.get(propertyName);
    - if(spd == null){
    - spd = new SamplePropertyDescriptor(propertyName);
    - spdMap.put(propertyName,spd);
    - }
    - if(method.getMethodElementSignature().startsWith("set"))
    - spd.setWriteMethod(method);
    - else
    - spd.setReadMethod(method);
    -
    - Field field = javaClass.getFieldNamed(propertyName);
    - JavaHelpers propertyType = null;
    - if(field != null){
    - propertyType = (JavaHelpers)field.getEType();
    - spd.setfStatic(field.isStatic());
    - }
    - else{
    - if(method.getMethodElementSignature().startsWith("get") || method.getMethodElementSignature().startsWith("is"))
    - propertyType = method.getReturnType();
    - else{
    - JavaParameter params[] = method.listParametersWithoutReturn();
    - propertyType = params[0].getJavaType();
    - }
    - }
    -
    - spd.setPropertyType(propertyType);
    -
    - }
    - }
    - Enumeration spdEnum = spdMap.elements();
    - while(spdEnum.hasMoreElements()){
    - SamplePropertyDescriptor spd = (SamplePropertyDescriptor)spdEnum.nextElement();
    - if(spdCheck(spd))
    - status = vAction.visit(spd);
    - }
    -
    - return status;
    -
    - }
    -
    - private boolean spdCheck(SamplePropertyDescriptor spd)
    - {
    - //check for indexed properties
    - Method writeMethod = spd.getWriteMethod();
    - if(writeMethod != null)
    - if(writeMethod.listParametersWithoutReturn().length > 1) return false;
    -
    - if(spd.getPropertyType() == null) return false;
    - if(spd.getPropertyType().isPrimitive()) return true;
    - if(returnParameter && TypeFactory.isRecognizedReturnType(spd.getPropertyType())) return true;
    - if(!returnParameter && TypeFactory.isUnSupportedType(spd.getPropertyType())) return true;
    - if(!checkPolarity(spd)) return false;
    -
    - // so its a bean make sure it has a default constructor
    - JavaMofReflectionCommand javaMofRef = new JavaMofReflectionCommand();
    - javaMofRef.setClientProject(getProject());
    - javaMofRef.setProxyBean(((JavaHelpers)spd.getPropertyType()).getQualifiedName());
    - javaMofRef.setEnvironment( env );
    - javaMofRef.execute(null, null);
    - if(javaMofRef.getJavaClass() instanceof JavaClass){
    - if(TypeFactory.recognizedBean(javaMofRef.getJavaClass().getJavaName())) return true;
    - return defaultCheck((JavaClass)javaMofRef.getJavaClass());
    -
    - }
    - return true;
    -
    - }
    -
    - private boolean checkPolarity(SamplePropertyDescriptor spd){
    -
    - Method readMethod = spd.getReadMethod();
    - Method writeMethod = spd.getWriteMethod();
    - if((readMethod == null && writeMethod != null) || (readMethod != null && writeMethod == null))
    - return true;
    - if(readMethod == null && writeMethod == null)
    - return false;
    -
    - JavaParameter javaParameter[] = writeMethod.listParametersWithoutReturn();
    - for(int i = 0;i< javaParameter.length;i++){
    - JavaParameter jp = javaParameter[i];
    - jp.getJavaType().getJavaName();
    - readMethod.getReturnType().getJavaName();
    - if(jp.getJavaType().getJavaName().equals(readMethod.getReturnType().getJavaName()))
    - return true;
    - }
    - return false;
    - }
    -
    - private boolean defaultCheck(JavaClass javaClass){
    -
    - Iterator m=javaClass.getMethods().iterator();
    - //now check for a default constructor
    - boolean defaultConst = true;
    - while (m.hasNext()) {
    - Method method=(Method)m.next();
    - if (javaClass.getName().equals(method.getName())){
    - //now the inputs
    - JavaParameter javaParameter[] = method.listParametersWithoutReturn();
    - if (javaParameter.length > 0){
    - //then we have no default constructor
    - defaultConst = false;
    - }
    - else if(javaParameter.length == 0){
    - if (method.getJavaVisibility().getValue() == 0)
    - return true;
    - }
    - }
    - }
    -
    - return defaultConst;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofBeanVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofBeanVisitor.java
    deleted file mode 100644
    index 2b571f830..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofBeanVisitor.java
    +++ /dev/null
    @@ -1,45 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.jem.java.JavaClass;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
    -
    -
    -
    -
    -/**
    -* Objects of this class represent a visitor.
    -* */
    -public class JavaMofBeanVisitor implements Visitor
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /*
    - *Constructor
    - **/
    - public JavaMofBeanVisitor()
    - {
    - }
    -
    - public IStatus run ( Object javaClass, VisitorAction vAction)
    - {
    - return vAction.visit((JavaClass)javaClass);
    - }
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofFieldVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofFieldVisitor.java
    deleted file mode 100644
    index f693dfab0..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofFieldVisitor.java
    +++ /dev/null
    @@ -1,139 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors;
    -
    -import java.util.Iterator;
    -import java.util.ListIterator;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.emf.common.util.EList;
    -import org.eclipse.jem.java.Field;
    -import org.eclipse.jem.java.JavaClass;
    -import org.eclipse.jem.java.JavaHelpers;
    -import org.eclipse.jem.java.JavaParameter;
    -import org.eclipse.jem.java.JavaVisibilityKind;
    -import org.eclipse.jem.java.Method;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
    -import org.eclipse.jst.ws.internal.consumption.command.common.JavaMofReflectionCommand;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
    -
    -
    -/**
    -* Objects of this class represent a visitor.
    -* */
    -public class JavaMofFieldVisitor implements Visitor
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - private String clientProject;
    -
    - /*
    - * Constructor
    - **/
    - public JavaMofFieldVisitor()
    - {
    - }
    -
    - /*
    - * Use this to reflect
    - */
    - public void setProject(String clientProject)
    - {
    - this.clientProject = clientProject;
    - }
    -
    - /*
    - * Use this to reflect
    - */
    - public String getProject()
    - {
    - return clientProject;
    - }
    -
    - /*
    - * Get the attribute belonging to this complex type
    - * @param JavaParameter javaParameter that owns the type
    - * @param VisitorAction Action to be performed on each method
    - **/
    - public IStatus run ( Object javaclass, VisitorAction vAction)
    - {
    - IStatus status = Status.OK_STATUS;
    - JavaClass javaClass = (JavaClass)javaclass;
    -
    - boolean holderClass = false;
    - EList implemented = javaClass.getImplementsInterfaces();
    - for (int i = 0; i < implemented.size(); i++) {
    - JavaClass anInterface = (JavaClass) implemented.get(i);
    - if (anInterface.getQualifiedName().equals("javax.xml.rpc.holders.Holder"))
    - holderClass = true;
    - }
    -
    - //beaninfo code
    - if(holderClass){
    - EList e = javaClass.getFields();
    - ListIterator list = e.listIterator();
    - while(list.hasNext()){
    - Field field = (Field)list.next();
    - if(field.getJavaVisibility().getValue() == JavaVisibilityKind.PUBLIC && !field.isFinal() && !field.isStatic()){
    - if(fieldCheck(field))
    - status = vAction.visit(field);
    - }
    - }
    - }
    -
    - return status;
    - }
    - private boolean fieldCheck(Field field)
    - {
    - // so its a bean make sure it has a default constructor
    - JavaMofReflectionCommand javaMofRef = new JavaMofReflectionCommand();
    - javaMofRef.setProxyBean(((JavaHelpers)field.getEType()).getQualifiedName());
    - javaMofRef.setClientProject(getProject());
    - javaMofRef.execute(null, null);
    - if(javaMofRef.getJavaClass() instanceof JavaClass){
    - if(TypeFactory.recognizedBean(javaMofRef.getJavaClass().getJavaName())) return true;
    - return defaultCheck((JavaClass)javaMofRef.getJavaClass());
    - }
    - return true;
    - }
    -
    - private boolean defaultCheck(JavaClass javaClass){
    -
    - Iterator m=javaClass.getMethods().iterator();
    - //now check for a default constructor
    - boolean defaultConst = true;
    - while (m.hasNext()) {
    - Method method=(Method)m.next();
    - if (javaClass.getName().equals(method.getName())){
    - //now the inputs
    - JavaParameter javaParameter[] = method.listParametersWithoutReturn();
    - if (javaParameter.length > 0){
    - //then we have no default constructor
    - defaultConst = false;
    - }
    - else if(javaParameter.length == 0){
    - if (method.getJavaVisibility().getValue() == 0)
    - return true;
    - else if(method.getJavaVisibility().getValue() == 1)
    - defaultConst = false;
    - }
    - }
    - }
    -
    - return defaultConst;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofMethodVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofMethodVisitor.java
    deleted file mode 100644
    index 3e37c717a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofMethodVisitor.java
    +++ /dev/null
    @@ -1,84 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors;
    -
    -import java.util.Iterator;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.JavaClass;
    -import org.eclipse.jem.java.Method;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
    -import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
    -
    -
    -/**
    -* Objects of this class represent a visitor.
    -* */
    -public class JavaMofMethodVisitor implements Visitor
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    - public String SET_ENDPOINT = "setEndPoint";
    - public String GET_ENDPOINT = "getEndPoint";
    - private BooleanSelection[] fMethodsSelected;
    -
    -
    - /*
    - * Constructor
    - **/
    - public JavaMofMethodVisitor()
    - {
    - }
    -
    - public String UNDER_SCORE = "_";
    -
    - /*
    - * Run through all the methods in this bean
    - * @param JavaClass javaclass that holds the methods
    - * @param VisitorAction Action to be performed on each method
    - **/
    - public IStatus run ( Object javaclass, VisitorAction vAction)
    - {
    - IStatus status = Status.OK_STATUS;
    - JavaClass javaClass = (JavaClass)javaclass;
    - for (Iterator m=javaClass.getPublicMethods().iterator(); m.hasNext(); ) {
    - Method method=(Method)m.next();
    - if(fMethodsSelected != null) {
    - boolean methodSelected = false;
    - for(int i =0;i < fMethodsSelected.length;i++){
    - if(fMethodsSelected[i] == null) continue;
    - if ( fMethodsSelected[i].getValue().equals(method.getMethodElementSignature()))
    - methodSelected = (boolean) fMethodsSelected[i].isSelected();
    - }
    -
    - method.getName();
    -
    - if(methodSelected)
    - status = vAction.visit(method);
    -
    - }
    - else {
    - status = vAction.visit(method);
    - }
    -
    - }
    - return status;
    - }
    -
    - public void setMethodSelection(BooleanSelection[] methodSelected)
    - {
    - fMethodsSelected = methodSelected;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofParameterVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofParameterVisitor.java
    deleted file mode 100644
    index f297c3d7f..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofParameterVisitor.java
    +++ /dev/null
    @@ -1,108 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors;
    -
    -import java.util.List;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.JavaHelpers;
    -import org.eclipse.jem.java.JavaParameter;
    -import org.eclipse.jem.java.Method;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.Choice;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -
    -
    -/**
    -* Objects of this class represent a visitor.
    -* */
    -public class JavaMofParameterVisitor implements Visitor
    -{
    - private IEnvironment env_;
    -
    - /*
    - * Constructor
    - **/
    - public JavaMofParameterVisitor(IEnvironment env)
    - {
    - env_ = env;
    - }
    -
    - /*
    - * Run through all the parameters in this method
    - * @param JavaClass javaclass that holds the parameters
    - * @param VisitorAction Action to be performed on each method
    - **/
    - public IStatus run ( Object imethod, VisitorAction vAction)
    - {
    - IStatus status = Status.OK_STATUS;
    - Choice OKChoice = new Choice('O', ConsumptionMessages.LABEL_OK, ConsumptionMessages.DESCRIPTION_OK);
    - Choice CancelChoice = new Choice('C', ConsumptionMessages.LABEL_CANCEL, ConsumptionMessages.DESCRIPTION_CANCEL);
    - Method method = (Method)imethod;
    -
    - JavaHelpers javaReturnParameter = method.getReturnType();
    - //pgm This visitor used to take a JavaParameter type and now it is being called
    - // with a JavaHelpers type. Gil, please ensure that this is Ok.
    - status = vAction.visit(javaReturnParameter);
    - //
    - int severity = status.getSeverity();
    - if (severity==Status.ERROR)
    - return status;
    -
    - if (severity==Status.WARNING)
    - {
    - Choice result = env_.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
    - if (result.getLabel().equals(CancelChoice.getLabel()))
    - {
    - //return an error status since the user canceled
    - return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
    - }
    -
    - }
    - //
    -
    - //now the inputs
    - List parameters = method.getParameters();
    -
    - for (int index = 0; index < parameters.size(); index++)
    - {
    - JavaParameter param=(JavaParameter)parameters.get(index);
    - status = vAction.visit(param);
    - //
    - severity = status.getSeverity();
    - if (severity==Status.ERROR)
    - return status;
    -
    - if (severity==Status.WARNING)
    - {
    - Choice result = env_.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
    - if (result.getLabel().equals(CancelChoice.getLabel()))
    - {
    - //return an error status since the user canceled
    - return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
    - }
    -
    - }
    - //
    - }
    -
    - return status;
    -
    - }
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofTypeVisitor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofTypeVisitor.java
    deleted file mode 100644
    index db1f25571..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/codegen/javamofvisitors/JavaMofTypeVisitor.java
    +++ /dev/null
    @@ -1,112 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.Field;
    -import org.eclipse.jem.java.JavaHelpers;
    -import org.eclipse.jem.java.JavaParameter;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
    -import org.eclipse.jst.ws.internal.consumption.command.common.JavaMofReflectionCommand;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.common.SamplePropertyDescriptor;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -
    -
    -
    -/**
    -* Objects of this class represent a visitor.
    -* */
    -public class JavaMofTypeVisitor implements Visitor
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    - private IEnvironment env_;
    -
    - private String clientProject;
    -
    - /*
    - * Constructor
    - **/
    - public JavaMofTypeVisitor(IEnvironment env)
    - {
    - env_ = env;
    - }
    -
    - /*
    - * Use this to reflect
    - */
    - public void setClientProject(String clientProject)
    - {
    - this.clientProject = clientProject;
    - }
    -
    - /*
    - * Use this to reflect
    - */
    - public String getClientProject()
    - {
    - return clientProject;
    - }
    -
    - /*
    - * Get the type belonging to the parameter
    - * @param JavaParameter javaParameter that owns the type
    - * @param VisitorAction Action to be performed on each method
    - **/
    - public IStatus run ( Object typeNavigator, VisitorAction vAction)
    - {
    - IStatus status = Status.OK_STATUS;
    - if (typeNavigator instanceof JavaParameter){
    -
    - JavaParameter javaParameter = (JavaParameter)typeNavigator;
    - JavaHelpers javaHelpers = javaParameter.getJavaType();
    - status = vAction.visit(javaHelpers);
    - }
    - else if (typeNavigator instanceof JavaHelpers){
    - status = vAction.visit(typeNavigator);
    - }
    - else if (typeNavigator instanceof SamplePropertyDescriptor){
    - SamplePropertyDescriptor pd = (SamplePropertyDescriptor)typeNavigator;
    - JavaMofReflectionCommand javaMofRef = new JavaMofReflectionCommand();
    - javaMofRef.setClientProject(clientProject);
    - javaMofRef.setProxyBean(((JavaHelpers)pd.getPropertyType()).getQualifiedName());
    - javaMofRef.setEnvironment( env_ );
    - status = javaMofRef.execute( null, null );
    - if (status.getSeverity()==Status.ERROR)
    - return status;
    -
    - status = vAction.visit(javaMofRef.getJavaClass());
    - }
    - else if (typeNavigator instanceof Field){
    - Field field = (Field)typeNavigator;
    - JavaMofReflectionCommand javaMofRef = new JavaMofReflectionCommand();
    - javaMofRef.setClientProject(clientProject);
    - javaMofRef.setProxyBean(((JavaHelpers)field.getEType()).getQualifiedName());
    - javaMofRef.setEnvironment( env_ );
    -
    - status = javaMofRef.execute( null, null );
    - if (status.getSeverity()==Status.ERROR)
    - return status;
    -
    - status = vAction.visit(javaMofRef.getJavaClass());
    - }
    -
    - return status;
    - }
    -
    -
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AbstractStartServer.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AbstractStartServer.java
    deleted file mode 100644
    index 2cd7ffc62..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AbstractStartServer.java
    +++ /dev/null
    @@ -1,139 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.debug.core.ILaunchManager;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.plugin.WebServiceConsumptionPlugin;
    -import org.eclipse.wst.common.environment.EnvironmentService;
    -import org.eclipse.wst.common.environment.ILog;
    -import org.eclipse.wst.server.core.IServer;
    -
    -public abstract class AbstractStartServer {
    -
    -protected IProgressMonitor monitor;
    -private ILog log_;
    -
    -public AbstractStartServer()
    -{
    - log_ = EnvironmentService.getEclipseLog();
    -}
    -
    -/**
    - * Execute the command
    - */
    -public void StartServer (IProject project, IServer server, IProgressMonitor monitor, boolean restart) throws CoreException
    -{
    - this.monitor = monitor;
    -
    - try
    - {
    -
    -// IJavaServer javaServer = (IJavaServer) server.getDelegate();
    -// addJarsToClassPath(javaServer);
    - validateRemoteServerPath(server);
    -
    - if (server.getServerState() != IServer.STATE_STOPPED) // The Server is running
    - {
    - if (server.getServerRestartState())
    - {
    -
    - server.synchronousStop(false);
    - log_.log(ILog.INFO, 5050, this, "StartServer", "project="+project+", Stop command completed, restart needed");
    - publishProject(server);
    - startProject(server);
    - }
    - else
    - {
    -
    - if (restart) // WEB-INF\lib need to be reloaded
    - {
    - publishProject(server);
    - restartProject(project, server);
    - }
    - }
    - }
    - else {
    -
    - publishProject(server);
    - startProject(server);
    - }
    -}
    -
    - catch (CoreException ce) {
    - throw ce;
    - }
    - catch (Exception e) {
    - throw new CoreException(new Status(IStatus.ERROR,WebServiceConsumptionPlugin.ID,0,ConsumptionMessages.MSG_ERROR_SERVER,e));
    - }
    -}
    -
    -protected void publishProject(IServer server) throws CoreException
    -{
    - monitor.subTask( ConsumptionMessages.PROGRESS_INFO_PUBLISHING_SERVER );
    - IStatus status = server.publish(IServer.PUBLISH_INCREMENTAL, monitor);
    - if (status.getSeverity() != IStatus.OK)
    - throw new CoreException(status);
    - log_.log(ILog.INFO, 5051, this, "publishProject", "IServer="+server+", Publish command completed");
    - }
    -
    -protected void startProject(IServer server) throws CoreException
    -{
    - try
    - {
    - monitor.subTask( ConsumptionMessages.PROGRESS_INFO_STARTING_SERVER );
    - server.synchronousStart(ILaunchManager.RUN_MODE, monitor);
    - log_.log(ILog.INFO, 5052, this, "startProject", "IServer="+server+", Start command completed");
    -
    - }
    - catch (Exception e) {
    - throw new CoreException(new Status(IStatus.ERROR,WebServiceConsumptionPlugin.ID,0,ConsumptionMessages.MSG_ERROR_SERVER,e));
    - }
    -}
    -
    -protected void restartProject(IProject project, IServer server) throws CoreException
    -{
    - //Do nothing
    -}
    -
    -public void runPreServerConfig(IServer server, IProject EARProject){
    -
    - return;
    -
    -}
    -
    -public void runPostServerConfig(IServer server, IProject EARProject){
    -
    - return;
    -}
    -
    -
    -protected abstract void addJarsToClassPath(IServer server) throws CoreException;
    -protected abstract void validateRemoteServerPath(IServer server) throws CoreException;
    -
    -public void stopServer(IServer server) throws CoreException {
    -
    - if (server != null) {
    -
    - if (server.getServerState() != IServer.STATE_STOPPED) {
    - server.synchronousStop(false);
    - }
    - }
    -
    -}
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AddModuleToServerCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AddModuleToServerCommand.java
    deleted file mode 100644
    index 79657e302..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AddModuleToServerCommand.java
    +++ /dev/null
    @@ -1,147 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060921 [158210] kathy@ca.ibm.com - Kathy Chan, Calling incremental build on the project before adding to server
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IncrementalProjectBuilder;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Platform;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.common.ServerUtils;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IModule;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.IServerWorkingCopy;
    -import org.eclipse.wst.server.core.ServerCore;
    -import org.eclipse.wst.server.core.ServerUtil;
    -
    -public class AddModuleToServerCommand extends AbstractDataModelOperation
    -{
    -
    - private String serverInstanceId;
    - private String project;
    - private String module;
    -
    - public AddModuleToServerCommand()
    - {
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    -
    - IStatus status = Status.OK_STATUS;
    -
    - IServer server = ServerCore.findServer(serverInstanceId);
    - if (server == null)
    - {
    - status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_INSTANCE_NOT_FOUND );
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    -
    - IServerWorkingCopy serverwc = null;
    -
    - try
    - {
    - //Ensure the module is not a Java utility
    - IProject iproject = ProjectUtilities.getProject(project);
    - if (!J2EEUtils.isJavaComponent(iproject))
    - {
    - IModule imodule = ServerUtils.getModule(iproject);
    - // TODO: This workaround for 156768 should be removed once the defect is fixed
    - if (imodule == null) {
    - // calling incremental build on the project before trying again
    - iproject.build(IncrementalProjectBuilder.INCREMENTAL_BUILD,null);
    - // wait for the incremental build to complete before trying again
    - try
    - {
    - Platform.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, null);
    - }
    - catch( InterruptedException exc )
    - {
    - // Assuming that the autobuilder has actually completed.
    - }
    - imodule = ServerUtils.getModule(iproject);
    - if (imodule == null) {
    - // return error if module is still null after 1 retry
    - status = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_ADD_MODULE, new String[]{module}) );
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    - }
    - // end of workaround for 156768
    -
    - if (!ServerUtil.containsModule(server, imodule, null))
    - {
    - IModule[] imodules = new IModule[]{imodule};
    - serverwc = server.createWorkingCopy();
    - ServerUtil.modifyModules(serverwc, imodules, null, null);
    - }
    -
    - }
    - } catch (CoreException e)
    - {
    - status = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_ADD_MODULE, new String[]{module}), e);
    - env.getStatusHandler().reportError(status);
    - return status;
    - } finally
    - {
    - try
    - {
    - if (serverwc != null)
    - {
    - serverwc.save(true, null);
    - }
    - } catch (CoreException ce)
    - {
    - status = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_ADD_MODULE, new String[] { module }), ce);
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    - }
    -
    - return status;
    -
    -
    - }
    -
    - public void setModule(String module)
    - {
    - this.module = module;
    - }
    -
    - public void setProject(String project)
    - {
    - this.project = project;
    - }
    -
    - public void setServerInstanceId(String serverInstanceId)
    - {
    - this.serverInstanceId = serverInstanceId;
    - }
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AssociateModuleWithEARCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AssociateModuleWithEARCommand.java
    deleted file mode 100644
    index 82ab8a312..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/AssociateModuleWithEARCommand.java
    +++ /dev/null
    @@ -1,89 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -public class AssociateModuleWithEARCommand extends AbstractDataModelOperation
    -{
    - private String project_;
    - private String module_;
    - private String earProject_;
    - private String ear_;
    -
    -
    - public AssociateModuleWithEARCommand(){
    -
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    -
    - IStatus status = Status.OK_STATUS;
    - IProject moduleProject = null;
    - IProject earProject = null;
    -
    - // get projects
    - if (project_!=null)
    - moduleProject = ProjectUtilities.getProject(project_);
    - if (earProject_!=null)
    - earProject = ProjectUtilities.getProject(earProject_);
    -
    - // associate modules if not already associated
    - if (moduleProject!=null && earProject!=null) {
    - if (!J2EEUtils.isComponentAssociated(earProject, moduleProject))
    - J2EEUtils.associateComponentToEAR(moduleProject, earProject);
    - }
    -
    - // ensure modules are associated otherwise report error
    - if (!J2EEUtils.isComponentAssociated(earProject, moduleProject)){
    - status = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_UNABLE_TO_ASSOCIATE, new String[]{module_, ear_}) );
    - if (env!=null)
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    -
    - return status;
    - }
    -
    - public void setProject( String project )
    - {
    - project_ = project;
    - }
    -
    - public void setModule( String module )
    - {
    - module_ = module;
    - }
    -
    - public void setEARProject( String earProject )
    - {
    - earProject_ = earProject;
    - }
    -
    - public void setEar( String ear )
    - {
    - ear_ = ear;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/BuildProjectCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/BuildProjectCommand.java
    deleted file mode 100644
    index 90c6ff9b3..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/BuildProjectCommand.java
    +++ /dev/null
    @@ -1,98 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IncrementalProjectBuilder;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.NullProgressMonitor;
    -import org.eclipse.core.runtime.OperationCanceledException;
    -import org.eclipse.core.runtime.Platform;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.validate.ValidationManager;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -
    -public class BuildProjectCommand extends AbstractDataModelOperation
    -{
    - private ValidationManager validationManager;
    - private IProject project_;
    - private boolean forceBuild_;
    - // rm private Model model;
    -
    - /**
    - * Default CTOR;
    - */
    - public BuildProjectCommand()
    - {
    - }
    -
    - /**
    - * Execute the command
    - */
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - try
    - {
    - if (forceBuild_)
    - project_.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, new NullProgressMonitor());
    - else if (validationManager == null)
    - project_.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, new NullProgressMonitor());
    - else if (validationManager.getWorkspaceAutoBuildPreference())
    - project_.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, new NullProgressMonitor());
    - }
    - catch (Exception e)
    - {
    - }
    -
    - try
    - {
    - Platform.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, new NullProgressMonitor());
    - }
    - catch (InterruptedException ie)
    - {
    - // continue execution
    - }
    - catch (OperationCanceledException oce)
    - {
    - // continue execution
    - }
    -
    - return Status.OK_STATUS;
    - }
    - /**
    - * @param forceBuild The forceBuild to set.
    - */
    - public void setForceBuild(boolean forceBuild) {
    - this.forceBuild_ = forceBuild;
    - }
    -
    - /**
    - * @param project The project to set.
    - */
    - public void setProject(IProject project) {
    - this.project_ = project;
    - }
    -
    - /**
    - * @param validationManager The validationManager to set.
    - */
    - public void setValidationManager(ValidationManager validationManager) {
    - this.validationManager = validationManager;
    - }
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CheckProjectOKCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CheckProjectOKCommand.java
    deleted file mode 100644
    index c5274a5ef..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CheckProjectOKCommand.java
    +++ /dev/null
    @@ -1,76 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.ServerCore;
    -
    -public class CheckProjectOKCommand extends AbstractDataModelOperation
    -{
    -
    - private String serviceServerTypeId_;
    -
    -
    - /**
    - * Default CTOR
    - */
    - public CheckProjectOKCommand() {
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IStatus status = Status.OK_STATUS;
    -
    - String typeid = serviceServerTypeId_;
    - IServer[] servers = ServerCore.getServers();
    -// Iterator iterator = servers.iterator();
    - boolean viewOpen = false;
    - String serverName = null;
    -
    - for (int i=0;i<servers.length;i++) {
    - IServer server = (IServer) servers[i];
    -
    - // If the configuration editor is open for the server that we are
    - // deploying
    - // to we will prompt the user to close it.
    - if (server != null && server.getServerType().getId().equals(typeid)) {
    - viewOpen = true;
    - serverName = server.getName();
    - break;
    - }
    - }
    -
    - if (viewOpen) {
    - String errorMessage = NLS.bind(ConsumptionMessages.MSG_ERROR_SERVER_VIEW_OPEN, new String[] { serverName});
    - return StatusUtils.errorStatus( errorMessage );
    -
    - }
    -
    - return status;
    - }
    -
    - /**
    - * @param serviceServerId
    - * The serviceServer factory Id to set.
    - */
    - public void setServiceServerTypeID(String serviceServerId) {
    - this.serviceServerTypeId_ = serviceServerId;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeEndpointCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeEndpointCommand.java
    deleted file mode 100644
    index 329a3e5d9..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeEndpointCommand.java
    +++ /dev/null
    @@ -1,137 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import java.net.MalformedURLException;
    -import java.net.URL;
    -import java.util.Iterator;
    -import javax.wsdl.Definition;
    -import javax.wsdl.Port;
    -import javax.wsdl.Service;
    -import javax.wsdl.extensions.ExtensibilityElement;
    -import javax.wsdl.extensions.soap.SOAPAddress;
    -import org.eclipse.core.commands.ExecutionException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -
    -public class ComputeEndpointCommand extends AbstractDataModelOperation
    -{
    - private WebServicesParser webServicesParser;
    - private String wsdlURI;
    - private Boolean monitorService;
    - private Integer monitoredPort;
    -
    - public ComputeEndpointCommand()
    - {
    - }
    -
    - /**
    - * @param monitoredPort The monitoredPort to set.
    - */
    - public void setMonitoredPort(Integer monitoredPort)
    - {
    - this.monitoredPort = monitoredPort;
    - }
    - /**
    - * @param monitorService The monitorService to set.
    - */
    - public void setMonitorService(Boolean monitorService)
    - {
    - this.monitorService = monitorService;
    - }
    - /**
    - * @param webServicesParser The webServicesParser to set.
    - */
    - public void setWebServicesParser(WebServicesParser webServicesParser)
    - {
    - this.webServicesParser = webServicesParser;
    - }
    - /**
    - * @param wsdlURI The wsdlURI to set.
    - */
    - public void setWsdlURI(String wsdlURI)
    - {
    - this.wsdlURI = wsdlURI;
    - }
    -
    - public String getEndpoint()
    - {
    - if (monitorService != null && monitorService.booleanValue() && monitoredPort != null)
    - {
    - Definition def = webServicesParser.getWSDLDefinition(wsdlURI);
    - if (def != null)
    - {
    - for (Iterator it = def.getServices().values().iterator(); it.hasNext();)
    - {
    - Service service = (Service)it.next();
    - for (Iterator it2 = service.getPorts().values().iterator(); it2.hasNext();)
    - {
    - Port port = (Port)it2.next();
    - for (Iterator it3 = port.getExtensibilityElements().iterator(); it3.hasNext();)
    - {
    - ExtensibilityElement ext = (ExtensibilityElement)it3.next();
    - if (ext instanceof SOAPAddress)
    - {
    - String location = ((SOAPAddress)ext).getLocationURI();
    - try
    - {
    - URL url = new URL(location);
    - url = new URL(url.getProtocol(), url.getHost(), monitoredPort.intValue(), url.getFile());
    - return url.toString();
    - }
    - catch (MalformedURLException murle)
    - {
    - int protocolIndex = location.indexOf("://");
    - if (protocolIndex != -1)
    - {
    - String protocol = location.substring(0, protocolIndex+3);
    - int hostPortIndex = location.indexOf('/', protocolIndex+3);
    - String file;
    - if (hostPortIndex == -1)
    - {
    - hostPortIndex = location.length();
    - file = "";
    - }
    - else
    - file = location.substring(hostPortIndex, location.length());
    - String hostPort = location.substring(protocolIndex+3, hostPortIndex);
    - int hostIndex = hostPort.indexOf(':');
    - String host;
    - if (hostIndex != -1)
    - host = hostPort.substring(0, hostIndex+1);
    - else
    - host = hostPort + ':';
    - String newPort = String.valueOf(monitoredPort.intValue());
    - StringBuffer endpoint = new StringBuffer(protocol);
    - endpoint.append(host);
    - endpoint.append(newPort);
    - endpoint.append(file);
    - return endpoint.toString();
    - }
    - }
    - }
    - }
    - }
    - }
    - }
    - }
    - return null;
    - }
    -
    - public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
    - {
    - return Status.OK_STATUS;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeProxyEndpointCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeProxyEndpointCommand.java
    deleted file mode 100644
    index fd014e829..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ComputeProxyEndpointCommand.java
    +++ /dev/null
    @@ -1,119 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060728 145426 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import java.net.MalformedURLException;
    -import java.net.URL;
    -
    -import org.eclipse.core.commands.ExecutionException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -public class ComputeProxyEndpointCommand extends AbstractDataModelOperation
    -{
    - private Boolean monitorService;
    - private Integer monitoredPort;
    - private String proxyEndpoint;
    - private String endpoint;
    -
    - public ComputeProxyEndpointCommand()
    - {
    - }
    -
    - /**
    - * @param monitoredPort The monitoredPort to set.
    - */
    - public void setMonitoredPort(Integer monitoredPort)
    - {
    - this.monitoredPort = monitoredPort;
    - }
    - /**
    - * @param monitorService The monitorService to set.
    - */
    - public void setMonitorService(Boolean monitorService)
    - {
    - this.monitorService = monitorService;
    - }
    -
    - public String getEndpoint()
    - {
    - if (monitorService != null && monitorService.booleanValue() && monitoredPort != null)
    - {
    - // Use the endpoint that matches with the proxy the extension passes to us if it is set
    - if (proxyEndpoint != null) {
    - String location = proxyEndpoint;
    - try
    - {
    - URL url = new URL(location);
    - url = new URL(url.getProtocol(), url.getHost(), monitoredPort.intValue(), url.getFile());
    - return url.toString();
    - }
    - catch (MalformedURLException murle)
    - {
    - int protocolIndex = location.indexOf("://");
    - if (protocolIndex != -1)
    - {
    - String protocol = location.substring(0, protocolIndex+3);
    - int hostPortIndex = location.indexOf('/', protocolIndex+3);
    - String file;
    - if (hostPortIndex == -1)
    - {
    - hostPortIndex = location.length();
    - file = "";
    - }
    - else
    - file = location.substring(hostPortIndex, location.length());
    - String hostPort = location.substring(protocolIndex+3, hostPortIndex);
    - int hostIndex = hostPort.indexOf(':');
    - String host;
    - if (hostIndex != -1)
    - host = hostPort.substring(0, hostIndex+1);
    - else
    - host = hostPort + ':';
    - String newPort = String.valueOf(monitoredPort.intValue());
    - StringBuffer endpoint = new StringBuffer(protocol);
    - endpoint.append(host);
    - endpoint.append(newPort);
    - endpoint.append(file);
    - return endpoint.toString();
    - }
    - }
    - } else {
    - return endpoint;
    - }
    - }
    - return null;
    - }
    -
    - public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
    - {
    - return Status.OK_STATUS;
    - }
    -
    - /**
    - * @param proxyEndpoint The proxyEndpoint to set.
    - */
    - public void setProxyEndpoint(String proxyEndpoint) {
    - this.proxyEndpoint = proxyEndpoint;
    - }
    - /**
    - * @param endpoint The endpoint to set.
    - */
    - public void setEndpoint(String endpoint) {
    - this.endpoint = endpoint;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CopyWSDLCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CopyWSDLCommand.java
    deleted file mode 100644
    index 983494869..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CopyWSDLCommand.java
    +++ /dev/null
    @@ -1,362 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20061213 165723 kathy@ca.ibm.com - Kathy Chan
    - * 20061213 165725 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import java.io.IOException;
    -import java.io.InputStream;
    -import java.io.OutputStream;
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Map;
    -import java.util.Vector;
    -
    -import javax.wsdl.Definition;
    -import javax.wsdl.Import;
    -import javax.wsdl.Types;
    -import javax.wsdl.WSDLException;
    -import javax.wsdl.extensions.ExtensibilityElement;
    -import javax.wsdl.extensions.UnknownExtensibilityElement;
    -import javax.wsdl.factory.WSDLFactory;
    -import javax.wsdl.xml.WSDLWriter;
    -import javax.xml.transform.OutputKeys;
    -import javax.xml.transform.Transformer;
    -import javax.xml.transform.TransformerConfigurationException;
    -import javax.xml.transform.TransformerException;
    -import javax.xml.transform.TransformerFactory;
    -import javax.xml.transform.dom.DOMSource;
    -import javax.xml.transform.stream.StreamResult;
    -
    -import org.eclipse.core.resources.IWorkspaceRunnable;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.emf.common.util.EList;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.environment.uri.URIException;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.parser.discovery.NetUtils;
    -import org.eclipse.wst.ws.internal.parser.wsil.WWWAuthenticationException;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -import org.eclipse.wst.wsdl.internal.impl.XSDSchemaExtensibilityElementImpl;
    -import org.eclipse.wst.wsdl.internal.impl.wsdl4j.WSDLFactoryImpl;
    -import org.eclipse.xsd.XSDSchema;
    -import org.eclipse.xsd.XSDSchemaDirective;
    -import org.eclipse.xsd.impl.XSDSchemaImpl;
    -import org.eclipse.xsd.util.XSDParser;
    -import org.w3c.dom.Element;
    -
    -public class CopyWSDLCommand extends AbstractDataModelOperation
    -{
    - private String wsdlURI;
    - private WebServicesParser webServicesParser;
    - private String destinationURI;
    - private Definition def;
    - private Vector ignoreList;
    -
    - public CopyWSDLCommand()
    - {
    - }
    -
    - /**
    - * Execute the command
    - */
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    - CopyWSDLRunnable copyWSDLRunnable = new CopyWSDLRunnable(env);
    - try
    - {
    - ResourceUtils.getWorkspace().run(copyWSDLRunnable, null);
    - return Status.OK_STATUS;
    - }
    - catch (CoreException ce)
    - {
    - IStatus status = ce.getStatus();
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    - }
    -
    -
    - private class CopyWSDLRunnable implements IWorkspaceRunnable {
    -
    - private IEnvironment environment = null;
    -
    - protected CopyWSDLRunnable(IEnvironment env){
    - environment = env;
    - }
    - public void run(IProgressMonitor pm) throws CoreException {
    - ignoreList = new Vector();
    - if (def == null)
    - def = webServicesParser.getWSDLDefinition(wsdlURI);
    - try {
    - copyWSDL(environment, wsdlURI, getBaseURI(destinationURI), getLocalname(destinationURI), def);
    - } catch (Throwable e) {
    - throw new CoreException(StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_COPY_WSDL, new String[]{wsdlURI, destinationURI}), e));
    - }
    - }
    - }
    - private void copyWSDL(IEnvironment env, String uri, String destURI, String destLocalname) throws WSDLException, IOException, WWWAuthenticationException, TransformerException, TransformerConfigurationException, URIException
    - {
    - Definition definition;
    -
    - try {
    - definition = webServicesParser.getWSDLDefinitionVerbose(uri);
    - copyWSDL(env, uri, destURI, destLocalname, definition);
    - } catch (WSDLException e) {
    - copyXMLSchema(env, uri, destURI);
    - }
    - }
    -
    - private void copyWSDL(IEnvironment env, String uri, String destURI, String destLocalname, Definition definition) throws WSDLException, IOException, WWWAuthenticationException, TransformerException, TransformerConfigurationException, URIException
    - {
    - uri = normalize(uri);
    - if (!needToCopy(uri)) {
    - return;
    - }
    - destURI = normalize(destURI);
    - String baseURI = getBaseURI(uri);
    - if (destLocalname == null || destLocalname.length() <= 0)
    - destLocalname = getLocalname(uri);
    -
    - // copy WSDL
    - StringBuffer destinationFileURI = new StringBuffer(addTrailingSeparator(destURI));
    - destinationFileURI.append(destLocalname);
    - WSDLFactory wsdlFactory = new WSDLFactoryImpl();
    - WSDLWriter wsdlWriter = wsdlFactory.newWSDLWriter();
    - OutputStream os = env.getURIFactory().newURI(destinationFileURI.toString()).getOutputStream();
    - wsdlWriter.writeWSDL(definition, os);
    - os.close();
    - // copy <wsdl:import>s
    - Map imports = definition.getImports();
    - for (Iterator it = imports.values().iterator(); it.hasNext();)
    - {
    - List list = (List)it.next();
    - for (Iterator listIt = list.iterator(); listIt.hasNext();)
    - {
    - Import wsdlImport = (Import)listIt.next();
    - String wsdlImportURI = wsdlImport.getLocationURI();
    - if (isRelative(wsdlImportURI))
    - {
    - String importBaseURI = (new StringBuffer(baseURI)).append(wsdlImportURI).toString();
    - String wsdlImportBaseURI = getBaseURI(wsdlImportURI);
    - StringBuffer importDestURI = new StringBuffer(destURI);
    - if (wsdlImportBaseURI != null)
    - importDestURI.append(wsdlImportBaseURI);
    - copyWSDL(env, importBaseURI, importDestURI.toString(), getLocalname(wsdlImportURI));
    - }
    - }
    - }
    - Types types = definition.getTypes();
    - if (types != null)
    - {
    - List schemas = types.getExtensibilityElements();
    - for (Iterator it = schemas.iterator(); it.hasNext();)
    - {
    - ExtensibilityElement extElement = (ExtensibilityElement)it.next();
    - if (extElement instanceof UnknownExtensibilityElement)
    - {
    - UnknownExtensibilityElement schemaElement = (UnknownExtensibilityElement)extElement;
    - XSDSchema xsdSchema = null;
    - try
    - {
    - xsdSchema = XSDSchemaImpl.createSchema(schemaElement.getElement());
    - }
    - catch (Throwable t)
    - {
    - // ignore any extensibility elements that cannot be parsed into a
    - // XSDSchema instance
    - }
    - copyXMLSchema(env, xsdSchema, baseURI, destURI);
    - }
    - else if (extElement instanceof XSDSchemaExtensibilityElementImpl)
    - {
    - XSDSchemaExtensibilityElementImpl schemaElement = (XSDSchemaExtensibilityElementImpl)extElement;
    - XSDSchema xsdSchema = null;
    - try
    - {
    - xsdSchema = XSDSchemaImpl.createSchema(schemaElement.getElement());
    - }
    - catch (Throwable t)
    - {
    - // ignore any extensibility elements that cannot be parsed into a
    - // XSDSchema instance
    - }
    - copyXMLSchema(env, xsdSchema, baseURI, destURI);
    - }
    - }
    - }
    - }
    -
    - private String getBaseURI(String uri)
    - {
    - int index = uri.lastIndexOf('/');
    - if (index == -1)
    - index = uri.lastIndexOf('\\');
    - if (index != -1)
    - return uri.substring(0, index + 1);
    - else
    - return null;
    - }
    -
    - private String getLocalname(String uri)
    - {
    - int index = uri.lastIndexOf('/');
    - if (index == -1)
    - index = uri.lastIndexOf('\\');
    - if (index != -1)
    - return uri.substring(index + 1);
    - else
    - return uri;
    - }
    -
    - private String addTrailingSeparator(String s)
    - {
    - if (!(s.endsWith("/") || s.endsWith("\\")))
    - {
    - StringBuffer sb = new StringBuffer(s);
    - sb.append('/');
    - return sb.toString();
    - }
    - else
    - return s;
    - }
    -
    - private boolean isRelative(String uri)
    - {
    - return (uri.indexOf(':') == -1);
    - }
    -
    - private void copyXMLSchema(IEnvironment env, String uri, String destURI) throws TransformerException, TransformerConfigurationException, IOException, URIException
    - {
    - uri = normalize(uri);
    - if (!needToCopy(uri)) {
    - return;
    - }
    - destURI = normalize(destURI);
    - // load as a cached schema
    - XSDSchema xsdSchema = XSDSchemaImpl.getSchemaForSchema(uri);
    - // if schema is not cached, parse it
    - if (xsdSchema == null)
    - {
    - XSDParser p = new XSDParser();
    - InputStream is = NetUtils.getURLInputStream(uri);
    - if (is != null)
    - {
    - p.parse(is);
    - xsdSchema = p.getSchema();
    - }
    - }
    - if (xsdSchema != null)
    - {
    - // copy schema
    - Element e = xsdSchema.getElement();
    - DOMSource domSource = new DOMSource(e);
    - Transformer serializer = TransformerFactory.newInstance().newTransformer();
    - serializer.setOutputProperty(OutputKeys.INDENT, "yes");
    - serializer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
    - serializer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
    - OutputStream os = env.getURIFactory().newURI((new StringBuffer(destURI)).append(getLocalname(uri)).toString()).getOutputStream();
    - serializer.transform(domSource, new StreamResult(os));
    - os.close();
    - // copy <xsd:import>s and <xsd:include>s
    - copyXMLSchema(env, xsdSchema, getBaseURI(uri), destURI);
    - }
    - }
    -
    - private void copyXMLSchema(IEnvironment env, XSDSchema xsdSchema, String baseURI, String destURI) throws TransformerException, TransformerConfigurationException, IOException, URIException
    - {
    - if (xsdSchema != null)
    - {
    - // copy <xsd:import>s and <xsd:include>s
    - EList xsdSchemaContents = xsdSchema.getContents();
    - for (Iterator it = xsdSchemaContents.iterator(); it.hasNext();)
    - {
    - Object content = it.next();
    - if (content instanceof XSDSchemaDirective)
    - {
    - XSDSchemaDirective xsdSchemaDirective = (XSDSchemaDirective)content;
    - String xsdSchemaDirectiveLocation = xsdSchemaDirective.getSchemaLocation();
    - if (xsdSchemaDirectiveLocation != null && isRelative(xsdSchemaDirectiveLocation))
    - {
    - String directiveURI = (new StringBuffer(baseURI)).append(xsdSchemaDirectiveLocation).toString();
    - String directiveBaseURI = getBaseURI(xsdSchemaDirectiveLocation);
    - StringBuffer directiveDestURI = new StringBuffer(destURI);
    - if (directiveBaseURI != null)
    - directiveDestURI.append(directiveBaseURI);
    - copyXMLSchema(env, directiveURI, directiveDestURI.toString());
    - }
    - }
    - }
    - }
    - }
    -
    - private boolean needToCopy (String normalizedURI) {
    - if (ignoreList.contains(normalizedURI))
    - return false;
    - ignoreList.add(normalizedURI);
    - return true;
    - }
    -
    -//normalize the uri to remove relative addressing "/.."
    - private String normalize(String uri )
    - {
    - boolean normalized = false;
    - while(!normalized){
    - int dir = uri.indexOf("/..");
    - if(dir == -1)
    - normalized = true;
    - else{
    - String first = uri.substring(0,dir);
    - String second = uri.substring(dir + 3);
    - int newIndex = first.lastIndexOf("/");
    - if(newIndex == -1){
    - normalized = true;
    - } else {
    - first = first.substring(0,newIndex);
    - uri = first + second;
    - }
    - }
    - }
    - return uri;
    -
    - }
    -
    - public void setWsdlURI(String wsdlURI)
    - {
    - this.wsdlURI = wsdlURI;
    - }
    -
    - public void setWebServicesParser(WebServicesParser webServicesParser)
    - {
    - this.webServicesParser = webServicesParser;
    - }
    -
    - public void setDestinationURI(String destinationURI)
    - {
    - this.destinationURI = destinationURI;
    - }
    -
    - public void setDefinition(Definition def)
    - {
    - this.def = def;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CopyWSDLTreeCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CopyWSDLTreeCommand.java
    deleted file mode 100644
    index 03b94792d..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CopyWSDLTreeCommand.java
    +++ /dev/null
    @@ -1,467 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2007 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20070112 165721 makandre@ca.ibm.com - Andrew Mak, WSDL import cannot use relative import with to parent directories
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import java.io.IOException;
    -import java.io.InputStream;
    -import java.io.OutputStream;
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Map;
    -import java.util.Vector;
    -
    -import javax.wsdl.Definition;
    -import javax.wsdl.Import;
    -import javax.wsdl.Types;
    -import javax.wsdl.WSDLException;
    -import javax.wsdl.extensions.ExtensibilityElement;
    -import javax.wsdl.extensions.UnknownExtensibilityElement;
    -import javax.wsdl.factory.WSDLFactory;
    -import javax.wsdl.xml.WSDLWriter;
    -import javax.xml.transform.OutputKeys;
    -import javax.xml.transform.Transformer;
    -import javax.xml.transform.TransformerConfigurationException;
    -import javax.xml.transform.TransformerException;
    -import javax.xml.transform.TransformerFactory;
    -import javax.xml.transform.dom.DOMSource;
    -import javax.xml.transform.stream.StreamResult;
    -
    -import org.eclipse.core.resources.IWorkspaceRunnable;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Path;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.emf.common.util.EList;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.environment.uri.URIException;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.parser.discovery.NetUtils;
    -import org.eclipse.wst.ws.internal.parser.wsil.WWWAuthenticationException;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -import org.eclipse.wst.wsdl.internal.impl.XSDSchemaExtensibilityElementImpl;
    -import org.eclipse.wst.wsdl.internal.impl.wsdl4j.WSDLFactoryImpl;
    -import org.eclipse.xsd.XSDSchema;
    -import org.eclipse.xsd.XSDSchemaDirective;
    -import org.eclipse.xsd.impl.XSDSchemaImpl;
    -import org.eclipse.xsd.util.XSDParser;
    -import org.w3c.dom.Element;
    -
    -public class CopyWSDLTreeCommand extends AbstractDataModelOperation
    -{
    - private String wsdlURI;
    - private WebServicesParser webServicesParser;
    - private String destinationURI;
    - private Definition def;
    - private Vector ignoreList;
    -
    - private IPath pathPrefix;
    - private String wsdlRelPath;
    - private Vector xmlObjectInfos;
    -
    - public CopyWSDLTreeCommand()
    - {
    - }
    -
    - /**
    - * Execute the command
    - */
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    - CopyWSDLRunnable copyWSDLRunnable = new CopyWSDLRunnable(env);
    - try
    - {
    - ResourceUtils.getWorkspace().run(copyWSDLRunnable, null);
    - return Status.OK_STATUS;
    - }
    - catch (CoreException ce)
    - {
    - IStatus status = ce.getStatus();
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    - }
    -
    -
    - private class CopyWSDLRunnable implements IWorkspaceRunnable {
    -
    - private IEnvironment environment = null;
    -
    - protected CopyWSDLRunnable(IEnvironment env){
    - environment = env;
    - }
    - public void run(IProgressMonitor pm) throws CoreException {
    - ignoreList = new Vector();
    - xmlObjectInfos = new Vector();
    - if (def == null)
    - def = webServicesParser.getWSDLDefinition(wsdlURI);
    - try {
    - String baseDestinationURI = getBaseURI(destinationURI);
    -
    - // copy will record what files needs to be copy, but does not write the files yet
    - copyWSDL(environment, wsdlURI, baseDestinationURI, getLocalname(destinationURI), def);
    -
    - // begin write
    -
    - Iterator iter = xmlObjectInfos.iterator();
    -
    - while (iter.hasNext()) {
    - XMLObjectInfo info = (XMLObjectInfo) iter.next();
    - IPath relPath = info.path.removeFirstSegments(pathPrefix.segmentCount());
    -
    - if (info.content instanceof Definition) {
    - Definition definition = (Definition) info.content;
    -
    - // if this is the starting wsdl, check if it's at the root directory
    - if (definition == def)
    - wsdlRelPath = relPath.toString();
    -
    - writeXMLObj(environment, baseDestinationURI, relPath.toString(), definition);
    - }
    - else
    - writeXMLObj(environment, baseDestinationURI, relPath.toString(), (XSDSchema) info.content);
    - }
    -
    - } catch (Throwable e) {
    - throw new CoreException(StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_COPY_WSDL, new String[]{wsdlURI, destinationURI}), e));
    - }
    - }
    - }
    - /**
    - * Helper class holding information about the files we need to write
    - */
    - private class XMLObjectInfo {
    -
    - public IPath path;
    - public Object content;
    -
    - /**
    - * Constructor.
    - *
    - * @param uri The URI of the source file
    - * @param content A representation of the source file
    - */
    - public XMLObjectInfo(String uri, Object content) {
    -
    - int colon = uri.lastIndexOf(":");
    -
    - // don't need protocol or device info
    - if (colon != -1)
    - uri = uri.substring(colon + 1, uri.length());
    -
    - this.path = new Path(uri);
    - this.content = content;
    - }
    - }
    -
    - /**
    - * Update the path prefix, which is the shortest parent path
    - * common to all files we need to write.
    - *
    - * @param info Contains info on file to write.
    - */
    - private void updatePathPrefix(XMLObjectInfo info) {
    - if (pathPrefix == null)
    - pathPrefix = info.path.removeLastSegments(1);
    - else {
    - int matching = pathPrefix.matchingFirstSegments(info.path);
    -
    - if (matching < pathPrefix.segmentCount())
    - pathPrefix = pathPrefix.uptoSegment(matching);
    - }
    - }
    -
    - // write a wsdl file
    - private void writeXMLObj(IEnvironment env, String destURI, String destLocalname, Definition definition)
    - throws WSDLException, IOException, URIException {
    -
    - StringBuffer destinationFileURI = new StringBuffer(addTrailingSeparator(destURI));
    - destinationFileURI.append(destLocalname);
    -
    - WSDLFactory wsdlFactory = new WSDLFactoryImpl();
    - WSDLWriter wsdlWriter = wsdlFactory.newWSDLWriter();
    - OutputStream os = env.getURIFactory().newURI(destinationFileURI.toString()).getOutputStream();
    - wsdlWriter.writeWSDL(definition, os);
    - os.close();
    - }
    -
    - // write an xsd file
    - private void writeXMLObj(IEnvironment env, String destURI, String destLocalname, XSDSchema xsdSchema)
    - throws TransformerConfigurationException, URIException, TransformerException, IOException {
    -
    - StringBuffer destinationFileURI = new StringBuffer(addTrailingSeparator(destURI));
    - destinationFileURI.append(destLocalname);
    -
    - Element e = xsdSchema.getElement();
    - DOMSource domSource = new DOMSource(e);
    - Transformer serializer = TransformerFactory.newInstance().newTransformer();
    - serializer.setOutputProperty(OutputKeys.INDENT, "yes");
    - serializer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
    - serializer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
    - OutputStream os = env.getURIFactory().newURI(destinationFileURI.toString()).getOutputStream();
    - serializer.transform(domSource, new StreamResult(os));
    - os.close();
    - }
    -
    - private void copyWSDL(IEnvironment env, String uri, String destURI, String destLocalname) throws WSDLException, IOException, WWWAuthenticationException, TransformerException, TransformerConfigurationException, URIException
    - {
    - Definition definition;
    -
    - try {
    - definition = webServicesParser.getWSDLDefinitionVerbose(uri);
    - copyWSDL(env, uri, destURI, destLocalname, definition);
    - } catch (WSDLException e) {
    - copyXMLSchema(env, uri, destURI);
    - }
    - }
    -
    - private void copyWSDL(IEnvironment env, String uri, String destURI, String destLocalname, Definition definition) throws WSDLException, IOException, WWWAuthenticationException, TransformerException, TransformerConfigurationException, URIException
    - {
    - uri = normalize(uri);
    - if (!needToCopy(uri)) {
    - return;
    - }
    - destURI = normalize(destURI);
    - String baseURI = getBaseURI(uri);
    - if (destLocalname == null || destLocalname.length() <= 0)
    - destLocalname = getLocalname(uri);
    -
    - // copy WSDL
    -
    - XMLObjectInfo info = new XMLObjectInfo(baseURI + destLocalname, definition);
    - updatePathPrefix(info);
    - xmlObjectInfos.add(info);
    -
    - // copy <wsdl:import>s
    - Map imports = definition.getImports();
    - for (Iterator it = imports.values().iterator(); it.hasNext();)
    - {
    - List list = (List)it.next();
    - for (Iterator listIt = list.iterator(); listIt.hasNext();)
    - {
    - Import wsdlImport = (Import)listIt.next();
    - String wsdlImportURI = wsdlImport.getLocationURI();
    - if (isRelative(wsdlImportURI))
    - {
    - String importBaseURI = (new StringBuffer(baseURI)).append(wsdlImportURI).toString();
    - String wsdlImportBaseURI = getBaseURI(wsdlImportURI);
    - StringBuffer importDestURI = new StringBuffer(destURI);
    - if (wsdlImportBaseURI != null)
    - importDestURI.append(wsdlImportBaseURI);
    - copyWSDL(env, importBaseURI, importDestURI.toString(), getLocalname(wsdlImportURI));
    - }
    - }
    - }
    - Types types = definition.getTypes();
    - if (types != null)
    - {
    - List schemas = types.getExtensibilityElements();
    - for (Iterator it = schemas.iterator(); it.hasNext();)
    - {
    - ExtensibilityElement extElement = (ExtensibilityElement)it.next();
    - if (extElement instanceof UnknownExtensibilityElement)
    - {
    - UnknownExtensibilityElement schemaElement = (UnknownExtensibilityElement)extElement;
    - XSDSchema xsdSchema = null;
    - try
    - {
    - xsdSchema = XSDSchemaImpl.createSchema(schemaElement.getElement());
    - }
    - catch (Throwable t)
    - {
    - // ignore any extensibility elements that cannot be parsed into a
    - // XSDSchema instance
    - }
    - copyXMLSchema(env, xsdSchema, baseURI, destURI);
    - }
    - else if (extElement instanceof XSDSchemaExtensibilityElementImpl)
    - {
    - XSDSchemaExtensibilityElementImpl schemaElement = (XSDSchemaExtensibilityElementImpl)extElement;
    - XSDSchema xsdSchema = null;
    - try
    - {
    - xsdSchema = XSDSchemaImpl.createSchema(schemaElement.getElement());
    - }
    - catch (Throwable t)
    - {
    - // ignore any extensibility elements that cannot be parsed into a
    - // XSDSchema instance
    - }
    - copyXMLSchema(env, xsdSchema, baseURI, destURI);
    - }
    - }
    - }
    - }
    -
    - private String getBaseURI(String uri)
    - {
    - int index = uri.lastIndexOf('/');
    - if (index == -1)
    - index = uri.lastIndexOf('\\');
    - if (index != -1)
    - return uri.substring(0, index + 1);
    - else
    - return null;
    - }
    -
    - private String getLocalname(String uri)
    - {
    - int index = uri.lastIndexOf('/');
    - if (index == -1)
    - index = uri.lastIndexOf('\\');
    - if (index != -1)
    - return uri.substring(index + 1);
    - else
    - return uri;
    - }
    -
    - private String addTrailingSeparator(String s)
    - {
    - if (!(s.endsWith("/") || s.endsWith("\\")))
    - {
    - StringBuffer sb = new StringBuffer(s);
    - sb.append('/');
    - return sb.toString();
    - }
    - else
    - return s;
    - }
    -
    - private boolean isRelative(String uri)
    - {
    - return (uri.indexOf(':') == -1);
    - }
    -
    - private void copyXMLSchema(IEnvironment env, String uri, String destURI) throws TransformerException, TransformerConfigurationException, IOException, URIException
    - {
    - uri = normalize(uri);
    - if (!needToCopy(uri)) {
    - return;
    - }
    - destURI = normalize(destURI);
    - // load as a cached schema
    - XSDSchema xsdSchema = XSDSchemaImpl.getSchemaForSchema(uri);
    - // if schema is not cached, parse it
    - if (xsdSchema == null)
    - {
    - XSDParser p = new XSDParser();
    - InputStream is = NetUtils.getURLInputStream(uri);
    - if (is != null)
    - {
    - p.parse(is);
    - xsdSchema = p.getSchema();
    - }
    - }
    - if (xsdSchema != null)
    - {
    - // copy schema
    -
    - XMLObjectInfo info = new XMLObjectInfo(uri, xsdSchema);
    - updatePathPrefix(info);
    - xmlObjectInfos.add(info);
    -
    - // copy <xsd:import>s and <xsd:include>s
    - copyXMLSchema(env, xsdSchema, getBaseURI(uri), destURI);
    - }
    - }
    -
    - private void copyXMLSchema(IEnvironment env, XSDSchema xsdSchema, String baseURI, String destURI) throws TransformerException, TransformerConfigurationException, IOException, URIException
    - {
    - if (xsdSchema != null)
    - {
    - // copy <xsd:import>s and <xsd:include>s
    - EList xsdSchemaContents = xsdSchema.getContents();
    - for (Iterator it = xsdSchemaContents.iterator(); it.hasNext();)
    - {
    - Object content = it.next();
    - if (content instanceof XSDSchemaDirective)
    - {
    - XSDSchemaDirective xsdSchemaDirective = (XSDSchemaDirective)content;
    - String xsdSchemaDirectiveLocation = xsdSchemaDirective.getSchemaLocation();
    - if (xsdSchemaDirectiveLocation != null && isRelative(xsdSchemaDirectiveLocation))
    - {
    - String directiveURI = (new StringBuffer(baseURI)).append(xsdSchemaDirectiveLocation).toString();
    - String directiveBaseURI = getBaseURI(xsdSchemaDirectiveLocation);
    - StringBuffer directiveDestURI = new StringBuffer(destURI);
    - if (directiveBaseURI != null)
    - directiveDestURI.append(directiveBaseURI);
    - copyXMLSchema(env, directiveURI, directiveDestURI.toString());
    - }
    - }
    - }
    - }
    - }
    -
    - private boolean needToCopy (String normalizedURI) {
    - if (ignoreList.contains(normalizedURI))
    - return false;
    - ignoreList.add(normalizedURI);
    - return true;
    - }
    -
    -//normalize the uri to remove relative addressing "/.."
    - private String normalize(String uri )
    - {
    - boolean normalized = false;
    - while(!normalized){
    - int dir = uri.indexOf("/..");
    - if(dir == -1)
    - normalized = true;
    - else{
    - String first = uri.substring(0,dir);
    - String second = uri.substring(dir + 3);
    - int newIndex = first.lastIndexOf("/");
    - if(newIndex == -1){
    - normalized = true;
    - } else {
    - first = first.substring(0,newIndex);
    - uri = first + second;
    - }
    - }
    - }
    - return uri;
    -
    - }
    -
    - public void setWsdlURI(String wsdlURI)
    - {
    - this.wsdlURI = wsdlURI;
    - }
    -
    - public void setWebServicesParser(WebServicesParser webServicesParser)
    - {
    - this.webServicesParser = webServicesParser;
    - }
    -
    - public void setDestinationURI(String destinationURI)
    - {
    - this.destinationURI = destinationURI;
    - }
    -
    - public void setDefinition(Definition def)
    - {
    - this.def = def;
    - }
    -
    - public String getWSDLRelPath() {
    - return wsdlRelPath;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateFacetedProjectCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateFacetedProjectCommand.java
    deleted file mode 100644
    index 72b5da7ff..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateFacetedProjectCommand.java
    +++ /dev/null
    @@ -1,331 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060217 126757 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060517 126965 kathy@ca.ibm.com - Kathy Chan
    - * 20060905 156230 kathy@ca.ibm.com - Kathy Chan, Handling projects with no target runtime
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import java.util.HashSet;
    -import java.util.Iterator;
    -import java.util.Set;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.server.core.FacetUtil;
    -import org.eclipse.jst.ws.internal.common.ServerUtils;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.common.FacetMatcher;
    -import org.eclipse.jst.ws.internal.consumption.common.FacetSetsByTemplateCache;
    -import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
    -import org.eclipse.jst.ws.internal.consumption.common.RequiredFacetVersion;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.common.project.facet.core.IFacetedProject;
    -import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
    -import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
    -import org.eclipse.wst.server.core.IRuntime;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.IServerType;
    -import org.eclipse.wst.server.core.ServerCore;
    -
    -public class CreateFacetedProjectCommand extends AbstractDataModelOperation
    -{
    -
    - //name of the project to be created
    - private String projectName;
    -
    - //id of the IFacetedProjectTemplate to be used to create this project.
    - private String templateId;
    -
    - //required facet versions that must be satisfied when creating the project (this comes from
    - //the selected serverRuntime or clientRuntime in the calling scenario)
    - private RequiredFacetVersion[] requiredFacetVersions;
    -
    - //server type id - used to determine the facet runtime the created project will be bound to
    - //if serverInstanceId is null or empty
    - private String serverFactoryId;
    -
    - //server id - used to determine the facet runtime the created project will be bound to. May
    - //be null or empty.
    - private String serverInstanceId;
    -
    - //facet runtime determined from the serverInstanceId or serverFactoryId
    - private org.eclipse.wst.common.project.facet.core.runtime.IRuntime facetRuntime;
    -
    -
    - public IStatus execute(IProgressMonitor monitor, IAdaptable info)
    - {
    - IStatus status = Status.OK_STATUS;
    -
    - // check if data ready
    - status = checkDataReady();
    - if (status.getSeverity()==Status.ERROR)
    - {
    - return status;
    - }
    -
    - IProject project = ProjectUtilities.getProject(projectName);
    - if (!project.exists())
    - {
    - try
    - {
    - status = FacetUtils.createNewFacetedProject(projectName);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    -
    - IProject createdProject = ProjectUtilities.getProject(projectName);
    - IFacetedProject fproject = ProjectFacetsManager.create(createdProject);
    -
    - //Get the facet versions to install.
    - Set facetsToAdd = getFacetsToAdd();
    -
    - //Install the facet versions
    - status = FacetUtils.addFacetsToProject(fproject, facetsToAdd);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    -
    - //Set the installed facet versions as fixed.
    - Set newFacetVersions = fproject.getProjectFacets();
    - Set fixedFacets = new HashSet();
    - for (Iterator iter = newFacetVersions.iterator(); iter.hasNext();) {
    - IProjectFacetVersion facetVersion = (IProjectFacetVersion) iter.next();
    - fixedFacets.add(facetVersion.getProjectFacet());
    - }
    - status = FacetUtils.setFixedFacetsOnProject(fproject, fixedFacets);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    -
    -
    - //Set the runtime
    - if (facetRuntime != null)
    - {
    - status = FacetUtils.setFacetRuntimeOnProject(fproject, facetRuntime);
    - }
    -
    - // add facets required by Web service runtime
    - if (requiredFacetVersions.length != 0) {
    - status = FacetUtils.addRequiredFacetsToProject(project, requiredFacetVersions, monitor);
    - if (status.getSeverity() == Status.ERROR)
    - {
    - return status;
    - }
    - }
    -
    - if (facetRuntime != null)
    - {
    - // add the default facets that's not in conflict with the existing facets
    - Set projectFacetVersionSet = fproject.getProjectFacets();
    - Set projectFacetSet = new HashSet();
    - // get the project facet from the project facet version we calculated
    - for (Iterator iter = projectFacetVersionSet.iterator(); iter.hasNext();) {
    - IProjectFacetVersion pfv = (IProjectFacetVersion) iter.next();
    - projectFacetSet.add(pfv.getProjectFacet());
    - }
    - try {
    - Set defaultProjectFacetVersionSet = facetRuntime.getDefaultFacets(projectFacetSet);
    - // The returned defaultFacetSet contains the original projectFacetSet passed into getDefaultFacets
    - // plus any default facets that are not in conflict with the original projectFacetSet.
    - // Add to facetsToAdd if the the default facet is not in the original set.
    - Set defaultFacetsToAdd = new HashSet();
    - for (Iterator iter = defaultProjectFacetVersionSet.iterator(); iter.hasNext();) {
    - IProjectFacetVersion defaultProjFacetVersion = (IProjectFacetVersion) iter.next();
    - if( ! projectFacetSet.contains( defaultProjFacetVersion.getProjectFacet() ) )
    - {
    - defaultFacetsToAdd.add(defaultProjFacetVersion);
    - }
    - }
    - if (!defaultFacetsToAdd.isEmpty()) {
    - status = FacetUtils.addFacetsToProject(fproject, defaultFacetsToAdd);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    - }
    - } catch (CoreException e) {
    - // If there's any exception when trying to get the default facet, just ignore the default facet
    - // and return the original facetsToAdd.
    - }
    - // end of adding default facets
    - }
    - } catch (CoreException ce)
    - {
    - return StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }));
    - }
    - }
    - return status;
    - }
    -
    - private IStatus checkDataReady()
    - {
    -
    - if (projectName == null)
    - {
    - return StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] {projectName}));
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    - /**
    - * Returns the set of facets to install on the new project. The set will consist
    - * of the highest version of each of the template's fixed facets that satifies
    - * both the required facet versions and the facet runtime.
    - * @return Set a Set containing elements of type IProjectFacetVersion.
    - */
    - private Set getFacetsToAdd()
    - {
    - Set facets = null;
    -
    - //Set the facet runtime.
    - setFacetRuntime();
    - //Get all facet version combinations for the template in order of ascending version numbers.
    - Set[] allCombinations = FacetSetsByTemplateCache.getInstance().getFacetVersionCombinationsFromTemplate(templateId);
    - int n = allCombinations.length;
    - if (facetRuntime != null)
    - {
    - //Walk the facet version combinations in order of descending version numbers.
    - for (int i=n-1; i>=0; i--)
    - {
    - //Check this template combination to see if it is compatible with both the
    - //required facet versions and the server runtime. If it is, choose it.
    - Set combination = allCombinations[i];
    - FacetMatcher fm = FacetUtils.match(requiredFacetVersions, combination);
    - if (fm.isMatch())
    - {
    - //Check against Runtime
    - if (FacetUtils.doesRuntimeSupportFacets(facetRuntime, combination))
    - {
    - //We have a match. Use this combination of facet versions for project creation.
    - facets = combination;
    - break;
    - }
    - }
    - }
    -
    - }
    - else
    - {
    - for (int i=n-1; i>=0; i--)
    - {
    - //Check this template combination to see if it is compatible with both the
    - //service/client runtime and the server runtime. If it is, choose it.
    - Set combination = allCombinations[i];
    - FacetMatcher fm = FacetUtils.match(requiredFacetVersions, combination);
    - if (fm.isMatch())
    - {
    - //We have a match. Use this combination of facet versions for project creation.
    - facets = combination;
    - break;
    - }
    - }
    - }
    -
    - //Unlikely to get to this point in the code, but if we do, choose the highest version
    - //of each fixed facet in the template.
    - if (facets == null)
    - {
    - facets = FacetUtils.getInitialFacetVersionsFromTemplate(templateId);
    - }
    -
    - return facets;
    - }
    -
    - /**
    - * Sets the facetRuntime attribute based on the serverInstanceId or serverFactoryId
    - * Preference is given to non-stub facet runtimes.
    - */
    - private void setFacetRuntime()
    - {
    -
    - if (serverInstanceId != null && serverInstanceId.length()>0)
    - {
    - IServer server = ServerCore.findServer(serverInstanceId);
    - IRuntime sRuntime = server.getRuntime();
    - facetRuntime = FacetUtil.getRuntime(sRuntime);
    - }
    - else
    - {
    - if (serverFactoryId != null && serverFactoryId.length() > 0)
    - {
    - //Find a non Stub runtime that matches this server type
    - IRuntime serverRuntime = ServerUtils.getNonStubRuntime(serverFactoryId);
    - if (serverRuntime != null)
    - {
    - facetRuntime = FacetUtil.getRuntime(serverRuntime);
    - }
    - else
    - {
    - //Accept stub runtime.
    - IServerType st = ServerCore.findServerType(serverFactoryId);
    - String runtimeTypeId = st.getRuntimeType().getId();
    - //Find the facet runtime
    - IRuntime[] runtimes = ServerCore.getRuntimes();
    - for (int i=0; i<runtimes.length; i++)
    - {
    - IRuntime sRuntime = runtimes[i];
    - if (sRuntime.getRuntimeType().getId().equals(runtimeTypeId))
    - {
    - facetRuntime = FacetUtil.getRuntime(sRuntime);
    - }
    - }
    - }
    - }
    - }
    - }
    -
    - public void setProjectName(String projectName)
    - {
    - this.projectName = projectName;
    - }
    -
    - public void setTemplateId(String templateId)
    - {
    - this.templateId = templateId;
    - }
    -
    - public void setRequiredFacetVersions(RequiredFacetVersion[] requiredFacetVersions)
    - {
    - this.requiredFacetVersions = requiredFacetVersions;
    - }
    -
    - public void setServerFactoryId(String serverFactoryId)
    - {
    - this.serverFactoryId = serverFactoryId;
    - }
    -
    - public void setServerInstanceId(String serverInstanceId)
    - {
    - this.serverInstanceId = serverInstanceId;
    - }
    -
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateJavaProjectCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateJavaProjectCommand.java
    deleted file mode 100644
    index b17308122..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateJavaProjectCommand.java
    +++ /dev/null
    @@ -1,82 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2003, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import org.eclipse.core.resources.ICommand;
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IProjectDescription;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Path;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jdt.core.IClasspathEntry;
    -import org.eclipse.jdt.core.IJavaProject;
    -import org.eclipse.jdt.core.JavaCore;
    -import org.eclipse.jdt.launching.JavaRuntime;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -
    -
    -public class CreateJavaProjectCommand extends AbstractDataModelOperation
    -{
    - private String projectName_;
    -
    - /**
    - * Default CTOR
    - */
    - public CreateJavaProjectCommand()
    - {
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    - IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName_);
    -
    - if (project != null && !project.exists())
    - {
    - try
    - {
    - project.create(ResourcesPlugin.getWorkspace().newProjectDescription(project.getName()), monitor);
    - project.open(monitor);
    - IProjectDescription desc = project.getDescription();
    - desc.setNatureIds(new String[] {JavaCore.NATURE_ID});
    - ICommand cmd = desc.newCommand();
    - cmd.setBuilderName(JavaCore.BUILDER_ID);
    - desc.setBuildSpec(new ICommand[] {cmd});
    - project.setDescription(desc, monitor);
    - IJavaProject javaProject = JavaCore.create(project);
    - Path projectRoot = new Path(Path.ROOT.append(new Path(project.getName())).toString());
    - javaProject.setRawClasspath(new IClasspathEntry[] {JavaCore.newSourceEntry(projectRoot), JavaCore.newContainerEntry(new Path(JavaRuntime.JRE_CONTAINER))}, monitor);
    - javaProject.setOutputLocation(projectRoot, monitor);
    - }
    - catch (CoreException ce)
    - {
    - IStatus status = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_CANNOT_CREATE_JAVA_PROJECT, new String[] {projectName_}), ce);
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    - }
    - return Status.OK_STATUS;
    - }
    -
    - public void setProjectName(String projectName)
    - {
    - projectName_ = projectName;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateModuleCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateModuleCommand.java
    deleted file mode 100644
    index 3eee81ba8..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateModuleCommand.java
    +++ /dev/null
    @@ -1,680 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2007 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060204 124408 rsinha@ca.ibm.com - Rupam Kuehner *
    - * 20060217 126757 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20070201 172244 makandre@ca.ibm.com - Andrew Mak, Remove usage of deprecated (and now removed) classes
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import java.util.ArrayList;
    -import java.util.HashSet;
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Set;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
    -import org.eclipse.jst.server.core.FacetUtil;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.common.ServerUtils;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.common.FacetUtils;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.componentcore.internal.util.IModuleConstants;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.common.project.facet.core.IFacetedProject;
    -import org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate;
    -import org.eclipse.wst.common.project.facet.core.IProjectFacet;
    -import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
    -import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
    -import org.eclipse.wst.common.project.facet.core.VersionFormatException;
    -import org.eclipse.wst.server.core.IRuntime;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.IServerType;
    -import org.eclipse.wst.server.core.ServerCore;
    -
    -public class CreateModuleCommand extends AbstractDataModelOperation
    -{
    -
    - public final static int WEB = J2EEUtils.WEB;
    - public final static int EJB = J2EEUtils.EJB;
    - public final static int APPCLIENT = J2EEUtils.APPCLIENT;
    - public final static int EAR = J2EEUtils.EAR;
    -
    - //Templates
    - //TODO Remove these template constants once J2EE tools defines constants (bug 117531)
    - public final static String WEB_TEMPLATE = "template.jst.web";
    - public final static String EJB_TEMPLATE = "template.jst.ejb";
    - public final static String APPCLIENT_TEMPLATE = "template.jst.appclient";
    - public final static String EAR_TEMPLATE = "template.jst.ear";
    -
    - private String projectName;
    - private String moduleName; // may be null for non-flexible project
    - private int moduleType;;
    - private String j2eeLevel;
    - private String serverFactoryId;
    - private String serverInstanceId_;
    -
    - private org.eclipse.wst.common.project.facet.core.runtime.IRuntime facetRuntime;
    -
    - public CreateModuleCommand(){
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IStatus status = Status.OK_STATUS;
    -
    - // check if data ready
    - status = checkDataReady();
    - if (status.getSeverity()==Status.ERROR){
    - return status;
    - }
    -
    - //ensure the project does not exist
    - IProject project = ProjectUtilities.getProject(projectName);
    - if (!project.exists())
    - {
    - // create the component according to the component type specified
    - int type = getModuleType();
    - switch (type) {
    - case WEB:
    - status = createWebComponent();
    - break;
    - case EJB:
    - status = createEJBComponent();
    - break;
    - case APPCLIENT:
    - status = createAppClientComponent();
    - break;
    - case EAR:
    - status = createEARComponent();
    - break;
    -
    - default:
    - return StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_COMPONENT_CREATION, new String[]{moduleName}) );
    - }
    - }
    -
    -
    - // check if flexible project exists
    - /*
    - if (project==null || !project.exists()){
    - status = createFlexibleJavaProject();
    - if (status.getSeverity()==Status.ERROR){
    - return status;
    - }
    - }
    - */
    - /*
    - // check if project and/or component exists
    - if (projectName!=null) {
    - if (moduleName==null){
    - if (project.exists())
    - return status;
    - }
    - else {
    - if (J2EEUtils.exists(projectName, moduleName))
    - return status;
    - }
    - }
    - else {
    - return StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_COMPONENT_CREATION, new String[]{projectName, moduleName}) );
    - }
    - */
    -
    -
    -
    -
    - return status;
    - }
    -
    - private IStatus checkDataReady(){
    -
    - if (projectName==null || serverFactoryId==null){
    - return StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_COMPONENT_CREATION, new String[]{projectName, moduleName}) );
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    -
    - /**
    - * Create a Web component
    - * @return
    - */
    - public IStatus createWebComponent(){
    -
    - IStatus status = Status.OK_STATUS;
    -
    - try
    - {
    - status = FacetUtils.createNewFacetedProject(projectName);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    - IProject createdProject = ProjectUtilities.getProject(projectName);
    - IFacetedProject fproject = ProjectFacetsManager.create(createdProject);
    -
    - //Decide which facets to install based on the templateId and the selected server.
    - Set facetsToAdd = getFacetsToAdd(WEB_TEMPLATE);
    - Set facetsToAddModified = facetsToAdd;
    - //If the J2EE level has been set, modify the Web facet version to be consistent.
    - if (j2eeLevel!=null && j2eeLevel.length()>0)
    - {
    - String webVersion = getWebVersionFromJ2EELevel(j2eeLevel);
    - facetsToAddModified = new HashSet();
    - Iterator itr = facetsToAdd.iterator();
    - while (itr.hasNext())
    - {
    - //If this is the web facet, get the right version.
    - IProjectFacetVersion pfv = (IProjectFacetVersion)itr.next();
    - IProjectFacet pf = pfv.getProjectFacet();
    - if (pf.getId().equals(IModuleConstants.JST_WEB_MODULE))
    - {
    - IProjectFacetVersion webfv = pf.getVersion(webVersion);
    - facetsToAddModified.add(webfv);
    - }
    - else
    - {
    - facetsToAddModified.add(pfv);
    - }
    - }
    - }
    -
    - status = FacetUtils.addFacetsToProject(fproject, facetsToAddModified);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    -
    - Set newFacetVersions = fproject.getProjectFacets();
    - Set fixedFacets = new HashSet();
    - for (Iterator iter = newFacetVersions.iterator(); iter.hasNext();) {
    - IProjectFacetVersion facetVersion = (IProjectFacetVersion) iter.next();
    - fixedFacets.add(facetVersion.getProjectFacet());
    - }
    -
    - status = FacetUtils.setFixedFacetsOnProject(fproject, fixedFacets);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    -
    - //Set the runtime
    - if (facetRuntime != null)
    - {
    - status = FacetUtils.setFacetRuntimeOnProject(fproject, facetRuntime);
    - }
    -
    - } catch (CoreException ce)
    - {
    - return StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }), ce);
    - }
    -
    - return status;
    -
    - }
    -
    - /**
    - * Create an EAR component
    - * @return
    - */
    - public IStatus createEARComponent(){
    - IStatus status = Status.OK_STATUS;
    -
    - try
    - {
    - status = FacetUtils.createNewFacetedProject(projectName);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    - IProject createdProject = ProjectUtilities.getProject(projectName);
    - IFacetedProject fproject = ProjectFacetsManager.create(createdProject);
    -
    - //Decide which facets to install based on the templateId and the selected server.
    - Set facetsToAdd = getFacetsToAdd(EAR_TEMPLATE);
    - Set facetsToAddModified = facetsToAdd;
    - //If the J2EE level has been set, modify the Web facet version to be consistent.
    - if (j2eeLevel!=null && j2eeLevel.length()>0)
    - {
    - String webVersion = getEARVersionFromJ2EELevel(j2eeLevel);
    - facetsToAddModified = new HashSet();
    - Iterator itr = facetsToAdd.iterator();
    - while (itr.hasNext())
    - {
    - //If this is the ear facet, get the right version.
    - IProjectFacetVersion pfv = (IProjectFacetVersion)itr.next();
    - IProjectFacet pf = pfv.getProjectFacet();
    - if (pf.getId().equals(IModuleConstants.JST_EAR_MODULE))
    - {
    - IProjectFacetVersion webfv = pf.getVersion(webVersion);
    - facetsToAddModified.add(webfv);
    - }
    - else
    - {
    - facetsToAddModified.add(pfv);
    - }
    - }
    - }
    -
    - status = FacetUtils.addFacetsToProject(fproject, facetsToAddModified);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    -
    - Set newFacetVersions = fproject.getProjectFacets();
    - Set fixedFacets = new HashSet();
    - for (Iterator iter = newFacetVersions.iterator(); iter.hasNext();) {
    - IProjectFacetVersion facetVersion = (IProjectFacetVersion) iter.next();
    - fixedFacets.add(facetVersion.getProjectFacet());
    - }
    -
    - status = FacetUtils.setFixedFacetsOnProject(fproject, fixedFacets);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    -
    - //Set the runtime
    - if (facetRuntime != null)
    - {
    - status = FacetUtils.setFacetRuntimeOnProject(fproject, facetRuntime);
    - }
    -
    - } catch (CoreException ce)
    - {
    - return StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }), ce);
    - }
    -
    - return status;
    - }
    -
    - /**
    - * Create an EJB Component
    - * @return
    - */
    - public IStatus createEJBComponent(){
    - IStatus status = Status.OK_STATUS;
    -
    - try
    - {
    - status = FacetUtils.createNewFacetedProject(projectName);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    - IProject createdProject = ProjectUtilities.getProject(projectName);
    - IFacetedProject fproject = ProjectFacetsManager.create(createdProject);
    -
    - //Decide which facets to install based on the templateId and the selected server.
    - Set facetsToAdd = getFacetsToAdd(EJB_TEMPLATE);
    - Set facetsToAddModified = facetsToAdd;
    - //If the J2EE level has been set, modify the Web facet version to be consistent.
    - if (j2eeLevel!=null && j2eeLevel.length()>0)
    - {
    - String webVersion = getEJBVersionFromJ2EELevel(j2eeLevel);
    - facetsToAddModified = new HashSet();
    - Iterator itr = facetsToAdd.iterator();
    - while (itr.hasNext())
    - {
    - //If this is the web facet, get the right version.
    - IProjectFacetVersion pfv = (IProjectFacetVersion)itr.next();
    - IProjectFacet pf = pfv.getProjectFacet();
    - if (pf.getId().equals(IModuleConstants.JST_EJB_MODULE))
    - {
    - IProjectFacetVersion webfv = pf.getVersion(webVersion);
    - facetsToAddModified.add(webfv);
    - }
    - else
    - {
    - facetsToAddModified.add(pfv);
    - }
    - }
    - }
    -
    - status = FacetUtils.addFacetsToProject(fproject, facetsToAddModified);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    -
    - Set newFacetVersions = fproject.getProjectFacets();
    - Set fixedFacets = new HashSet();
    - for (Iterator iter = newFacetVersions.iterator(); iter.hasNext();) {
    - IProjectFacetVersion facetVersion = (IProjectFacetVersion) iter.next();
    - fixedFacets.add(facetVersion.getProjectFacet());
    - }
    -
    - status = FacetUtils.setFixedFacetsOnProject(fproject, fixedFacets);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    -
    - //Set the runtime
    - if (facetRuntime != null)
    - {
    - status = FacetUtils.setFacetRuntimeOnProject(fproject, facetRuntime);
    - }
    -
    - } catch (CoreException ce)
    - {
    - return StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_CREATE_EJB_COMPONENT, new String[] { projectName }), ce);
    - }
    -
    - return status;
    -
    - }
    -
    - /**
    - * Create an Application Client component
    - * @return
    - */
    - public IStatus createAppClientComponent()
    - {
    - IStatus status = Status.OK_STATUS;
    -
    - try
    - {
    - status = FacetUtils.createNewFacetedProject(projectName);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    - IProject createdProject = ProjectUtilities.getProject(projectName);
    - IFacetedProject fproject = ProjectFacetsManager.create(createdProject);
    -
    - //Decide which facets to install based on the templateId and the selected server.
    - Set facetsToAdd = getFacetsToAdd(APPCLIENT_TEMPLATE);
    - Set facetsToAddModified = facetsToAdd;
    - //If the J2EE level has been set, modify the Web facet version to be consistent.
    - if (j2eeLevel!=null && j2eeLevel.length()>0)
    - {
    - String webVersion = getAppClientVersionFromJ2EELevel(j2eeLevel);
    - facetsToAddModified = new HashSet();
    - Iterator itr = facetsToAdd.iterator();
    - while (itr.hasNext())
    - {
    - //If this is the web facet, get the right version.
    - IProjectFacetVersion pfv = (IProjectFacetVersion)itr.next();
    - IProjectFacet pf = pfv.getProjectFacet();
    - if (pf.getId().equals(IModuleConstants.JST_APPCLIENT_MODULE))
    - {
    - IProjectFacetVersion webfv = pf.getVersion(webVersion);
    - facetsToAddModified.add(webfv);
    - }
    - else
    - {
    - facetsToAddModified.add(pfv);
    - }
    - }
    - }
    -
    - status = FacetUtils.addFacetsToProject(fproject, facetsToAddModified);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    -
    - Set newFacetVersions = fproject.getProjectFacets();
    - Set fixedFacets = new HashSet();
    - for (Iterator iter = newFacetVersions.iterator(); iter.hasNext();) {
    - IProjectFacetVersion facetVersion = (IProjectFacetVersion) iter.next();
    - fixedFacets.add(facetVersion.getProjectFacet());
    - }
    -
    - status = FacetUtils.setFixedFacetsOnProject(fproject, fixedFacets);
    - if (status.getSeverity() == IStatus.ERROR)
    - {
    - return status;
    - }
    -
    - //Set the runtime
    - if (facetRuntime != null)
    - {
    - status = FacetUtils.setFacetRuntimeOnProject(fproject, facetRuntime);
    - }
    -
    - } catch (CoreException ce)
    - {
    - return StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_CREATE_APPCLIENT_COMPONENT, new String[] { projectName }), ce);
    - }
    -
    - return status;
    - }
    -
    - /*
    - * @return Set Returns the Set of facets to add to the new project,
    - * choosing the highest level of each facet that works on the selected server.
    - */
    - private Set getFacetsToAdd(String templateId)
    - {
    - Set facets = new HashSet();
    -
    - //Set the facet runtime.
    - setFacetRuntime();
    - if (facetRuntime != null)
    - {
    - IFacetedProjectTemplate template = ProjectFacetsManager.getTemplate(templateId);
    - Set templateFacets = template.getFixedProjectFacets();
    - Iterator templateFacetsItr = templateFacets.iterator();
    - while (templateFacetsItr.hasNext())
    - {
    - IProjectFacet fixedFacet = (IProjectFacet)templateFacetsItr.next();
    - List versions = null;
    - try {
    - versions = fixedFacet.getSortedVersions(false);
    - } catch (VersionFormatException e) {
    - Set versionSet = fixedFacet.getVersions();
    - Iterator itr = versionSet.iterator();
    - versions = new ArrayList();
    - while (itr.hasNext())
    - {
    - versions.add(itr.next());
    - }
    - } catch (CoreException e) {
    - Set versionSet = fixedFacet.getVersions();
    - Iterator itr = versionSet.iterator();
    - versions = new ArrayList();
    - while (itr.hasNext())
    - {
    - versions.add(itr.next());
    - }
    - }
    - Iterator versionsItr = versions.iterator();
    - while(versionsItr.hasNext())
    - {
    - IProjectFacetVersion pfv = (IProjectFacetVersion)versionsItr.next();
    - Set pfvs = new HashSet();
    - pfvs.add(pfv);
    -
    - //Check against Runtime
    - if (FacetUtils.doesRuntimeSupportFacets(facetRuntime, pfvs))
    - {
    - //We have a match. Add this one to the master set.
    - facets.add(pfv);
    - break;
    - }
    - }
    - }
    - }
    - else
    - {
    - facets = FacetUtils.getInitialFacetVersionsFromTemplate(templateId);
    - }
    -
    -
    - return facets;
    - }
    -
    - private void setFacetRuntime()
    - {
    -
    - if (serverInstanceId_ != null && serverInstanceId_.length()>0)
    - {
    - IServer server = ServerCore.findServer(serverInstanceId_);
    - IRuntime sRuntime = server.getRuntime();
    - facetRuntime = FacetUtil.getRuntime(sRuntime);
    - }
    - else
    - {
    - //Find a non Stub runtime that matches this server type
    - IRuntime serverRuntime = ServerUtils.getNonStubRuntime(serverFactoryId);
    - if (serverRuntime != null)
    - {
    - facetRuntime = FacetUtil.getRuntime(serverRuntime);
    - }
    - else
    - {
    - //Accept stub runtime.
    - IServerType st = ServerCore.findServerType(serverFactoryId);
    - String runtimeTypeId = st.getRuntimeType().getId();
    - //Find the facet runtime
    - IRuntime[] runtimes = ServerCore.getRuntimes();
    - for (int i=0; i<runtimes.length; i++)
    - {
    - IRuntime sRuntime = runtimes[i];
    - if (sRuntime.getRuntimeType().getId().equals(runtimeTypeId))
    - {
    - facetRuntime = FacetUtil.getRuntime(sRuntime);
    - }
    - }
    - }
    - }
    - }
    -
    - private String getWebVersionFromJ2EELevel(String j2eeVersion)
    - {
    - int aVersion = Integer.valueOf(j2eeLevel).intValue();
    - switch (aVersion) {
    - case J2EEVersionConstants.J2EE_1_2_ID:
    - return "2.2";
    -
    - case J2EEVersionConstants.J2EE_1_3_ID:
    - return "2.3";
    -
    - case J2EEVersionConstants.J2EE_1_4_ID:
    - return "2.4";
    -
    - default:
    - return "2.4";
    - }
    - }
    -
    - private String getEJBVersionFromJ2EELevel(String j2eeVersion)
    - {
    - int aVersion = Integer.valueOf(j2eeLevel).intValue();
    - switch (aVersion) {
    - case J2EEVersionConstants.J2EE_1_2_ID:
    - return "1.1";
    -
    - case J2EEVersionConstants.J2EE_1_3_ID:
    - return "2.0";
    -
    - case J2EEVersionConstants.J2EE_1_4_ID:
    - return "2.1";
    -
    - default:
    - return "2.1";
    - }
    - }
    -
    - private String getAppClientVersionFromJ2EELevel(String j2eeVersion)
    - {
    - int aVersion = Integer.valueOf(j2eeLevel).intValue();
    - switch (aVersion) {
    - case J2EEVersionConstants.J2EE_1_2_ID:
    - return "1.2";
    -
    - case J2EEVersionConstants.J2EE_1_3_ID:
    - return "1.3";
    -
    - case J2EEVersionConstants.J2EE_1_4_ID:
    - return "1.4";
    -
    - default:
    - return "1.4";
    - }
    - }
    -
    - private String getEARVersionFromJ2EELevel(String j2eeVersion)
    - {
    - int aVersion = Integer.valueOf(j2eeLevel).intValue();
    - switch (aVersion) {
    - case J2EEVersionConstants.J2EE_1_2_ID:
    - return "1.2";
    -
    - case J2EEVersionConstants.J2EE_1_3_ID:
    - return "1.3";
    -
    - case J2EEVersionConstants.J2EE_1_4_ID:
    - return "1.4";
    -
    - default:
    - return "1.4";
    - }
    - }
    -
    - public void setModuleName(String moduleName)
    - {
    - this.moduleName = moduleName;
    - }
    -
    - public int getModuleType()
    - {
    - return moduleType;
    - }
    -
    - public void setModuleType(int moduleType)
    - {
    - this.moduleType = moduleType;
    - }
    -
    - public void setProjectName(String projectName)
    - {
    - this.projectName = projectName;
    - }
    -
    - /**
    - * Expecting 12,13,14 etc.
    - * @param level
    - */
    - public void setJ2eeLevel(String level)
    - {
    - if (level !=null && level.indexOf(".")!=-1)
    - j2eeLevel = J2EEUtils.getJ2EEIntVersionAsString(level);
    - else
    - j2eeLevel = level;
    - }
    -
    - public void setServerFactoryId(String serverFactoryId)
    - {
    - this.serverFactoryId = serverFactoryId;
    - }
    -
    - public void setServerInstanceId( String serverInstanceId )
    - {
    - serverInstanceId_ = serverInstanceId;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateMonitorCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateMonitorCommand.java
    deleted file mode 100644
    index ce05bff11..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateMonitorCommand.java
    +++ /dev/null
    @@ -1,137 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.data.TypeRuntimeServer;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.ServerCore;
    -import org.eclipse.wst.server.core.ServerPort;
    -import org.eclipse.wst.server.core.internal.IMonitoredServerPort;
    -import org.eclipse.wst.server.core.internal.IServerMonitorManager;
    -import org.eclipse.wst.server.core.internal.ServerMonitorManager;
    -
    -public class CreateMonitorCommand extends AbstractDataModelOperation
    -{
    -
    - private static final String WEB_SERVICES = "Web services";
    -
    - private Boolean monitorService;
    -
    - private String serviceServerInstanceId;
    -
    - private Integer monitoredPort;
    -
    - public CreateMonitorCommand() {
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    -
    - if (monitorService != null && monitorService.booleanValue()) {
    - IServer server = ServerCore.findServer(serviceServerInstanceId);
    - if (server != null) {
    -
    - // IMonitorableServer monitorableServer = (IMonitorableServer)
    - // serverDelegate;
    - ServerPort[] ports = server.getServerPorts(null);
    - ServerPort port = null;
    - for (int it = 0; it < ports.length; it++) {
    - ServerPort p = ports[it];
    - String protocol = p.getProtocol();
    - if (protocol != null && protocol.trim().toLowerCase().equals("http")) {
    - port = p;
    - break;
    - }
    - }
    - if (port != null) {
    - IServerMonitorManager serverMonitorManager = ServerMonitorManager.getInstance();
    - IMonitoredServerPort[] monitoredPorts = serverMonitorManager.getMonitoredPorts(server);
    - for (int it2 = 0; it2 < monitoredPorts.length; it2++) {
    - IMonitoredServerPort imsPort = monitoredPorts[it2];
    - if (port.getPort() == imsPort.getServerPort().getPort() && hasContentWebServices(imsPort)) // port
    - // already
    - // being
    - // monitored
    - {
    - if (!imsPort.isStarted()) {
    - try {
    - serverMonitorManager.startMonitor(imsPort);
    - }
    - catch (CoreException ce) {
    - IStatus error = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_UNABLE_TO_START_MONITOR,
    - new Object[] { String.valueOf(port.getPort()), server.getName()}), ce);
    - env.getStatusHandler().reportError(error);
    - return error;
    - }
    - }
    - monitoredPort = new Integer(imsPort.getMonitorPort());
    - return Status.OK_STATUS;
    - }
    - }
    - try {
    - IMonitoredServerPort imsPort = serverMonitorManager.createMonitor(server, port, -1, new String[] { WEB_SERVICES});
    - serverMonitorManager.startMonitor(imsPort);
    - monitoredPort = new Integer(imsPort.getMonitorPort());
    - return Status.OK_STATUS;
    - }
    - catch (CoreException ce) {
    - IStatus error = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_UNABLE_TO_START_MONITOR, new Object[] {
    - String.valueOf(port.getPort()), server.getName()}), ce);
    - env.getStatusHandler().reportError(error);
    - return error;
    - }
    - }
    -
    - else {
    - IStatus info = StatusUtils.infoStatus( NLS.bind(ConsumptionMessages.MSG_INFO_MONITORING_NOT_SUPPORTED,
    - new Object[] { server.getName()}) );
    - env.getStatusHandler().reportInfo(info);
    - return info;
    - }
    - }
    - }
    - return Status.OK_STATUS;
    - }
    -
    - private boolean hasContentWebServices(IMonitoredServerPort imsPort) {
    - String[] contents = imsPort.getContentTypes();
    - for (int i = 0; i < contents.length; i++)
    - if (WEB_SERVICES.equals(contents[i])) return true;
    - return false;
    - }
    -
    - public void setServiceTypeRuntimeServer(TypeRuntimeServer typeRuntimeServer) {
    - this.serviceServerInstanceId = typeRuntimeServer.getServerInstanceId();
    - }
    -
    - public void setServiceServerInstanceId(String serviceServerInstanceId) {
    - this.serviceServerInstanceId = serviceServerInstanceId;
    - }
    -
    - public Integer getMonitoredPort() {
    - return monitoredPort;
    - }
    -
    - public void setMonitorService(Boolean value) {
    - monitorService = value;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateServerCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateServerCommand.java
    deleted file mode 100644
    index fe31e83af..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/CreateServerCommand.java
    +++ /dev/null
    @@ -1,123 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IRuntime;
    -import org.eclipse.wst.server.core.IServer;
    -import org.eclipse.wst.server.core.IServerType;
    -import org.eclipse.wst.server.core.IServerWorkingCopy;
    -import org.eclipse.wst.server.core.ServerCore;
    -import org.eclipse.wst.server.core.ServerUtil;
    -
    -public class CreateServerCommand extends AbstractDataModelOperation
    -{
    - private String serverFactoryId;
    - private String serverInstanceId;
    -
    - /**
    - * Creates a server of the factory id
    - * Note1: Checking for server instance == null is done in the PreService/ClientInstallCommands
    - * Note2: Reporting of errors is done in PreService/ClientInstallCommands; simply return the status.
    - */
    - public CreateServerCommand(){
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    -
    - IStatus status = Status.OK_STATUS;
    -
    - if (serverFactoryId==null){
    - status = StatusUtils.errorStatus(ConsumptionMessages.MSG_ERROR_CREATE_SERVER );
    - return status;
    - }
    -
    - IServerWorkingCopy serverWC = null;
    - IServer server = null;
    - try {
    - IServerType serverType = ServerCore.findServerType(serverFactoryId);
    - if (serverType!=null) {
    -
    - //Choose a Runtime which is not a stub
    - IRuntime nonStubRuntime = null;
    - IRuntime[] runtimes = ServerUtil.getRuntimes(null, null);
    - String serverRuntimeTypeId = serverType.getRuntimeType().getId();
    - for (int i = 0; i < runtimes.length; i++) {
    - IRuntime runtime = runtimes[i];
    - String thisRuntimeTypeId = runtime.getRuntimeType().getId();
    - if (thisRuntimeTypeId.equals(serverRuntimeTypeId) && !runtime.isStub()) {
    - //Found an appropriate IRuntime that is not a stub
    - nonStubRuntime = runtime;
    - break;
    - }
    - }
    -
    - if (nonStubRuntime==null)
    - {
    - status = StatusUtils.errorStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_STUB_ONLY,new String[]{serverFactoryId}) );
    - return status;
    - }
    -
    - if (env!=null)
    - {
    - serverWC = serverType.createServer(null, null, nonStubRuntime, monitor );
    - }
    - else
    - {
    - serverWC = serverType.createServer(null, null, nonStubRuntime, null);
    - }
    -
    - if (serverWC != null) {
    - if (env!=null)
    - server = serverWC.saveAll(true, monitor );
    - else
    - server = serverWC.saveAll(true, null);
    - }
    - }
    - } catch (CoreException ce) {
    - status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_CREATE_SERVER, ce);
    - return status;
    - }
    -
    - // set serverInstanceId
    - if (server!=null)
    - serverInstanceId = server.getId();
    - else {
    - status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_CREATE_SERVER );
    - }
    -
    - return status;
    - }
    -
    - public void setServerFactoryid(String serverFactoryId)
    - {
    - this.serverFactoryId = serverFactoryId;
    - }
    -
    - public String getServerInstanceId()
    - {
    - return serverInstanceId;
    - }
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableBuildCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableBuildCommand.java
    deleted file mode 100644
    index f10d2c35c..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableBuildCommand.java
    +++ /dev/null
    @@ -1,68 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.validate.ValidationManager;
    -import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.datamodel.Model;
    -
    -
    -public class DisableBuildCommand extends AbstractDataModelOperation
    -{
    -
    - private ValidationManager manager_;
    - /**
    - * CTOR;
    - */
    - public DisableBuildCommand()
    - {
    -
    - }
    -
    - /**
    - * Execute the command
    - */
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IStatus status = Status.OK_STATUS;
    -
    - ProgressUtils.report( monitor, ConsumptionMessages.TASK_DESC_WEBSERVICE_DISABLE_BUILD);
    -
    - if (manager_!=null) {
    - manager_.disableAutoBuild();
    - }
    - return status;
    - }
    -
    - /**
    - * Set the model
    - *
    - * @param model
    - */
    - public void setModel(Model model) {
    - }
    -
    -
    - /**
    - * @param manager_ The manager_ to set.
    - */
    - public void setValidationManager(ValidationManager manager) {
    - this.manager_ = manager;
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableValidationCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableValidationCommand.java
    deleted file mode 100644
    index c513db90b..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/DisableValidationCommand.java
    +++ /dev/null
    @@ -1,63 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.validate.ValidationManager;
    -import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -
    -public class DisableValidationCommand extends AbstractDataModelOperation
    -{
    -
    - private ValidationManager manager_;
    - private IProject serviceProject_;
    -
    - /**
    - * CTOR;
    - */
    - public DisableValidationCommand() {
    - }
    -
    - /**
    - * Execute the command
    - */
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IStatus status = Status.OK_STATUS;
    -
    - ProgressUtils.report(monitor, ConsumptionMessages.TASK_DESC_WEBSERVICE_DISABLE_VALIDATION);
    -
    - IProject project = serviceProject_;
    - if (project != null) manager_.disableValidationForProject(project);
    -
    - return status;
    - }
    -
    - /**
    - * @param manager_
    - * The manager_ to set.
    - */
    - public void setValidationManager(ValidationManager manager) {
    - this.manager_ = manager;
    - }
    -
    - public void setServiceProject(IProject serviceProject){
    - this.serviceProject_ = serviceProject;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/GetMonitorCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/GetMonitorCommand.java
    deleted file mode 100644
    index 840cd647f..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/GetMonitorCommand.java
    +++ /dev/null
    @@ -1,233 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060612 146564 kathy@ca.ibm.com - Kathy Chan
    - * 20060728 145426 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -// TODO: Get rid of this. A replacement is in org.eclipse.wst.ws.
    -
    -import java.net.MalformedURLException;
    -import java.net.URL;
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Map;
    -import java.util.Vector;
    -
    -import javax.wsdl.Definition;
    -import javax.wsdl.Port;
    -import javax.wsdl.Service;
    -import javax.wsdl.extensions.ExtensibilityElement;
    -import javax.wsdl.extensions.http.HTTPAddress;
    -import javax.wsdl.extensions.soap.SOAPAddress;
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.common.WSDLParserFactory;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.environment.StatusException;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.internet.monitor.core.internal.provisional.IMonitor;
    -import org.eclipse.wst.internet.monitor.core.internal.provisional.IMonitorWorkingCopy;
    -import org.eclipse.wst.internet.monitor.core.internal.provisional.MonitorCore;
    -import org.eclipse.wst.server.core.util.SocketUtil;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -
    -public class GetMonitorCommand extends AbstractDataModelOperation
    -{
    - private boolean monitorService;
    - private boolean create;
    - private WebServicesParser webServicesParser;
    - private String wsdlURI;
    - private List endpoints;
    - private String proxyEndpoint;
    -
    - public GetMonitorCommand()
    - {
    - monitorService = true;
    - create = true;
    - }
    -
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    -
    - endpoints = new Vector();
    - if (monitorService && wsdlURI != null && wsdlURI.length() > 0)
    - {
    - webServicesParser = WSDLParserFactory.getWSDLParser();
    - Definition definition = webServicesParser.getWSDLDefinition(wsdlURI);
    - if (definition != null)
    - {
    - Map services = definition.getServices();
    - for (Iterator servicesIt = services.values().iterator(); servicesIt.hasNext();)
    - {
    - Service service = (Service)servicesIt.next();
    - Map ports = service.getPorts();
    - for (Iterator portsIt = ports.values().iterator(); portsIt.hasNext();)
    - {
    - Port wsdlPort = (Port)portsIt.next();
    - List extElements = wsdlPort.getExtensibilityElements();
    - for (Iterator extElementsIt = extElements.iterator(); extElementsIt.hasNext();)
    - {
    - ExtensibilityElement extElement = (ExtensibilityElement)extElementsIt.next();
    - String endpoint = null;
    - URL endpointURL = null;
    - if (extElement instanceof SOAPAddress)
    - endpoint = ((SOAPAddress)extElement).getLocationURI();
    - else if (extElement instanceof HTTPAddress)
    - endpoint = ((HTTPAddress)extElement).getLocationURI();
    - if (endpoint != null)
    - {
    - try
    - {
    - endpointURL = new URL(endpoint);
    - }
    - catch (MalformedURLException murle)
    - {
    - }
    - }
    - if (endpointURL != null)
    - {
    - String protocol = endpointURL.getProtocol();
    - String host = endpointURL.getHost();
    - int port = endpointURL.getPort();
    - if (port == -1)
    - {
    - if ("http".equalsIgnoreCase(protocol))
    - port = 80;
    - else if ("https".equalsIgnoreCase(protocol))
    - port = 443;
    - }
    - if (protocol != null && protocol.startsWith("http") && host != null && host.length() > 0 && port != -1)
    - {
    - IMonitor m = null;
    - IMonitor[] monitors = MonitorCore.getMonitors();
    - for (int i=0; i<monitors.length; i++)
    - {
    - if (host.equalsIgnoreCase(monitors[i].getRemoteHost()) && port == monitors[i].getRemotePort())
    - {
    - m = monitors[i];
    - break;
    - }
    - }
    - if (m == null && create)
    - {
    - int monitoredPort = SocketUtil.findUnusedPort(5000, 15000);
    - IMonitorWorkingCopy monitorWorkingCopy = MonitorCore.createMonitor();
    - monitorWorkingCopy.setLocalPort(monitoredPort);
    - monitorWorkingCopy.setRemoteHost(host);
    - monitorWorkingCopy.setRemotePort(port);
    - monitorWorkingCopy.setProtocol("HTTP");
    - try
    - {
    - m = monitorWorkingCopy.save();
    - }
    - catch (Throwable t)
    - {
    - IStatus warning = StatusUtils.warningStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_UNABLE_TO_START_MONITOR, new Object[]{String.valueOf(port), endpoint}), t);
    - try
    - {
    - if (env != null)
    - env.getStatusHandler().report(warning);
    - }
    - catch (StatusException se)
    - {
    - }
    - }
    - }
    - if (m != null)
    - {
    - try
    - {
    - if (!m.isRunning())
    - m.start();
    - // Use the endpoint that matches with the proxy the extension passes to us if it is set
    - if (proxyEndpoint != null) {
    - try {
    - endpointURL = new URL(proxyEndpoint);
    - } catch (MalformedURLException murle)
    - {
    - // ignore proxy endpoint
    - }
    - }
    - StringBuffer sb = new StringBuffer(endpointURL.getProtocol());
    - sb.append("://localhost:");
    - sb.append(String.valueOf(m.getLocalPort()));
    - sb.append(endpointURL.getFile());
    - endpoints.add(sb.toString());
    - }
    -
    - catch (Throwable t)
    - {
    - IStatus warning = StatusUtils.warningStatus( NLS.bind(ConsumptionMessages.MSG_ERROR_UNABLE_TO_START_MONITOR, new Object[]{String.valueOf(port), endpoint}), t);
    - try
    - {
    - if (env != null)
    - env.getStatusHandler().report(warning);
    - }
    - catch (StatusException se)
    - {
    - }
    - }
    - }
    - }
    - }
    - }
    - }
    - }
    - }
    - }
    - return Status.OK_STATUS;
    - }
    -
    - public void setMonitorService(boolean monitorService)
    - {
    - this.monitorService = monitorService;
    - }
    -
    - public void setDefinition(Definition definition)
    - {
    - }
    -
    - public void setWebServicesParser(WebServicesParser webServicesParser)
    - {
    - this.webServicesParser = webServicesParser;
    - }
    -
    - public void setWsdlURI(String wsdlURI)
    - {
    - this.wsdlURI = wsdlURI;
    - }
    -
    - public void setCreate(boolean create)
    - {
    - this.create = create;
    - }
    -
    - public List getEndpoints()
    - {
    - return endpoints;
    - }
    -
    - /**
    - * @param proxyEndpoint The proxyEndpoint to set.
    - */
    - public void setProxyEndpoint(String proxyEndpoint) {
    - this.proxyEndpoint = proxyEndpoint;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/JavaMofReflectionCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/JavaMofReflectionCommand.java
    deleted file mode 100644
    index b0ad9da58..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/JavaMofReflectionCommand.java
    +++ /dev/null
    @@ -1,114 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -
    -//core stuff
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.JavaHelpers;
    -import org.eclipse.jem.java.JavaRefFactory;
    -import org.eclipse.jem.util.emf.workbench.nature.EMFNature;
    -import org.eclipse.jem.workbench.utility.JemProjectUtilities;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -
    -/**
    -* This class is to be used to Build the data model
    -* first we get the java class and then build the model
    -*/
    -public class JavaMofReflectionCommand extends AbstractDataModelOperation
    -{
    -
    - public static String LABEL = "JavaMofReflectionCommand";
    - public static String DESCRIPTION = "reflection for a given class";
    - public static String OK_MESSAGE = "The model has been built ";
    - private static String JAVA_EXTENSION = ".java";
    - private static String CLASS_EXTENSION = ".class";
    -
    - private String clientProject;
    - private JavaHelpers javaClass;
    - private String qname;
    - private String proxyBean;
    -
    - /**
    - * Constructs a new JavaMofReflectionCommand with the given label and description
    - *
    - */
    - public JavaMofReflectionCommand()
    - {
    - }
    -
    - // setters for this command
    -
    -
    - /**
    - * The end result of this whole process is to get the Java Class
    - */
    - public JavaHelpers getJavaClass()
    - {
    - return javaClass;
    - }
    -
    -
    - private void processQName()
    - {
    - qname = proxyBean;
    - if (qname.toLowerCase().endsWith(JAVA_EXTENSION)) {
    - qname = qname.substring(0,(qname.length() -5));
    - }
    - if (qname.toLowerCase().endsWith(CLASS_EXTENSION)) {
    - qname = qname.substring(0,(qname.length() -6));
    - }
    - }
    -
    - /**
    - * Get the java model from the resource then
    - * build the model from the mof
    - */
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - //just make sure the project and qname are there
    - //they are essential for this operation
    - IStatus status = Status.OK_STATUS;
    - IProject clientIProject = (IProject)ResourceUtils.findResource(clientProject);
    - processQName();
    - if(clientProject == null || qname == null)
    - return StatusUtils.warningStatus( ConsumptionMessages.MSG_WARN_UNABLE_TO_FIND_PROXY );
    -
    - try {
    - EMFNature nature = JemProjectUtilities.getJEM_EMF_Nature(clientIProject, true);
    - javaClass = JavaRefFactory.eINSTANCE.reflectType(qname, nature.getResourceSet());
    - } catch (CoreException e) {
    - }
    -
    - return status;
    - }
    -
    - public void setProxyBean(String proxyBean)
    - {
    - this.proxyBean = proxyBean;
    - }
    -
    - public void setClientProject(String clientProject)
    - {
    - this.clientProject = clientProject;
    - }
    -
    - }
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ManageServerStartUpCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ManageServerStartUpCommand.java
    deleted file mode 100644
    index 5ca1c3224..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/ManageServerStartUpCommand.java
    +++ /dev/null
    @@ -1,139 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IServer;
    -
    -public class ManageServerStartUpCommand extends AbstractDataModelOperation
    -{
    -
    - private Boolean isStartServiceEnabled_;
    - private Boolean isTestServiceEnabled_;
    -
    - private IProject serviceProject_;
    - private String serviceServerTypeId_;
    - private IServer serviceExistingServer_;
    -
    - private IProject sampleProject_;
    - private String sampleServerTypeId_;
    - private IServer sampleExistingServer_;
    -
    - private boolean isWebProjectStartupRequested_;
    -
    - /**
    - * Default CTOR;
    - */
    - public ManageServerStartUpCommand( ) {
    -
    - }
    -
    - /**
    - * Execute the command
    - */
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    - IStatus status = Status.OK_STATUS;
    - ProgressUtils.report(monitor, ConsumptionMessages.PROGRESS_INFO_START_WEB_PROJECT);
    -
    - if (isStartServiceEnabled_.booleanValue() && serviceExistingServer_!=null){
    - //System.out.println("Calling service server start: "+serviceProject_+" "+serviceServerTypeId_);
    - StartProjectCommand spc = new StartProjectCommand( );
    - spc.setServiceProject(serviceProject_);
    - spc.setServiceServerTypeID(serviceServerTypeId_);
    - spc.setServiceExistingServer(serviceExistingServer_);
    - spc.setIsWebProjectStartupRequested(isWebProjectStartupRequested_);
    - spc.setEnvironment( env );
    - spc.execute( null, null );
    - }
    -
    - if(isTestServiceEnabled_.booleanValue()&& sampleExistingServer_!=null && serviceExistingServer_!=null && !sampleExistingServer_.equals(serviceExistingServer_)){
    - //System.out.println("Calling client server start: "+sampleProject_+" "+sampleExistingServer__);
    - StartProjectCommand spc = new StartProjectCommand( );
    - spc.setSampleProject(sampleProject_);
    - spc.setSampleServerTypeID(sampleServerTypeId_);
    - spc.setSampleExistingServer(sampleExistingServer_);
    - spc.setCreationScenario(new Boolean("false"));
    - spc.setEnvironment( env );
    - spc.execute( null, null );
    - }
    -
    - return status;
    - }
    -
    - /**
    - * @param isStartServiceEnabled The isStartServiceEnabled to set.
    - */
    - public void setStartService(Boolean isStartServiceEnabled) {
    - this.isStartServiceEnabled_ = isStartServiceEnabled;
    - }
    - /**
    - * @param isTestServiceEnabled The isTestServiceEnabled to set.
    - */
    - public void setTestService(Boolean isTestServiceEnabled) {
    - this.isTestServiceEnabled_ = isTestServiceEnabled;
    - }
    - /**
    - * @param serviceExistingServer The serviceExistingServer to set.
    - */
    - public void setServiceExistingServer(IServer serviceExistingServer) {
    - this.serviceExistingServer_ = serviceExistingServer;
    - }
    -
    - /**
    - * @param serviceServerTypeId The serviceServerTypeId to set.
    - */
    - public void setServiceServerTypeId(String serviceServerTypeId) {
    - this.serviceServerTypeId_ = serviceServerTypeId;
    - }
    - /**
    - * @param serviceProject The serviceProject to set.
    - */
    - public void setServiceProject(IProject serviceProject) {
    - this.serviceProject_ = serviceProject;
    - }
    -
    - /**
    - * @param sampleExistingServer The sampleExistingServer to set.
    - */
    - public void setSampleExistingServer(IServer sampleExistingServer) {
    - this.sampleExistingServer_ = sampleExistingServer;
    - }
    - /**
    - * @param sampleProject The sampleProject to set.
    - */
    - public void setSampleProject(IProject sampleProject) {
    - this.sampleProject_ = sampleProject;
    - }
    - /**
    - * @param sampleServerTypeId The sampleServerTypeId to set.
    - */
    - public void setSampleServerTypeId(String sampleServerTypeId) {
    - this.sampleServerTypeId_ = sampleServerTypeId;
    - }
    -
    - /**
    - * @param isRestartProjectNeeded The isRestartProjectNeeded to set.
    - */
    - public void setIsWebProjectStartupRequested(boolean isRestartProjectNeeded) {
    - this.isWebProjectStartupRequested_ = isRestartProjectNeeded;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreBuildStateCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreBuildStateCommand.java
    deleted file mode 100644
    index f663b4846..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreBuildStateCommand.java
    +++ /dev/null
    @@ -1,56 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.validate.ValidationManager;
    -import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -
    -public class RestoreBuildStateCommand extends AbstractDataModelOperation
    -{
    -
    - private ValidationManager manager_;
    -
    - /**
    - * Default CTOR;
    - */
    - public RestoreBuildStateCommand()
    - {
    - }
    -
    - /**
    - * Execute the command
    - */
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - ProgressUtils.report( monitor, ConsumptionMessages.TASK_DESC_WEBSERVICE_RESTORE_BUILD);
    -
    - manager_.restoreAutoBuild();
    -
    - return Status.OK_STATUS;
    - }
    -
    - /**
    - * @param manager_ The manager_ to set.
    - */
    - public void setValidationManager(ValidationManager manager) {
    - this.manager_ = manager;
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreValidationStateCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreValidationStateCommand.java
    deleted file mode 100644
    index 6ae6317ea..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/RestoreValidationStateCommand.java
    +++ /dev/null
    @@ -1,58 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.validate.ValidationManager;
    -import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -
    -
    -public class RestoreValidationStateCommand extends AbstractDataModelOperation
    -{
    - private ValidationManager manager_;
    -
    - private boolean runValidation_;
    -
    - /**
    - * Default CTOR;
    - */
    - public RestoreValidationStateCommand( boolean runValidation )
    - {
    - runValidation_ = runValidation;
    - }
    -
    - /**
    - * Execute the command
    - */
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - ProgressUtils.report( monitor, ConsumptionMessages.TASK_DESC_WEBSERVICE_RESTORE_VALIDATION);
    -
    - manager_.restoreValidationForProjects( runValidation_ );
    -
    - return Status.OK_STATUS;
    - }
    -
    - /**
    - * @param manager The validation manager to set.
    - */
    - public void setValidationManager(ValidationManager manager) {
    - this.manager_ = manager;
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/SkeletonMergeCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/SkeletonMergeCommand.java
    deleted file mode 100644
    index 30f1da3f2..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/SkeletonMergeCommand.java
    +++ /dev/null
    @@ -1,113 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060330 128827 kathy@ca.ibm.com - Kathy Chan
    - * 20060403 128827 kathy@ca.ibm.com - Kathy Chan
    - * 20060524 141925 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import java.io.ByteArrayInputStream;
    -import java.io.InputStream;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Path;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.plugin.WebServicePlugin;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.common.MergeUtils;
    -import org.eclipse.wst.ws.internal.plugin.WSPlugin;
    -import org.eclipse.wst.ws.internal.preferences.PersistentMergeContext;
    -
    -public class SkeletonMergeCommand extends AbstractDataModelOperation
    -{
    - private String[] urls_;
    - private String projectName_;
    -
    - public SkeletonMergeCommand(String projectName)
    - {
    - projectName_ = projectName;
    - }
    -
    - public void setUrls(String[] urls)
    - {
    - this.urls_ = urls;
    - }
    -
    - // Merge the content of the skeleton files (represented by urls_ with the previous version stored.
    - // The Web service extensions triggers the storing of the content of the old skeleton file by
    - // calling WebServiceInfo.setImplURLs() before the new skeleton is generated in the extension's
    - // develop() method.
    -
    - public IStatus execute(IProgressMonitor monitor, IAdaptable info)
    - {
    -
    - IStatus status = Status.OK_STATUS;
    - IEnvironment environment = getEnvironment();
    - ResourceContext context = WebServicePlugin.getInstance().getResourceContext();
    - PersistentMergeContext mergeContext = WSPlugin.getInstance().getMergeContext();
    - if (mergeContext.isSkeletonMergeEnabled()) {
    - // merge the skeleton implementation file with the model stored earlier
    -
    - String mergedContent;
    - String filename;
    - InputStream inStream = null;
    - if (urls_ != null) {
    - for (int i = 0; i < urls_.length; i++) {
    - filename = MergeUtils.getFileFromURL(urls_[i]);
    - if (filename != null) {
    - mergedContent = MergeUtils.mergeFile(filename);
    - if (mergedContent != null) {
    - // write the merged content back into the file, respecting file overwrite preference
    - IPath targetPath = new Path(filename);
    - IProject project = ProjectUtilities.getProject(projectName_);
    - byte[] buf = null;
    - if (project != null) {
    - try {
    - buf = mergedContent.getBytes(project.getDefaultCharset());
    - } catch (Throwable e) {
    - buf = mergedContent.getBytes();
    - }
    - } else {
    - buf = mergedContent.getBytes();
    - }
    - inStream = new ByteArrayInputStream(buf);
    -
    - if (inStream != null) {
    - try {
    - FileResourceUtils.createFileAtLocation(context, targetPath.makeAbsolute(), inStream,
    - monitor, environment.getStatusHandler());
    - } catch (CoreException e) {
    - status = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_FILE_MERGE, urls_), e);
    - environment.getStatusHandler().reportError( status );
    - }
    - }
    - }
    - }
    - }
    - }
    - }
    -
    - return status;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/StartProjectCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/StartProjectCommand.java
    deleted file mode 100644
    index ef01e27a5..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/command/common/StartProjectCommand.java
    +++ /dev/null
    @@ -1,156 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.command.common;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.ServerUtils;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.common.WebServiceStartServerRegistry;
    -import org.eclipse.wst.command.internal.env.core.common.ProgressUtils;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.server.core.IServer;
    -
    -public class StartProjectCommand extends AbstractDataModelOperation
    -{
    -
    -private Boolean creationScenario_ = Boolean.TRUE;
    -
    -private boolean isWebProjectStartupRequested_;
    -private IProject serviceProject_;
    -private IProject sampleProject_;
    -private String serviceServerTypeID_;
    -private String sampleServerTypeID_;
    -private IServer serviceExistingServer_;
    -private IServer sampleExistingServer_;
    -
    -
    -/**
    - * Default CTOR;
    - */
    -public StartProjectCommand( ) {
    -
    -}
    -
    -/**
    - * Default CTOR;
    - */
    -public StartProjectCommand(boolean creationScenario ) {
    - creationScenario_ = new Boolean(creationScenario);
    -}
    -
    -/**
    - * Execute the command
    - */
    -public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    -{
    - IEnvironment env = getEnvironment();
    -
    - IStatus status = Status.OK_STATUS;
    - ProgressUtils.report( monitor, ConsumptionMessages.PROGRESS_INFO_START_WEB_PROJECT);
    -
    -
    - IProject project = ((creationScenario_.booleanValue()) ? serviceProject_ : sampleProject_);
    - String serverTypeID = ((creationScenario_.booleanValue()) ? serviceServerTypeID_ : sampleServerTypeID_);
    - IServer server = ((creationScenario_.booleanValue()) ? serviceExistingServer_ : sampleExistingServer_);
    - if (serverTypeID == null && server!=null) {
    - serverTypeID = server.getServerType().getId();
    - }
    - if (project == null)
    - {
    - status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_PROJECT_NOT_FOUND );
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    - IServer instance = ServerUtils.getServerForModule(ServerUtils.getModule(project), serverTypeID, server, true, monitor );
    - if (instance == null)
    - {
    - status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_INSTANCE_NOT_FOUND );
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    -
    - try
    - {
    - AbstractStartServer startServerCommand = null;
    - WebServiceStartServerRegistry reg = WebServiceStartServerRegistry.getInstance();
    - startServerCommand = (AbstractStartServer)reg.getServerStartByTypeId(instance.getServerType().getId());
    - startServerCommand.StartServer(project, instance, monitor, isWebProjectStartupRequested_);
    - return status;
    - }
    - catch (CoreException ce )
    - {
    - IStatus embeddedStatus = ce.getStatus();
    - status = embeddedStatus;
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    - catch (Exception e)
    - {
    - status = StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SERVER, e);
    - env.getStatusHandler().reportError(status);
    - return status;
    - }
    -
    -}
    -
    -public void setCreationScenario(Boolean creationScenario)
    -{
    - creationScenario_ = creationScenario;
    -}
    -
    -public void setServiceProject(IProject serviceProject)
    -{
    - serviceProject_ = serviceProject;
    -}
    -
    -public void setSampleProject(IProject sampleProject)
    -{
    - sampleProject_ = sampleProject;
    -}
    -
    -public void setServiceServerTypeID(String serviceServerTypeID)
    -{
    - serviceServerTypeID_ = serviceServerTypeID;
    -}
    -
    -public void setSampleServerTypeID(String sampleServerTypeID)
    -{
    - sampleServerTypeID_ = sampleServerTypeID;
    -}
    -
    -public void setServiceExistingServer(IServer serviceExistingServer)
    -{
    - serviceExistingServer_ = serviceExistingServer;
    - if (serviceExistingServer_ != null)
    - setServiceServerTypeID(serviceExistingServer_.getServerType().getId());
    -}
    -
    -public void setSampleExistingServer(IServer sampleExistingServer)
    -{
    - sampleExistingServer_ = sampleExistingServer;
    - if (sampleExistingServer_ != null)
    - setSampleServerTypeID(sampleExistingServer_.getServerType().getId());
    -}
    -
    -public void setIsWebProjectStartupRequested(boolean webProjectStartupRequested)
    -{
    - isWebProjectStartupRequested_ = webProjectStartupRequested;
    -}
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetMatcher.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetMatcher.java
    deleted file mode 100644
    index 5fac372d0..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetMatcher.java
    +++ /dev/null
    @@ -1,61 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.common;
    -
    -import java.util.Set;
    -
    -public class FacetMatcher
    -{
    - private boolean match;
    - private Set facetsTested;
    - private Set facetsThatMatched;
    - private Set facetsToAdd;
    -
    - public Set getFacetsThatMatched()
    - {
    - return facetsThatMatched;
    - }
    - public void setFacetsThatMatched(Set facetsThatMatched)
    - {
    - this.facetsThatMatched = facetsThatMatched;
    - }
    - public Set getFacetsToAdd()
    - {
    - return facetsToAdd;
    - }
    - public void setFacetsToAdd(Set facetsToAdd)
    - {
    - this.facetsToAdd = facetsToAdd;
    - }
    - public boolean isMatch()
    - {
    - return match;
    - }
    - public void setMatch(boolean match)
    - {
    - this.match = match;
    - }
    - public Set getFacetsTested()
    - {
    - return facetsTested;
    - }
    - public void setFacetsTested(Set facetsTested)
    - {
    - this.facetsTested = facetsTested;
    - }
    -
    -
    -
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetSetsByTemplateCache.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetSetsByTemplateCache.java
    deleted file mode 100644
    index 7922db8ec..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetSetsByTemplateCache.java
    +++ /dev/null
    @@ -1,145 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner (creation)
    - * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.common;
    -
    -import java.util.ArrayList;
    -import java.util.Hashtable;
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Set;
    -
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate;
    -import org.eclipse.wst.common.project.facet.core.IProjectFacet;
    -import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
    -import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
    -import org.eclipse.wst.common.project.facet.core.VersionFormatException;
    -
    -
    -/**
    - * FacetSetsByTemplateCache caches the sets of facet version combinations for templates.
    - */
    -public class FacetSetsByTemplateCache
    -{
    - // single instance per workbench
    - private static FacetSetsByTemplateCache instance_;
    -
    - //facetSetsByTemplateId_:
    - //key: Object of type String. String id of an IFacetedProjectTemplate.
    - //value: Object of Set[]. An array of Sets where each set contains elements of type IProjectFacetVersion.
    - private Hashtable facetSetsByTemplateId_;
    - /**
    - * Returns a singleton instance of this class.
    - *
    - * @return A singleton FacetSetsByTemplateCache object.
    - */
    - public static synchronized FacetSetsByTemplateCache getInstance()
    - {
    - if (instance_ == null)
    - {
    - instance_ = new FacetSetsByTemplateCache();
    - instance_.load();
    - }
    - return instance_;
    - }
    -
    - private void load()
    - {
    - facetSetsByTemplateId_ = new Hashtable();
    - }
    -
    - /**
    - * Returns all the valid facet version combinations that can be derived from the fixed facets
    - * of the given template. For example, if the template has two fixed facets, A and B,
    - * and A has versions 1.0 and 2.0, B has versions 1.1, 2.1,
    - * the following array of Sets will be returned (assuming for the sake of the example
    - * that all the combinations are valid):<br/>
    - * {Set1, Set2, Set3, Set4}, where<br/>
    - * Set1 = [A1.0, B1.1]<br/>
    - * Set2 = [A2.0, B1.1]<br/>
    - * Set3 = [A1.0, B2.1]<br/>
    - * Set4 = [A2.0, B2.1]<br/>
    - * <br/>
    - * @param templateId id of an {@link IFacetedProjectTemplate}
    - * @return Set[] An array of Sets where each set contains elements of type {@link IProjectFacetVersion}.
    - */
    - public synchronized Set[] getFacetVersionCombinationsFromTemplate(String templateId)
    - {
    - //Return the cached combinations if present.
    - Set[] cachedCombinations = (Set[])facetSetsByTemplateId_.get(templateId);
    - if (cachedCombinations != null)
    - {
    - return cachedCombinations;
    - }
    - else
    - {
    - //Combinations have not yet been cached for the given template.
    - //Determine the combinations and cache them.
    - IFacetedProjectTemplate template = ProjectFacetsManager.getTemplate(templateId);
    - Set fixedFacets = template.getFixedProjectFacets();
    -
    - //Create an array of arrays. Each element of the array will contain the array
    - //of IProjectFacetVersions for each IProjectFacet in the set of fixed facets.
    - Iterator itr = fixedFacets.iterator();
    - ArrayList projectFacetVersionArrays = new ArrayList();
    -
    - while (itr.hasNext())
    - {
    - IProjectFacet facet = (IProjectFacet) itr.next();
    - List versions = null;
    - try
    - {
    - // Get the facet versions in ascending order.
    - versions = facet.getSortedVersions(true);
    - } catch (VersionFormatException e) {
    - Set versionSet = facet.getVersions();
    - Iterator versionSetItr = versionSet.iterator();
    - versions = new ArrayList();
    - while (versionSetItr.hasNext())
    - {
    - versions.add(itr.next());
    - }
    - } catch (CoreException e) {
    - Set versionSet = facet.getVersions();
    - Iterator versionSetItr = versionSet.iterator();
    - versions = new ArrayList();
    - while (versionSetItr.hasNext())
    - {
    - versions.add(itr.next());
    - }
    - }
    - if (versions.size() > 0)
    - {
    - //Create an array of IProjectFacetVersions from versions.
    - Iterator versionItr = versions.iterator();
    - ArrayList arrayOfVersionsList = new ArrayList();
    - while (versionItr.hasNext())
    - {
    - IProjectFacetVersion pfv = (IProjectFacetVersion)versionItr.next();
    - arrayOfVersionsList.add(pfv);
    - }
    -
    - //Add the array of versions to the list of arrays.
    - projectFacetVersionArrays.add((IProjectFacetVersion[])arrayOfVersionsList.toArray(new IProjectFacetVersion[0]));
    - }
    - }
    -
    - IProjectFacetVersion[][] arrayOfProjectFacetVersionArrays = (IProjectFacetVersion[][])projectFacetVersionArrays.toArray(new IProjectFacetVersion[0][0]);
    - Set[] allValidCombinationsArray = FacetUtils.getFacetCombinations(arrayOfProjectFacetVersionArrays, true);
    - facetSetsByTemplateId_.put(templateId, allValidCombinationsArray);
    - return allValidCombinationsArray;
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetUtils.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetUtils.java
    deleted file mode 100644
    index 941465430..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FacetUtils.java
    +++ /dev/null
    @@ -1,1386 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005, 2007 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060217 126757 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060419 137548 kathy@ca.ibm.com - Kathy Chan
    - * 20060427 126780 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060503 126819 rsinha@ca.ibm.com - Rupam Kuehner
    - * 20060523 133714 joan@ca.ibm.com - Joan Haggarty
    - * 20060920 158061 kathy@ca.ibm.com - Kathy Chan, Do not add module to EAR when adding J2EE facets to project
    - * 20070124 162326 kathy@ca.ibm.com - Kathy Chan
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.common;
    -
    -import java.lang.reflect.InvocationTargetException;
    -import java.util.ArrayList;
    -import java.util.HashSet;
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Set;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jdt.core.IJavaProject;
    -import org.eclipse.jdt.core.JavaCore;
    -import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
    -import org.eclipse.jface.operation.IRunnableWithProgress;
    -import org.eclipse.jst.j2ee.internal.ejb.project.operations.EjbFacetInstallDataModelProvider;
    -import org.eclipse.jst.j2ee.internal.ejb.project.operations.IEjbFacetInstallDataModelProperties;
    -import org.eclipse.jst.j2ee.project.facet.AppClientFacetInstallDataModelProvider;
    -import org.eclipse.jst.j2ee.project.facet.IAppClientFacetInstallDataModelProperties;
    -import org.eclipse.jst.j2ee.project.facet.IUtilityFacetInstallDataModelProperties;
    -import org.eclipse.jst.j2ee.project.facet.UtilityFacetInstallDataModelProvider;
    -import org.eclipse.jst.j2ee.web.project.facet.IWebFacetInstallDataModelProperties;
    -import org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDataModelProvider;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -import org.eclipse.jst.ws.internal.common.ResourceUtils;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.osgi.util.NLS;
    -import org.eclipse.swt.widgets.Display;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.common.componentcore.internal.util.IModuleConstants;
    -import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
    -import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
    -import org.eclipse.wst.common.project.facet.core.IFacetedProject;
    -import org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate;
    -import org.eclipse.wst.common.project.facet.core.IProjectFacet;
    -import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
    -import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
    -import org.eclipse.wst.common.project.facet.core.VersionFormatException;
    -import org.eclipse.wst.common.project.facet.core.IFacetedProject.Action;
    -import org.eclipse.wst.common.project.facet.core.IFacetedProject.Action.Type;
    -import org.eclipse.wst.common.project.facet.core.runtime.IRuntime;
    -import org.eclipse.wst.common.project.facet.core.runtime.RuntimeManager;
    -
    -import com.ibm.icu.util.StringTokenizer;
    -
    -/**
    - * FacetUtils contains utility methods related to facets and templates.
    - * <br/><br/>
    - * Terminology used in the Javadoc in this class
    - * <ul>
    - * <li><b>facet</b>: An {@link IProjectFacet}</li>
    - * <li><b>facet version</b>: An {@link IProjectFacetVersion} </li>
    - * <li><b>facet runtime</b>: An {@link IRuntime}</li>
    - * <li><b>faceted project</b>: An {@link IFacetedProject}. A faceted project may be obtained
    - * from an IProject (@see ProjectFacetsManager#create)</li>
    - * <li><b>template</b>: An {@link IFacetedProjectTemplate}. Conceptually this is similar to a project type.</li>
    - * <li><b>required facet version</b>: A {@link RequiredFacetVersion}. Used by serviceRuntimes and clientRuntimes
    - * to identify what they require in terms of facet versions.</li>
    - * </ul>
    - */
    -public class FacetUtils
    -{
    -
    - /**
    - * Returns an array of valid projects. Valid projects include projects with the facets nature or
    - * projects with the Java nature.
    - * @return IProject[] an array of valid projects
    - */
    - public static IProject[] getAllProjects()
    - {
    - //Return all projects in the workspace that have the project facet nature or that do not have the project
    - //facet nature but have the Java nature.
    - IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
    - ArrayList validProjects = new ArrayList();
    - for (int i = 0; i < projects.length; i++)
    - {
    - try
    - {
    - IFacetedProject facProject = ProjectFacetsManager.create(projects[i]);
    - if (facProject != null)
    - {
    - //Add it to the list
    - validProjects.add(projects[i]);
    - }
    - else
    - {
    - if (ResourceUtils.isJavaProject(projects[i]))
    - {
    - validProjects.add(projects[i]);
    - }
    - }
    - }
    - catch (CoreException ce)
    - {
    - }
    - }
    - return (IProject[])validProjects.toArray(new IProject[]{});
    - }
    -
    - /**
    - * Returns the facet versions on the given project.
    - * @param projectName name of an existing project.
    - * @returns Set containing elements of type {@link IProjectFacetVersion}.
    - * These are the facet versions currently installed on this project. If the project
    - * is a Java project, facets are inferred from the Java project. Returns null
    - * <ul>
    - * <li>if the project is not a faceted project or a Java project or</li>
    - * <li>if the project does not exist or</li>
    - * <li>if the project is null</li>
    - * </ul>
    - */
    - public static Set getFacetsForProject(String projectName)
    - {
    - Set facetVersions = null;
    - IProject project = ProjectUtilities.getProject(projectName);
    - if (project!=null && project.exists())
    - {
    - try
    - {
    - IFacetedProject fproject = ProjectFacetsManager.create(project);
    - if (fproject != null)
    - {
    - facetVersions = fproject.getProjectFacets();
    - } else
    - {
    - //If this is not a faceted project, it may still be okay if it is a Java project
    - //and the client runtime supports a Java project.
    - IJavaProject javaProject = null;
    - if (ResourceUtils.isJavaProject(project))
    - {
    - javaProject = JavaCore.create(project);
    - facetVersions = FacetUtils.getFacetsForJavaProject(javaProject);
    - }
    - }
    - } catch (CoreException ce)
    - {
    - //Leaving the catch block empty. This method will return null if there
    - //were any blow-ups in the facet API being called.
    - }
    - }
    -
    - return facetVersions;
    -
    - }
    -
    - /**
    - * Returns the facet runtime the given project is bound to.
    - * @param projectName name of an existing project
    - * @return {@link IRuntime} the project is bound to. Returns null
    - * <ul>
    - * <li>if the project is not bound to a facet runtime</li>
    - * <li>if the project does not exist</li>
    - * <li>if the project is null</li>
    - * </ul>
    - */
    - public static IRuntime getFacetRuntimeForProject(String projectName)
    - {
    - IProject project = ProjectUtilities.getProject(projectName);
    - if (project!=null && project.exists())
    - {
    - try
    - {
    - IFacetedProject fproject = ProjectFacetsManager.create(project);
    - if (fproject != null)
    - {
    - return fproject.getRuntime();
    - }
    - } catch (CoreException ce)
    - {
    - //Leaving the catch block empty. This method will return null if there
    - //were any blow-ups in the facet API being called.
    - }
    - }
    -
    - return null;
    - }
    -
    -
    - /**
    - * Returns a set of combinations of facet versions derived from the facet versions
    - * in the provided arrayOfProjectFacetVersionArrays. For example, if
    - * arrayOfProjectFacetVersionArrays is a two dimenstional array of facet versions that has
    - * a structure like this:<br/>
    - * {{FacetA_version1, FacetA_version2},<br/>
    - * {FacetB_version1},<br/>
    - * {FacetC_version1, FacetC_version2}}<br/>
    - * the following array of Sets will be returned:<br/>
    - * {Set1, Set2, Set3, Set4}, where<br/>
    - * Set1 = [FacetA_version1, FacetB_version1, FacetC_version1]<br/>
    - * Set2 = [FacetA_version2, FacetB_version1, FacetC_version1]<br/>
    - * Set3 = [FacetA_version1, FacetB_version1, FacetC_version2]<br/>
    - * Set4 = [FacetA_version2, FacetB_version1, FacetC_version2]<br/>
    - * <br/>
    - * @param arrayOfProjectFacetVersionArrays a two dimensional array containing elements
    - * of type {@link IProjectFacetVersion}
    - * @param returnValidOnly false if all combinations of facet versions are to be returned.
    - * true if only valid combinations of facet versions are to be returned.
    - * @return Set[] an array of Sets, where each Set contains elements of type {@link IProjectFacetVersion}.
    - */
    - public static Set[] getFacetCombinations(IProjectFacetVersion[][] arrayOfProjectFacetVersionArrays, boolean returnValidOnly)
    - {
    - ArrayList allCombinations = new ArrayList();
    - //maxCount contains the number of versions in each array of IProjectFacetVersions.
    - //initialize counter, which will be used to navigate arrayOfProjectFacetVersionArrays.
    - int n = arrayOfProjectFacetVersionArrays.length;
    - int[] maxCount = new int[n];
    - int[] counter = new int[n];
    - for (int i=0; i<n; i++)
    - {
    - maxCount[i] = arrayOfProjectFacetVersionArrays[i].length - 1;
    - counter[i] = 0;
    - }
    -
    - //Navigate arrayOfProjectFacetVersionArrays to create all possible combinations.
    - boolean done = false;
    - while (!done)
    - {
    - //Create a combination of size n using current values in counter.
    - //Add it to the list of all combinations, checking first for validity if returnValidOnly is true.
    - Set combination = new HashSet();
    - for (int j=0; j<n; j++)
    - {
    - IProjectFacetVersion pfv = arrayOfProjectFacetVersionArrays[j][counter[j]];
    - combination.add(pfv);
    - }
    -
    - //Check if valid.
    - if (returnValidOnly)
    - {
    - Set actions = getInstallActions(combination);
    - try {
    - if( ProjectFacetsManager.check( new HashSet(), actions ).getSeverity() == IStatus.OK )
    - {
    - allCombinations.add((combination));
    - }
    - } catch (Throwable e) {
    - // Do nothing if ProjectFacetsManager.check() throws exception.
    - // TODO This try/catch will be unneccesary once WTP bug 137551 is fixed so that an OK Status
    - // would not be returned when an exception is thrown.
    - }
    - }
    - else
    - {
    - allCombinations.add((combination));
    - }
    -
    - //Update the counters.
    - for (int p=0; p<n; p++)
    - {
    - if ( (counter[p] + 1) <= maxCount[p])
    - {
    - (counter[p])++;
    - break;
    - }
    - else
    - {
    - counter[p] = 0;
    - if (p == n-1)
    - {
    - done = true;
    - }
    - }
    - }
    - }
    -
    - Set[] allCombinationsArray = (Set[])allCombinations.toArray(new Set[0]);
    - return allCombinationsArray;
    - }
    -
    - /**
    - * Returns a set of facet versions given a template. The highest facet version of every fixed
    - * facet in the template is returned, with the exception of the jst.java facet, where the 1.4
    - * facet version is returned.
    - *
    - * @param templateId id of a {@link IFacetedProjectTemplate}
    - * @return Set containing elements of type {@link IProjectFacetVersion}
    - */
    - public static Set getInitialFacetVersionsFromTemplate(String templateId)
    - {
    - IFacetedProjectTemplate template = ProjectFacetsManager.getTemplate(templateId);
    - Set fixedFacets = template.getFixedProjectFacets();
    - HashSet initial = new HashSet();
    - for (Iterator itr2 = fixedFacets.iterator(); itr2.hasNext(); )
    - {
    - IProjectFacet facet = (IProjectFacet) itr2.next();
    - IProjectFacetVersion highestFacetVersion = null;
    - try {
    - if (isJavaFacet(facet)) //special case the java facet because 1.4 is a better default than 5.0 for now.
    - {
    - highestFacetVersion = facet.getVersion("1.4");
    - } else {
    - highestFacetVersion = facet.getLatestVersion();
    - }
    - } catch (VersionFormatException e) {
    - } catch (CoreException e) {
    - }
    - initial.add(highestFacetVersion);
    - }
    -
    - return initial;
    - }
    -
    - /**
    - * Returns the template lables corresponding to the provided templateIds.
    - * @param templateIds array of valid template ids. Each id must correspond to a {@link IFacetedProjectTemplate}.
    - * @return String[] array of template labels.
    - */
    - public static String[] getTemplateLabels(String[] templateIds)
    - {
    - String[] labels = new String[templateIds.length];
    - for (int i=0; i<templateIds.length; i++)
    - {
    - IFacetedProjectTemplate template = ProjectFacetsManager.getTemplate(templateIds[i]);
    - labels[i] = template.getLabel();
    - }
    - return labels;
    -
    - }
    -
    - /**
    - * Returns the id of a template given its label.
    - *
    - * @param templateLabel label of a template
    - * @return template id or empty String if no {@link IFacetedProjectTemplate} with the
    - * given templateLabel could be found.
    - */
    - public static String getTemplateIdByLabel(String templateLabel)
    - {
    - for( Iterator itr = ProjectFacetsManager.getTemplates().iterator(); itr.hasNext(); )
    - {
    - final IFacetedProjectTemplate template = (IFacetedProjectTemplate) itr.next();
    - if (template.getLabel().equals(templateLabel))
    - {
    - return template.getId();
    -
    - }
    - }
    -
    - return "";
    - }
    -
    - /**
    - * Returns the label of a template given its id
    - *
    - * @param templateId id of a {@link IFacetedProjectTemplate}
    - * @return template label
    - */
    - public static String getTemplateLabelById(String templateId)
    - {
    - IFacetedProjectTemplate template = ProjectFacetsManager.getTemplate(templateId);
    - return template.getLabel();
    - }
    -
    - /**
    - * Returns a set of install actions for the provided facet version
    - *
    - * @param projectFacetVersions Set containing elements of type {@link IProjectFacetVersion}
    - * @return Set containing elements of type {@link Action} with the type attribute set to Type.INSTALL
    - * The set contains one Action for each {@link IProjectFacetVersion} in projectFacetVersions.
    - */
    - public static Set getInstallActions(Set projectFacetVersions)
    - {
    - HashSet actions = new HashSet();
    -
    - Iterator facets = projectFacetVersions.iterator();
    -
    - while(facets.hasNext())
    - {
    - IProjectFacetVersion fv = (IProjectFacetVersion)facets.next();
    - if (fv != null) {
    - IProjectFacet pf = fv.getProjectFacet();
    - Action action = new Action(Type.INSTALL, fv, getConfigObject(pf));
    - actions.add(action);
    - }
    - }
    -
    - return actions;
    - }
    -
    - /**
    - * Returns the data model config object for the given project facet
    - * For J2EE facets, set Add_TO_EAR properties of the data model to false,
    - * for other facets, just return null
    - * @param facetID
    - * @return data model config object
    - */
    - public static Object getConfigObject(IProjectFacet projectFacet)
    - {
    -
    - IDataModel dm = null;
    - if (projectFacet != null) {
    - String facetId = projectFacet.getId();
    - if (facetId != null) {
    - // set Add to EAR to false
    - if (facetId.equals(IModuleConstants.JST_WEB_MODULE)) {
    - dm = DataModelFactory.createDataModel(new WebFacetInstallDataModelProvider());
    - dm.setBooleanProperty(IWebFacetInstallDataModelProperties.ADD_TO_EAR, false);
    - } else if (facetId.equals(IModuleConstants.JST_EJB_MODULE)) {
    - dm = DataModelFactory.createDataModel(new EjbFacetInstallDataModelProvider());
    - dm.setBooleanProperty(IEjbFacetInstallDataModelProperties.ADD_TO_EAR, false);
    - } else if (facetId.equals(IModuleConstants.JST_APPCLIENT_MODULE)) {
    - dm = DataModelFactory.createDataModel(new AppClientFacetInstallDataModelProvider());
    - dm.setBooleanProperty(IAppClientFacetInstallDataModelProperties.ADD_TO_EAR, false);
    - } else if (facetId.equals(IModuleConstants.JST_UTILITY_MODULE)) {
    - dm = DataModelFactory.createDataModel(new UtilityFacetInstallDataModelProvider());
    - dm.setBooleanProperty(IUtilityFacetInstallDataModelProperties.ADD_TO_EAR, false);
    - }
    - }
    - }
    - return dm;
    - }
    - /**
    - * Returns the {@link FacetMatcher} calculated when checking the required facet versions
    - * against the facet versions.
    - *
    - * @param requiredFacetVersions array of required facet versions
    - * @param projectFacetVersions facet versions to check against. Set containing elements of type
    - * {@link IProjectFacetVersion}
    - * @return FacetMatcher with the following characteristics:
    - * <ul>
    - * <li><b>isMatch</b>: returns true if the required facet versions already exist in the facet versions
    - * or can be added to the facet versions. isMatch will return false otherwise.</li>
    - * <li><b>getFacetsTested</b>: returns the same set of facet versions as the input parameter, projectFacetVersions</li>
    - * <li><b>getFacetsThatMatched</b>: if isMatch returns false, getFacetsThatMatched returns null. If isMatch returns true,
    - * getFacetsThatMatched returns the subset of facet versions in the input parameter, projectFacetVersions,
    - * that matched one of the required facet versions. This may be an empty set.</li>
    - * <li><b>getFacetsToAdd</b>: if isMatch returns false, getFacetsToAdd returns null. If isMatch returns true,
    - * getFacetsToAdd returns the subset of facet versions that would need to be added to the facet versions in
    - * projectFacetVersions in order to satisfy the requirements of the required facet versions. This may be
    - * an empty set.</li>
    - * </ul>
    - */
    - public static FacetMatcher match(RequiredFacetVersion[] requiredFacetVersions, Set projectFacetVersions)
    - {
    - FacetMatcher fm = new FacetMatcher();
    - fm.setFacetsTested(projectFacetVersions);
    - HashSet facetsToAdd = new HashSet();
    - HashSet requiredFacetVersionsToAdd = new HashSet();
    - HashSet facetsThatMatched = new HashSet();
    - for (int i=0; i<requiredFacetVersions.length; i++)
    - {
    - RequiredFacetVersion rfv = requiredFacetVersions[i];
    - IProjectFacetVersion rpfv = rfv.getProjectFacetVersion();
    - String rid = rpfv.getProjectFacet().getId();
    - String rv = rpfv.getVersionString();
    - boolean facetPresent = false;
    -
    - //Is the project facet present? or a later version of applicable.
    - Iterator itr = projectFacetVersions.iterator();
    - while(itr.hasNext())
    - {
    - IProjectFacetVersion pfv = (IProjectFacetVersion)itr.next();
    - String id = pfv.getProjectFacet().getId();
    - String version = pfv.getVersionString();
    - if (rid.equals(id))
    - {
    - if (rv.equals(version))
    - {
    - //found an exact match
    - facetPresent = true;
    - facetsThatMatched.add(pfv);
    - }
    - else
    - {
    - if (rfv.getAllowNewer())
    - {
    - if (greaterThan(version, rv))
    - {
    - //found a match
    - facetPresent = true;
    - facetsThatMatched.add(pfv);
    - }
    - }
    - }
    - //No need to keep iterating since we hit a facet with the same id;
    - break;
    - }
    - }
    -
    - //if not present, put it in the list to check if it can be added.
    - if (!facetPresent)
    - {
    - facetsToAdd.add(rpfv);
    - requiredFacetVersionsToAdd.add(rfv);
    - }
    -
    - }
    -
    - //Check if the facetsToAdd can be added
    - if (requiredFacetVersionsToAdd.size() > 0)
    - {
    - //Test all possible combinations of the facets that need to be added
    - //Create an array of arrays. Each element of the array will contain the array
    - //of the permitted IProjectFacetVersions for each required facet.
    - boolean facetsCanBeAdded = false;
    - Iterator itr = requiredFacetVersionsToAdd.iterator();
    - ArrayList projectFacetVersionArrays = new ArrayList();
    -
    - while (itr.hasNext())
    - {
    - RequiredFacetVersion reqFacetVersion = (RequiredFacetVersion) itr.next();
    - IProjectFacetVersion[] versions = reqFacetVersion.getAllowedProjectFacetVersions();
    - if (versions != null && versions.length > 0)
    - {
    - //Add the array of versions to the list of arrays.
    - projectFacetVersionArrays.add(versions);
    - }
    - }
    -
    - IProjectFacetVersion[][] arrayOfProjectFacetVersionArrays = (IProjectFacetVersion[][])projectFacetVersionArrays.toArray(new IProjectFacetVersion[0][0]);
    - Set[] combinations = getFacetCombinations(arrayOfProjectFacetVersionArrays, false);
    - for (int i=0; i<combinations.length; i++)
    - {
    - //Check if the set can be added. If so, this is a match. Update the facet matcher and break.
    - Set actions = getInstallActions(combinations[i]);
    - try {
    - if( ProjectFacetsManager.check( projectFacetVersions, actions ).getSeverity() == IStatus.OK )
    - {
    - //Facets can be added so there is a match
    - facetsCanBeAdded=true;
    - fm.setMatch(true);
    - fm.setFacetsThatMatched(facetsThatMatched);
    - fm.setFacetsToAdd(combinations[i]);
    - break;
    - }
    - } catch (Throwable e) {
    - // Do nothing if ProjectFacetsManager.check() throws exception.
    - // TODO This try/catch will be unneccesary once WTP bug 137551 is fixed so that an OK Status
    - // would not be returned when an exception is thrown.
    - }
    - }
    -
    -
    - if (!facetsCanBeAdded)
    - {
    - fm.setMatch(false);
    - }
    - }
    - else
    - {
    - //There are no facets to add.
    - fm.setMatch(true);
    - fm.setFacetsThatMatched(facetsThatMatched);
    - fm.setFacetsToAdd(facetsToAdd);
    - }
    -
    - return fm;
    - }
    -
    - /**
    - * Adds facet versions to the provided project if required based on checking provided
    - * required facet versions against the facet versions already installed on project.
    - *
    - * @param project IProject which exists in the workspace
    - * @param rfvs array of required facet versions.
    - * @param monitor progress monitor
    - * @return IStatus with severity IStatus.ERROR
    - * <ul>
    - * <li>if the project does not exist or</li>
    - * <li>if the project is not open or</li>
    - * <li>an attempt to add facet versions to the project resulted in an error.</li>
    - * </ul>
    - * Otherwise, returns an IStatus with severity IStatus.OK
    - */
    - public static IStatus addRequiredFacetsToProject(IProject project, RequiredFacetVersion[] rfvs, IProgressMonitor monitor)
    - {
    - IStatus status = Status.OK_STATUS;
    -
    - Set missingFacets = null;
    - Set facetsToAdd = new HashSet();
    - try
    - {
    - IFacetedProject fProject = ProjectFacetsManager.create(project);
    - if (fProject != null)
    - {
    - Set projectFacetVersions = fProject.getProjectFacets();
    - FacetMatcher projectFacetMatcher = FacetUtils.match(rfvs, projectFacetVersions);
    - if (projectFacetMatcher.isMatch())
    - {
    - missingFacets = projectFacetMatcher.getFacetsToAdd();
    - if (missingFacets.size() > 0)
    - {
    - IRuntime fRuntime = null;
    - fRuntime = FacetUtils.getFacetRuntimeForProject(project.getName());
    - if (fRuntime != null)
    - {
    - //Add the highest version supported by the runtime the project is bound to.
    - Iterator missingFacetsItr = missingFacets.iterator();
    - while (missingFacetsItr.hasNext())
    - {
    - IProjectFacet facet = ((IProjectFacetVersion)missingFacetsItr.next()).getProjectFacet();
    - //Get the highest level of this facet supported by the runtime.
    - List versions = null;
    - try {
    - versions = facet.getSortedVersions(false);
    - } catch (VersionFormatException e) {
    - Set versionSet = facet.getVersions();
    - Iterator itr = versionSet.iterator();
    - versions = new ArrayList();
    - while (itr.hasNext())
    - {
    - versions.add(itr.next());
    - }
    - } catch (CoreException e) {
    - Set versionSet = facet.getVersions();
    - Iterator itr = versionSet.iterator();
    - versions = new ArrayList();
    - while (itr.hasNext())
    - {
    - versions.add(itr.next());
    - }
    - }
    -
    - //Iterate over the versions in descending order and pick the
    - //first one that fRuntime supports.
    - Iterator versionsItr = versions.iterator();
    - while(versionsItr.hasNext())
    - {
    - boolean match = false;
    - IProjectFacetVersion pfv = (IProjectFacetVersion)versionsItr.next();
    - Set pfvs = new HashSet();
    - pfvs.add(pfv);
    -
    - //Check the required facets to see if this version of this facet is supported.
    - for (int j=0; j<rfvs.length; j++)
    - {
    - RequiredFacetVersion rfv = rfvs[j];
    - IProjectFacetVersion rpfv = rfv.getProjectFacetVersion();
    - if (rpfv.getProjectFacet().getId().equals(pfv.getProjectFacet().getId()))
    - {
    - if (rpfv.getVersionString().equals(pfv.getVersionString()))
    - {
    - match = true;
    - }
    - else
    - {
    - if (rfv.getAllowNewer())
    - {
    - if (greaterThan(pfv.getVersionString(), rpfv.getVersionString()))
    - {
    - match = true;
    - }
    - }
    - }
    - }
    - }
    -
    - if (match)
    - {
    - //Check against Runtime
    - if (FacetUtils.doesRuntimeSupportFacets(fRuntime, pfvs))
    - {
    - //We have a match. Add this one to the master set.
    - facetsToAdd.add(pfv);
    - break;
    - }
    - }
    - }
    - }
    - }
    - else
    - {
    - facetsToAdd = missingFacets;
    - }
    -
    - status = addFacetsToProject(fProject, facetsToAdd);
    - }
    - }
    - }
    - } catch (CoreException ce)
    - {
    - //Display an appropriate error message to the user.
    - //A CoreException could have been thrown for any of the following three reasons
    - //1. The project does not exist
    - //2. The project is not open
    - //3. There was a problem adding the facets to the project.
    -
    - if (!project.exists())
    - {
    - status = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_DOES_NOT_EXIST, new String[] { project.getName()}));
    - }
    - else if (!project.isOpen())
    - {
    - status = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_IS_NOT_OPEN, new String[] { project.getName()}));
    - }
    - else
    - {
    - status = getErrorStatusForAddingFacets(project.getName(), facetsToAdd, ce);
    - }
    - }
    -
    - return status;
    - }
    -
    -
    - /**
    - * Adds the provided set of facet versions to the provided faceted project
    - *
    - * @param fproject A faceted project which exists in the workspace
    - * @param projectFacetVersions A set containing elements of type {@link IProjectFacetVersion}
    - * @return An IStatus with a severity of IStatus.OK if the facet
    - * versions were added successfully. Otherwise, an IStatus with a severity of
    - * IStatus.ERROR.
    - */
    - public static IStatus addFacetsToProject(final IFacetedProject fproject, final Set projectFacetVersions)
    - {
    - final IStatus[] status = new IStatus[1];
    - status[0] = Status.OK_STATUS;
    - final Set actions = getInstallActions(projectFacetVersions);
    -
    - // Create a runnable that applies the install actions to the faceted project
    - IRunnableWithProgress runnable = new IRunnableWithProgress()
    - {
    - public void run(IProgressMonitor shellMonitor) throws InvocationTargetException, InterruptedException
    - {
    - try
    - {
    - fproject.modify(actions, shellMonitor);
    - } catch (CoreException e)
    - {
    - status[0] = getErrorStatusForAddingFacets(fproject.getProject().getName(), projectFacetVersions, e);
    - }
    - }
    - };
    -
    - // Run the runnable in another thread unless there is no UI thread (Ant scenarios)
    - if (Display.getCurrent() != null)
    - {
    - try
    - {
    - PlatformUI.getWorkbench().getProgressService().run(true, false, runnable);
    - } catch (InvocationTargetException ite)
    - {
    - status[0] = getErrorStatusForAddingFacets(fproject.getProject().getName(), projectFacetVersions, ite);
    - } catch (InterruptedException ie)
    - {
    - status[0] = getErrorStatusForAddingFacets(fproject.getProject().getName(), projectFacetVersions, ie);
    - }
    - }
    - else
    - {
    - try
    - {
    - fproject.modify(actions, null);
    - } catch (CoreException e)
    - {
    - status[0] = getErrorStatusForAddingFacets(fproject.getProject().getName(), projectFacetVersions, e);
    - }
    - }
    -
    - return status[0];
    - }
    -
    - /**
    - * Returns an error status indicating that the facet versions could not be
    - * added to the faceted project
    - *
    - * @param projectName a project name to insert in the error message in the IStatus
    - * @param projectFacetVersions a set containing elements of type {@link IProjectFacetVersion}.
    - * The facets in this set will be listed in the error message in the IStatus.
    - * @param t a Throwable which will be inserted in the IStatus
    - * @return an IStatus with severity IStatus.ERROR
    - */
    - private static IStatus getErrorStatusForAddingFacets(String projectName, Set projectFacetVersions, Throwable t)
    - {
    - IStatus status = Status.OK_STATUS;
    - int size = projectFacetVersions.size();
    - if (size > 0)
    - {
    - Set facets = new HashSet();
    - //Iterate over projectFacetVersions to form a set of IProjectFacets
    - Iterator itr = projectFacetVersions.iterator();
    - while (itr.hasNext())
    - {
    - IProjectFacetVersion projectFacet = (IProjectFacetVersion)itr.next();
    - IProjectFacet facet = projectFacet.getProjectFacet();
    - facets.add(facet);
    - }
    - String facetList = getFacetListMessageString(facets);
    - status = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_ADDING_FACETS_TO_PROJECT, new String[] { projectName, facetList}), t);
    - }
    -
    - return status;
    - }
    -
    - /**
    - * Creates a new faceted project with the provided name
    - *
    - * @param projectName A String containing the name of the project to be created
    - * @return An IStatus with a severity of IStatus.OK if the faceted project
    - * was created successfully or if a project of the provided name already
    - * exists in the workspace. Otherwise, an IStatus with severity of
    - * IStatus.ERROR.
    - */
    - public static IStatus createNewFacetedProject(final String projectName)
    - {
    - final IStatus[] status = new IStatus[1];
    - status[0] = Status.OK_STATUS;
    - IProject project = ProjectUtilities.getProject(projectName);
    - if (!project.exists())
    - {
    - // Create a runnable that creates a new faceted project.
    - IRunnableWithProgress runnable = new IRunnableWithProgress()
    - {
    - public void run(IProgressMonitor shellMonitor) throws InvocationTargetException, InterruptedException
    - {
    - try
    - {
    - IFacetedProject fProject = ProjectFacetsManager.create(projectName, null, shellMonitor);
    - if (fProject == null)
    - {
    - status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }));
    - }
    - } catch (CoreException e)
    - {
    - status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }), e);
    - }
    - }
    - };
    -
    - // Run the runnable in another thread unless there is no UI thread (Ant scenarios)
    - try
    - {
    - if (Display.getCurrent() != null)
    - {
    - PlatformUI.getWorkbench().getProgressService().run(true, false, runnable);
    - }
    - else
    - {
    - try
    - {
    - IFacetedProject fProject = ProjectFacetsManager.create(projectName, null, null);
    - if (fProject == null)
    - {
    - status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }));
    - }
    - } catch (CoreException e)
    - {
    - status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }), e);
    - }
    - }
    - } catch (InvocationTargetException ite)
    - {
    - status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }), ite);
    - } catch (InterruptedException ie)
    - {
    - status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_PROJECT_CREATION, new String[] { projectName }), ie);
    - }
    - }
    -
    - return status[0];
    - }
    -
    - /**
    - * Sets the provided set of facets as fixed on the faceted project
    - *
    - * @param fProject A faceted project which exists in the workspace
    - * @param fixedFacets A set containing elements of type {@link IProjectFacet}
    - * @return An IStatus with a severity of IStatus.OK if the facets
    - * were successfully set as fixed facets on the faceted project.
    - * Otherwise, an IStatus with a severity of IStatus.ERROR.
    - *
    - * @see IFacetedProject#setFixedProjectFacets
    - */
    - public static IStatus setFixedFacetsOnProject(final IFacetedProject fProject, final Set fixedFacets)
    - {
    - final IStatus[] status = new IStatus[1];
    - status[0] = Status.OK_STATUS;
    -
    - //Create a runnable that sets the fixed facets on the faceted project
    - IRunnableWithProgress runnable = new IRunnableWithProgress()
    - {
    - public void run(IProgressMonitor shellMonitor) throws InvocationTargetException, InterruptedException
    - {
    - try
    - {
    - fProject.setFixedProjectFacets(fixedFacets);
    - } catch (CoreException e)
    - {
    - status[0] = getErrorStatusForSettingFixedFacets(fProject.getProject().getName(), fixedFacets, e);
    - }
    - }
    - };
    -
    - // Run the runnable in another thread unless there is no UI thread (Ant scenarios)
    - if (Display.getCurrent() != null)
    - {
    - try
    - {
    - PlatformUI.getWorkbench().getProgressService().run(true, false, runnable);
    - } catch (InvocationTargetException ite)
    - {
    - status[0] = getErrorStatusForSettingFixedFacets(fProject.getProject().getName(), fixedFacets, ite);
    - } catch (InterruptedException ie)
    - {
    - status[0] = getErrorStatusForSettingFixedFacets(fProject.getProject().getName(), fixedFacets, ie);
    - }
    - }
    - else
    - {
    - try
    - {
    - fProject.setFixedProjectFacets(fixedFacets);
    - } catch (CoreException e)
    - {
    - status[0] = getErrorStatusForSettingFixedFacets(fProject.getProject().getName(), fixedFacets, e);
    - }
    - }
    -
    - return status[0];
    - }
    -
    - /**
    - * Returns an error status indicating that the facets could not be
    - * set as fixed facets on the faceted project
    - *
    - * @param projectName a project name to insert in the error message in the IStatus
    - * @param facets a set containing elements of type {@link IProjectFacet}.
    - * The facets in this set will be listed in the error message in the IStatus.
    - * @param t a Throwable which will be inserted in the IStatus
    - * @return an IStatus with severity IStatus.ERROR
    - */
    - private static IStatus getErrorStatusForSettingFixedFacets(String projectName, Set facets, Throwable t)
    - {
    - IStatus status = Status.OK_STATUS;
    - int size = facets.size();
    - if (size > 0)
    - {
    - String facetList = getFacetListMessageString(facets);
    - status = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_FIXED_FACETS, new String[] { projectName, facetList}), t);
    - }
    -
    - return status;
    - }
    -
    -
    - /**
    - * Binds the faceted project to the facet runtime
    - *
    - * @param fProject A faceted project which exists in the workspace
    - * @param fRuntime A facet runtime
    - * @return An IStatus with a severity of IStatus.OK if the faceted project
    - * was bound to the facet runtime successfully. Otherwise, an IStatus with severity of
    - * IStatus.ERROR.
    - */
    - public static IStatus setFacetRuntimeOnProject(final IFacetedProject fProject, final IRuntime fRuntime)
    - {
    - final IStatus[] status = new IStatus[1];
    - status[0] = Status.OK_STATUS;
    -
    - //Create a runnable that sets the facet runtime on the faceted project
    - IRunnableWithProgress runnable = new IRunnableWithProgress()
    - {
    - public void run(IProgressMonitor shellMonitor) throws InvocationTargetException, InterruptedException
    - {
    - try
    - {
    - fProject.setRuntime(fRuntime, shellMonitor);
    - } catch (CoreException e)
    - {
    - status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_SETTING_RUNTIME, new String[] { fProject.getProject().getName(), fRuntime.getName() }), e);
    - }
    - }
    - };
    -
    - // Run the runnable in another thread unless there is no UI thread (Ant scenarios)
    - if (Display.getCurrent() != null)
    - {
    - try
    - {
    - PlatformUI.getWorkbench().getProgressService().run(true, false, runnable);
    - } catch (InvocationTargetException ite)
    - {
    - status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_SETTING_RUNTIME, new String[] { fProject.getProject().getName(), fRuntime.getName() }), ite);
    - } catch (InterruptedException ie)
    - {
    - status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_SETTING_RUNTIME, new String[] { fProject.getProject().getName(), fRuntime.getName() }), ie);
    - }
    - }
    - else
    - {
    - try
    - {
    - fProject.setRuntime(fRuntime, null); //jvh - happens here...
    - } catch (CoreException e)
    - {
    - status[0] = StatusUtils.errorStatus(NLS.bind(ConsumptionMessages.MSG_ERROR_SETTING_RUNTIME, new String[] { fProject.getProject().getName(), fRuntime.getName() }), e);
    - }
    - }
    -
    -
    - return status[0];
    - }
    -
    - /**
    - * Returns a translatable delimited list of facet labels derived from the provided
    - * set of facets
    - *
    - * @param facets a set containing elements of type {@link IProjectFacet}
    - * @return String a delimited list of facet labels
    - */
    - private static String getFacetListMessageString(Set facets)
    - {
    - String facetListMessage = "";
    - int size = facets.size();
    - if (size > 0)
    - {
    - Iterator itr = facets.iterator();
    - IProjectFacet firstProjectFacet = (IProjectFacet)itr.next();
    - facetListMessage = firstProjectFacet.getLabel();
    -
    - //Continue appending to facetListMessage until all the facet labels
    - //are in the list.
    - while (itr.hasNext())
    - {
    - IProjectFacet projectFacet = (IProjectFacet)itr.next();
    - String pfLabel = projectFacet.getLabel();
    - facetListMessage = NLS.bind(ConsumptionMessages.MSG_FACETS, new String[] {facetListMessage, pfLabel});
    - }
    - }
    -
    - return facetListMessage;
    - }
    -
    -
    - /**
    - * Returns the set of facet versions which can be inferred from the provided Java project
    - *
    - * @param javaProject a Java project that exists in the workspace. Must not be null.
    - * @return Set containing elements of type {@link IProjectFacetVersion}
    - */
    - public static Set getFacetsForJavaProject(IJavaProject javaProject)
    - {
    - Set facets = new HashSet();
    - String jdkComplianceLevel = null;
    - if (javaProject!=null)
    - {
    - jdkComplianceLevel = javaProject.getOption("org.eclipse.jdt.core.compiler.compliance", false);
    - if (jdkComplianceLevel == null)
    - {
    - jdkComplianceLevel = JavaCore.getOption(JavaCore.COMPILER_COMPLIANCE);
    - if (jdkComplianceLevel == null)
    - {
    - jdkComplianceLevel = "1.4";
    - }
    - }
    - }
    -
    - IProjectFacet javaFacet = ProjectFacetsManager.getProjectFacet(IModuleConstants.JST_JAVA);
    - IProjectFacetVersion javaFacetVersion = null;
    - if (jdkComplianceLevel.equals("1.3"))
    - {
    - javaFacetVersion = javaFacet.getVersion("1.3");
    - }
    - else if (jdkComplianceLevel.equals("1.4"))
    - {
    - javaFacetVersion = javaFacet.getVersion("1.4");
    - }
    - else if (jdkComplianceLevel.equals("1.5"))
    - {
    - javaFacetVersion = javaFacet.getVersion("5.0");
    - }
    - else
    - {
    - javaFacetVersion = javaFacet.getVersion("1.4");
    - }
    -
    - facets.add(javaFacetVersion);
    - IProjectFacet utilityFacet = ProjectFacetsManager.getProjectFacet(IModuleConstants.JST_UTILITY_MODULE);
    - IProjectFacetVersion utilityFacetVersion = null;
    - try
    - {
    - utilityFacetVersion = utilityFacet.getLatestVersion();
    - }
    - catch (CoreException ce)
    - {
    -
    - }
    - if (utilityFacetVersion != null)
    - {
    - facets.add(utilityFacetVersion);
    - }
    - return facets;
    - }
    -
    -
    - //Methods related to facet runtimes.
    -
    - /**
    - * Returns a set of facet runtimes that support the given
    - * required facet versions.
    - * @param requiredFacetVersions an array containing elements of type {@link RequiredFacetVersion}
    - * @return Set set of facet runtimes that support the given required facet versions.
    - * (element type: {@link IRuntime})
    - */
    - public static Set getRuntimes(RequiredFacetVersion[] requiredFacetVersions)
    - {
    - //Form the sets of IProjectFacetVersions these RequiredFacetVersions represent.
    - ArrayList listOfFacetSets = new ArrayList();
    -
    - HashSet facets = new HashSet();
    - int javaFacetIndex = -1;
    - for (int i=0; i<requiredFacetVersions.length; i++)
    - {
    - IProjectFacetVersion pfv = requiredFacetVersions[i].getProjectFacetVersion();
    - if (FacetUtils.isJavaFacet(pfv.getProjectFacet()))
    - {
    - //Remember the index
    - javaFacetIndex = i;
    - }
    - facets.add(requiredFacetVersions[i].getProjectFacetVersion());
    - }
    -
    - listOfFacetSets.add(facets);
    -
    - //If the java facet was one of the facets in the set, and new versions of java are allowed,
    - //create sets that contain the newer permitted versions of the java facets.
    - if (javaFacetIndex > -1)
    - {
    - ArrayList permittedJavaVersions = new ArrayList();
    - RequiredFacetVersion rfv = requiredFacetVersions[javaFacetIndex];
    - if (rfv.getAllowNewer())
    - {
    - String version = rfv.getProjectFacetVersion().getVersionString();
    - Set allVersions = rfv.getProjectFacetVersion().getProjectFacet().getVersions();
    - Iterator itr = allVersions.iterator();
    - while (itr.hasNext())
    - {
    - IProjectFacetVersion thisPfv = (IProjectFacetVersion)itr.next();
    - String thisVersion = thisPfv.getVersionString();
    - if (greaterThan(thisVersion, version))
    - {
    - permittedJavaVersions.add(thisVersion);
    - }
    - }
    -
    - String[] javaVersions = (String[])permittedJavaVersions.toArray(new String[0]);
    -
    - for (int j=0; j<javaVersions.length; j++)
    - {
    - HashSet thisFacetSet = new HashSet();
    -
    - for (int k=0; k<requiredFacetVersions.length; k++)
    - {
    - if (k==javaFacetIndex)
    - {
    - IProjectFacetVersion pfv = requiredFacetVersions[k].getProjectFacetVersion().getProjectFacet().getVersion(javaVersions[j]);
    - thisFacetSet.add(pfv);
    - }
    - else
    - {
    - IProjectFacetVersion pfv = requiredFacetVersions[k].getProjectFacetVersion();
    - thisFacetSet.add(pfv);
    - }
    - }
    -
    - listOfFacetSets.add(thisFacetSet);
    - }
    - }
    - }
    -
    - //Return the union of runtimes for all the facetSets.
    - return getRuntimes((Set[])listOfFacetSets.toArray(new Set[0]));
    -
    - }
    -
    - /**
    - * Returns whether or not the provided facet runtime supports the provided
    - * required facet versions.
    - *
    - * @param requiredFacetVersions an array containing elements of type {@link RequiredFacetVersion}
    - * @param fRuntimeName name of a {@link IRuntime}
    - * @return boolean <code>true</code> if the facet runtime supports the required facet versions.
    - * Returns <code>false</code> otherwise.
    - */
    - public static boolean isFacetRuntimeSupported(RequiredFacetVersion[] requiredFacetVersions, String fRuntimeName)
    - {
    - Set fRuntimes = getRuntimes(requiredFacetVersions);
    - Iterator itr = fRuntimes.iterator();
    - while (itr.hasNext())
    - {
    - IRuntime runtime = (IRuntime)itr.next();
    - if (runtime.getName().equals(fRuntimeName))
    - {
    - return true;
    - }
    - }
    -
    - return false;
    - }
    -
    - /**
    - * Returns the union of facet runtimes that support the provided sets of facet versions.
    - *
    - * @param facetSets array of Sets, where each Set contains elements of type {@link IProjectFacetVersion}.
    - * @return Set containing elements of type {@link IRuntime}
    - */
    - public static Set getRuntimes(Set[] facetSets)
    - {
    - HashSet unionSet = new HashSet();
    - for (int i=0; i<facetSets.length; i++)
    - {
    - Set facets = facetSets[i];
    - Set runtimes = RuntimeManager.getRuntimes(facets);
    - Iterator itr = runtimes.iterator();
    - while (itr.hasNext())
    - {
    - IRuntime runtime = (IRuntime)itr.next();
    - if (!unionSet.contains(runtime))
    - {
    - unionSet.add(runtime);
    - }
    - }
    - }
    - return unionSet;
    - }
    -
    - /**
    - * Returns whether or not the provided facet runtime supports the provided set of facet versions.
    - *
    - * @param facetRuntime a facet runtime
    - * @param projectFacetVersions set containing elements of type {@link IProjectFacetVersion}
    - * @return boolean <code>true</code> if the facet runtime supports the provided set of facet versions.
    - * Returns <code>false</code> otherwise.
    - */
    - public static boolean doesRuntimeSupportFacets(IRuntime facetRuntime, Set projectFacetVersions)
    - {
    - Set runtimes = RuntimeManager.getRuntimes(projectFacetVersions);
    - Iterator itr = runtimes.iterator();
    - while (itr.hasNext())
    - {
    - IRuntime runtime = (IRuntime)itr.next();
    - if (runtime.getName().equals(facetRuntime.getName()))
    - {
    - return true;
    - }
    - }
    -
    - return false;
    - }
    -
    - /**
    - * Returns whether versionA is greater than versionB
    - *
    - * @param versionA version number of the form 1.2.3
    - * @param versionA version number of the form 1.2.3
    - * @return boolean <code>true</code> if versionA is greater than versionB, <code>false</code> otherwise.
    - */
    - public static boolean greaterThan(String versionA, String versionB)
    - {
    - StringTokenizer stA = new StringTokenizer(versionA, ".");
    - StringTokenizer stB = new StringTokenizer(versionB, ".");
    -
    - int sizeA = stA.countTokens();
    - int sizeB = stB.countTokens();
    -
    - int size;
    - if (sizeA < sizeB)
    - {
    - size = sizeA;
    - }
    - else
    - size = sizeB;
    -
    - for (int i=0; i<size; i++)
    - {
    - int a = Integer.parseInt(stA.nextToken());
    - int b = Integer.parseInt(stB.nextToken());
    - if (a!=b)
    - {
    - return a > b;
    - }
    - }
    -
    - return sizeA > sizeB;
    - }
    -
    - /**
    - * Returns whether the provided facet has an id of "jst.java"
    - * @param pf facet
    - * @return <code>true</code> if facet has an id of "jst.java", <code>false</code> otherwise.
    - */
    - public static boolean isJavaFacet(IProjectFacet pf)
    - {
    - if (pf.getId().equals("jst.java"))
    - return true;
    - else
    - return false;
    - }
    -
    - /**
    - * Returns whether or not the provided project is a faceted Java utility project or a non-faceted Java project.
    - *
    - * @param project an IProject
    - * @return boolean <code>true</code> if the provided project is a faceted Java utility project
    - * or a non-faceted Java project, <code>false</code> otherwise.
    - */
    - public static boolean isJavaProject(IProject project)
    - {
    - //Check if it's a faceted project
    - try
    - {
    - IFacetedProject fProject = ProjectFacetsManager.create(project);
    - if (fProject != null)
    - {
    - //Return true if it's a utility project
    - if (J2EEUtils.isJavaComponent(project))
    - {
    - return true;
    - }
    - else
    - {
    - //See if the java facet is the only one it has.
    - Set facets = fProject.getProjectFacets();
    - if (facets.size()==1)
    - {
    - IProjectFacetVersion pfv = (IProjectFacetVersion)facets.iterator().next();
    - if (isJavaFacet(pfv.getProjectFacet()))
    - {
    - return true;
    - }
    - }
    - }
    - }
    - else
    - {
    - if (ResourceUtils.isJavaProject(project))
    - {
    - return true;
    - }
    - }
    - } catch (CoreException ce)
    - {
    -
    - }
    -
    - return false;
    - }
    -
    - /**
    - * Returns whether or not the provided template id is equal to "template.jst.utility"
    - *
    - * @param templateId template id
    - * @return boolean <code>true</code> if the provided template id is equal to "template.jst.utility",
    - * <code>false</code> otherwise.
    - */
    - public static boolean isUtilityTemplate(String templateId)
    - {
    - if (ProjectFacetsManager.isTemplateDefined(templateId))
    - {
    - if (templateId.equals("template.jst.utility"))
    - {
    - return true;
    - }
    - }
    -
    - return false;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FolderResourceFilter.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FolderResourceFilter.java
    deleted file mode 100644
    index e78fcf032..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/FolderResourceFilter.java
    +++ /dev/null
    @@ -1,92 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.common;
    -
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.AnyFilter;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.plugin.WebServiceConsumptionPlugin;
    -import org.eclipse.osgi.util.NLS;
    -
    -
    -/**
    -* This is a kind of Filter that accepts only objects
    -* which indicate a Java resource. In particular, any
    -* {@link org.eclipse.core.resources.IResource} whose
    -* pathname, or any object whose string representation as
    -* returned by <code>toString()</code>, ends in
    -* "<code>.java</code>" or "<code>.class</code>" will be accepted.
    -* All other objects will be rejected.
    -*/
    -public class FolderResourceFilter extends AnyFilter
    -{
    -
    - /**
    - * Constructs a new <code>JavaResourceFilter</code> that filters
    - * "<code>.java</code>" and "<code>.class</code>" objects.
    - * Equivalent to <code>JavaResourceFilter(ALL_FILES)</code>.
    - */
    - public FolderResourceFilter () { }
    -
    - /**
    - * Returns the locale-specific name of this filter.
    - * @return The locale-specific name of this filter.
    - */
    - public String getName ()
    - {
    - return ConsumptionMessages.FOLDER_FILTER_NAME;
    - }
    -
    - /**
    - * Returns the locale-specific description of this filter.
    - * @return The locale-specific description of this filter.
    - */
    - public String getDescription ()
    - {
    - return ConsumptionMessages.FOLDER_FILTER_DESC;
    - }
    -
    - public IStatus statusOf ( Object object )
    - {
    - if (object == null)
    - {
    - return new Status(
    - IStatus.ERROR,
    - WebServiceConsumptionPlugin.ID,
    - 0,
    - ConsumptionMessages.FILTER_MSG_ERROR_NULL_OBJECT,
    - null
    - );
    - }
    -
    - String name = null;
    -
    - if (object instanceof IResource)
    - {
    - IResource resource = (IResource)object;
    - name = resource.getFullPath().toString();
    - if (resource.getType() != IResource.FOLDER)
    - {
    - return new Status(
    - IStatus.ERROR,
    - WebServiceConsumptionPlugin.ID,
    - 0,
    - NLS.bind(ConsumptionMessages.FILTER_MSG_ERROR_NOT_FOLDER,new Object[] {name}),
    - null
    - );
    - }
    - }
    - return new Status(IStatus.OK,WebServiceConsumptionPlugin.ID,0,"",null);
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/IServerDefaulter.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/IServerDefaulter.java
    deleted file mode 100644
    index fc1f1d910..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/IServerDefaulter.java
    +++ /dev/null
    @@ -1,36 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.common;
    -
    -import org.eclipse.core.resources.IProject;
    -
    -
    -/**
    - * Implement this interface to provide logic that can be plugged into
    - * the server defaulting algorithm.
    - * (See the org.eclipse.jst.ws.consumption.serverDefaulter extension point)
    - */
    -public interface IServerDefaulter
    -{
    -
    - /**
    - * @param project
    - * @return ServerInfo.
    - * If no existing server or server type is recommended, return null.
    - * If a server type is recommended, return an instance of ServerInfo with a non-null
    - * non-empty String for the serverFactoryId and null for the serverInstanceId.
    - * If a server instance is recommended, return an instance of ServerInfo with a non-null
    - * non-empty String for the serverFactoryId and the serverInstanceId.
    - */
    - public ServerInfo recommendDefaultServer(IProject project);
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/JavaResourceFilter.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/JavaResourceFilter.java
    deleted file mode 100644
    index a15eb540a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/JavaResourceFilter.java
    +++ /dev/null
    @@ -1,167 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.common;
    -
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.AnyFilter;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.plugin.WebServiceConsumptionPlugin;
    -import org.eclipse.osgi.util.NLS;
    -
    -
    -/**
    -* This is a kind of Filter that accepts only objects
    -* which indicate a Java resource. In particular, any
    -* {@link org.eclipse.core.resources.IResource} whose
    -* pathname, or any object whose string representation as
    -* returned by <code>toString()</code>, ends in
    -* "<code>.java</code>" or "<code>.class</code>" will be accepted.
    -* All other objects will be rejected.
    -*/
    -public class JavaResourceFilter extends AnyFilter
    -{
    -
    - /**
    - * A <code>JavaResourceFilter</code> constructed with this value will
    - * accept "<code>.java</code>", but not "<code>.class</code>", objects.
    - */
    - public static final byte JAVA_FILES = (byte)1;
    -
    - /**
    - * A <code>JavaResourceFilter</code> constructed with this value will
    - * accept "<code>.class</code>", but not "<code>.java</code>", objects.
    - */
    - public static final byte CLASS_FILES = (byte)2;
    -
    - /**
    - * A <code>JavaResourceFilter</code> constructed with this value will
    - * accept both "<code>.java</code>" and "<code>.class</code>" objects.
    - */
    - public static final byte ALL_FILES = (byte)255;
    -
    - private byte extensions_;
    -
    - /**
    - * Constructs a new <code>JavaResourceFilter</code> that filters
    - * "<code>.java</code>" and "<code>.class</code>" objects.
    - * Equivalent to <code>JavaResourceFilter(ALL_FILES)</code>.
    - */
    - public JavaResourceFilter ()
    - {
    - this(ALL_FILES);
    - }
    -
    - /**
    - * Constructs a new <code>JavaResourceFilter</code> that filters
    - * "<code>.java</code>" objects, "<code>.class</code>" objects,
    - * or both if the value of <code>extensions</code> is
    - * {@link #JAVA_FILES}, {@link #CLASS_FILES} or {@link #ALL_FILES}
    - * respectively.
    - * @param extensions One of
    - * {@link #JAVA_FILES}, {@link #CLASS_FILES} or {@link #ALL_FILES}.
    - */
    - public JavaResourceFilter ( byte extensions )
    - {
    - extensions_ = extensions;
    - }
    -
    - /**
    - * Returns the locale-specific name of this filter.
    - * @return The locale-specific name of this filter.
    - */
    - public String getName ()
    - {
    - return ConsumptionMessages.JAVA_FILTER_NAME;
    - }
    -
    - /**
    - * Returns the locale-specific description of this filter.
    - * @return The locale-specific description of this filter.
    - */
    - public String getDescription ()
    - {
    - return ConsumptionMessages.JAVA_FILTER_DESC;
    - }
    -
    - /**
    - * Returns an {@link org.eclipse.core.runtime.IStatus}
    - * describing the <code>Filter</code>'s assessment of
    - * the given <code>object</code>.
    - * @param object The object to filter.
    - * @return An {@link org.eclipse.core.runtime.IStatus}
    - * indicating whether or not if the given <code>object</code>
    - * represents a Java resource.
    - */
    - public IStatus statusOf ( Object object )
    - {
    - if (object == null)
    - {
    - return new Status(
    - IStatus.ERROR,
    - WebServiceConsumptionPlugin.ID,
    - 0,
    - ConsumptionMessages.FILTER_MSG_ERROR_NULL_OBJECT,
    - null
    - );
    - }
    -
    - String name = null;
    -
    - if (object instanceof IResource)
    - {
    - IResource resource = (IResource)object;
    - name = resource.getFullPath().toString();
    - if (resource.getType() != IResource.FILE)
    - {
    - return new Status(
    - IStatus.ERROR,
    - WebServiceConsumptionPlugin.ID,
    - 0,
    - NLS.bind(ConsumptionMessages.FILTER_MSG_ERROR_NOT_FILE,new Object[] {name}),
    - null
    - );
    - }
    - }
    -
    - if (name == null)
    - {
    - name = object.toString();
    - }
    -
    - if (!acceptsName(name))
    - {
    - return new Status(
    - IStatus.ERROR,
    - WebServiceConsumptionPlugin.ID,
    - 0,
    - NLS.bind(ConsumptionMessages.JAVA_FILTER_MSG_ERROR_WRONG_EXTENSION,new Object[] {name}),
    - null
    - );
    - }
    -
    - return new Status(IStatus.OK,WebServiceConsumptionPlugin.ID,0,"",null);
    - }
    -
    - //
    - // Checks if the given name is acceptable based upon its extension
    - // and the value of the extensions_ bitmask.
    - //
    - private boolean acceptsName ( String name )
    - {
    - return (
    - (name.endsWith(".java") && ((extensions_ & JAVA_FILES) != 0)) ||
    - (name.endsWith(".class") && ((extensions_ & CLASS_FILES) != 0))
    - );
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/MappingUtils.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/MappingUtils.java
    deleted file mode 100644
    index e8da47621..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/MappingUtils.java
    +++ /dev/null
    @@ -1,84 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.common;
    -
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.jst.ws.internal.common.J2EEUtils;
    -
    -
    -/**
    -* This class contains useful methods for working with Server plugin functions
    -*/
    -public final class MappingUtils
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    - private static final String DEFAULT_SERVICE_EXT = "Service.wsdl";
    - private static final String DEFAULT_BINDING_EXT = "Binding.wsdl";
    - private static final String DEFAULT_V4_SERVICE_EXT = "-service.wsdl";
    - private static final String DEFAULT_V4_BINDING_EXT = "-binding.wsdl";
    - private static final String WSDL_EXTENSION = ".wsdl";
    - private static final String WSDL_FOLDER = "wsdl";
    - public static final String DEFAULT_SKELETON_PACKAGENAME = "service";
    -
    - /**
    - * Returns the WSDL folder path
    - * @param project the project
    - */
    - public static IPath getWSDLFolderPath (IProject project, String componentName)
    - {
    - IPath wsdlFolder=null;
    -// IPath webModuleServerRoot = ResourceUtils.getWebModuleServerRoot( project ).getFullPath();
    - IPath webModuleServerRoot = J2EEUtils.getWebContentPath(project);
    - if (webModuleServerRoot != null )
    - wsdlFolder = webModuleServerRoot.append(WSDL_FOLDER);
    - return wsdlFolder;
    - }
    -
    -
    - /**
    - * Returns the base name based on WSDL file name
    - * @param wsdlName WSDL file name
    - */
    - public static String getBaseName (String wsdlLocation )
    - {
    - String wsdlName=wsdlLocation;
    -
    - int index = wsdlLocation.lastIndexOf('/');
    - if (index!= -1) {
    - wsdlName = wsdlLocation.substring(index+1,wsdlName.length());
    - }
    -
    - String baseName=wsdlName;
    - if ( wsdlName.endsWith(DEFAULT_SERVICE_EXT) ) {
    - baseName = wsdlName.substring(0,(wsdlName.length() - DEFAULT_SERVICE_EXT.length()));
    - } else if ( wsdlName.toLowerCase().endsWith(DEFAULT_V4_SERVICE_EXT) ) {
    - baseName = wsdlName.substring(0,(wsdlName.length() - DEFAULT_V4_SERVICE_EXT.length()));
    - } else if (wsdlName.endsWith(DEFAULT_BINDING_EXT)) {
    - baseName = wsdlName.substring(0,(wsdlName.length()-DEFAULT_BINDING_EXT.length()));
    - } else if (wsdlName.toLowerCase().endsWith(DEFAULT_V4_BINDING_EXT)) {
    - baseName = wsdlName.substring(0,(wsdlName.length()-DEFAULT_V4_BINDING_EXT.length()));
    - } else if (wsdlName.toLowerCase().endsWith(WSDL_EXTENSION)) {
    - baseName = wsdlName.substring(0,(wsdlName.length() - WSDL_EXTENSION.length()));
    - } else {
    - // no recognizable suffix, just remove extension, if any
    - int index4 = baseName.lastIndexOf('.');
    - if (index4!=-1)
    - baseName = baseName.substring(0, index4);
    - }
    - return baseName;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/PropertiesResourceFilter.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/PropertiesResourceFilter.java
    deleted file mode 100644
    index bf7f4f058..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/PropertiesResourceFilter.java
    +++ /dev/null
    @@ -1,122 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.common;
    -
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.AnyFilter;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.plugin.WebServiceConsumptionPlugin;
    -import org.eclipse.osgi.util.NLS;
    -
    -
    -/**
    -* This is a kind of Filter that accepts only objects
    -* which indicate a Java resource. In particular, any
    -* {@link org.eclipse.core.resources.IResource} whose
    -* pathname, or any object whose string representation as
    -* returned by <code>toString()</code>, ends in
    -* "<code>.java</code>" or "<code>.class</code>" will be accepted.
    -* All other objects will be rejected.
    -*/
    -public class PropertiesResourceFilter extends AnyFilter
    -{
    -
    - /**
    - * Constructs a new <code>JavaResourceFilter</code> that filters
    - * "<code>.java</code>" and "<code>.class</code>" objects.
    - * Equivalent to <code>JavaResourceFilter(ALL_FILES)</code>.
    - */
    - public PropertiesResourceFilter ()
    - {
    -
    - }
    -
    - /**
    - * Returns the locale-specific name of this filter.
    - * @return The locale-specific name of this filter.
    - */
    - public String getName ()
    - {
    - return ConsumptionMessages.PROPERTIES_FILTER_NAME;
    - }
    -
    - /**
    - * Returns the locale-specific description of this filter.
    - * @return The locale-specific description of this filter.
    - */
    - public String getDescription ()
    - {
    - return ConsumptionMessages.PROPERTIES_FILTER_DESC;
    - }
    -
    - /**
    - * Returns an {@link org.eclipse.core.runtime.IStatus}
    - * describing the <code>Filter</code>'s assessment of
    - * the given <code>object</code>.
    - * @param object The object to filter.
    - * @return An {@link org.eclipse.core.runtime.IStatus}
    - * indicating whether or not if the given <code>object</code>
    - * represents a Java resource.
    - */
    - public IStatus statusOf ( Object object )
    - {
    - if (object == null)
    - {
    - return new Status(
    - IStatus.ERROR,
    - WebServiceConsumptionPlugin.ID,
    - 0,
    - ConsumptionMessages.FILTER_MSG_ERROR_NULL_OBJECT,
    - null
    - );
    - }
    -
    - String name = null;
    -
    - if (object instanceof IResource)
    - {
    - IResource resource = (IResource)object;
    - name = resource.getFullPath().toString();
    - if (resource.getType() != IResource.FILE)
    - {
    - return new Status(
    - IStatus.ERROR,
    - WebServiceConsumptionPlugin.ID,
    - 0,
    - NLS.bind(ConsumptionMessages.FILTER_MSG_ERROR_NOT_FILE,new Object[] {name}),
    - null
    - );
    - }
    - }
    -
    - if (name == null)
    - {
    - name = object.toString();
    - }
    -
    - if (!name.endsWith(".properties"))
    - {
    - return new Status(
    - IStatus.ERROR,
    - WebServiceConsumptionPlugin.ID,
    - 0,
    - NLS.bind(ConsumptionMessages.PROPERTIES_FILTER_MSG_ERROR_WRONG_EXTENSION,new Object[] {name}),
    - null
    - );
    - }
    -
    - return new Status(IStatus.OK,WebServiceConsumptionPlugin.ID,0,"",null);
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/RequiredFacetVersion.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/RequiredFacetVersion.java
    deleted file mode 100644
    index 4a501df52..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/RequiredFacetVersion.java
    +++ /dev/null
    @@ -1,74 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060131 121071 rsinha@ca.ibm.com - Rupam Kuehner
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.common;
    -
    -
    -import java.util.ArrayList;
    -import java.util.Iterator;
    -
    -import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
    -
    -public class RequiredFacetVersion
    -{
    - private IProjectFacetVersion projectFacetVersion;
    - private boolean allowNewer;
    - private IProjectFacetVersion[] allowedProjectFacetVersions;
    -
    - public boolean getAllowNewer()
    - {
    - return allowNewer;
    - }
    - public void setAllowNewer(boolean allowNewer)
    - {
    - this.allowNewer = allowNewer;
    - }
    - public IProjectFacetVersion getProjectFacetVersion()
    - {
    - return projectFacetVersion;
    - }
    - public void setProjectFacetVersion(IProjectFacetVersion projectFacetVersion)
    - {
    - this.projectFacetVersion = projectFacetVersion;
    - }
    - public IProjectFacetVersion[] getAllowedProjectFacetVersions()
    - {
    - if (allowedProjectFacetVersions == null)
    - {
    - ArrayList versions = new ArrayList();
    - IProjectFacetVersion minpfv = getProjectFacetVersion();
    - versions.add(minpfv);
    - //If allow-newer is true, add all the versions greater than the min version.
    - if (getAllowNewer())
    - {
    - String minVersion = minpfv.getVersionString();
    - Iterator allVersionsItr = minpfv.getProjectFacet().getVersions().iterator();
    - while (allVersionsItr.hasNext())
    - {
    - IProjectFacetVersion testpfv = (IProjectFacetVersion)allVersionsItr.next();
    - String testVersion = testpfv.getVersionString();
    - if (FacetUtils.greaterThan(testVersion, minVersion))
    - {
    - versions.add(testpfv);
    - }
    - }
    - }
    -
    - allowedProjectFacetVersions = (IProjectFacetVersion[])versions.toArray(new IProjectFacetVersion[0]);
    - }
    -
    - return allowedProjectFacetVersions;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/ServerInfo.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/ServerInfo.java
    deleted file mode 100644
    index 0625cb2e3..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/ServerInfo.java
    +++ /dev/null
    @@ -1,54 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -/*
    - * Created on Mar 25, 2004
    - *
    - * To change the template for this generated file go to
    - * Window - Preferences - Java - Code Generation - Code and Comments
    - */
    -package org.eclipse.jst.ws.internal.consumption.common;
    -
    -/**
    - *
    - */
    -public class ServerInfo
    -{
    - String serverFactoryId;
    - String serverInstanceId;
    - /**
    - * @return Returns the serverFactoryId.
    - */
    - public String getServerFactoryId()
    - {
    - return serverFactoryId;
    - }
    - /**
    - * @param serverFactoryId The serverFactoryId to set.
    - */
    - public void setServerFactoryId(String serverFactoryId)
    - {
    - this.serverFactoryId = serverFactoryId;
    - }
    - /**
    - * @return Returns the serverInstanceId.
    - */
    - public String getServerInstanceId()
    - {
    - return serverInstanceId;
    - }
    - /**
    - * @param serverInstanceId The serverInstanceId to set.
    - */
    - public void setServerInstanceId(String serverInstanceId)
    - {
    - this.serverInstanceId = serverInstanceId;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLParserFactory.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLParserFactory.java
    deleted file mode 100644
    index a6dd1815a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLParserFactory.java
    +++ /dev/null
    @@ -1,49 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.common;
    -
    -import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
    -import org.eclipse.wst.ws.internal.parser.wsil.WebServicesParser;
    -
    -/**
    - *
    - * The factory class can be used to get at a single instance of the
    - * WSDL parser. Note: This class is temporary. We will probably come
    - * up with a better method of handling passing around the parser.
    - *
    - */
    -//TODO We need to find a better way to pass around the parser than
    -// using this singleton factory. Hopefully, we can then delete
    -// this class.
    -public class WSDLParserFactory
    -{
    - private static WebServicesParserExt parser_;
    -
    - private WSDLParserFactory()
    - {
    - }
    -
    - public static WebServicesParser getWSDLParser()
    - {
    - if( parser_ == null )
    - {
    - parser_ = new WebServicesParserExt();
    - }
    -
    - return parser_;
    - }
    -
    - public static void killParser()
    - {
    - parser_ = null;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLResourceFilter.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLResourceFilter.java
    deleted file mode 100644
    index 880819506..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WSDLResourceFilter.java
    +++ /dev/null
    @@ -1,117 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.common;
    -
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.AnyFilter;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.plugin.WebServiceConsumptionPlugin;
    -import org.eclipse.osgi.util.NLS;
    -
    -
    -/**
    -* This is a kind of Filter that accepts only objects
    -* which indicate a WSDL resource. In particular, any
    -* {@link org.eclipse.core.resources.IResource} whose
    -* pathname, or any object whose string representation as
    -* returned by <code>toString()</code>, ends in
    -* "<code>.wsdl</code>" will be accepted.
    -* All other objects will be rejected.
    -*/
    -public class WSDLResourceFilter extends AnyFilter
    -{
    - /**
    - * Constructs a new <code>WSDLResourceFilter</code>.
    - */
    - public WSDLResourceFilter ()
    - {
    - }
    -
    - /**
    - * Returns the locale-specific name of this filter.
    - * @return The locale-specific name of this filter.
    - */
    - public String getName ()
    - {
    - return ConsumptionMessages.WSDL_FILTER_NAME;
    - }
    -
    - /**
    - * Returns the locale-specific description of this filter.
    - * @return The locale-specific description of this filter.
    - */
    - public String getDescription ()
    - {
    - return ConsumptionMessages.WSDL_FILTER_DESC;
    - }
    -
    - /**
    - * Returns an {@link org.eclipse.core.runtime.IStatus}
    - * describing the <code>Filter</code>'s assessment of
    - * the given <code>object</code>.
    - * @param object The object to filter.
    - * @return An {@link org.eclipse.core.runtime.IStatus}
    - * indicating whether or not if the given <code>object</code>
    - * represents a WSDL resource.
    - */
    - public IStatus statusOf ( Object object )
    - {
    - if (object == null)
    - {
    - return new Status(
    - IStatus.ERROR,
    - WebServiceConsumptionPlugin.ID,
    - 0,
    - ConsumptionMessages.FILTER_MSG_ERROR_NULL_OBJECT,
    - null
    - );
    - }
    -
    - String name = null;
    -
    - if (object instanceof IResource)
    - {
    - IResource resource = (IResource)object;
    - name = resource.getFullPath().toString();
    - if (resource.getType() != IResource.FILE)
    - {
    - return new Status(
    - IStatus.ERROR,
    - WebServiceConsumptionPlugin.ID,
    - 0,
    - NLS.bind(ConsumptionMessages.FILTER_MSG_ERROR_NOT_FILE,new Object[] {name}),
    - null
    - );
    - }
    - }
    -
    - if (name == null)
    - {
    - name = object.toString();
    - }
    -
    - if (!name.endsWith(".wsdl"))
    - {
    - return new Status(
    - IStatus.ERROR,
    - WebServiceConsumptionPlugin.ID,
    - 0,
    - NLS.bind(ConsumptionMessages.WSDL_FILTER_MSG_ERROR_WRONG_EXTENSION,new Object[] {name}),
    - null
    - );
    - }
    -
    - return new Status(IStatus.OK,WebServiceConsumptionPlugin.ID,0,"",null);
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WebServiceStartServerRegistry.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WebServiceStartServerRegistry.java
    deleted file mode 100644
    index 59b3831ce..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/common/WebServiceStartServerRegistry.java
    +++ /dev/null
    @@ -1,100 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.common;
    -
    -import java.util.Hashtable;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IConfigurationElement;
    -import org.eclipse.core.runtime.IExtensionRegistry;
    -import org.eclipse.core.runtime.Platform;
    -import org.eclipse.wst.common.environment.EnvironmentService;
    -import org.eclipse.wst.common.environment.ILog;
    -
    -
    -
    -/**
    -* This is the registry of WebServiceStartServerType objects.
    -*/
    -public class WebServiceStartServerRegistry
    -{
    -
    - private static WebServiceStartServerRegistry instance_;
    - private Hashtable StartServerTypes;
    -
    - //
    - // Loads WebServiceStartServerType objects into this registry.
    - // See method getInstance().
    - //
    - private void load ()
    - {
    - StartServerTypes = new Hashtable();
    - IExtensionRegistry reg = Platform.getExtensionRegistry();
    - IConfigurationElement[] config = reg.getConfigurationElementsFor(
    - "org.eclipse.jst.ws.consumption",
    - "webServiceStartServerType");
    -
    - for(int idx=0; idx<config.length; idx++)
    - {
    - IConfigurationElement elem = config[idx];
    - try
    - {
    - String factoryId_ = elem.getAttribute("factoryId");
    - StartServerTypes.put(factoryId_, elem);
    -
    - }
    - catch (Exception e)
    - {
    - ILog log = EnvironmentService.getEclipseLog();
    - log.log(ILog.ERROR, 5047, this, "load", e);
    - }
    -
    - }
    - }
    -
    - /**
    - * Returns a singleton instance of this class.
    - * @return A singleton WebServiceStartServerRegistry object.
    - */
    - public static WebServiceStartServerRegistry getInstance ()
    - {
    - if (instance_ == null)
    - {
    - instance_ = new WebServiceStartServerRegistry();
    - instance_.load();
    - }
    - return instance_;
    - }
    -
    - public Object getServerStartByTypeId (String typeID) throws CoreException
    - {
    - if (typeID==null)
    - return null;
    - return ((IConfigurationElement)StartServerTypes.get(typeID)).createExecutableExtension("class");
    - }
    -
    - public boolean isRemoveEARRequired(String typeId) throws CoreException {
    - if (typeId!=null) {
    - IConfigurationElement elem = (IConfigurationElement)StartServerTypes.get(typeId);
    - if (elem!=null){
    - String value = elem.getAttribute("removeEAR");
    - if (value!=null){
    - return Boolean.valueOf(value).booleanValue();
    - }
    - }
    - }
    - return true;
    - }
    -}
    -
    -
    -
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayElement.java
    deleted file mode 100644
    index c07aa7287..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayElement.java
    +++ /dev/null
    @@ -1,99 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import org.eclipse.wst.ws.internal.datamodel.BasicModel;
    -import org.eclipse.wst.ws.internal.datamodel.Model;
    -
    -/**
    -* Objects of this class represent a Java bean.
    -* Nearest moral equivalents: java.lang.Class, java.beans.BeanDescriptor.
    -*/
    -public class ArrayElement extends TypeElement
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    - public static String ARRAY_NAME = "10101010array10101010";
    - public static String REL_METHODS = "relmethods";
    -
    - /**
    - * Constructor
    - * @param projectElement The project this Bean belongs to.
    - */
    - public ArrayElement (String name)
    - {
    - this(name,new BasicModel("Project"),true);
    - }
    -
    - /**
    - * Constructor
    - * @param parameterElement The parameter this Bean belongs to.
    - */
    - public ArrayElement (String name, Model model,boolean isRoot)
    - {
    - super(name,model,TypeElement.ARRAY);
    - if(isRoot) model.setRootElement(this);
    - fOwnerType = TypeElement.ROOT;
    - }
    -
    -
    - /**
    - * Constructor for the case when this is not the root object
    - * here it represents complex types
    - * @param ParameterElement The Parameter that owns this bean type.
    - * @param String Name of the bean element.
    - */
    - public ArrayElement ( ParameterElement parameterElement, String name)
    - {
    - super(name,parameterElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.ARRAY);
    - fOwnerType = TypeElement.PARAMETER_OWNER;
    - }
    -
    - /**
    - * Constructor for the case when this is not the root object
    - * here it represents complex types
    - * @param ParameterElement The Parameter that owns this bean type.
    - * @param String Name of the ParameterElement.
    - */
    - public ArrayElement ( AttributeElement attributeElement, String name)
    - {
    - super(name,attributeElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.ARRAY);
    - fOwnerType = TypeElement.ATTRIBUTE_OWNER;
    - }
    -
    - /**
    - * Constructor for the case when this is not the root object
    - * here it represents complex types
    - * @param FieldElement The Parameter that owns this bean type.
    - * @param String Name of the ParameterElement.
    - */
    - public ArrayElement ( FieldElement fieldElement, String name)
    - {
    - super(name,fieldElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.ARRAY);
    - fOwnerType = TypeElement.FIELD_OWNER;
    - }
    -
    -
    - /*
    - * determine wether this is an object array or
    - * primitive array
    - */
    - public String getTypeName()
    - {
    - return ARRAY_NAME + getName();
    - }
    -
    -
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayType.java
    deleted file mode 100644
    index 0c7ce9c62..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ArrayType.java
    +++ /dev/null
    @@ -1,62 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -
    -
    -/**
    -* objects of this class represent a recognized return type
    -*
    -*/
    -public class ArrayType extends RecognizedReturnType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public ArrayType(String typeName)
    - {
    - this(TypeFactory.ARRAY_NAME,typeName);
    - }
    -
    - public ArrayType(String name,String typeName)
    - {
    - super(name);
    - }
    -
    -
    - /**
    - * This is basically the function that dictates how we want to display this type
    - * upon receiving it as a return from a proxy method
    - * @param String the name of the type
    - * @return String The display string
    - */
    - public String TypeConversion(String name)
    - {
    -
    - String nonBean = Generator.DOUBLE_TAB + "java.util.List list" + getUniqueName() + "= java.util.Arrays.asList(" + name + ");" +StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "String temp"+ getUniqueName() +" = list" + getUniqueName() + ".toString();" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%=temp"+ getUniqueName() +"%>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%"+ StringUtils.NEWLINE;
    -
    - return nonBean;
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElement.java
    deleted file mode 100644
    index c3cc514bb..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElement.java
    +++ /dev/null
    @@ -1,95 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import java.util.Enumeration;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -
    -
    -/**
    -* Objects of this class represent a Java bean method parameter.
    -* Nearest moral equivalents: java.beans.ParameterDescriptor.
    -*/
    -public class AttributeElement extends BasicElement implements AttributeElementType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static final String REL_TYPE = "type";
    - public static final String REL_OWNING_BEAN = "owningbean";
    -
    - private String fSetterMethod;
    - private String fGetterMethod;
    -
    - /**
    - * Constructor this takes the owning bean.
    - * @param name The name of the attribute.
    - * @param beanElement the bean that owns this attribute.
    - */
    - public AttributeElement ( BeanElement beanElement, String name)
    - {
    - super(name,beanElement,REL_OWNING_BEAN,BeanElement.REL_ATTRIBUTES);
    - }
    -
    - public void setSetterMethod(String setterMethod)
    - {
    - fSetterMethod = setterMethod;
    - }
    -
    - public String getSetterMethod()
    - {
    - return fSetterMethod;
    - }
    -
    - public String getGetterMethod()
    - {
    - return fGetterMethod;
    - }
    -
    - public void setGetterMethod(String getterMethod)
    - {
    - fGetterMethod = getterMethod;
    - }
    -
    - public String getSetterSignature(String attribute)
    - {
    - int bracket = fSetterMethod.indexOf("(");
    - bracket++;
    - String setter = fSetterMethod.substring(0,bracket);
    - String fullSetter = setter + attribute + ");";
    -
    - return fullSetter;
    - }
    -
    - /**
    - * Returns the Bean that owns this Attribute.
    - * @return BeanElement The bean that owns this attribute.
    - */
    - public BeanElement getOwningBeanElement ()
    - {
    - Enumeration e = getElements(REL_OWNING_BEAN);
    - return e.hasMoreElements() ? (BeanElement)e.nextElement() : null;
    - }
    -
    - /**
    - * Returns the type that is owned by this attributte.
    - * @return TypeElement The Type that of this attribute.
    - */
    - public TypeElement getTypeElement ()
    - {
    - Enumeration e = getElements(REL_TYPE);
    - return e.hasMoreElements() ? (TypeElement)e.nextElement() : null;
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElementType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElementType.java
    deleted file mode 100644
    index 0b0b6fc88..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/AttributeElementType.java
    +++ /dev/null
    @@ -1,39 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* Objects of this class represent a Java bean method parameter.
    -* Nearest moral equivalents: java.beans.ParameterDescriptor.
    -*/
    -public interface AttributeElementType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public void setSetterMethod(String setterMethod);
    - public String getSetterMethod();
    - public String getGetterMethod();
    - public void setGetterMethod(String getterMethod);
    - public BeanElement getOwningBeanElement ();
    - public TypeElement getTypeElement ();
    - /**
    - * Return the signature with this value as the parmeter
    - *
    - */
    - public String getSetterSignature(String attribute);
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanElement.java
    deleted file mode 100644
    index 3b842ab76..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanElement.java
    +++ /dev/null
    @@ -1,147 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060612 145433 gilberta@ca.ibm.com - Gilbert Andrews
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import java.util.Enumeration;
    -import org.eclipse.wst.ws.internal.datamodel.BasicModel;
    -import org.eclipse.wst.ws.internal.datamodel.Model;
    -
    -
    -/**
    -* Objects of this class represent a Java bean.
    -* Nearest moral equivalents: java.lang.Class, java.beans.BeanDescriptor.
    -*/
    -public class BeanElement extends TypeElement
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    - public static String STATELESS_BEAN = "10101010statelessbean10101010";
    - public static String REL_METHODS = "relmethods";
    - public static int READONLY = 0;
    - public static int WRITEONLY = 1;
    - public static int READWRITE = 2;
    - private int attrib = 2;
    -
    -
    - /**
    - * Constructor
    - * @param projectElement The project this Bean belongs to.
    - */
    - public BeanElement (String name)
    - {
    - this(name,new BasicModel("Project"),true);
    - }
    -
    - /**
    - * Constructor
    - * @param parameterElement The parameter this Bean belongs to.
    - */
    - public BeanElement (String name, Model model,boolean isRoot)
    - {
    - super(name,model,TypeElement.BEAN);
    - if(isRoot) model.setRootElement(this);
    - fOwnerType = TypeElement.ROOT;
    - }
    -
    - /**
    - * Constructor for the case when this is not the root object
    - * here it represents complex types
    - * @param ParameterElement The Parameter that owns this bean type.
    - * @param String Name of the bean element.
    - */
    - public BeanElement ( ParameterElement parameterElement, String name)
    - {
    - super(name,parameterElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.BEAN);
    - fOwnerType = TypeElement.PARAMETER_OWNER;
    - }
    -
    - /**
    - * Constructor for the case when this is not the root object
    - * here it represents complex types
    - * @param ParameterElement The Parameter that owns this bean type.
    - * @param String Name of the ParameterElement.
    - */
    - public BeanElement ( AttributeElement attributeElement, String name)
    - {
    - super(name,attributeElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.BEAN);
    - fOwnerType = TypeElement.ATTRIBUTE_OWNER;
    - attribFunction(attributeElement);
    - }
    -
    - private void attribFunction(AttributeElement attributeElement){
    - if(attributeElement.getGetterMethod() != null && attributeElement.getSetterMethod() != null) attrib = READWRITE;
    - else if(attributeElement.getGetterMethod() == null && attributeElement.getSetterMethod() != null) attrib = WRITEONLY;
    - else if(attributeElement.getGetterMethod() != null && attributeElement.getSetterMethod() == null) attrib = READONLY;
    - }
    -
    - /**
    - * Constructor for the case when this is not the root object
    - * here it represents complex types
    - * @param ParameterElement The Parameter that owns this bean type.
    - * @param String Name of the ParameterElement.
    - */
    - public BeanElement ( FieldElement fieldElement, String name)
    - {
    - super(name,fieldElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.BEAN);
    - fOwnerType = TypeElement.FIELD_OWNER;
    -
    - }
    -
    - /**
    - * Returns an enumeration of all Method objects of this Bean.
    - * @return Enumeration All Method objects of this Bean.
    - */
    - public Enumeration getMethods ()
    - {
    - return getElements(REL_METHODS);
    - }
    -
    - /**
    - * Returns the number of Method objects of this Bean.
    - * @return int The number of Method objects of this Bean.
    - */
    - public int getNumberOfMethodElements ()
    - {
    - return getNumberOfElements(REL_METHODS);
    - }
    -
    - public String getTypeName()
    - {
    - if(isStateLess()) return STATELESS_BEAN + getName();
    - return getName();
    - }
    -
    - public int getAttrib()
    - {
    - return attrib;
    - }
    -
    - public void setAttrib(int attrib)
    - {
    - this.attrib = attrib;
    - }
    -
    - public boolean isStateLess()
    - {
    - Enumeration ea = getElements(TypeElement.REL_ATTRIBUTES);
    - Enumeration ef = getElements(TypeElement.REL_FIELDS);
    - if(ea.hasMoreElements() || ef.hasMoreElements()) return false;
    - else return true;
    - }
    -
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanModelElementsFactory.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanModelElementsFactory.java
    deleted file mode 100644
    index 1ed79927a..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BeanModelElementsFactory.java
    +++ /dev/null
    @@ -1,168 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import org.eclipse.jem.java.Field;
    -import org.eclipse.jem.java.JavaClass;
    -import org.eclipse.jem.java.JavaHelpers;
    -import org.eclipse.jem.java.JavaParameter;
    -import org.eclipse.jem.java.Method;
    -import org.eclipse.jst.ws.internal.consumption.sampleapp.common.SamplePropertyDescriptor;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -import org.eclipse.wst.ws.internal.datamodel.Model;
    -
    -/**
    - * TypeFactory
    - * Creation date: (4/10/2001 12:41:48 PM)
    - * @author: Gilbert Andrews
    - */
    -public class BeanModelElementsFactory
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    - public static final String RETURN_PARAM_NAME="returnp";
    -
    - private BeanModelElementsFactory(){}
    -
    - public static Element getBeanModelElement(Object object)
    - {
    - return BeanModelElementsFactory.getBeanModelElement(object,null,null);
    - }
    -
    - public static Element getBeanModelElement(Object object,Element parentElement)
    - {
    - return BeanModelElementsFactory.getBeanModelElement(object,parentElement,null);
    - }
    -
    - /*
    - * Take in an object and return an element depending on what
    - * type we are dealing with from the javamof
    - **/
    - public static Element getBeanModelElement(Object object,Element parentElement, Model model)
    - {
    - Element returnElement = null;
    -
    - if (object instanceof JavaClass){
    - JavaClass javaClass = (JavaClass)object;
    - String javaName = javaClass.getJavaName();
    - if (!javaClass.isArray()){
    - if(parentElement == null && model ==null) returnElement = new BeanElement(javaName);
    - else if(parentElement == null && model !=null) returnElement = new BeanElement(javaName,model,false);
    - else{
    - if(parentElement instanceof ParameterElement){
    - ParameterElement tempElement = (ParameterElement)parentElement;
    - returnElement = new BeanElement(tempElement,javaName);
    - }
    - else if(parentElement instanceof AttributeElement){
    - AttributeElement tempElement = (AttributeElement)parentElement;
    - returnElement = new BeanElement(tempElement,javaName);
    - }
    - else if(parentElement instanceof FieldElement){
    - FieldElement tempElement = (FieldElement)parentElement;
    - returnElement = new BeanElement(tempElement,javaName);
    - }
    - else if(parentElement instanceof MethodElement){
    - returnElement = new ParameterElement((MethodElement)parentElement,RETURN_PARAM_NAME,MethodElement.REL_RETURN_PARAMETERS,true);
    - }
    - }
    - }
    - else{
    - if(parentElement == null && model ==null) returnElement = new ArrayElement(javaName);
    - else if(parentElement == null && model !=null) returnElement = new ArrayElement(javaName,model,false);
    - else{
    - if(parentElement instanceof ParameterElement){
    - ParameterElement tempElement = (ParameterElement)parentElement;
    - returnElement = new ArrayElement(tempElement,javaName);
    - }
    - else if(parentElement instanceof AttributeElement){
    - AttributeElement tempElement = (AttributeElement)parentElement;
    - returnElement = new ArrayElement(tempElement,javaName);
    - }
    - else if(parentElement instanceof FieldElement){
    - FieldElement tempElement = (FieldElement)parentElement;
    - returnElement = new ArrayElement(tempElement,javaName);
    - }
    - else if(parentElement instanceof MethodElement){
    - returnElement = new ParameterElement((MethodElement)parentElement,RETURN_PARAM_NAME,MethodElement.REL_RETURN_PARAMETERS,true);
    - }
    -
    - }
    - }
    -
    - }
    - else if(object instanceof SamplePropertyDescriptor){
    - SamplePropertyDescriptor pd = (SamplePropertyDescriptor)object;
    - returnElement = new AttributeElement((BeanElement)parentElement,pd.getName());
    - }
    - else if(object instanceof Field){
    - Field field = (Field)object;
    - returnElement = new FieldElement((BeanElement)parentElement,field.getName());
    - }
    - else if (object instanceof Method){
    - Method method = (Method)object;
    - returnElement = new MethodElement((BeanElement)parentElement,method.getName(), method.getMethodElementSignature());
    - }
    - //non beaninfo
    - else if (object instanceof String){
    - String name = (String)object;
    - returnElement = new AttributeElement((BeanElement)parentElement,name);
    - }
    - else if (object instanceof JavaParameter){
    - JavaParameter javaParameter = (JavaParameter)object;
    -
    -
    - if (javaParameter.isReturn())
    - returnElement = new ParameterElement((MethodElement)parentElement,RETURN_PARAM_NAME,MethodElement.REL_RETURN_PARAMETERS,true);
    - else{
    - //a java parameter gives us the qualified name we dont want this
    - String name = javaParameter.getQualifiedName();
    - String shortName;
    - int index = name.lastIndexOf(".");
    - if (index != -1){
    - index++;
    - shortName = name.substring(index);
    - }
    - else shortName = name;
    -
    - returnElement = new ParameterElement((MethodElement)parentElement,shortName,MethodElement.REL_PARAMETERS,false);
    -
    - }
    -
    - }
    - else if (object instanceof JavaHelpers){
    - JavaHelpers javaHelper = (JavaHelpers)object;
    - String javaName;
    - if (javaHelper.isArray()) javaName = TypeFactory.ARRAY_NAME;
    - else javaName = javaHelper.getJavaName();
    - if (parentElement instanceof ParameterElement){
    - returnElement = new SimpleElement((ParameterElement)parentElement,javaName,javaHelper.isPrimitive());
    - }
    - else if(parentElement instanceof AttributeElement){
    - returnElement = new SimpleElement((AttributeElement)parentElement,javaName,javaHelper.isPrimitive());
    - }
    - else if(parentElement instanceof FieldElement){
    - returnElement = new SimpleElement((FieldElement)parentElement,javaName,javaHelper.isPrimitive());
    - }
    - else if(parentElement instanceof MethodElement){
    - returnElement = new ParameterElement((MethodElement)parentElement,RETURN_PARAM_NAME,MethodElement.REL_RETURN_PARAMETERS,true);
    - }
    - }
    - return returnElement;
    - }
    -
    -
    -
    -
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigDecimalType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigDecimalType.java
    deleted file mode 100644
    index 24da0c1c0..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigDecimalType.java
    +++ /dev/null
    @@ -1,56 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class BigDecimalType extends SimpleType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public BigDecimalType()
    - {
    - super(TypeFactory.BIG_DECIMAL_NAME);
    - }
    -
    - /**
    - * StringToType gets the string taken by the
    - * user into proxy form
    - * @return String convert the string to type .
    - */
    - public String StringToType(String name)
    - {
    - return "new java.math.BigDecimal(" + name + ");";
    - }
    -
    - /**
    - * The stringConversion function nails out specific conversion methods used among simple types
    - * This method is to be implemented by SimpleType subclasses
    - * @param String the name of string after the request call
    - * @return String the actual conversion string containing the name.
    - */
    - public String TypeToString(String name)
    - {
    - return name + ".toString()";
    - }
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigIntegerType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigIntegerType.java
    deleted file mode 100644
    index acf6033cc..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/BigIntegerType.java
    +++ /dev/null
    @@ -1,56 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class BigIntegerType extends SimpleType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public BigIntegerType()
    - {
    - super(TypeFactory.BIG_INTEGER_NAME);
    - }
    -
    - /**
    - * StringToType gets the string taken by the
    - * user into proxy form
    - * @return String convert the string to type .
    - */
    - public String StringToType(String name)
    - {
    - return "new java.math.BigInteger(" + name + ");";
    - }
    -
    - /**
    - * The stringConversion function nails out specific conversion methods used among simple types
    - * This method is to be implemented by SimpleType subclasses
    - * @param String the name of string after the request call
    - * @return String the actual conversion string containing the name.
    - */
    - public String TypeToString(String name)
    - {
    - return name + ".toString()";
    - }
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DataType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DataType.java
    deleted file mode 100644
    index 4861a696f..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DataType.java
    +++ /dev/null
    @@ -1,90 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* objects of this class represent a type
    -* This class is used to simplify the codegen process
    -* Because codegen may be processed differently depending on the type
    -* we can handle how each type wants the code to look for a specific task
    -* by creating a datatype and calling generic methods that are
    -* to be specialized in subclasses
    -*/
    -public interface DataType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static String REL_TYPE = "type";
    -
    - /**
    - * This function hands back the code required to go from the
    - * string the user entered to the actual type of the element
    - * @param String typeName this is the actual name of the type ie int,boolean
    - * @param String nodeName The nodeName is just the attributename + Temp.
    - * @param String the attributeName
    - * @return String convert the string to type .
    - */
    - public String stringConversion(String typeName, String nodeName, String attributeName);
    -
    - /**
    - * Often times in order to convert a type to string, string to type or just plain provide an input form
    - * A temporary variable is used. If we run into a sitution where two of the same types are used in the
    - * same method these temporary variables share the same name space. It isnt enough to use a name
    - * because of we may have a nested scenario. Therefore any temporary variable that is used in a dataType
    - * must use a unique name apeended to the end. This name must be passed in and it is up to the user of
    - * DataType to insure it is unique.
    - * @return Unique Name
    - */
    - public void setUniqueName(String name);
    -
    - /**
    - * This is the name each temp variable will use
    - *
    - *
    - */
    - public String getUniqueName();
    -
    - /**
    - * This function dictates how you want to process the
    - * incoming string from the input jsp. You may or may not use the markup
    - * function depending on the type. The simple types use it. DomElement does not
    - * @param String the name of the attribute
    - * @return String the code to be generated
    - */
    - public String getRequestCode(String name, String id);
    -
    -
    - /**
    - * Input form returns the user input html
    - * @param String name The name of the input element
    - * @return String The form used to collect the data
    - */
    - public String inputForm(String name);
    -
    - /**
    - * converts the type returned from the proxy
    - * back to a string
    - * @return String convert the type to string.
    - */
    - public String TypeConversion(String name);
    -
    - /**
    - * return the type
    - * @return String the type(including package).
    - */
    - public String getType();
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DateType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DateType.java
    deleted file mode 100644
    index 6a839891b..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DateType.java
    +++ /dev/null
    @@ -1,125 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class DateType extends SimpleType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public DateType()
    - {
    - super(TypeFactory.BIG_DECIMAL_NAME);
    - }
    -
    -
    - /**
    - * inputForm returns the user input html
    - * The simple form is just a text input box
    - * This has been specialized to show an example
    - * @param String name The name of the input element
    - * @return String The form used to collect the data
    - */
    - public String inputForm(String name)
    - {
    - String inputForm = "<TD ALIGN=\"left\"><INPUT TYPE=\"TEXT\" NAME=\""
    - + name + "\" SIZE=20></TD>" + StringUtils.NEWLINE
    - + "<%" + StringUtils.NEWLINE
    - + "java.text.DateFormat dateFormat" + getUniqueName()+ " = java.text.DateFormat.getDateInstance();" + StringUtils.NEWLINE
    - + "java.util.GregorianCalendar gcExamp" + getUniqueName()+ " = new java.util.GregorianCalendar();" + StringUtils.NEWLINE
    - + "java.util.Date date" + getUniqueName()+ " = gcExamp" + getUniqueName()+ ".getTime();" + StringUtils.NEWLINE
    - + "String tempResult" + getUniqueName()+ " = dateFormat" + getUniqueName()+ ".format(date" + getUniqueName()+ ");" + StringUtils.NEWLINE
    - + "%>" + StringUtils.NEWLINE
    - + "<TD ALIGN=\"left\">" + StringUtils.NEWLINE
    - + "</TR>" + StringUtils.NEWLINE
    - + "<TR>" + StringUtils.NEWLINE
    - + "<TD> </TD>" + StringUtils.NEWLINE
    - + "<TD ALIGN=\"left\"> eg. <%= tempResult" + getUniqueName()+ " %> </TD>" + StringUtils.NEWLINE
    - + "</TR>" + StringUtils.NEWLINE;
    -
    -
    -
    - return inputForm;
    - }
    -
    -
    - /*
    - * This function needs to be specialized
    - * We must use the date function to help
    - * us convert back and forth
    - */
    - public String stringConversion(String typeName, String nodeName, String attributeName)
    - {
    - String conversion = Generator.DOUBLE_TAB + "java.text.DateFormat dateFormat" + getUniqueName()+ " = java.text.DateFormat.getDateInstance();"
    - + StringUtils.NEWLINE + Generator.DOUBLE_TAB + "java.util.Date " + nodeName + "= dateFormat" + getUniqueName()+ ".parse(" + attributeName + ");"
    - + "" + StringUtils.NEWLINE;
    - return conversion;
    - }
    -
    - /**
    - * this is needed for most case
    - * but it is peripheral as the stringconversion needed
    - * to be overridden
    - */
    - public String StringToType(String name)
    - {
    - return "";
    - }
    -
    -
    -
    - /**
    - * converts the type returned from the proxy
    - * back to a string
    - * @return String convert the type to string.
    - */
    - public String TypeConversion(String name)
    - {
    -
    - String conversion = Generator.DOUBLE_TAB + "java.text.DateFormat dateFormat" + getUniqueName()+ " = java.text.DateFormat.getDateInstance();" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "String tempResult" + getUniqueName()+ " = org.eclipse.jst.ws.util.JspUtils.markup(dateFormat" + getUniqueName()+ ".format(" + name +"));" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%= tempResult" + getUniqueName()+ " %>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%" + StringUtils.NEWLINE;
    -
    - return conversion;
    - }
    -
    -
    -
    - /**
    - * The stringConversion function nails out specific conversion methods used among simple types
    - * This method is to be implemented by SimpleType subclasses
    - * @param String the name of string after the request call
    - * @return String the actual conversion string containing the name.
    - */
    - public String TypeToString(String name)
    - {
    - return "";
    - }
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DomElementType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DomElementType.java
    deleted file mode 100644
    index c0406ac6b..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DomElementType.java
    +++ /dev/null
    @@ -1,123 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class DomElementType implements DataType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - protected String fType;
    - protected String fUniqueName;
    -
    - /**
    - *Constructor
    - *
    - */
    - public DomElementType()
    - {
    - fType = "org.w3c.dom.Element";
    - fUniqueName = "";
    - }
    -
    - /**
    - * inputForm returns the user input html
    - * The DomElement form is a text box
    - * @param String name The name of the input element
    - * @return String The form used to collect the data
    - */
    - public String inputForm(String name)
    - {
    - String inputForm = "<TD ALIGN=\"left\"><TEXTAREA Rows=7 Cols=45 NAME=\""
    - + name + "\"></TEXTAREA></TD>" + StringUtils.NEWLINE
    - + "</TR>" + StringUtils.NEWLINE;
    - return inputForm;
    - }
    -
    - /**
    - * This function dictates how you want to process the
    - * incoming string from the input jsp. You may or may not use the markup
    - * function depending on the type. The simple types use it. DomElement does not
    - * @param String the name of the attribute
    - * @return String the code to be generated
    - */
    - public String getRequestCode(String name, String id)
    - {
    - String requestCode = Generator.DOUBLE_TAB + "String" + Generator.SPACE
    - + id + "= request.getParameter(\""
    - + name +"\");" + StringUtils.NEWLINE;
    - return requestCode;
    - }
    -
    - /**
    - * This function hands back the code required to go from the
    - * string the user entered to the actual type of the element
    - * @param String typeName this is the actual name of the type ie int,boolean
    - * @param String nodeName The nodeName is just the attributename + Temp.
    - * @param String the attributeName
    - * @return String convert the string to type .
    - */
    - public String stringConversion(String typeName, String nodeName, String attributeName)
    - {
    - String conversion = Generator.DOUBLE_TAB
    - + "org.w3c.dom.Element " + nodeName + "= org.eclipse.jst.ws.util.DomElementHelper.createDomElementFromXMLString(" + attributeName + ");"
    - + StringUtils.NEWLINE;
    - return conversion;
    - }
    -
    - /**
    - * This is basically the function that dictates how we want to display this type
    - * upon receiving it as a return from a proxy method
    - * @param String the name of the type
    - * @return String The display string
    - */
    - public String TypeConversion(String name)
    - {
    - String typeToString = Generator.DOUBLE_TAB + "String tempResult" + getUniqueName()+ " = org.eclipse.jst.ws.util.DomElementHelper.domWriter(" + name + ", new java.lang.StringBuffer()" + ");" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%= tempResult" + getUniqueName()+ " %>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%" + StringUtils.NEWLINE;
    -
    - return typeToString;
    - }
    -
    - /**
    - * return the name of this type
    - * @return String the name(including package).
    - */
    - public String getType()
    - {
    - return fType;
    - }
    -
    - public String getUniqueName()
    - {
    - return fUniqueName;
    - }
    -
    - public void setUniqueName(String name)
    - {
    - fUniqueName = name;
    - }
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/FieldElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/FieldElement.java
    deleted file mode 100644
    index eceb2eb6e..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/FieldElement.java
    +++ /dev/null
    @@ -1,92 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import java.util.Enumeration;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -
    -
    -/**
    -* Objects of this class represent a Java bean method parameter.
    -* Nearest moral equivalents: java.beans.ParameterDescriptor.
    -*/
    -public class FieldElement extends BasicElement implements AttributeElementType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    - private String fSetterMethod;
    - private String fGetterMethod;
    -
    -
    - public static final String REL_TYPE = "type";
    - public static final String REL_OWNING_BEAN = "owningbean";
    -
    - /**
    - * Constructor this takes the owning bean.
    - * @param name The name of the attribute.
    - * @param beanElement the bean that owns this attribute.
    - */
    - public FieldElement ( BeanElement beanElement, String name)
    - {
    - super(name,beanElement,REL_OWNING_BEAN,BeanElement.REL_FIELDS);
    - fSetterMethod = name;
    - fGetterMethod = name;
    - }
    -
    - public void setSetterMethod(String setterMethod)
    - {
    - fSetterMethod = setterMethod;
    - }
    -
    - public String getSetterMethod()
    - {
    - return fSetterMethod;
    - }
    -
    - public String getGetterMethod()
    - {
    - return fGetterMethod;
    - }
    -
    - public void setGetterMethod(String getterMethod)
    - {
    - fGetterMethod = getterMethod;
    - }
    -
    - public String getSetterSignature(String attribute)
    - {
    - return fSetterMethod + " = " + attribute + ";";
    - }
    -
    - /**
    - * Returns the Bean that owns this Attribute.
    - * @return BeanElement The bean that owns this attribute.
    - */
    - public BeanElement getOwningBeanElement ()
    - {
    - Enumeration e = getElements(REL_OWNING_BEAN);
    - return e.hasMoreElements() ? (BeanElement)e.nextElement() : null;
    - }
    -
    - /**
    - * Returns the type that is owned by this attributte.
    - * @return TypeElement The Type that of this attribute.
    - */
    - public TypeElement getTypeElement ()
    - {
    - Enumeration e = getElements(REL_TYPE);
    - return e.hasMoreElements() ? (TypeElement)e.nextElement() : null;
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/GregorianCalendarType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/GregorianCalendarType.java
    deleted file mode 100644
    index d7cfbf9c4..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/GregorianCalendarType.java
    +++ /dev/null
    @@ -1,127 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class GregorianCalendarType extends SimpleType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public GregorianCalendarType()
    - {
    - super(TypeFactory.GREGORIAN_CALENDAR_NAME);
    - }
    -
    -
    - /**
    - * inputForm returns the user input html
    - * The simple form is just a text input box
    - * This has been specialized to show an example
    - * @param String name The name of the input element
    - * @return String The form used to collect the data
    - */
    - public String inputForm(String name)
    - {
    - String inputForm = "<TD ALIGN=\"left\"><INPUT TYPE=\"TEXT\" NAME=\""
    - + name + "\" SIZE=20></TD>" + StringUtils.NEWLINE
    - + "<%" + StringUtils.NEWLINE
    - + "java.text.DateFormat dateFormat" + getUniqueName()+ " = java.text.DateFormat.getDateInstance();" + StringUtils.NEWLINE
    - + "java.util.GregorianCalendar gcExamp" + getUniqueName()+ " = new java.util.GregorianCalendar();" + StringUtils.NEWLINE
    - + "java.util.Date date" + getUniqueName()+ " = gcExamp" + getUniqueName()+ ".getTime();" + StringUtils.NEWLINE
    - + "String tempResult" + getUniqueName()+ " = dateFormat" + getUniqueName()+ ".format(date" + getUniqueName()+ ");" + StringUtils.NEWLINE
    - + "%>" + StringUtils.NEWLINE
    -
    -
    - + "<TD ALIGN=\"left\">" + StringUtils.NEWLINE
    - + "</TR>" + StringUtils.NEWLINE
    - + "<TR>" + StringUtils.NEWLINE
    - + "<TD> </TD>" + StringUtils.NEWLINE
    - + "<TD ALIGN=\"left\"> eg. <%= tempResult" + getUniqueName()+ " %> </TD>" + StringUtils.NEWLINE
    - + "</TR>" + StringUtils.NEWLINE;
    -
    -
    -
    - return inputForm;
    - }
    -
    -
    - /*
    - * This function needs to be specialized
    - * We must use the date function to help
    - * us convert back and forth
    - */
    - public String stringConversion(String typeName, String nodeName, String attributeName)
    - {
    - String conversion = Generator.DOUBLE_TAB + "java.text.DateFormat dateFormat" + getUniqueName()+ " = java.text.DateFormat.getDateInstance();"
    - + StringUtils.NEWLINE + Generator.DOUBLE_TAB + "java.util.Date dateTemp" + getUniqueName()+ " = dateFormat" + getUniqueName()+ ".parse(" + attributeName + ");"
    - + StringUtils.NEWLINE + Generator.DOUBLE_TAB + "java.util.GregorianCalendar" + Generator.SPACE + nodeName + " = " + "new java.util.GregorianCalendar();"
    - + StringUtils.NEWLINE + Generator.DOUBLE_TAB + nodeName + ".setTime(dateTemp" + getUniqueName()+ ");"
    - + "" + StringUtils.NEWLINE;
    - return conversion;
    - }
    -
    - /**
    - * this is needed for most case
    - * but it is peripheral as the stringconversion needed
    - * to be overridden
    - */
    - public String StringToType(String name)
    - {
    - return "";
    - }
    -
    - /**
    - * converts the type returned from the proxy
    - * back to a string
    - * @return String convert the type to string.
    - */
    - public String TypeConversion(String name)
    - {
    -
    - String conversion = Generator.DOUBLE_TAB + "java.text.DateFormat dateFormat" + getUniqueName()+ " = java.text.DateFormat.getDateInstance();" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "java.util.Date date" + getUniqueName()+ " = " + name + ".getTime();" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "String tempResult" + getUniqueName()+ " = org.eclipse.jst.ws.util.JspUtils.markup(dateFormat" + getUniqueName()+ ".format(date" + getUniqueName() + "));" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%= tempResult" + getUniqueName()+ " %>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%" + StringUtils.NEWLINE;
    -
    - return conversion;
    - }
    -
    -
    -
    - /**
    - * The stringConversion function nails out specific conversion methods used among simple types
    - * This method is to be implemented by SimpleType subclasses
    - * @param String the name of string after the request call
    - * @return String the actual conversion string containing the name.
    - */
    - public String TypeToString(String name)
    - {
    - return "";
    - }
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/HashtableType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/HashtableType.java
    deleted file mode 100644
    index a1ff2cf46..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/HashtableType.java
    +++ /dev/null
    @@ -1,37 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* objects of this class represent a recognized return type
    -*
    -*/
    -public class HashtableType extends RecognizedReturnType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public HashtableType()
    - {
    - super(TypeFactory.HASHTABLE_NAME);
    - }
    -
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MapType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MapType.java
    deleted file mode 100644
    index 0035bfbe8..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MapType.java
    +++ /dev/null
    @@ -1,37 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* objects of this class represent a recognized return type
    -*
    -*/
    -public class MapType extends RecognizedReturnType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public MapType()
    - {
    - super(TypeFactory.MAP_NAME);
    - }
    -
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MethodElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MethodElement.java
    deleted file mode 100644
    index 52e8d6032..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/MethodElement.java
    +++ /dev/null
    @@ -1,129 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import java.util.Enumeration;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -
    -
    -/**
    -* Objects of this class represent a Java bean method.
    -* Nearest moral equivalents: java.lang.reflect.Method, java.beans.MethodDescriptor.
    -*/
    -public class MethodElement extends BasicElement
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static final String REL_BEAN = "bean";
    - public static final String REL_PARAMETERS = "parameters";
    - public static final String REL_RETURN_PARAMETERS = "returnparameters";
    - private String fDisplayName;
    - private String fName;
    - private boolean fMethodOmitted;
    -
    - /**
    - * Constructor.
    - * @param bean The Bean that owns this method.
    - * @param name The name of the method.
    - * @param type The type of the method.
    - */
    - public MethodElement ( BeanElement beanElement, String name, String displayName)
    - {
    - super(name,beanElement,REL_BEAN,BeanElement.REL_METHODS);
    - fDisplayName = displayName;
    - fName = name;
    - fMethodOmitted = false;
    -
    - }
    -
    - /*
    - * In the event that there is an unsupported type
    - * we will set the ommission boolean variable
    - * @return boolean true if this method is to be ommited
    - */
    - public boolean getMethodOmmission()
    - {
    - return fMethodOmitted;
    - }
    -
    - /*
    - * In the event that there is an unsupported type
    - * we will get the ommission boolean variable
    - * @param boolean true if this method is to be ommited
    - */
    - public void setMethodOmmission(boolean bool)
    - {
    - fMethodOmitted = bool;
    - }
    -
    -
    - public String getName()
    - {
    - return fName;
    - }
    -
    - public String getDisplayName()
    - {
    - return fDisplayName;
    - }
    -
    - /**
    - * Returns the Bean that owns this method.
    - * @return Bean The Bean that owns this method.
    - */
    - public BeanElement getBeanElement ()
    - {
    - Enumeration e = getElements(REL_BEAN);
    - return e.hasMoreElements() ? (BeanElement)e.nextElement() : null;
    - }
    -
    - /**
    - * Returns an enumeration of the return parameter of this method.
    - * @return Enumeration holds the return parameter of this method.
    - */
    - public Enumeration getReturnParameterEnum ()
    - {
    - return getElements(REL_RETURN_PARAMETERS);
    - }
    -
    - /**
    - * Returns an enumeration of the return parameter of this method.
    - * @return Enumeration holds the return parameter of this method.
    - */
    - public ParameterElement getReturnParameterElement ()
    - {
    - Enumeration e = getReturnParameterEnum();
    - return e.hasMoreElements() ? (ParameterElement)e.nextElement() : null;
    - }
    -
    - /**
    - * Returns an enumeration of all Parameter objects of this method.
    - * @return Enumeration All Parameter objects of this method.
    - */
    - public Enumeration getParameterElements ()
    - {
    - return getElements(REL_PARAMETERS);
    - }
    -
    - /**
    - * Returns the number of Parameter objects of this method.
    - * @return int The number of Parameter objects of this method.
    - */
    - public int getNumberOfParameterElements ()
    - {
    - return getNumberOfElements(REL_PARAMETERS);
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ObjectType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ObjectType.java
    deleted file mode 100644
    index 37e8bd726..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ObjectType.java
    +++ /dev/null
    @@ -1,63 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060823 145643 mahutch@ca.ibm.com - Mark Hutchinson (created class)
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class ObjectType extends SimpleType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public ObjectType()
    - {
    - super(TypeFactory.OBJECT_NAME);
    - }
    -
    - /**
    - * StringToType gets the string taken by the
    - * user into proxy form
    - * @return String convert the string to type .
    - */
    - public String StringToType(String name)
    - {
    - //We can't deserialize a String to an Object
    - //this should never actually be called since
    - //methods with Objects as input are omitted.
    - return "new java.lang.Object();";
    - }
    -
    - /**
    - * The stringConversion function nails out specific conversion methods used among simple types
    - * This method is to be implemented by SimpleType subclasses
    - * @param String the name of string after the request call
    - * @return String the actual conversion string containing the name.
    - */
    - public String TypeToString(String name)
    - {
    - return name + ".toString()";
    - }
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ParameterElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ParameterElement.java
    deleted file mode 100644
    index 36f08a8b8..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/ParameterElement.java
    +++ /dev/null
    @@ -1,83 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import java.util.Enumeration;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -
    -
    -/**
    -* Objects of this class represent a Java bean method parameter.
    -* Nearest moral equivalents: java.beans.ParameterDescriptor.
    -*/
    -public class ParameterElement extends BasicElement
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static final String REL_METHOD = "method";
    - public static final String REL_TYPE = "type";
    -
    - public boolean fReturnParameter=false;
    -
    - /**
    - * Constructor.
    - * @param method The Method that owns this parameter.
    - * @param name The name of the parameter.
    - * @param type The type of the parameter.
    - */
    - public ParameterElement ( MethodElement methodElement, String name, String relType,boolean returnParameter )
    - {
    - this(name,methodElement,REL_METHOD,relType);
    - fReturnParameter = returnParameter;
    - }
    -
    - /**
    - * Constructor.
    - * @param method The Method that owns this parameter.
    - * @param name The name of the parameter.
    - * @param type The type of the parameter.
    - */
    - public ParameterElement (String name, MethodElement methodElement, String outRel,String inRel)
    - {
    - super(name,methodElement,outRel,inRel);
    - }
    -
    - /**
    - * Returns the Method that owns this parameter.
    - * @return Method The Method that owns this parameter.
    - */
    - public MethodElement getMethodElement ()
    - {
    - Enumeration e = getElements(REL_METHOD);
    - return e.hasMoreElements() ? (MethodElement)e.nextElement() : null;
    - }
    -
    - /**
    - * Returns the Method that owns this parameter.
    - * @return Method The Method that owns this parameter.
    - */
    - public TypeElement getTypeElement ()
    - {
    - Enumeration e = getElements(REL_TYPE);
    - return e.hasMoreElements() ? (TypeElement)e.nextElement() : null;
    - }
    -
    - public boolean isReturn()
    - {
    - return fReturnParameter;
    - }
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveArrayType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveArrayType.java
    deleted file mode 100644
    index 387306178..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveArrayType.java
    +++ /dev/null
    @@ -1,65 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -
    -
    -/**
    -* objects of this class represent a recognized return type
    -*
    -*/
    -public class PrimitiveArrayType extends ArrayType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public PrimitiveArrayType(String typeName)
    - {
    - super(TypeFactory.PRIMITIVE_ARRAY_NAME, typeName);
    - }
    -
    - /**
    - * This is basically the function that dictates how we want to display this type
    - * upon receiving it as a return from a proxy method
    - * @param String the name of the type
    - * @return String The display string
    - */
    - public String TypeConversion(String name)
    - {
    - String trippleTab = Generator.DOUBLE_TAB + Generator.TAB;
    -
    - String nonBean = Generator.DOUBLE_TAB + "String temp" + getUniqueName() + " = \"[\";"
    - + Generator.DOUBLE_TAB + "for(int i" + getUniqueName() + "=0;i" +getUniqueName() + "< " + name
    - + ".length;i" + getUniqueName() + "++){" + StringUtils.NEWLINE
    - + trippleTab + "temp"+ getUniqueName() +" = temp"+getUniqueName() + " + " + name + "[i" + getUniqueName()
    - + "] + \",\";" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "}" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "int length" + getUniqueName() + " = temp" + getUniqueName() + ".length();"
    - + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "temp" + getUniqueName() + " = temp"+getUniqueName()+".substring(0,(length"+getUniqueName()+" - 1)) + \"]\";"
    - + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%=temp"+ getUniqueName() +"%>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%"+ StringUtils.NEWLINE;
    -
    - return nonBean;
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveBooleanType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveBooleanType.java
    deleted file mode 100644
    index f58ad9d80..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveBooleanType.java
    +++ /dev/null
    @@ -1,48 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class PrimitiveBooleanType extends PrimitiveType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public PrimitiveBooleanType()
    - {
    - super(TypeFactory.PRIM_BOOLEAN_NAME);
    - }
    -
    - /**
    - * StringToType gets the string taken by the
    - * user into proxy form
    - * @return String convert the string to type.
    - */
    - public String StringToType(String name)
    - {
    - String conversion = "Boolean.valueOf(" + name + ").booleanValue();";
    - return conversion;
    - }
    -
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveByteType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveByteType.java
    deleted file mode 100644
    index 5045d26dd..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveByteType.java
    +++ /dev/null
    @@ -1,48 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class PrimitiveByteType extends PrimitiveType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public PrimitiveByteType()
    - {
    - super(TypeFactory.PRIM_BYTE_NAME);
    - }
    -
    - /**
    - * StringToType gets the string taken by the
    - * user into proxy form
    - * @return String convert the string to type.
    - */
    - public String StringToType(String name)
    - {
    - String conversion = "Byte.parseByte(" + name + ");";
    - return conversion;
    - }
    -
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveCharType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveCharType.java
    deleted file mode 100644
    index d52f90393..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveCharType.java
    +++ /dev/null
    @@ -1,48 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class PrimitiveCharType extends PrimitiveType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public PrimitiveCharType()
    - {
    - super(TypeFactory.PRIM_CHAR_NAME);
    - }
    -
    - /**
    - * StringToType gets the string taken by the
    - * user into proxy form
    - * @return String convert the string to type.
    - */
    - public String StringToType(String name)
    - {
    - String conversion = "" + name + ".charAt(0);";
    - return conversion;
    - }
    -
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveDoubleType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveDoubleType.java
    deleted file mode 100644
    index 7b362e718..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveDoubleType.java
    +++ /dev/null
    @@ -1,48 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class PrimitiveDoubleType extends PrimitiveType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public PrimitiveDoubleType()
    - {
    - super(TypeFactory.PRIM_DOUBLE_NAME);
    - }
    -
    - /**
    - * StringToType gets the string taken by the
    - * user into proxy form
    - * @return String convert the string to type.
    - */
    - public String StringToType(String name)
    - {
    - String conversion = "Double.parseDouble(" + name + ");";
    - return conversion;
    - }
    -
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveFloatType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveFloatType.java
    deleted file mode 100644
    index 200f9d7ca..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveFloatType.java
    +++ /dev/null
    @@ -1,48 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class PrimitiveFloatType extends PrimitiveType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public PrimitiveFloatType()
    - {
    - super(TypeFactory.PRIM_FLOAT_NAME);
    - }
    -
    - /**
    - * StringToType gets the string taken by the
    - * user into proxy form
    - * @return String convert the string to type.
    - */
    - public String StringToType(String name)
    - {
    - String conversion = "Float.parseFloat(" + name + ");";
    - return conversion;
    - }
    -
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveIntType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveIntType.java
    deleted file mode 100644
    index 2f33dd929..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveIntType.java
    +++ /dev/null
    @@ -1,48 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class PrimitiveIntType extends PrimitiveType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public PrimitiveIntType()
    - {
    - super(TypeFactory.PRIM_INTEGER_NAME);
    - }
    -
    - /**
    - * StringToType gets the string taken by the
    - * user into proxy form
    - * @return String convert the string to type.
    - */
    - public String StringToType(String name)
    - {
    - String conversion = "Integer.parseInt(" + name + ");";
    - return conversion;
    - }
    -
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveJavaTypes.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveJavaTypes.java
    deleted file mode 100644
    index f71523669..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveJavaTypes.java
    +++ /dev/null
    @@ -1,56 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class PrimitiveJavaTypes extends SimpleType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public PrimitiveJavaTypes(String type)
    - {
    - super(type);
    - }
    -
    - /**
    - * StringToType gets the string taken by the
    - * user into proxy form
    - * @return String convert the string to type .
    - */
    - public String StringToType(String name)
    - {
    - String conversion = fType + ".valueOf(" + name + ");";
    - return conversion;
    - }
    -
    - /**
    - * The stringConversion function nails out specific conversion methods used among simple types
    - * This method is to be implemented by SimpleType subclasses
    - * @param String the name of string after the request call
    - * @return String the actual conversion string containing the name.
    - */
    - public String TypeToString(String name)
    - {
    - return "String.valueOf(" + name + ")";
    - }
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveLongType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveLongType.java
    deleted file mode 100644
    index ef0c82698..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveLongType.java
    +++ /dev/null
    @@ -1,48 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class PrimitiveLongType extends PrimitiveType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public PrimitiveLongType()
    - {
    - super(TypeFactory.PRIM_LONG_NAME);
    - }
    -
    - /**
    - * StringToType gets the string taken by the
    - * user into proxy form
    - * @return String convert the string to type.
    - */
    - public String StringToType(String name)
    - {
    - String conversion = "Long.parseLong(" + name + ");";
    - return conversion;
    - }
    -
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveShortType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveShortType.java
    deleted file mode 100644
    index 8f91ce6ac..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveShortType.java
    +++ /dev/null
    @@ -1,48 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class PrimitiveShortType extends PrimitiveType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public PrimitiveShortType()
    - {
    - super(TypeFactory.PRIM_SHORT_NAME);
    - }
    -
    - /**
    - * StringToType gets the string taken by the
    - * user into proxy form
    - * @return String convert the string to type.
    - */
    - public String StringToType(String name)
    - {
    - String conversion = "Short.parseShort(" + name + ");";
    - return conversion;
    - }
    -
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveType.java
    deleted file mode 100644
    index 4b5176766..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/PrimitiveType.java
    +++ /dev/null
    @@ -1,47 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public abstract class PrimitiveType extends SimpleType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public PrimitiveType(String type)
    - {
    - super(type);
    - }
    -
    - /**
    - * The stringConversion function nails out specific conversion methods used among simple types
    - * This method is to be implemented by SimpleType subclasses
    - * @param String the name of string after the request call
    - * @return String the actual conversion string containing the name.
    - */
    - public String TypeToString(String name)
    - {
    - return "String.valueOf(" + name + ")";
    - }
    -
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/RecognizedReturnType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/RecognizedReturnType.java
    deleted file mode 100644
    index fc721a809..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/RecognizedReturnType.java
    +++ /dev/null
    @@ -1,108 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -
    -
    -/**
    -* objects of this class represent a recognized return type
    -*
    -*/
    -public class RecognizedReturnType implements DataType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - protected String fType;
    - protected String fUniqueName;
    -
    - /**
    - *Constructor
    - *
    - */
    - public RecognizedReturnType(String type)
    - {
    - fType = type;
    - fUniqueName = "";
    - }
    -
    - /**
    - * not relevant at this point
    - */
    - public String inputForm(String name)
    - {
    - return "";
    - }
    -
    - /**
    - * again not relevant
    - */
    - public String getRequestCode(String name, String id)
    - {
    - return "";
    - }
    -
    - /**
    - * This function hands back the code required to go from the
    - * string the user entered to the actual type of the element
    - * @param String typeName this is the actual name of the type ie int,boolean
    - * @param String nodeName The nodeName is just the attributename + Temp.
    - * @param String the attributeName
    - * @return String convert the string to type .
    - */
    - public String stringConversion(String typeName, String nodeName, String attributeName)
    - {
    - return "";
    - }
    -
    - /**
    - * This is basically the function that dictates how we want to display this type
    - * upon receiving it as a return from a proxy method
    - * @param String the name of the type
    - * @return String The display string
    - */
    - public String TypeConversion(String name)
    - {
    - String nonBean = Generator.DOUBLE_TAB + "if(" + name + "!= null){" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "String temp" + getUniqueName()+" = " + name + ".toString();" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%=temp" + getUniqueName() +"%>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "}";
    - return nonBean;
    - }
    -
    - /**
    - * return the name of this type
    - * @return String the name(including package).
    - */
    - public String getType()
    - {
    - return fType;
    - }
    -
    - public String getUniqueName()
    - {
    - return fUniqueName;
    - }
    -
    - public void setUniqueName(String name)
    - {
    - fUniqueName = name;
    - }
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SOAPElementType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SOAPElementType.java
    deleted file mode 100644
    index 289e009e5..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SOAPElementType.java
    +++ /dev/null
    @@ -1,123 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class SOAPElementType implements DataType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - protected String fType;
    - protected String fUniqueName;
    -
    - /**
    - *Constructor
    - *
    - */
    - public SOAPElementType()
    - {
    - fType = "javax.xml.soap.SOAPElement";
    - fUniqueName = "";
    - }
    -
    - /**
    - * inputForm returns the user input html
    - * The DomElement form is a text box
    - * @param String name The name of the input element
    - * @return String The form used to collect the data
    - */
    - public String inputForm(String name)
    - {
    - String inputForm = "<TD ALIGN=\"left\"><TEXTAREA Rows=7 Cols=45 NAME=\""
    - + name + "\"></TEXTAREA></TD>" + StringUtils.NEWLINE
    - + "</TR>" + StringUtils.NEWLINE;
    - return inputForm;
    - }
    -
    - /**
    - * This function dictates how you want to process the
    - * incoming string from the input jsp. You may or may not use the markup
    - * function depending on the type. The simple types use it. DomElement does not
    - * @param String the name of the attribute
    - * @return String the code to be generated
    - */
    - public String getRequestCode(String name, String id)
    - {
    - String requestCode = Generator.DOUBLE_TAB + "String" + Generator.SPACE
    - + id + "= request.getParameter(\""
    - + name +"\");" + StringUtils.NEWLINE;
    - return requestCode;
    - }
    -
    - /**
    - * This function hands back the code required to go from the
    - * string the user entered to the actual type of the element
    - * @param String typeName this is the actual name of the type ie int,boolean
    - * @param String nodeName The nodeName is just the attributename + Temp.
    - * @param String the attributeName
    - * @return String convert the string to type .
    - */
    - public String stringConversion(String typeName, String nodeName, String attributeName)
    - {
    - String conversion = Generator.DOUBLE_TAB
    - + "javax.xml.soap.SOAPElement " + nodeName + "= org.eclipse.jst.ws.util.SoapElementHelper.createSOAPElementFromXMLString(" + attributeName + ");"
    - + StringUtils.NEWLINE;
    - return conversion;
    - }
    -
    - /**
    - * This is basically the function that dictates how we want to display this type
    - * upon receiving it as a return from a proxy method
    - * @param String the name of the type
    - * @return String The display string
    - */
    - public String TypeConversion(String name)
    - {
    - String typeToString = Generator.DOUBLE_TAB + "String tempResult" + getUniqueName()+ " = org.eclipse.jst.ws.util.SoapElementHelper.soapElementWriter(" + name + ", new java.lang.StringBuffer()" + ");" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%= tempResult" + getUniqueName()+ " %>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%" + StringUtils.NEWLINE;
    -
    - return typeToString;
    - }
    -
    - /**
    - * return the name of this type
    - * @return String the name(including package).
    - */
    - public String getType()
    - {
    - return fType;
    - }
    -
    - public String getUniqueName()
    - {
    - return fUniqueName;
    - }
    -
    - public void setUniqueName(String name)
    - {
    - fUniqueName = name;
    - }
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleElement.java
    deleted file mode 100644
    index f478345d1..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleElement.java
    +++ /dev/null
    @@ -1,62 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* 1 of three type elements represents primitives
    -*/
    -public class SimpleElement extends TypeElement
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - * Constructor
    - * @param ParameterElement The Parameter that owns this simple type.
    - * @param String Name of the simple element.
    - */
    - public SimpleElement ( ParameterElement parameterElement, String name, boolean prim)
    - {
    - super(name,parameterElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.SIMPLE);
    - fOwnerType = TypeElement.PARAMETER_OWNER;
    - setPrimitive(prim);
    - }
    -
    - /**
    - * Constructor
    - * @param ParameterElement The Attribute that owns this simple type.
    - * @param String Name of the AttributeElement.
    - */
    - public SimpleElement ( AttributeElement attributeElement, String name, boolean prim)
    - {
    - super(name,attributeElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.SIMPLE);
    - fOwnerType = TypeElement.ATTRIBUTE_OWNER;
    - setPrimitive(prim);
    - }
    -
    - /**
    - * Constructor
    - * @param ParameterElement The Attribute that owns this simple type.
    - * @param String Name of the AttributeElement.
    - */
    - public SimpleElement ( FieldElement fieldElement, String name, boolean prim)
    - {
    - super(name,fieldElement,TypeElement.REL_OWNER,TypeElement.REL_TYPE,TypeElement.SIMPLE);
    - fOwnerType = TypeElement.FIELD_OWNER;
    - setPrimitive(prim);
    - }
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleType.java
    deleted file mode 100644
    index e81948248..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SimpleType.java
    +++ /dev/null
    @@ -1,140 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public abstract class SimpleType implements DataType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - protected String fType;
    - protected String fUniqueName;
    -
    - /**
    - *Constructor
    - *
    - */
    - public SimpleType(String type)
    - {
    - fType = type;
    - }
    -
    - /**
    - * inputForm returns the user input html
    - * The simple form is just a text input box
    - * @param String name The name of the input element
    - * @return String The form used to collect the data
    - */
    - public String inputForm(String name)
    - {
    - String inputForm = "<TD ALIGN=\"left\"><INPUT TYPE=\"TEXT\" NAME=\""
    - + name + "\" SIZE=20></TD>" + StringUtils.NEWLINE
    - + "</TR>" + StringUtils.NEWLINE;
    - return inputForm;
    - }
    -
    - /**
    - * This function dictates how you want to process the
    - * incoming string from the input jsp. You may or may not use the markup
    - * function depending on the type. The simple types use it. DomElement does not
    - * @param String the name of the attribute
    - * @return String the code to be generated
    - */
    - public String getRequestCode(String name, String id)
    - {
    - String requestCode = Generator.DOUBLE_TAB + "String" + Generator.SPACE
    - + id + "= request.getParameter(\""
    - + name +"\");" + StringUtils.NEWLINE;
    - return requestCode;
    - }
    -
    - /**
    - * This function hands back the code required to go from the
    - * string the user entered to the actual type of the element
    - * it uses another function that all subclasses of SimpleType are required to implement
    - * The StringToType function
    - * @param String typeName this is the actual name of the type ie int,boolean
    - * @param String nodeName The nodeName is just the attributename + Temp.
    - * @param String the attributeName
    - * @return String convert the string to type .
    - */
    - public String stringConversion(String typeName, String nodeName, String attributeName)
    - {
    - String conversion = Generator.DOUBLE_TAB + typeName + Generator.SPACE + nodeName
    - + Generator.SPACE + " = " + StringToType(attributeName)
    - + "" + StringUtils.NEWLINE;
    - return conversion;
    - }
    -
    - /**
    - * The stringConversion function nails out specific conversion methods used among simple types
    - * This method is to be implemented by SimpleType subclasses
    - * @param String the name of string after the request call
    - * @return String the actual conversion string containing the name.
    - */
    - public abstract String StringToType(String name);
    -
    - /**
    - * converts the type returned from the proxy
    - * back to a string
    - * @return String convert the type to string.
    - */
    - public String TypeConversion(String name)
    - {
    -
    - String conversion = Generator.DOUBLE_TAB + "String tempResult" + getUniqueName()+ " = org.eclipse.jst.ws.util.JspUtils.markup(" + TypeToString(name) + ");" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%= tempResult" + getUniqueName()+ " %>" + StringUtils.NEWLINE
    - + Generator.DOUBLE_TAB + "<%" + StringUtils.NEWLINE;
    -
    - return conversion;
    - }
    -
    - /**
    - * The stringConversion function nails out specific conversion methods used among simple types
    - * This method is to be implemented by SimpleType subclasses
    - * @param String the name of string after the request call
    - * @return String the actual conversion string containing the name.
    - */
    - public abstract String TypeToString(String name);
    -
    - /**
    - * return the name of this type
    - * @return String the name(including package).
    - */
    - public String getType()
    - {
    - return fType;
    - }
    -
    - public String getUniqueName()
    - {
    - return fUniqueName;
    - }
    -
    - public void setUniqueName(String name)
    - {
    - fUniqueName = name;
    - }
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StateLessBeanType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StateLessBeanType.java
    deleted file mode 100644
    index 50cb4cfbe..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StateLessBeanType.java
    +++ /dev/null
    @@ -1,38 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* objects of this class represent a recognized return type
    -*
    -*/
    -public class StateLessBeanType extends RecognizedReturnType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    -
    - public StateLessBeanType(String name)
    - {
    - super(TypeFactory.STATELESS_BEAN);
    - }
    -
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StringType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StringType.java
    deleted file mode 100644
    index 1b99c746e..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/StringType.java
    +++ /dev/null
    @@ -1,57 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class StringType extends SimpleType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public StringType()
    - {
    - super(TypeFactory.STRING_NAME);
    - }
    -
    - /**
    - * StringToType gets the string taken by the
    - * user into proxy form
    - * @return String convert the string to type .
    - */
    - public String StringToType(String name)
    - {
    - String conversion = name + ";";
    - return conversion;
    - }
    -
    - /**
    - * The stringConversion function nails out specific conversion methods used among simple types
    - * This method is to be implemented by SimpleType subclasses
    - * @param String the name of string after the request call
    - * @return String the actual conversion string containing the name.
    - */
    - public String TypeToString(String name)
    - {
    - return "String.valueOf(" + name + ")";
    - }
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeElement.java
    deleted file mode 100644
    index f1592f6aa..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeElement.java
    +++ /dev/null
    @@ -1,192 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import java.util.Enumeration;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -import org.eclipse.wst.ws.internal.datamodel.Model;
    -
    -/**
    -* TypeElement is the base class for Java bean features that have types.
    -*/
    -public abstract class TypeElement extends BasicElement
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static int BEAN = 0;
    - public static int SIMPLE = 1;
    - public static int ARRAY = 2;
    -
    - private int fType;
    - protected int fOwnerType;
    - private boolean fPrimitive = false;
    -
    - /**
    - * Constructor. Automatically adds this object to the given model.
    - * @param name The name of the element
    - * @param model The model to own this object.
    - * @param type The type represented by this object, one of
    - * <code>BEAN</code>, <code>SIMPLE</code> or <code>ARRAY</code>.
    - */
    - protected TypeElement ( String name, Model model, int type )
    - {
    - super(name,model);
    - fType = type;
    - }
    -
    - /**
    - */
    - protected TypeElement ( String name, Element element, String outboundRelName, String inboundRelName, int type )
    - {
    - super(name,element,outboundRelName,inboundRelName);
    - fType = type;
    - }
    -
    - /*
    - *This will tell you wether the type is a bean
    - *@param Boolean returns true if this is bean
    - **/
    - public boolean isBean()
    - {
    - if (fType == BEAN) return true;
    - return false;
    - }
    -
    - /*
    - *This will tell you wether the type is a bean
    - *@param Boolean returns true if this is bean
    - **/
    - public boolean isPrimitive()
    - {
    - return fPrimitive;
    - }
    -
    - /*
    - *This will tell you wether the type is a bean
    - *@param Boolean returns true if this is bean
    - **/
    - protected void setPrimitive(boolean prim)
    - {
    - fPrimitive = prim;
    - }
    -
    -
    - /*
    - * This is mainly needed for arrays as with all types the
    - * names come out as java.util.type, but with an array it
    - * isnt explicit in telling us its an array
    - */
    - public String getTypeName()
    - {
    - return getName();
    - }
    -
    - /*
    - *This will tell you wether the type is a simple
    - *@param Boolean returns true if this is simple
    - **/
    - public boolean isSimple()
    - {
    - if (fType == SIMPLE) return true;
    - return false;
    - }
    -
    - /*
    - *This will tell you wether the type is a array
    - *@param Boolean returns true if this is array
    - **/
    - public boolean isArray()
    - {
    - if (fType == ARRAY) return true;
    - return false;
    - }
    -
    - public static String REL_ATTRIBUTES = "attributes";
    - public static String REL_FIELDS = "fields";
    - public static final String REL_TYPE = "type";
    - public static final String REL_OWNER = "owner";
    -
    - public static int PARAMETER_OWNER = 0;
    - public static int ATTRIBUTE_OWNER = 1;
    - public static int FIELD_OWNER = 2;
    - public static int ROOT = 3;
    -
    - /*
    - * This could be The root test bean
    - * @return boolean true if this is root bean
    - */
    - public boolean isRoot()
    - {
    - if(fOwnerType == ROOT) return true;
    - return false;
    - }
    -
    - /*
    - * This Type could be owned by a Parameter or an attribute
    - * @return boolean true if this is owned by a parameter
    - */
    - public boolean isOwnerParameter()
    - {
    - if(fOwnerType == PARAMETER_OWNER) return true;
    - return false;
    - }
    -
    - /*
    - * This Type could be owned by a Parameter or an attribute
    - * @return boolean true if this is owned by an attribute
    - */
    - public boolean isOwnerAttribute()
    - {
    - if(fOwnerType == ATTRIBUTE_OWNER) return true;
    - return false;
    - }
    -
    - /*
    - * This Type could be owned by a Parameter or an attribute
    - * @return boolean true if this is owned by an attribute
    - */
    - public boolean isOwnerField()
    - {
    - if(fOwnerType == FIELD_OWNER) return true;
    - return false;
    - }
    -
    - /**
    - * This Type may be owned by a parameter or an attribute
    - * Use this method in conjunction with isOwnerParamter, isOwner
    - * @return BasicElement the element that owns this attribute.
    - */
    - public BasicElement getOwningElement ()
    - {
    - if (isOwnerParameter()){
    - Enumeration e = getElements(REL_OWNER);
    - return e.hasMoreElements() ? (BasicElement)e.nextElement() : null;
    - }
    - else if(isOwnerAttribute()){
    - Enumeration e = getElements(REL_OWNER);
    - return e.hasMoreElements() ? (BasicElement)e.nextElement() : null;
    - }
    - else if(isOwnerField()){
    - Enumeration e = getElements(REL_OWNER);
    - return e.hasMoreElements() ? (BasicElement)e.nextElement() : null;
    - }
    -
    - return null;
    - }
    -
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeFactory.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeFactory.java
    deleted file mode 100644
    index 7bed616cb..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/TypeFactory.java
    +++ /dev/null
    @@ -1,263 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060726 145676 gilberta@ca.ibm.com - Gilbert Andrews
    - * 20060823 145643 mahutch@ca.ibm.com - Mark Hutchinson
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -import java.util.Hashtable;
    -import org.eclipse.jem.java.JavaHelpers;
    -/**
    - * TypeFactory
    - * Creation date: (4/10/2001 12:41:48 PM)
    - * @author: Gilbert Andrews
    - */
    -public class TypeFactory
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static final String URL_NAME = "java.net.URL";
    - public static final String STRING_NAME = "java.lang.String";
    - public static final String BIG_DECIMAL_NAME = "java.math.BigDecimal";
    - public static final String BIG_INTEGER_NAME = "java.math.BigInteger";
    - public static final String DATE_NAME = "java.util.Date";
    - public static final String GREGORIAN_CALENDAR_NAME = "java.util.GregorianCalendar";
    - public static final String CALENDAR_NAME = "java.util.Calendar";
    - public static final String BOOLEAN_NAME = "java.lang.Boolean";
    - public static final String BYTE_NAME = "java.lang.Byte";
    - public static final String DOUBLE_NAME = "java.lang.Double";
    - public static final String FLOAT_NAME = "java.lang.Float";
    - public static final String INTEGER_NAME = "java.lang.Integer";
    - public static final String LONG_NAME = "java.lang.Long";
    - public static final String SHORT_NAME = "java.lang.Short";
    - public static final String CHARACTER_NAME = "java.lang.Character";
    - public static final String OBJECT_NAME = "java.lang.Object";
    - public static final String PRIM_BOOLEAN_NAME = "boolean";
    - public static final String PRIM_BYTE_NAME = "byte";
    - public static final String PRIM_DOUBLE_NAME = "double";
    - public static final String PRIM_FLOAT_NAME = "float";
    - public static final String PRIM_INTEGER_NAME = "int";
    - public static final String PRIM_LONG_NAME = "long";
    - public static final String PRIM_SHORT_NAME = "short";
    - public static final String PRIM_CHAR_NAME = "char";
    - public static final String VOID_NAME = "void";
    -
    - //some special complex
    - public static final String DOM_ELEMENT_NAME = "org.w3c.dom.Element";
    - public static final String SOAP_ELEMENT_NAME = "javax.xml.soap.SOAPElement";
    - public static final String STATELESS_BEAN = BeanElement.STATELESS_BEAN;
    -
    -
    -
    - public static Hashtable javaTypes = new Hashtable();
    -
    - public TypeFactory(){}
    -
    - static{
    - javaTypes.put(BOOLEAN_NAME,new PrimitiveJavaTypes(BOOLEAN_NAME));
    - javaTypes.put(BYTE_NAME, new PrimitiveJavaTypes(BYTE_NAME));
    - javaTypes.put(DOUBLE_NAME, new PrimitiveJavaTypes(DOUBLE_NAME));
    - javaTypes.put(FLOAT_NAME, new PrimitiveJavaTypes(FLOAT_NAME));
    - javaTypes.put(INTEGER_NAME,new PrimitiveJavaTypes(INTEGER_NAME));
    - javaTypes.put(LONG_NAME, new PrimitiveJavaTypes(LONG_NAME));
    - javaTypes.put(SHORT_NAME, new PrimitiveJavaTypes(SHORT_NAME));
    - javaTypes.put(CHARACTER_NAME, new PrimitiveJavaTypes(CHARACTER_NAME));
    - }
    -
    -
    - /*
    - * This function allows us to handle recognized beans
    - * in displaying and generating code for them instead of
    - * treating them as complex types
    - */
    - public static boolean recognizedBean(String type)
    - {
    -
    - //
    - //current recognized beans (mostly java.lang)
    - if (type.equals(BOOLEAN_NAME) ||
    - type.equals(BYTE_NAME) ||
    - type.equals(DOUBLE_NAME) ||
    - type.equals(FLOAT_NAME) ||
    - type.equals(INTEGER_NAME) ||
    - type.equals(LONG_NAME) ||
    - type.equals(SHORT_NAME) ||
    - type.equals(CHARACTER_NAME) ||
    - type.equals(DOM_ELEMENT_NAME) ||
    - type.equals(SOAP_ELEMENT_NAME) ||
    - type.equals(BIG_DECIMAL_NAME) ||
    - type.equals(BIG_INTEGER_NAME) ||
    - type.equals(DATE_NAME) ||
    - type.equals(GREGORIAN_CALENDAR_NAME) ||
    - type.equals(CALENDAR_NAME) ||
    - type.equals(URL_NAME) ||
    - type.equals(OBJECT_NAME) ||
    - type.equals(STRING_NAME)) return true;
    - return false;
    -
    - }
    -
    - /*
    - * This function allows us to handle unsupported types
    - * if we dont want to support a type and we want to omitt this
    - * method from the samples
    - * @param javaHelpers this is the type to be evaluated
    - * @return boolean true if the type is not supported
    - */
    - public static boolean isUnSupportedType(JavaHelpers javaHelpers)
    - {
    - //we also dont support arrays
    - //java.lang.Objects are ok for return types but not for input type
    - if (javaHelpers.isArray()||
    - javaHelpers.getJavaName().equals(MAP_NAME)||
    - javaHelpers.getJavaName().equals(VECTOR_NAME)||
    - javaHelpers.getJavaName().equals(DATA_HANDLER)||
    - javaHelpers.getJavaName().equals(OBJECT_NAME) ||
    - javaHelpers.getJavaName().equals("java.lang.class") ) return true;
    -
    - return false;
    - }
    -
    - public static String HASHTABLE_NAME = "java.util.Hashtable";
    - public static String MAP_NAME = "java.util.Map";
    - public static String VECTOR_NAME = "java.util.Vector";
    - public static String ARRAY_NAME = ArrayElement.ARRAY_NAME;
    - public static String PRIMITIVE_ARRAY_NAME = "primitivearray";
    - public static String DATA_HANDLER = "javax.activation.DataHandler";
    -
    - public static boolean isRecognizedReturnType(JavaHelpers javaHelpers)
    - {
    - //arrays
    - //Hashtable
    - //Vectors
    - //java.lang.Objects are ok for return types
    - if (javaHelpers.isArray()) return true;
    - else if (javaHelpers.getJavaName().equals(HASHTABLE_NAME))return true;
    - else if (javaHelpers.getJavaName().equals(VECTOR_NAME))return true;
    - else if (javaHelpers.getJavaName().equals(MAP_NAME))return true;
    - else if (javaHelpers.getJavaName().equals(OBJECT_NAME))return true;
    - else return false;
    - }
    -
    - public static boolean isRecognizedReturnType(String type)
    - {
    - //arrays
    - //Hashtable
    - //Vectors
    - //java.lang.Objects are ok for return types
    - if (type.startsWith(ARRAY_NAME)) return true;
    - else if (type.equals(HASHTABLE_NAME))return true;
    - else if (type.equals(VECTOR_NAME))return true;
    - else if (type.equals(MAP_NAME))return true;
    - else if (type.equals(OBJECT_NAME)) return true;
    - else return false;
    - }
    -
    - public static boolean isStateLessBean(String type)
    - {
    - if(type.startsWith(STATELESS_BEAN)) return true;
    - return false;
    - }
    -
    -
    - /**
    - * Creates a type based on the JavaHelper then sets this type in the element
    - * @params JavaHelpers this holds the type
    - * @param TypeElement The element which will hold the type created
    - * @param String Uniquename to be used when naming temp variables
    - */
    -
    - public static DataType createType(String type, String UniqueName)
    - {
    - //this guy might be both stateless and one of the below elements
    - //we would like to be as specific as we can, stateless is the worst case
    - boolean stateless = false;
    - if(type.startsWith(STATELESS_BEAN)) {
    - stateless = true;
    - type = type.substring(29);
    - }
    -
    - DataType datatype = null;
    - if (type.equals(PRIM_BOOLEAN_NAME)) datatype = new PrimitiveBooleanType();
    - else if (type.equals(PRIM_BYTE_NAME)) datatype = new PrimitiveByteType();
    - else if (type.equals(PRIM_DOUBLE_NAME)) datatype = new PrimitiveDoubleType();
    - else if (type.equals(PRIM_FLOAT_NAME)) datatype = new PrimitiveFloatType();
    - else if (type.equals(PRIM_LONG_NAME)) datatype = new PrimitiveLongType();
    - else if (type.equals(PRIM_INTEGER_NAME)) datatype = new PrimitiveIntType();
    - else if (type.equals(PRIM_CHAR_NAME)) datatype = new PrimitiveCharType();
    - else if (type.equals(PRIM_SHORT_NAME)) datatype = new PrimitiveShortType();
    -
    -
    - //see if this critter is a javatype
    - else if (type.equals(BOOLEAN_NAME) ||
    - type.equals(BYTE_NAME) ||
    - type.equals(DOUBLE_NAME) ||
    - type.equals(FLOAT_NAME) ||
    - type.equals(INTEGER_NAME) ||
    - type.equals(LONG_NAME) ||
    - type.equals(CHARACTER_NAME) ||
    - type.equals(SHORT_NAME)) datatype = (DataType)javaTypes.get(type);
    -
    - //see if its a case we handle
    - else if (type.equals(STRING_NAME)) datatype = new StringType();
    - else if (type.equals(VOID_NAME)) datatype = new VoidType();
    - else if (type.equals(DOM_ELEMENT_NAME)) datatype = new DomElementType();
    - else if (type.equals(SOAP_ELEMENT_NAME)) datatype = new SOAPElementType();
    - else if (type.equals(BIG_DECIMAL_NAME)) datatype = new BigDecimalType();
    - else if (type.equals(BIG_INTEGER_NAME)) datatype = new BigIntegerType();
    - else if (type.equals(DATE_NAME)) datatype = new DateType();
    - else if (type.equals(URL_NAME)) datatype = new URLType();
    - else if (type.equals(GREGORIAN_CALENDAR_NAME)) datatype = new GregorianCalendarType();
    - else if (type.equals(CALENDAR_NAME)) datatype = new GregorianCalendarType();
    -
    - //it could be a return type we support
    - else if (type.equals(HASHTABLE_NAME)) datatype = new HashtableType();
    - else if (type.equals(VECTOR_NAME)) datatype = new VectorType();
    - else if (type.equals(MAP_NAME)) datatype = new MapType();
    - else if (type.equals(OBJECT_NAME)) datatype = new ObjectType();
    -
    - // need to see if it is an object array
    - //or a primitive
    - else if (type.startsWith(ARRAY_NAME)){
    - String name = type.substring(21);
    - if(name.startsWith(PRIM_BOOLEAN_NAME) ||
    - name.startsWith(PRIM_BYTE_NAME) ||
    - name.startsWith(PRIM_DOUBLE_NAME) ||
    - name.startsWith(PRIM_FLOAT_NAME) ||
    - name.startsWith(PRIM_LONG_NAME) ||
    - name.startsWith(PRIM_INTEGER_NAME) ||
    - name.startsWith(PRIM_CHAR_NAME) ||
    - name.startsWith(PRIM_SHORT_NAME))
    - datatype = new PrimitiveArrayType(name);
    - else
    - datatype = new ArrayType(name);
    -
    - }
    - else if (stateless){
    - datatype = new StateLessBeanType(type);
    -
    - }
    -
    -
    - datatype.setUniqueName(UniqueName);
    - return datatype;
    -
    - }
    -
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/URLType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/URLType.java
    deleted file mode 100644
    index 9c0fb28c8..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/URLType.java
    +++ /dev/null
    @@ -1,57 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class URLType extends SimpleType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public URLType()
    - {
    - super(TypeFactory.URL_NAME);
    - }
    -
    - /**
    - * StringToType gets the string taken by the
    - * user into proxy form
    - * @return String convert the string to type .
    - */
    - public String StringToType(String name)
    - {
    - String conversion = "new java.net.URL(" + name + ");";
    - return conversion;
    - }
    -
    - /**
    - * The stringConversion function nails out specific conversion methods used among simple types
    - * This method is to be implemented by SimpleType subclasses
    - * @param String the name of string after the request call
    - * @return String the actual conversion string containing the name.
    - */
    - public String TypeToString(String name)
    - {
    - return name + ".toString()";
    - }
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VectorType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VectorType.java
    deleted file mode 100644
    index 5a0718ddc..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VectorType.java
    +++ /dev/null
    @@ -1,37 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* objects of this class represent a recognized return type
    -*
    -*/
    -public class VectorType extends RecognizedReturnType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public VectorType()
    - {
    - super(TypeFactory.VECTOR_NAME);
    - }
    -
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VoidType.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VoidType.java
    deleted file mode 100644
    index 5fde91e13..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/VoidType.java
    +++ /dev/null
    @@ -1,56 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
    -
    -
    -/**
    -* objects of this class represent a type
    -*
    -*/
    -public class VoidType extends SimpleType
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - *Constructor
    - *
    - */
    - public VoidType()
    - {
    - super("void");
    - }
    -
    - /**
    - * for a void there is no need to return
    - * @return String convert the string to type .
    - */
    - public String StringToType(String name)
    - {
    - return "";
    - }
    -
    - /**
    - * The stringConversion function nails out specific conversion methods used among simple types
    - * This method is to be implemented by SimpleType subclasses
    - * @param String the name of string after the request call
    - * @return String the actual conversion string containing the name.
    - */
    - public String TypeToString(String name)
    - {
    - return "String.valueOf(" + name + ")";
    - }
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/validate/ValidationManager.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/validate/ValidationManager.java
    deleted file mode 100644
    index 1e8647fd2..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/validate/ValidationManager.java
    +++ /dev/null
    @@ -1,112 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.validate;
    -
    -import java.util.HashSet;
    -import org.eclipse.core.resources.IProject;
    -import org.eclipse.core.resources.IWorkspace;
    -import org.eclipse.core.resources.IWorkspaceDescription;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -
    -/**
    - * This class manages the validation state of projects that some tasks may want
    - * to disable. The manager can then be used to restore the validation state.
    -**/
    -public class ValidationManager
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    - /**
    - * This set contains a set of IProjects that need to be validated.
    - **/
    - private HashSet projects = null;
    -
    - /**
    - * This object contains a reference to the j2ee validator.
    - **/
    - //pgm private ValidatorManager j2eeManager = null;
    -
    - /**
    - * This boolean contains the auto build setting under preferrence
    - **/
    - private boolean isAutoBuild_;
    - private boolean autoBuildDisabled_;
    -
    - public ValidationManager()
    - {
    - projects = new HashSet();
    - //pgm j2eeManager = ValidatorManager.getManager();
    - setAutoBuildPreference();
    - autoBuildDisabled_ = false;
    - }
    -
    - /**
    - * Disables the validation for a project if required.
    - **/
    - public void disableValidationForProject( IProject project )
    - {
    - // We need to remember that this project needs have validation turned back on.
    - projects.add( project );
    -
    - //pgm j2eeManager.suspendAllValidation( true );
    - }
    -
    - /**
    - * Restores the validation state for all needed projects.
    - **/
    - public void restoreValidationForProjects( boolean runValidation )
    - {
    - }
    -
    - public void modifyAutoBuild(boolean isAutoBuild) {
    - try {
    - IWorkspace workspace = ResourcesPlugin.getWorkspace();
    - IWorkspaceDescription workspaceDesc = workspace.getDescription();
    - workspaceDesc.setAutoBuilding(isAutoBuild);
    - workspace.setDescription(workspaceDesc);
    - }
    - catch (Exception e) {}
    - }
    -
    - public void disableAutoBuild() {
    - if (!autoBuildDisabled_) {
    - setAutoBuildPreference();
    - modifyAutoBuild(false);
    - autoBuildDisabled_ = true;
    - }
    - }
    -
    - public void restoreAutoBuild() {
    - if (autoBuildDisabled_) {
    - modifyAutoBuild(getAutoBuildPreference());
    - autoBuildDisabled_ = false;
    - }
    - }
    -
    - public boolean setAutoBuildPreference() {
    - isAutoBuild_ = getWorkspaceAutoBuildPreference();
    - return isAutoBuild_;
    - }
    -
    - public boolean getAutoBuildPreference() {
    - return isAutoBuild_;
    - }
    -
    - public boolean getWorkspaceAutoBuildPreference() {
    - IWorkspaceDescription workspaceDesc = ResourcesPlugin.getWorkspace().getDescription();
    - return workspaceDesc.isAutoBuilding();
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/BindingElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/BindingElement.java
    deleted file mode 100644
    index e7ca18741..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/BindingElement.java
    +++ /dev/null
    @@ -1,54 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
    -
    -import java.util.Enumeration;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -
    -
    -public class BindingElement extends BasicElement
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static String REL_PORT = "port";
    - public static String REL_OPERATIONS = "operations";
    - public static String REL_PORT_TYPE = "porttype";
    -
    - public BindingElement (PortElement portElement,String name)
    - {
    - super(name,portElement,REL_PORT,PortElement.REL_BINDING);
    - }
    -
    - public Enumeration getPort()
    - {
    - return getElements(REL_PORT);
    - }
    -
    - public Enumeration getPortType()
    - {
    - return getElements(REL_PORT_TYPE);
    - }
    -
    - public Enumeration getOperations()
    - {
    - return getElements(REL_OPERATIONS);
    - }
    -
    - public int getNumberOfOperations()
    - {
    - return getNumberOfElements(REL_OPERATIONS);
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/DefinitionElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/DefinitionElement.java
    deleted file mode 100644
    index 723975828..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/DefinitionElement.java
    +++ /dev/null
    @@ -1,48 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
    -
    -import java.util.Enumeration;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -
    -
    -public class DefinitionElement extends BasicElement
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static String REL_SERVICES = "services";
    - public static String REL_WSDL = "wsdl";
    -
    - public DefinitionElement (WSDLElement wsdlElement,String name)
    - {
    - super(name,wsdlElement,REL_WSDL,WSDLElement.REL_DEFINITIONS);
    - }
    -
    - public Enumeration getWSDL()
    - {
    - return getElements(REL_WSDL);
    - }
    -
    - public Enumeration getServices()
    - {
    - return getElements(REL_SERVICES);
    - }
    -
    - public int getNumberOfServices()
    - {
    - return getNumberOfElements(REL_SERVICES);
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/MessageElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/MessageElement.java
    deleted file mode 100644
    index f0d010cbc..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/MessageElement.java
    +++ /dev/null
    @@ -1,48 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
    -
    -import java.util.Enumeration;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -
    -
    -public class MessageElement extends BasicElement
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static String REL_OPERATION = "operation";
    - public static String REL_PARTS = "parts";
    -
    - public MessageElement (OperationElement operationElement,String name)
    - {
    - super(name,operationElement,REL_OPERATION,OperationElement.REL_MESSAGES);
    - }
    -
    - public Enumeration getOperation()
    - {
    - return getElements(REL_OPERATION);
    - }
    -
    - public Enumeration getParts()
    - {
    - return getElements(REL_PARTS);
    - }
    -
    - public int getNumberOfParts()
    - {
    - return getNumberOfElements(REL_PARTS);
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/OperationElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/OperationElement.java
    deleted file mode 100644
    index 2f501e067..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/OperationElement.java
    +++ /dev/null
    @@ -1,48 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
    -
    -import java.util.Enumeration;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -
    -
    -public class OperationElement extends BasicElement
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static String REL_BINDING = "binding";
    - public static String REL_MESSAGES = "messages";
    -
    - public OperationElement (BindingElement bindingElement,String name)
    - {
    - super(name,bindingElement,REL_BINDING,BindingElement.REL_OPERATIONS);
    - }
    -
    - public Enumeration getBinding()
    - {
    - return getElements(REL_BINDING);
    - }
    -
    - public Enumeration getMessages()
    - {
    - return getElements(REL_MESSAGES);
    - }
    -
    - public int getNumberOfMessages()
    - {
    - return getNumberOfElements(REL_MESSAGES);
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PartElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PartElement.java
    deleted file mode 100644
    index d80ffbb39..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PartElement.java
    +++ /dev/null
    @@ -1,39 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
    -
    -import java.util.Enumeration;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -
    -
    -public class PartElement extends BasicElement
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static String REL_MESSAGE = "message";
    -
    - public PartElement (MessageElement messageElement,String name)
    - {
    - super(name,messageElement,REL_MESSAGE,MessageElement.REL_PARTS);
    - }
    -
    - public Enumeration getMessage()
    - {
    - return getElements(REL_MESSAGE);
    - }
    -
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortElement.java
    deleted file mode 100644
    index 78e2ac4af..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortElement.java
    +++ /dev/null
    @@ -1,44 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
    -
    -import java.util.Enumeration;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -
    -
    -public class PortElement extends BasicElement
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static String REL_BINDING = "binding";
    - public static String REL_SERVICE = "service";
    -
    - public PortElement (ServiceElement serviceElement,String name)
    - {
    - super(name,serviceElement,REL_SERVICE,ServiceElement.REL_PORTS);
    - }
    -
    - public Enumeration getService()
    - {
    - return getElements(REL_SERVICE);
    - }
    -
    - public Enumeration getBinding()
    - {
    - return getElements(REL_BINDING);
    - }
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortTypeElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortTypeElement.java
    deleted file mode 100644
    index 08f6883f8..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/PortTypeElement.java
    +++ /dev/null
    @@ -1,39 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
    -
    -import java.util.Enumeration;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -
    -
    -public class PortTypeElement extends BasicElement
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static String REL_BINDING = "binding";
    -
    - public PortTypeElement (BindingElement bindingElement,String name)
    - {
    - super(name,bindingElement,REL_BINDING,BindingElement.REL_PORT_TYPE);
    - }
    -
    - public Enumeration getBinding()
    - {
    - return getElements(REL_BINDING);
    - }
    -
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/ServiceElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/ServiceElement.java
    deleted file mode 100644
    index 3302d8968..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/ServiceElement.java
    +++ /dev/null
    @@ -1,48 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
    -
    -import java.util.Enumeration;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -
    -
    -public class ServiceElement extends BasicElement
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static String REL_PORTS = "ports";
    - public static String REL_DEFINITION = "definition";
    -
    - public ServiceElement (DefinitionElement definitionElement,String name)
    - {
    - super(name,definitionElement,REL_DEFINITION,DefinitionElement.REL_SERVICES);
    - }
    -
    - public Enumeration getDefinition()
    - {
    - return getElements(REL_DEFINITION);
    - }
    -
    - public Enumeration getPorts()
    - {
    - return getElements(REL_PORTS);
    - }
    -
    - public int getNumberOfPorts()
    - {
    - return getNumberOfElements(REL_PORTS);
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/StubbedWSDLModel.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/StubbedWSDLModel.java
    deleted file mode 100644
    index 64611e868..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/StubbedWSDLModel.java
    +++ /dev/null
    @@ -1,69 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
    -
    -import org.eclipse.wst.ws.internal.datamodel.Model;
    -
    -public class StubbedWSDLModel
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - protected Model fModel;
    - public StubbedWSDLModel()
    - {
    - WSDLElement wsdlElement = new WSDLElement("WSDLFiles");
    - fModel = wsdlElement.getModel();
    - }
    -
    - public Model getWSDLModel()
    - {
    - return fModel;
    - }
    -
    - public void buildModel()
    - {
    - DefinitionElement def1 = new DefinitionElement((WSDLElement)fModel.getRootElement(),"StockQuote");
    - ServiceElement ser1 = new ServiceElement(def1,"getQuote");
    - ServiceElement ser2 = new ServiceElement(def1,"setQuote");
    - PortElement port1 = new PortElement(ser1,"port1");
    - PortElement port2 = new PortElement(ser1,"port2");
    - PortElement port3 = new PortElement(ser2,"port1");
    - PortElement port4 = new PortElement(ser2,"port2");
    - BindingElement bind1 = new BindingElement(port1,"bind1");
    - BindingElement bind2 = new BindingElement(port2,"bind1");
    - BindingElement bind3 = new BindingElement(port3,"bind1");
    - BindingElement bind4 = new BindingElement(port4,"bind1");
    - OperationElement op1 = new OperationElement(bind1,"op1");
    - new OperationElement(bind2,"op1");
    - new OperationElement(bind3,"op1");
    - new OperationElement(bind4,"op1");
    - MessageElement me1 = new MessageElement(op1,"me1");
    - MessageElement me2 = new MessageElement(op1,"me2");
    - new PartElement(me1,"pe1");
    - new PartElement(me2,"pe2");
    -
    - DefinitionElement def2 = new DefinitionElement((WSDLElement)fModel.getRootElement(),"TempConversion");
    - ServiceElement ser3 = new ServiceElement(def2,"getTemp");
    - ServiceElement ser4 = new ServiceElement(def2,"setTemp");
    - PortElement port5 = new PortElement(ser3,"port1");
    - PortElement port6 = new PortElement(ser4,"port1");
    - BindingElement bind5 = new BindingElement(port5,"bind1");
    - BindingElement bind6 = new BindingElement(port6,"bind1");
    - new OperationElement(bind5,"op1");
    - new OperationElement(bind6,"op1");
    -
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/WSDLElement.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/WSDLElement.java
    deleted file mode 100644
    index a9e89d3bc..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/wsdlmodel/WSDLElement.java
    +++ /dev/null
    @@ -1,53 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.datamodel.wsdlmodel;
    -
    -import java.util.Enumeration;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -import org.eclipse.wst.ws.internal.datamodel.BasicModel;
    -import org.eclipse.wst.ws.internal.datamodel.Model;
    -
    -
    -public class WSDLElement extends BasicElement
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static String REL_DEFINITIONS = "definitions";
    -
    - /*
    - *
    - **/
    - public WSDLElement (String name)
    - {
    - this(name,new BasicModel("WSDLModel"));
    - }
    -
    - public WSDLElement (String name, Model model)
    - {
    - super(name,model);
    - model.setRootElement(this);
    - }
    -
    - public Enumeration getDefinitions()
    - {
    - return getElements(REL_DEFINITIONS);
    - }
    -
    - public int getNumberOfDefinitions()
    - {
    - return getNumberOfElements(REL_DEFINITIONS);
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreAssemblyFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreAssemblyFragment.java
    deleted file mode 100644
    index 65cab80e0..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreAssemblyFragment.java
    +++ /dev/null
    @@ -1,17 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.fragments;
    -
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -
    -public class ClientPreAssemblyFragment extends SequenceFragment
    -{
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDeployFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDeployFragment.java
    deleted file mode 100644
    index 0b09cf2a8..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDeployFragment.java
    +++ /dev/null
    @@ -1,17 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.fragments;
    -
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -
    -public class ClientPreDeployFragment extends SequenceFragment
    -{
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDevelopFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDevelopFragment.java
    deleted file mode 100644
    index 6a3f5cf25..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreDevelopFragment.java
    +++ /dev/null
    @@ -1,17 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.fragments;
    -
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -
    -public class ClientPreDevelopFragment extends SequenceFragment
    -{
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreInstallFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreInstallFragment.java
    deleted file mode 100644
    index a3da3d86d..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ClientPreInstallFragment.java
    +++ /dev/null
    @@ -1,17 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.fragments;
    -
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -
    -public class ClientPreInstallFragment extends SequenceFragment
    -{
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreAssemblyFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreAssemblyFragment.java
    deleted file mode 100644
    index 7cd1b4c2f..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreAssemblyFragment.java
    +++ /dev/null
    @@ -1,17 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.fragments;
    -
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -
    -public class ServicePreAssemblyFragment extends SequenceFragment
    -{
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDeployFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDeployFragment.java
    deleted file mode 100644
    index 5c1db7301..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDeployFragment.java
    +++ /dev/null
    @@ -1,17 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.fragments;
    -
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -
    -public class ServicePreDeployFragment extends SequenceFragment
    -{
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDevelopFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDevelopFragment.java
    deleted file mode 100644
    index a0e9c21ec..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreDevelopFragment.java
    +++ /dev/null
    @@ -1,17 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.fragments;
    -
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -
    -public class ServicePreDevelopFragment extends SequenceFragment
    -{
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreInstallFragment.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreInstallFragment.java
    deleted file mode 100644
    index af8268a89..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/fragments/ServicePreInstallFragment.java
    +++ /dev/null
    @@ -1,17 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.fragments;
    -
    -import org.eclipse.wst.command.internal.env.core.fragment.SequenceFragment;
    -
    -public class ServicePreInstallFragment extends SequenceFragment
    -{
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/plugin/WebServiceConsumptionPlugin.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/plugin/WebServiceConsumptionPlugin.java
    deleted file mode 100644
    index 3d4062a67..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/plugin/WebServiceConsumptionPlugin.java
    +++ /dev/null
    @@ -1,57 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060424 115690 sengpl@ca.ibm.com - Seng Phung-Lu
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.plugin;
    -
    -import org.eclipse.core.runtime.Plugin;
    -
    -/**
    -* This is the plugin class for the Web Services plugin.
    -* <p>
    -* This plugin contains the bulk of the Web Services runtime.
    -* Only the graphical user interface portion of the runtime is
    -* found elsewhere - in the org.eclipse.jst.ws.ui plugin.
    -*/
    -public class WebServiceConsumptionPlugin extends Plugin
    -{
    - /**
    - * The identifier of the descriptor of this plugin in plugin.xml.
    - */
    - public static final String ID = "org.eclipse.jst.ws.consumption";
    -
    - /**
    - * The reference to the singleton instance of this plugin.
    - */
    - private static WebServiceConsumptionPlugin instance_;
    -
    - /**
    - * Constructs a runtime plugin object for this plugin.
    - */
    - public WebServiceConsumptionPlugin ()
    - {
    - super();
    - instance_ = this;
    - }
    -
    - /**
    - * Returns the singleton instance of this plugin. Equivalent to calling
    - * (WebServiceConsumptionPlugin)Platform.getPlugin("org.eclipse.jst.ws");
    - * @return The WebServiceConsumptionPlugin singleton.
    - */
    - public static WebServiceConsumptionPlugin getInstance ()
    - {
    - return instance_;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileAttributeGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileAttributeGenerator.java
    deleted file mode 100644
    index 391fa5e72..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileAttributeGenerator.java
    +++ /dev/null
    @@ -1,76 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060612 145433 gilberta@ca.ibm.com - Gilbert Andrews
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.TypeVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.AttributeElementType;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanElement;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
    -
    -
    -/**
    -* Objects of this class represent a InputFileTypeGenerator.
    -* */
    -public class InputFileAttributeGenerator extends InputFileTypeGenerator
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - private boolean fStateLess;
    -
    - /**
    - * Constructor.
    - *
    - */
    - public InputFileAttributeGenerator (StringBuffer buffer, int currentLevel, int levelsDeep)
    - {
    - super(buffer,currentLevel,levelsDeep);
    - }
    -
    -
    - /*
    - * Takes in an object to be acted upon by this visitor action
    - * @param Object The object to be acted upon
    - */
    - public IStatus visit (Object object)
    - {
    -
    - AttributeElementType attributeElementType = (AttributeElementType)object;
    - //if it is a bean is it stateless
    - attributeElementType.getTypeElement();
    - if(attributeElementType.getSetterMethod() == null) return Status.OK_STATUS;
    - if(attributeElementType.getTypeElement().isBean()){
    - BeanElement bean = (BeanElement)attributeElementType.getTypeElement();
    - fStateLess = bean.isStateLess();
    - }
    -
    - TypeVisitor typeVisitor = new TypeVisitor();
    - InputFileTypeGenerator inputFileTypeGenerator = new InputFileTypeGenerator(fbuffer,fCurrentLevel,fLevelsDeep);
    - if(attributeElementType.getTypeElement().isBean() && !TypeFactory.recognizedBean(attributeElementType.getTypeElement().getName())
    - && !(getReturnParam() && (TypeFactory.isRecognizedReturnType(attributeElementType.getTypeElement().getTypeName()) || fStateLess)))
    -
    - addParentGetter(attributeElementType.getGetterMethod(),attributeElementType.getTypeElement().getName());
    - inputFileTypeGenerator.addParentGetter(returnParentGetter(),returnParentGetterType());
    - inputFileTypeGenerator.setInstanceName(fInstanceName);
    - inputFileTypeGenerator.setReturnParam(getReturnParam());
    - typeVisitor.run(attributeElementType,inputFileTypeGenerator);
    - fbuffer = inputFileTypeGenerator.getStringBuffer();
    -
    - return Status.OK_STATUS;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileGenerator.java
    deleted file mode 100644
    index 83719d761..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileGenerator.java
    +++ /dev/null
    @@ -1,138 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.MethodVisitor;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -
    -
    -/**
    -* Objects of this class represent a MethodFilegenerator.
    -* */
    -public class InputFileGenerator extends Generator
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public String fResultName;
    -
    - /**
    - * Constructor.
    - * used directly
    - */
    - public InputFileGenerator (String result)
    - {
    - super();
    - fResultName = result;
    - }
    -
    - /**
    - * Constructor.
    - * called from subclasses
    - */
    - public InputFileGenerator (StringBuffer buffer, String result)
    - {
    - super(buffer);
    - fResultName = result;
    - }
    -
    - /**
    - * Constructor.
    - * called from subclasses
    - */
    - public InputFileGenerator (StringBuffer buffer)
    - {
    - super(buffer);
    - }
    -
    - public void setFileNames(String results)
    - {
    - fResultName = results;
    - }
    -
    - //takes in a bean node
    - public IStatus visit (Object object)
    - {
    - Element beanElement = (Element)object;
    - fbuffer.append("<%@page contentType=\"text/html;charset=UTF-8\"%>" + StringUtils.NEWLINE);
    - fbuffer.append("<HTML>" + StringUtils.NEWLINE);
    - fbuffer.append("<HEAD>" + StringUtils.NEWLINE);
    - fbuffer.append("<TITLE>Inputs</TITLE>" + StringUtils.NEWLINE);
    - fbuffer.append("</HEAD>" + StringUtils.NEWLINE);
    - fbuffer.append("<BODY>" + StringUtils.NEWLINE);
    - fbuffer.append("<H1>Inputs</H1>" + StringUtils.NEWLINE + "" + StringUtils.NEWLINE);
    - fbuffer.append("<%" + StringUtils.NEWLINE + "String method = request.getParameter(\"method\");" + StringUtils.NEWLINE);
    - fbuffer.append("int methodID = 0;" + StringUtils.NEWLINE);
    - fbuffer.append("if (method == null) methodID = -1;" + StringUtils.NEWLINE + "" + StringUtils.NEWLINE);
    - fbuffer.append("boolean valid = true;" + StringUtils.NEWLINE + StringUtils.NEWLINE);
    -
    - fbuffer.append("if(methodID != -1) methodID = Integer.parseInt(method);" + StringUtils.NEWLINE);
    - fbuffer.append("switch (methodID){ " + StringUtils.NEWLINE);
    -
    - // go to the next generator
    - MethodVisitor methodVisitor = new MethodVisitor();
    - InputFileHelp1Generator inputFileHelp1Generator = new InputFileHelp1Generator(fbuffer,fResultName);
    - methodVisitor.run(beanElement,inputFileHelp1Generator);
    - fbuffer = inputFileHelp1Generator.getStringBuffer();
    -
    - fbuffer.append("case 1111111111:" + StringUtils.NEWLINE);
    - fbuffer.append("valid = false;" + StringUtils.NEWLINE);
    - fbuffer.append("%>" + StringUtils.NEWLINE);
    - fbuffer.append("<FORM METHOD=\"POST\" ACTION=\"" + fResultName + "\" TARGET=\"result\">" + StringUtils.NEWLINE);
    - fbuffer.append("<INPUT TYPE=\"HIDDEN\" NAME=\"method\" VALUE=\"<%=method%>\">" + StringUtils.NEWLINE);
    - fbuffer.append("<TABLE>" + StringUtils.NEWLINE);
    - fbuffer.append("<TR>" + StringUtils.NEWLINE);
    - fbuffer.append("<TD COLSPAN=\"1\" ALIGN=\"LEFT\">URLString:</TD>" + StringUtils.NEWLINE);
    - fbuffer.append("<TD ALIGN=\"left\"><INPUT TYPE=\"TEXT\" NAME=\"url1111111111\" SIZE=20></TD>" + StringUtils.NEWLINE);
    - fbuffer.append("</TR>" + StringUtils.NEWLINE);
    - fbuffer.append("</TABLE>" + StringUtils.NEWLINE);
    - fbuffer.append("<BR>" + StringUtils.NEWLINE);
    - fbuffer.append("<INPUT TYPE=\"SUBMIT\" VALUE=\"Invoke\">" + StringUtils.NEWLINE);
    - fbuffer.append("<INPUT TYPE=\"RESET\" VALUE=\"Clear\">" + StringUtils.NEWLINE);
    - fbuffer.append("</FORM>" + StringUtils.NEWLINE);
    - fbuffer.append("<%" + StringUtils.NEWLINE);
    - fbuffer.append("break;" + StringUtils.NEWLINE);
    - fbuffer.append("case 1111111112:" + StringUtils.NEWLINE);
    - fbuffer.append("valid = false;" + StringUtils.NEWLINE);
    - fbuffer.append("%>" + StringUtils.NEWLINE);
    - fbuffer.append("<FORM METHOD=\"POST\" ACTION=\"" + fResultName + "\" TARGET=\"result\">" + StringUtils.NEWLINE);
    - fbuffer.append("<INPUT TYPE=\"HIDDEN\" NAME=\"method\" VALUE=\"<%=method%>\">" + StringUtils.NEWLINE);
    - fbuffer.append("<BR>" + StringUtils.NEWLINE);
    - fbuffer.append("<INPUT TYPE=\"SUBMIT\" VALUE=\"Invoke\">" + StringUtils.NEWLINE);
    - fbuffer.append("<INPUT TYPE=\"RESET\" VALUE=\"Clear\">" + StringUtils.NEWLINE);
    - fbuffer.append("</FORM>" + StringUtils.NEWLINE);
    - fbuffer.append("<%" + StringUtils.NEWLINE);
    - fbuffer.append("break;" + StringUtils.NEWLINE);
    -
    -
    -
    - fbuffer.append("}" + StringUtils.NEWLINE);
    - fbuffer.append("if (valid) {" + StringUtils.NEWLINE);
    - fbuffer.append("%>" + StringUtils.NEWLINE + "Select a method to test." + StringUtils.NEWLINE);
    - fbuffer.append("<%" + StringUtils.NEWLINE);
    - fbuffer.append(Generator.TAB + "return;" + StringUtils.NEWLINE);
    - fbuffer.append("}" + StringUtils.NEWLINE);
    - fbuffer.append("%>" + StringUtils.NEWLINE + StringUtils.NEWLINE);
    - fbuffer.append("</BODY>" + StringUtils.NEWLINE);
    - fbuffer.append("</HTML>" + StringUtils.NEWLINE);
    -
    - return Status.OK_STATUS;
    -
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp1Generator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp1Generator.java
    deleted file mode 100644
    index 9cca6548f..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp1Generator.java
    +++ /dev/null
    @@ -1,93 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.ParameterVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.MethodElement;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -
    -
    -/**
    -* Objects of this class represent a InputFileHelp1Generator.
    -* */
    -public class InputFileHelp1Generator extends InputFileGenerator
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static final int INITIAL_STATE = 1;
    - public static final int FINAL_STATE = 2;
    -
    - public int fstate;
    -
    - /**
    - * Constructor.
    - *
    - */
    - public InputFileHelp1Generator (StringBuffer buffer)
    - {
    - super(buffer);
    - fstate = INITIAL_STATE;
    - }
    -
    - /**
    - * Constructor.
    - *
    - */
    - public InputFileHelp1Generator (StringBuffer buffer,String resultName)
    - {
    - super(buffer,resultName);
    - fstate = INITIAL_STATE;
    - }
    -
    - /*
    - * Takes in an element
    - * @param Object Takes in an object to be acted upon
    - */
    - public IStatus visit (Object object)
    - {
    - Element methodElement = (Element)object;
    - MethodElement method = (MethodElement)methodElement;
    - if (method.getMethodOmmission()) return Status.OK_STATUS;
    -
    - ParameterVisitor parameterVisitor = new ParameterVisitor();
    - fbuffer.append("case " + method.getNumberID()+ ":" + StringUtils.NEWLINE);
    - fbuffer.append("valid = false;" + StringUtils.NEWLINE);
    - fbuffer.append("%>" + StringUtils.NEWLINE);
    - fbuffer.append("<FORM METHOD=\"POST\" ACTION=\"" + fResultName + "\" TARGET=\"result\">" + StringUtils.NEWLINE);
    - fbuffer.append("<INPUT TYPE=\"HIDDEN\" NAME=\"method\" VALUE=\"<%=method%>\">" + StringUtils.NEWLINE);
    -
    - // go to the next generator
    - InputFileHelp2Generator inputFileHelp2Generator = new InputFileHelp2Generator(fbuffer);
    - parameterVisitor.run(methodElement,inputFileHelp2Generator);
    - fbuffer = inputFileHelp2Generator.getStringBuffer();
    -
    - fbuffer.append("<BR>" + StringUtils.NEWLINE);
    - fbuffer.append("<INPUT TYPE=\"SUBMIT\" VALUE=\"Invoke\">" + StringUtils.NEWLINE);
    - fbuffer.append("<INPUT TYPE=\"RESET\" VALUE=\"Clear\">" + StringUtils.NEWLINE);
    - fbuffer.append("</FORM>" + StringUtils.NEWLINE);
    - fbuffer.append("<%" + StringUtils.NEWLINE);
    - fbuffer.append("break;" + StringUtils.NEWLINE);
    -
    -
    - return Status.OK_STATUS;
    -
    -
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp2Generator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp2Generator.java
    deleted file mode 100644
    index 9e9232b70..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileHelp2Generator.java
    +++ /dev/null
    @@ -1,102 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.TypeVisitor;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -
    -
    -/**
    -* Objects of this class represent a InputFileHelp2Generator.
    -* */
    -public class InputFileHelp2Generator extends InputFileHelp1Generator
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /*
    - * This is actually used by the result generator to show the
    - * resultant Bean
    - * The name is the name the resultant bean is using as its instance name
    - */
    - protected String fInstanceName;
    - private boolean fReturnParam=false;
    -
    - /**
    - * Constructor.
    - *
    - */
    - public InputFileHelp2Generator (StringBuffer buffer)
    - {
    - super(buffer);
    - fInstanceName="";
    - }
    -
    - /**
    - * This is state data to be used by the generators
    - * @param String name The instance name of the parameters type bean
    - */
    - public void setInstanceName(String name)
    - {
    - fInstanceName = name;
    - }
    -
    - /**
    - * This is state data to be used by the generators
    - * @return String name The instance name of the parameters type bean
    - */
    - public String getInstanceName()
    - {
    - return fInstanceName;
    - }
    -
    -
    - /*
    - * Takes in an object to be acted upon by this visitor action
    - * @param Object The object to be acted upon
    - */
    - public IStatus visit (Object object)
    - {
    - Element parameterElement = (Element)object;
    - getVisitor();
    -
    - fbuffer.append("<TABLE>" + StringUtils.NEWLINE);
    -
    - TypeVisitor typeVisitor = new TypeVisitor();
    - InputFileTypeGenerator inputFileTypeGenerator = new InputFileTypeGenerator(fbuffer,0);
    - inputFileTypeGenerator.setReturnParam(getReturnParam());
    - inputFileTypeGenerator.setInstanceName(fInstanceName);
    - typeVisitor.run(parameterElement,inputFileTypeGenerator);
    - fbuffer = inputFileTypeGenerator.getStringBuffer();
    -
    - fbuffer.append("</TABLE>" + StringUtils.NEWLINE);
    -
    - return Status.OK_STATUS;
    -
    - }
    -
    - public boolean getReturnParam()
    - {
    - return fReturnParam;
    - }
    -
    - public void setReturnParam(boolean returnParam)
    - {
    - fReturnParam = returnParam;
    - }
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileTypeGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileTypeGenerator.java
    deleted file mode 100644
    index af2d94e63..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/InputFileTypeGenerator.java
    +++ /dev/null
    @@ -1,300 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060612 145433 gilberta@ca.ibm.com - Gilbert Andrews
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
    -
    -import java.util.Vector;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.AttributeVisitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.FieldVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.AttributeElementType;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanElement;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.DataType;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.SimpleElement;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeElement;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
    -
    -
    -/**
    -* Objects of this class represent a InputFileTypeGenerator.
    -* */
    -public class InputFileTypeGenerator extends InputFileHelp2Generator
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - protected String fParentGetters;
    - protected int fLevelsDeep;
    - protected int fColspan;
    - protected int fCurrentLevel;
    - private boolean fIsSimple;
    - private boolean fStateLessBean;
    - private Vector fGetters;
    - private Vector fTypes;
    - private boolean fWrite = true;
    -
    - /**
    - * Constructor.
    - *
    - */
    - public InputFileTypeGenerator (StringBuffer buffer, int currentLevel)
    - {
    - super(buffer);
    - fCurrentLevel = currentLevel;
    - fLevelsDeep = -1;
    - fParentGetters = "";
    - }
    -
    - /**
    - * Constructor.
    - *
    - */
    - public InputFileTypeGenerator (StringBuffer buffer, int currentLevel,int levelsDeep)
    - {
    - super(buffer);
    - fCurrentLevel = currentLevel;
    - fLevelsDeep = levelsDeep;
    - fParentGetters = "";
    - }
    -
    - public void setParentGetters(Vector getter,Vector type)
    - {
    - if(fGetters != null){
    - fGetters.clear();
    - fTypes.clear();
    - }
    - addParentGetter(getter,type);
    - }
    -
    -
    - /**
    - * This function holds some state data that is important in getting the
    - * Strings for display of resultant beans
    - * @param String getter this is the getter of an attribute
    - * The idea is that by the time we get to the simple type
    - * we have getAddress().getStreet()....
    - */
    - public void addParentGetter(String getter, String type)
    - {
    - if(fGetters == null) fGetters = new Vector();
    - if(fTypes == null) fTypes = new Vector();
    - fGetters.addElement(getter);
    - fTypes.addElement(type);
    - }
    -
    - /*
    - * this will be used when passing between two visitors
    - *
    - */
    - public void addParentGetter(Vector getters, Vector types)
    - {
    - if(fGetters == null) fGetters = new Vector();
    - if(fTypes == null) fTypes = new Vector();
    - int size = getters.size();
    - for(int i = 0; i<size; i++){
    - fGetters.addElement(getters.get(i));
    - fTypes.addElement(types.get(i));
    - }
    - }
    -
    - protected String returnParentGetter(int count)
    - {
    - if (fGetters == null || count > fGetters.size()) return null;
    - return (String)fGetters.get(count);
    - }
    -
    - protected String returnParentGetterType(int count)
    - {
    - if (fTypes == null || count > fTypes.size()) return null;
    - return (String)fTypes.get(count);
    - }
    -
    - protected Vector returnParentGetter()
    - {
    - if (fGetters == null ) return new Vector();
    - return fGetters;
    - }
    -
    - protected Vector returnParentGetterType()
    - {
    - if (fTypes == null ) return new Vector();
    - return fTypes;
    - }
    -
    - protected int getterCount()
    - {
    - if(fGetters == null) return 0;
    - return fGetters.size();
    - }
    -
    -
    - /**
    - * This function returns some state data that is important in getting the
    - * Strings for display of resultant beans
    - * @return String the string of getters to this point
    - * The idea is that by the time we get to the simple type
    - * we have getAddress().getStreet()....
    - */
    - public String getParentGetters()
    - {
    - return fParentGetters;
    - }
    -
    - /*
    - * Takes in an object to be acted upon by this visitor action
    - * @param Object The object to be acted upon
    - */
    - public IStatus visit (Object object)
    - {
    - TypeElement element = (TypeElement)object;
    -
    - if (element instanceof SimpleElement) fIsSimple = true;
    - else fIsSimple = false;
    -
    - //this could be a statelessbean need to know
    - if (element instanceof BeanElement ){
    - BeanElement bean = (BeanElement)element;
    - if (bean.isStateLess()) fStateLessBean = true;
    - if (bean.getAttrib() == BeanElement.READONLY) fWrite = false;
    - }
    -
    -
    -
    - //Complex type support
    - //first I need to find out how many levels deep
    - if(fLevelsDeep == -1){
    - AttributeVisitor attributeVisitor = new AttributeVisitor();
    - LevelsDeepVisitorAction ldva = new LevelsDeepVisitorAction();
    - attributeVisitor.run(element,ldva);
    - fLevelsDeep = ldva.getLevelsDeep();
    - //check out the fields
    - FieldVisitor fieldVisitor = new FieldVisitor();
    - LevelsDeepVisitorAction ldva2 = new LevelsDeepVisitorAction();
    - fieldVisitor.run(element,ldva2);
    -
    - if(fLevelsDeep < ldva2.getLevelsDeep())fLevelsDeep = ldva2.getLevelsDeep();
    - fLevelsDeep++;
    - }
    - fColspan = fLevelsDeep - fCurrentLevel;
    -
    - //if we have a return param with no getter make sure we are on the
    - //attribute and not the parameter then return
    - if(getReturnParam() && element.getOwningElement() instanceof AttributeElementType &&(((AttributeElementType)element.getOwningElement()).getGetterMethod() == null) ) return Status.OK_STATUS;
    -
    - //Code gen for all elements
    - if(fWrite){
    - fbuffer.append("<TR>" + StringUtils.NEWLINE);
    - for (int i = 0; i < fCurrentLevel;i++){
    - fbuffer.append("<TD WIDTH=\"5%\"></TD>" + StringUtils.NEWLINE);
    - }
    - fbuffer.append("<TD COLSPAN=\"" + fColspan + "\" ALIGN=\"LEFT\">" + element.getOwningElement().getName() + ":</TD>" + StringUtils.NEWLINE);
    - }
    - if(fIsSimple || TypeFactory.recognizedBean(element.getName())
    - || (getReturnParam() && fStateLessBean)
    - || (getReturnParam() && TypeFactory.isRecognizedReturnType(element.getTypeName()))){
    - if(getInstanceName().equals("")){
    - if(fWrite){
    - DataType dataType = TypeFactory.createType(element.getName(),element.getOwningElement().getMUID());
    - fbuffer.append(dataType.inputForm(element.getOwningElement().getMUID()));
    - }
    - }
    - else{
    - if(getReturnParam() && (TypeFactory.isRecognizedReturnType(element.getTypeName()) || fStateLessBean)){
    - DataType dataType = TypeFactory.createType(element.getTypeName(),element.getOwningElement().getMUID());
    - String uniqueName = "type" + dataType.getUniqueName();
    - fbuffer.append("<TD>" + StringUtils.NEWLINE);
    - fbuffer.append("<%" + StringUtils.NEWLINE);
    - fbuffer.append("if(" + getInstanceName() + " != null){" + StringUtils.NEWLINE);
    - String afterString = getInstanceName();
    - String tmpString = "tebece";
    - String prevString = getInstanceName();
    - String newTmpString = "";
    - for(int i=0;i<getterCount();i++){
    - newTmpString = tmpString + i;
    - fbuffer.append(returnParentGetterType(i) + " " + newTmpString + "=" + prevString + "." + returnParentGetter(i) + ";" + StringUtils.NEWLINE);
    - prevString = newTmpString;
    - fbuffer.append("if(" + newTmpString + " != null){" + StringUtils.NEWLINE);
    - afterString = newTmpString;
    - }
    - fbuffer.append(element.getName() + " " + uniqueName + " = " + afterString + "." + ((AttributeElementType)element.getOwningElement()).getGetterMethod()+ ";" + StringUtils.NEWLINE);
    - fbuffer.append(dataType.TypeConversion(uniqueName));
    - for(int i=0;i<getterCount();i++){
    - fbuffer.append("}");
    - }
    - fbuffer.append("}%>" + StringUtils.NEWLINE);
    - fbuffer.append("</TD>" + StringUtils.NEWLINE);
    - }
    -
    - else{
    - fbuffer.append("<TD>" + StringUtils.NEWLINE);
    - fbuffer.append("<%" + StringUtils.NEWLINE);
    - fbuffer.append("if(" + getInstanceName() + " != null){" + StringUtils.NEWLINE);
    - String afterString = getInstanceName();
    - String tmpString = "tebece";
    - String prevString = getInstanceName();
    - String newTmpString = "";
    - for(int i=0;i<getterCount();i++){
    - newTmpString = tmpString + i;
    - fbuffer.append(returnParentGetterType(i) + " " + newTmpString + "=" + prevString + "." + returnParentGetter(i) + ";" + StringUtils.NEWLINE);
    - prevString = newTmpString;
    - fbuffer.append("if(" + newTmpString + " != null){" + StringUtils.NEWLINE);
    - afterString = newTmpString;
    - }
    - fbuffer.append("%>" + StringUtils.NEWLINE);
    - fbuffer.append("<%=");
    - fbuffer.append(afterString + "." + ((AttributeElementType)element.getOwningElement()).getGetterMethod()+ StringUtils.NEWLINE);
    - fbuffer.append("%>");
    - fbuffer.append("<%");
    - for(int i=0;i<getterCount();i++){
    - fbuffer.append("}");
    - }
    - fbuffer.append("}%>" + StringUtils.NEWLINE);
    - fbuffer.append("</TD>" + StringUtils.NEWLINE);
    - }
    - }
    -
    - }
    -
    - //Now carry on down the rest of the bean
    - else {
    - AttributeVisitor attributeVisitor = new AttributeVisitor();
    - attributeVisitor.setResidentVector1(returnParentGetter());
    - attributeVisitor.setResidentVector2(returnParentGetterType());
    - InputFileAttributeGenerator inputFileAttributeGenerator = new InputFileAttributeGenerator(fbuffer,(fCurrentLevel + 1),fLevelsDeep);
    - inputFileAttributeGenerator.setReturnParam(getReturnParam());
    - inputFileAttributeGenerator.setInstanceName(fInstanceName);
    - attributeVisitor.run(element,inputFileAttributeGenerator);
    - fbuffer = inputFileAttributeGenerator.getStringBuffer();
    -
    - //now do fields very similar
    - FieldVisitor fieldVisitor = new FieldVisitor();
    - fieldVisitor.setResidentVector1(returnParentGetter());
    - fieldVisitor.setResidentVector2(returnParentGetterType());
    - InputFileAttributeGenerator inputFileAttributeGenerator2 = new InputFileAttributeGenerator(fbuffer,(fCurrentLevel + 1),fLevelsDeep);
    - inputFileAttributeGenerator2.setReturnParam(getReturnParam());
    - inputFileAttributeGenerator2.setInstanceName(fInstanceName);
    - fieldVisitor.run(element,inputFileAttributeGenerator2);
    - fbuffer = inputFileAttributeGenerator2.getStringBuffer();
    -
    -
    -
    - }
    -
    -
    - return Status.OK_STATUS;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/LevelsDeepVisitorAction.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/LevelsDeepVisitorAction.java
    deleted file mode 100644
    index a8f4cb17e..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/LevelsDeepVisitorAction.java
    +++ /dev/null
    @@ -1,119 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Visitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.VisitorAction;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.AttributeVisitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.FieldVisitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.TypeVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.AttributeElement;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanElement;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeElement;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -
    -
    -/**
    -* Objects of this class represent a LevelsDeepVisitorAction.
    -* */
    -public class LevelsDeepVisitorAction implements VisitorAction
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - private int fLevelsDeep;
    - private int fDeepestLevel;
    -
    - /**
    - * Constructor.
    - * This is the starting point
    - *
    - */
    - public LevelsDeepVisitorAction ()
    - {
    - fLevelsDeep = 0;
    - }
    -
    - /**
    - * Constructor.
    - * This is the starting point
    - *
    - */
    - public LevelsDeepVisitorAction (int current,boolean increment)
    - {
    - fLevelsDeep = current;
    - if(increment) fLevelsDeep++;
    - fDeepestLevel = fLevelsDeep;
    - }
    -
    - public void initialize(String resident)
    - {
    - //nothing to be done but must be implemented
    - }
    -
    -
    -
    - /**
    - * The visitor that called this VisitorAction
    - * @param visitor the visitor that called this visitor action
    - */
    - public void setVisitor(Visitor visitor)
    - {
    - }
    -
    -
    - /**
    - * Returns the level of nesting within this bean
    - * @return int returns the int number representing the number of nests of this bean
    - */
    - public int getLevelsDeep()
    - {
    - return fDeepestLevel;
    - }
    -
    -
    - /**
    - * Takes in an object to be acted upon by this visitor action
    - * @param Object The object to be acted upon
    - */
    - public IStatus visit (Object object)
    - {
    - Element element = (Element)object;
    - if (element instanceof AttributeElement || element instanceof TypeElement){
    - TypeVisitor typeVisitor = new TypeVisitor();
    - LevelsDeepVisitorAction lvda = new LevelsDeepVisitorAction(fLevelsDeep,true);
    - typeVisitor.run(element,lvda);
    -
    - if (lvda.getLevelsDeep() > fDeepestLevel) fDeepestLevel = lvda.getLevelsDeep();
    -
    - }
    - else if (element instanceof BeanElement && !(TypeFactory.recognizedBean(element.getName()))){
    - AttributeVisitor attributeVisitor = new AttributeVisitor();
    - LevelsDeepVisitorAction lvda = new LevelsDeepVisitorAction(fLevelsDeep,false);
    - attributeVisitor.run(element,lvda);
    - if (lvda.getLevelsDeep() > fDeepestLevel) fDeepestLevel = lvda.getLevelsDeep();
    -
    - FieldVisitor fieldVisitor = new FieldVisitor();
    - LevelsDeepVisitorAction lvda2 = new LevelsDeepVisitorAction(fLevelsDeep,false);
    - fieldVisitor.run(element,lvda2);
    - if (lvda2.getLevelsDeep() > fDeepestLevel) fDeepestLevel = lvda2.getLevelsDeep();
    -
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileGenerator.java
    deleted file mode 100644
    index 3a8973402..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileGenerator.java
    +++ /dev/null
    @@ -1,77 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2003, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.MethodVisitor;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -
    -
    -/**
    -* Objects of this class represent a MethodFilegenerator.
    -* */
    -public class MethodFileGenerator extends Generator
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public String fInputName;
    - /**
    - * Constructor.
    - *
    - */
    - public MethodFileGenerator (String inputs)
    - {
    - super();
    - fInputName = inputs;
    - }
    -
    - /**
    - * Constructor.
    - * @param StringBuffer buffer to append codegen
    - */
    - public MethodFileGenerator (StringBuffer buffer,String inputs)
    - {
    - super(buffer);
    - fInputName = inputs;
    - }
    -
    -
    - public void setFileNames(String inputs)
    - {
    - fInputName = inputs;
    - }
    -
    - //public static String LOCATOR = "Locator";
    - public static String BEAN = "Proxy";
    - public static String GET = "get";
    -
    -
    - //takes in a bean node
    - public IStatus visit (Object object)
    - {
    - Element beanElement = (Element)object;
    - fbuffer.append("<%@page contentType=\"text/html;charset=UTF-8\"%>");
    - fbuffer.append("<HTML>" + StringUtils.NEWLINE + "<HEAD>" + StringUtils.NEWLINE + "<TITLE>Methods</TITLE>" + StringUtils.NEWLINE + "</HEAD>" + StringUtils.NEWLINE + "<BODY>" + StringUtils.NEWLINE + "<H1>Methods</H1>" + StringUtils.NEWLINE + "<UL>" + StringUtils.NEWLINE);
    - MethodVisitor methodVisitor = new MethodVisitor();
    - MethodFileHelpGenerator methodFileHelpGenerator = new MethodFileHelpGenerator(fbuffer,fInputName);
    - methodVisitor.run(beanElement,methodFileHelpGenerator);
    - fbuffer = methodFileHelpGenerator.getStringBuffer();
    - fbuffer.append("</UL>" + StringUtils.NEWLINE + "</BODY>" + StringUtils.NEWLINE + "</HTML>");
    -
    - return Status.OK_STATUS;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileHelpGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileHelpGenerator.java
    deleted file mode 100644
    index 45ff5f9e2..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/MethodFileHelpGenerator.java
    +++ /dev/null
    @@ -1,56 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.MethodElement;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -
    -
    -/**
    -* Objects of this class represent a MethodFilegenerator.
    -* */
    -public class MethodFileHelpGenerator extends MethodFileGenerator
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - /**
    - * Constructor.
    - *
    - */
    - public MethodFileHelpGenerator (StringBuffer buffer,String inputName)
    - {
    - super(buffer,inputName);
    - }
    -
    -
    - //takes in a Method node
    - public IStatus visit (Object object)
    - {
    - Element methodElement = (Element)object;
    - MethodElement method = (MethodElement)methodElement;
    - if (method.getMethodOmmission()) return Status.OK_STATUS;
    -
    - fbuffer.append("<LI><A HREF=\"" + fInputName + "?method=" + method.getNumberID());
    - fbuffer.append("\" TARGET=\"inputs\"> " + method.getDisplayName());
    - fbuffer.append("</A></LI>" + StringUtils.NEWLINE);
    -
    - return Status.OK_STATUS;
    - }
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileAttributeGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileAttributeGenerator.java
    deleted file mode 100644
    index cf8e564f3..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileAttributeGenerator.java
    +++ /dev/null
    @@ -1,92 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060612 145433 gilberta@ca.ibm.com - Gilbert Andrews
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
    -
    -import java.util.Vector;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.TypeVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.AttributeElementType;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.DataType;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
    -import org.eclipse.wst.ws.internal.datamodel.BasicElement;
    -
    -/**
    -* Objects of this class represent a ResultFileAttributeGenerator.
    -* */
    -public class ResultFileAttributeGenerator extends ResultFileHelp2Generator
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - private Vector fSetterVector;
    -
    - /**
    - * Constructor.
    - * @param buffer StringBuffer object that this code generator writes to
    - */
    - public ResultFileAttributeGenerator (StringBuffer buffer)
    - {
    - super(buffer);
    -
    - }
    -
    - /**
    - * Setter vector
    - */
    - public Vector getSetterVector()
    - {
    - return fSetterVector;
    - }
    -
    -
    - /**
    - * Visit Method generates code for this Visitor
    - * @param Parameter parameter code will be generated
    - */
    - public IStatus visit (Object object)
    - {
    - AttributeElementType attributeElementType = (AttributeElementType)object;
    - if(attributeElementType.getSetterMethod() == null) return Status.OK_STATUS;
    - BasicElement element = (BasicElement)object;
    - if(attributeElementType.getTypeElement().isSimple() || TypeFactory.recognizedBean(attributeElementType.getTypeElement().getName())){
    - //start the codegen
    - //ask the datatype for its request line, it may need mark up or not.
    - //ie For the simple types we need the mark up
    - //for the dom element we cant use it.
    - DataType dataType = TypeFactory.createType(attributeElementType.getTypeElement().getName(),element.getMUID());
    - setTypeOwnerId(idName(element.getName()));
    - fbuffer.append(dataType.getRequestCode(element.getMUID(),getTypeOwnerId()));
    -
    - }
    -
    - TypeVisitor typeVisitor = new TypeVisitor();
    - ResultFileTypeGenerator resultFileTypeGenerator = new ResultFileTypeGenerator(fbuffer);
    - resultFileTypeGenerator.setNumberFactory(getNumberFactory());
    - resultFileTypeGenerator.setTypeOwnerId(getTypeOwnerId());
    -
    - typeVisitor.run(attributeElementType,resultFileTypeGenerator);
    - setNumberFactory(resultFileTypeGenerator.getNumberFactory());
    - Vector setterInputs = resultFileTypeGenerator.getResidentVector();
    - putResidentVector(attributeElementType.getSetterSignature((String)setterInputs.firstElement()));
    -
    - return Status.OK_STATUS;
    - }
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileGenerator.java
    deleted file mode 100644
    index 0427721f0..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileGenerator.java
    +++ /dev/null
    @@ -1,143 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060523 142296 gilberta@ca.ibm.com - Gilbert Andrews
    - *******************************************************************************/
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.MethodVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.BeanElement;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -
    -
    -/**
    -* Objects of this class represent a MethodFilegenerator.
    -* */
    -public class ResultFileGenerator extends Generator
    -{
    - public static String TRIPLE_TAB = Generator.DOUBLE_TAB + Generator.TAB;
    - public static String QUAD_TAB = Generator.DOUBLE_TAB + Generator.DOUBLE_TAB;
    -
    - private String setEndpointMethod;
    -
    - /**
    - * Constructor.
    - *
    - */
    - public ResultFileGenerator ()
    - {
    - super();
    - }
    -
    - /**
    - * Constructor.
    - *
    - */
    - public ResultFileGenerator (StringBuffer buffer)
    - {
    - super(buffer);
    - }
    -
    - //takes in a bean node
    - public IStatus visit (Object object)
    - {
    - Element beanElement = (Element)object;
    - BeanElement bean = (BeanElement)beanElement;
    - fbuffer.append("<%@page contentType=\"text/html;charset=UTF-8\"%>"+ StringUtils.NEWLINE);
    - fbuffer.append("<% request.setCharacterEncoding(\"UTF-8\"); %>"+ StringUtils.NEWLINE);
    - fbuffer.append("<HTML>" + StringUtils.NEWLINE);
    - fbuffer.append("<HEAD>" + StringUtils.NEWLINE);
    - fbuffer.append("<TITLE>Result</TITLE>" + StringUtils.NEWLINE);
    - fbuffer.append("</HEAD>" + StringUtils.NEWLINE);
    - fbuffer.append("<BODY>" + StringUtils.NEWLINE);
    - fbuffer.append("<H1>Result</H1>" + StringUtils.NEWLINE + StringUtils.NEWLINE);
    -
    - fbuffer.append("<jsp:useBean id=\""+ getSessionBeanId() + "\" scope=\"session\" class=\"");
    - fbuffer.append(bean.getName() + "\" />" + StringUtils.NEWLINE);
    - if (setEndpointMethod != null && setEndpointMethod.length() > 0)
    - {
    - fbuffer.append("<%");
    - fbuffer.append(StringUtils.NEWLINE);
    - fbuffer.append("if (request.getParameter(\"endpoint\") != null && request.getParameter(\"endpoint\").length() > 0)");
    - fbuffer.append(StringUtils.NEWLINE);
    - fbuffer.append(getSessionBeanId());
    - fbuffer.append(".");
    - int index = setEndpointMethod.indexOf('?');
    - if (index != -1)
    - {
    - fbuffer.append(setEndpointMethod.substring(0, index));
    - fbuffer.append("(new ");
    - fbuffer.append(setEndpointMethod.substring(index+1, setEndpointMethod.length()));
    - fbuffer.append("(request.getParameter(\"endpoint\")));");
    - }
    - else
    - {
    - fbuffer.append(setEndpointMethod);
    - fbuffer.append("(request.getParameter(\"endpoint\"));");
    - }
    - fbuffer.append(StringUtils.NEWLINE);
    - fbuffer.append("%>");
    - fbuffer.append(StringUtils.NEWLINE);
    - }
    - fbuffer.append(StringUtils.NEWLINE);
    -
    - //carry on with regular gorp
    - fbuffer.append("<%" + StringUtils.NEWLINE);
    - fbuffer.append("String method = request.getParameter(\"method\");" + StringUtils.NEWLINE);
    - fbuffer.append("int methodID = 0;" + StringUtils.NEWLINE);
    - fbuffer.append("if (method == null) methodID = -1;" + StringUtils.NEWLINE + "" + StringUtils.NEWLINE);
    - fbuffer.append("if(methodID != -1) methodID = Integer.parseInt(method);" + StringUtils.NEWLINE);
    - fbuffer.append("boolean gotMethod = false;" + StringUtils.NEWLINE + StringUtils.NEWLINE);
    -
    - fbuffer.append("try {" + StringUtils.NEWLINE);
    - fbuffer.append("switch (methodID){ " + StringUtils.NEWLINE);
    -
    - // go to the next generator
    - MethodVisitor methodVisitor = new MethodVisitor();
    - ResultFileHelp1Generator resultFileHelp1Generator = new ResultFileHelp1Generator(fbuffer);
    - resultFileHelp1Generator.setNumberFactory(getNumberFactory());
    - resultFileHelp1Generator.setClientFolderPath(getClientFolderPath());
    - methodVisitor.run(beanElement,resultFileHelp1Generator);
    - setNumberFactory(resultFileHelp1Generator.getNumberFactory());
    -
    - fbuffer = resultFileHelp1Generator.getStringBuffer();
    -
    - fbuffer.append("}" + StringUtils.NEWLINE);
    - fbuffer.append("} catch (Exception e) { " + StringUtils.NEWLINE);
    - fbuffer.append("%>" + StringUtils.NEWLINE);
    - fbuffer.append("exception: <%= e %>" + StringUtils.NEWLINE);
    - fbuffer.append("<%" + StringUtils.NEWLINE);
    - fbuffer.append("return;" + StringUtils.NEWLINE);
    - fbuffer.append("}" + StringUtils.NEWLINE);
    - fbuffer.append("if(!gotMethod){" + StringUtils.NEWLINE);
    - fbuffer.append("%>" + StringUtils.NEWLINE);
    - fbuffer.append("result: N/A" + StringUtils.NEWLINE);
    - fbuffer.append("<%" + StringUtils.NEWLINE);
    - fbuffer.append("}" + StringUtils.NEWLINE);
    - fbuffer.append("%>" + StringUtils.NEWLINE);
    - fbuffer.append("</BODY>" + StringUtils.NEWLINE);
    - fbuffer.append("</HTML>");
    -
    - return Status.OK_STATUS;
    - }
    -
    - /**
    - * @param setEndpointMethod The setEndpointMethod to set.
    - */
    - public void setSetEndpointMethod(String setEndpointMethod)
    - {
    - this.setEndpointMethod = setEndpointMethod;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp1Generator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp1Generator.java
    deleted file mode 100644
    index b6d38ab37..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp1Generator.java
    +++ /dev/null
    @@ -1,148 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2003, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
    -
    -import java.util.Enumeration;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.ParameterVisitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.ReturnParameterVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.DataType;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.MethodElement;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -
    -
    -/**
    -* Objects of this class represent a ResultFilegenerator.
    -* */
    -public class ResultFileHelp1Generator extends ResultFileGenerator
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public static final int INITIAL_STATE = 1;
    - public static final int FINAL_STATE = 2;
    - public static final String MTEMP = "mtemp";
    - public static String BEAN = "Proxy";
    -
    - /**
    - * Constructor.
    - * @param buffer StringBuffer object that this code generator writes to
    - */
    - public ResultFileHelp1Generator (StringBuffer buffer)
    - {
    - super(buffer);
    - }
    -
    - /**
    - * Visit Method generates code for this Visitor
    - * @param method method code will be generated for
    - */
    - public IStatus visit (Object object)
    - {
    - Element methodElement = (Element)object;
    -
    -
    - MethodElement method = (MethodElement)methodElement;
    - if (method.getMethodOmmission()) return Status.OK_STATUS;
    -
    - fbuffer.append("case " + method.getNumberID()+ ":" + StringUtils.NEWLINE);
    - visitHelper(method);
    -
    - fbuffer.append("break;" + StringUtils.NEWLINE);
    -
    - return Status.OK_STATUS;
    - }
    - /**
    - * Helps out the visitor
    - * @param method method code will be generated for
    - */
    - public void visitHelper (Element methodElement)
    - {
    -
    - fbuffer.append(Generator.DOUBLE_TAB + "gotMethod = true;" + StringUtils.NEWLINE);
    -
    - MethodElement method = (MethodElement)methodElement;
    - // go to the next generator
    - ResultFileHelp2Generator resultFileHelp2Generator = new ResultFileHelp2Generator(fbuffer);
    - resultFileHelp2Generator.setNumberFactory(getNumberFactory());
    - ParameterVisitor parameterVisitor = new ParameterVisitor();
    - parameterVisitor.run(methodElement,resultFileHelp2Generator);
    - fbuffer = resultFileHelp2Generator.getStringBuffer();
    - setNumberFactory(resultFileHelp2Generator.getNumberFactory());
    - // we must now grab the state data from the resident vector
    - setResidentVector(resultFileHelp2Generator.getResidentVector());
    -
    -
    - //there is no return type if void occurs
    -
    -
    - if (method.getReturnParameterElement().getTypeElement().getName().equals("void"))
    - fbuffer.append(Generator.DOUBLE_TAB + getSessionBeanId() + "." +method.getName() + "(");
    -
    - else{
    - fbuffer.append(Generator.DOUBLE_TAB + method.getReturnParameterElement().getTypeElement().getName() + Generator.SPACE + method.getMUID() + MTEMP + Generator.SPACE);
    - fbuffer.append("=" + Generator.SPACE + getSessionBeanId() + "." + method.getName() + "(");
    - }
    -
    - Enumeration e = fResidentVector.elements();
    - while (e.hasMoreElements()){
    - fbuffer.append((String)e.nextElement());
    - if (e.hasMoreElements())
    - fbuffer.append(",");
    - }
    - fbuffer.append(");" + StringUtils.NEWLINE);
    - if (!method.getReturnParameterElement().getTypeElement().getName().equals("void") && !method.getReturnParameterElement().getTypeElement().isPrimitive()){
    - //in case our result is null
    - fbuffer.append("if(" + method.getMUID() + "mtemp == null){" + StringUtils.NEWLINE);
    - fbuffer.append("%>" + StringUtils.NEWLINE);
    - fbuffer.append("<%=" + method.getMUID() + "mtemp %>" + StringUtils.NEWLINE);
    - fbuffer.append("<%" + StringUtils.NEWLINE);
    - fbuffer.append("}else{" + StringUtils.NEWLINE);
    - }
    -
    - //now lets display the return bean
    - // if it is simple we dont need to use the generator
    -
    - if (!method.getReturnParameterElement().getTypeElement().getName().equals("void")){
    - if (method.getReturnParameterElement().getTypeElement().isSimple()
    - || TypeFactory.recognizedBean(method.getReturnParameterElement().getTypeElement().getName())
    - || TypeFactory.isStateLessBean(method.getReturnParameterElement().getTypeElement().getTypeName())
    - || TypeFactory.isRecognizedReturnType(method.getReturnParameterElement().getTypeElement().getTypeName())){
    - DataType dataType = TypeFactory.createType(method.getReturnParameterElement().getTypeElement().getTypeName(),method.getReturnParameterElement().getMUID());
    - fbuffer.append(dataType.TypeConversion(method.getMUID() + MTEMP));
    - }
    - else{
    - fbuffer.append("%>" + StringUtils.NEWLINE);
    - InputFileHelp2Generator inputFileHelp2Generator = new InputFileHelp2Generator(fbuffer);
    - inputFileHelp2Generator.setInstanceName(method.getMUID() + MTEMP);
    - inputFileHelp2Generator.setReturnParam(true);
    - ReturnParameterVisitor returnParameterVisitor = new ReturnParameterVisitor();
    - returnParameterVisitor.run(method,inputFileHelp2Generator);
    - fbuffer = inputFileHelp2Generator.getStringBuffer();
    - fbuffer.append("<%" + StringUtils.NEWLINE);
    -
    - }
    - }
    -
    - if (!method.getReturnParameterElement().getTypeElement().getName().equals("void") && !method.getReturnParameterElement().getTypeElement().isPrimitive()) fbuffer.append("}" + StringUtils.NEWLINE);
    -
    - }
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp2Generator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp2Generator.java
    deleted file mode 100644
    index 724285e06..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileHelp2Generator.java
    +++ /dev/null
    @@ -1,100 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2003, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.TypeVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.DataType;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.ParameterElement;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
    -
    -/**
    -* Objects of this class represent a ResultFileHelp2generator.
    -* */
    -public class ResultFileHelp2Generator extends Generator
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - private String fTypeOwnerId;
    -
    -
    - /**
    - * Constructor.
    - * @param buffer StringBuffer object that this code generator writes to
    - */
    - public ResultFileHelp2Generator (StringBuffer buffer)
    - {
    - super(buffer);
    -
    - }
    -
    - /**
    - * Visit Method generates code for this Visitor
    - * @param Parameter parameter code will be generated
    - */
    - public IStatus visit (Object object)
    - {
    -
    -
    - ParameterElement parameterElement = (ParameterElement)object;
    - parameterElement.getTypeElement();
    - if(parameterElement.getTypeElement().isSimple() || TypeFactory.recognizedBean(parameterElement.getTypeElement().getName())){
    - //start the codegen
    - //ask the datatype for its request line, it may need mark up or not.
    - //ie For the simple types we need the mark up
    - //for the dom element we cant use it.
    - DataType dataType = TypeFactory.createType(parameterElement.getTypeElement().getName(),parameterElement.getMUID());
    - setTypeOwnerId(idName(parameterElement.getName()));
    - fbuffer.append(dataType.getRequestCode(parameterElement.getMUID(),getTypeOwnerId()));
    - }
    -
    - //visit the type generator
    - ResultFileTypeGenerator resultFileTypeGenerator = new ResultFileTypeGenerator(fbuffer);
    - resultFileTypeGenerator.setNumberFactory(getNumberFactory());
    - resultFileTypeGenerator.setTypeOwnerId(getTypeOwnerId());
    - TypeVisitor TypeVisitor = new TypeVisitor();
    - TypeVisitor.run(parameterElement,resultFileTypeGenerator);
    - fbuffer = resultFileTypeGenerator.getStringBuffer();
    - setNumberFactory(resultFileTypeGenerator.getNumberFactory());
    - String name = (String)resultFileTypeGenerator.getResidentVector().firstElement();
    - putResidentVector(name);
    -
    - return Status.OK_STATUS;
    - }
    -
    -
    - public String getTypeOwnerId()
    - {
    - if (fTypeOwnerId == null) fTypeOwnerId = "";
    - return fTypeOwnerId;
    - }
    -
    - public void setTypeOwnerId(String name)
    - {
    - fTypeOwnerId = name;
    - }
    -
    - public String idName(String name)
    - {
    -
    - String uniqueNum = String.valueOf(getUniqueNumber());
    - String newName = name.replace('.','1') + "_" +uniqueNum + "id";
    - return newName;
    - }
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileTypeGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileTypeGenerator.java
    deleted file mode 100644
    index f78cd599d..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/ResultFileTypeGenerator.java
    +++ /dev/null
    @@ -1,110 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
    -
    -import java.util.Enumeration;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.AttributeVisitor;
    -import org.eclipse.jst.ws.internal.consumption.codegen.bean.FieldVisitor;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.DataType;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeElement;
    -import org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel.TypeFactory;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -
    -/**
    -* Objects of this class represent a ResultFileHelp2generator.
    -* */
    -public class ResultFileTypeGenerator extends ResultFileHelp2Generator
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    -
    - public String fTypeIdName;
    -
    - /**
    - * Constructor.
    - * @param buffer StringBuffer object that this code generator writes to
    - */
    - public ResultFileTypeGenerator (StringBuffer buffer)
    - {
    - super(buffer);
    - }
    -
    - /**
    - * Visit Method generates code for this Visitor
    - * @param Parameter parameter code will be generated
    - */
    - public IStatus visit (Object object)
    - {
    - Element typeElement = (Element)object;
    - TypeElement type = (TypeElement)typeElement;
    - // right now we only have simple to worry about
    - if(type.isSimple() || TypeFactory.recognizedBean(type.getName())){
    - // create the type that represents the simple type name
    - DataType dataType = TypeFactory.createType(type.getName(),type.getOwningElement().getMUID());
    -
    - String nodeName = getTypeOwnerId()+ "Temp";
    - fbuffer.append(dataType.stringConversion(type.getName(),nodeName,getTypeOwnerId()));
    -
    - putResidentVector(nodeName);
    - }
    -
    - else {
    - //must be complex
    - String typeName = typeElement.getName();
    - fTypeIdName = idName(typeName);
    -
    - AttributeVisitor attributeVisitor = new AttributeVisitor();
    - ResultFileAttributeGenerator resultFileAttributeGenerator = new ResultFileAttributeGenerator(fbuffer);
    - resultFileAttributeGenerator.setNumberFactory(getNumberFactory());
    - attributeVisitor.run(typeElement,resultFileAttributeGenerator);
    - setNumberFactory(resultFileAttributeGenerator.getNumberFactory());
    - fbuffer = resultFileAttributeGenerator.getStringBuffer();
    -
    - FieldVisitor fieldVisitor = new FieldVisitor();
    - ResultFileAttributeGenerator resultFileAttributeGenerator2 = new ResultFileAttributeGenerator(fbuffer);
    - resultFileAttributeGenerator2.setNumberFactory(getNumberFactory());
    - fieldVisitor.run(typeElement,resultFileAttributeGenerator2);
    - setNumberFactory(resultFileAttributeGenerator2.getNumberFactory());
    - fbuffer = resultFileAttributeGenerator2.getStringBuffer();
    -
    -
    - fbuffer.append(Generator.DOUBLE_TAB + "%>" + StringUtils.NEWLINE);
    - fbuffer.append(Generator.DOUBLE_TAB + "<jsp:useBean id=\"" + fTypeIdName + "\" scope=\"session\" class=\"" + typeName + "\" />" + StringUtils.NEWLINE);
    - fbuffer.append(Generator.DOUBLE_TAB + "<%" + StringUtils.NEWLINE);
    -
    - Enumeration e = resultFileAttributeGenerator.getResidentVector().elements();
    - while(e.hasMoreElements()){
    - fbuffer.append(Generator.DOUBLE_TAB + fTypeIdName + "." + e.nextElement() + StringUtils.NEWLINE);
    - }
    -
    - Enumeration e2 = resultFileAttributeGenerator2.getResidentVector().elements();
    - while(e2.hasMoreElements()){
    - fbuffer.append(Generator.DOUBLE_TAB + fTypeIdName + "." + e2.nextElement() + StringUtils.NEWLINE);
    - }
    - putResidentVector(fTypeIdName);
    - //end of changes
    -
    - }
    -
    - return Status.OK_STATUS;
    - }
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/TestClientFileGenerator.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/TestClientFileGenerator.java
    deleted file mode 100644
    index 83fe42bca..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/codegen/TestClientFileGenerator.java
    +++ /dev/null
    @@ -1,88 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.codegen;
    -
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.common.StringUtils;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -
    -
    -/**
    -* Objects of this class represent a TestClientFilegenerator.
    -* */
    -public class TestClientFileGenerator extends Generator
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - public String fMethodName;
    - public String fInputName;
    - public String fResultName;
    -
    - /**
    - * Constructor.
    - *
    - */
    - public TestClientFileGenerator (String inputs, String methods, String results)
    - {
    - super();
    - fInputName = inputs;
    - fMethodName = methods;
    - fResultName = results;
    - }
    -
    - public void setFileNames(String inputs, String methods, String results)
    - {
    - fInputName = inputs;
    - fMethodName = methods;
    - fResultName = results;
    - }
    -
    - //takes in a bean node
    - public IStatus visit (Object object)
    - {
    - fbuffer.append("<%@page contentType=\"text/html;charset=UTF-8\"%>");
    - fbuffer.append("<HTML>" + StringUtils.NEWLINE);
    - fbuffer.append("<HEAD>" + StringUtils.NEWLINE);
    - fbuffer.append("<TITLE>Web Services Test Client</TITLE>" + StringUtils.NEWLINE);
    - fbuffer.append("</HEAD>" + StringUtils.NEWLINE + "");
    - fbuffer.append("<FRAMESET COLS=\"220,*\">" + StringUtils.NEWLINE);
    - fbuffer.append("<FRAME SRC=\""+ fMethodName + "\" NAME=\"methods\" MARGINWIDTH=\"1\" MARGINHEIGHT=\"1\" SCROLLING=\"yes\" FRAMEBORDER=\"1\">" + StringUtils.NEWLINE);
    - fbuffer.append("<FRAMESET ROWS=\"80%,20%\">" + StringUtils.NEWLINE);
    - fbuffer.append("<FRAME SRC=\""+ fInputName + "\" NAME=\"inputs\" MARGINWIDTH=\"1\" MARGINHEIGHT=\"1\" SCROLLING=\"yes\" FRAMEBORDER=\"1\">" + StringUtils.NEWLINE);
    - fbuffer.append("<%").append(StringUtils.NEWLINE);
    - fbuffer.append("StringBuffer resultJSP = new StringBuffer(\"").append(fResultName).append("\");").append(StringUtils.NEWLINE);
    - fbuffer.append("resultJSP.append(\"?\");").append(StringUtils.NEWLINE);
    - fbuffer.append("java.util.Enumeration resultEnum = request.getParameterNames();");
    - fbuffer.append("while (resultEnum.hasMoreElements()) {").append(StringUtils.NEWLINE);
    - fbuffer.append("Object resultObj = resultEnum.nextElement();").append(StringUtils.NEWLINE);
    - fbuffer.append("resultJSP.append(resultObj.toString()).append(\"=\").append(request.getParameter(resultObj.toString())).append(\"&\");").append(StringUtils.NEWLINE);
    - fbuffer.append("}").append(StringUtils.NEWLINE);
    - fbuffer.append("%>").append(StringUtils.NEWLINE);
    - fbuffer.append("<FRAME SRC=\"<%=resultJSP.toString()%>\" NAME=\"result\" MARGINWIDTH=\"1\" MARGINHEIGHT=\"1\" SCROLLING=\"yes\" FRAMEBORDER=\"1\">" + StringUtils.NEWLINE);
    - fbuffer.append("</FRAMESET>" + StringUtils.NEWLINE);
    -
    -
    - fbuffer.append("<NOFRAMES>" + StringUtils.NEWLINE);
    - fbuffer.append("<BODY>" + StringUtils.NEWLINE);
    - fbuffer.append("The Web Services Test Client requires a browser that supports frames." + StringUtils.NEWLINE);
    - fbuffer.append("</BODY>" + StringUtils.NEWLINE);
    - fbuffer.append("</NOFRAMES>" + StringUtils.NEWLINE);
    - fbuffer.append("</FRAMESET>" + StringUtils.NEWLINE);
    - fbuffer.append("</HTML>");
    -
    - return Status.OK_STATUS;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/GeneratePageCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/GeneratePageCommand.java
    deleted file mode 100644
    index d456f896e..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/GeneratePageCommand.java
    +++ /dev/null
    @@ -1,104 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.command;
    -
    -import java.io.IOException;
    -import java.io.OutputStream;
    -import java.io.OutputStreamWriter;
    -import org.eclipse.core.resources.IFile;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jst.ws.internal.consumption.codegen.Generator;
    -import org.eclipse.wst.command.internal.env.common.FileResourceUtils;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.core.context.ResourceContext;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -import org.eclipse.wst.ws.internal.datamodel.Model;
    -
    -
    -/**
    - * MofToBeanModelCommand
    - * Creation date: (4/10/2001 12:41:48 PM)
    - * @author: Gilbert Andrews
    - */
    -public class GeneratePageCommand extends AbstractDataModelOperation
    -{
    -
    -private Model model_;
    -private Generator fGenerator;
    -private IFile fIFile;
    -private ResourceContext resourceContext_;
    -private StringBuffer fStringBuffer;
    -
    -/**
    - * Build constructor comment.
    - */
    -public GeneratePageCommand()
    -{
    -}
    -
    -/**
    -* Constructor
    -* This command will generate code from a Model
    -* @param model The model to be traversed
    -* @param generator The code generator to be used
    -* @param resource the resource to place the finished product
    -*/
    -public GeneratePageCommand(ResourceContext context, Model model, Generator generator, IFile file)
    -{
    - model_ = model;
    - fGenerator = generator;
    - fIFile = file;
    - resourceContext_ = context;
    -}
    -
    -public Model getJavaDataModel()
    -{
    - return model_;
    -}
    -
    -/**
    - *
    - */
    -public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    -{
    - IEnvironment env = getEnvironment();
    -
    - IStatus status = Status.OK_STATUS;
    - try {
    - fGenerator.visit(model_.getRootElement());
    - fStringBuffer = fGenerator.getStringBuffer();
    - String tempString = fStringBuffer.toString();
    - OutputStream fileResource = FileResourceUtils.newFileOutputStream(resourceContext_, fIFile.getFullPath(), monitor, env.getStatusHandler());
    - //PrintStream ps = new PrintStream(fileResource);
    - //ps.print(tempString);
    - OutputStreamWriter osw = new OutputStreamWriter(fileResource,"UTF-8");
    - osw.write(tempString,0,fStringBuffer.length());
    - osw.close();
    - fileResource.close();
    - return status;
    - } catch (IOException ioexc) {
    - status = StatusUtils.errorStatus( ioexc );
    - return status;
    - }
    -}
    -
    -public void setRootElement(Element rootElement)
    -{
    -}
    -
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/JavaToModelCommand.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/JavaToModelCommand.java
    deleted file mode 100644
    index b40810432..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/command/JavaToModelCommand.java
    +++ /dev/null
    @@ -1,227 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.command;
    -
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IAdaptable;
    -import org.eclipse.core.runtime.IProgressMonitor;
    -import org.eclipse.core.runtime.IStatus;
    -import org.eclipse.core.runtime.Status;
    -import org.eclipse.jem.java.JavaClass;
    -import org.eclipse.jst.ws.internal.consumption.ConsumptionMessages;
    -import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitoractions.JavaMofBeanVisitorAction;
    -import org.eclipse.jst.ws.internal.consumption.codegen.javamofvisitors.JavaMofBeanVisitor;
    -import org.eclipse.jst.ws.internal.consumption.command.common.JavaMofReflectionCommand;
    -import org.eclipse.wst.command.internal.env.core.common.StatusUtils;
    -import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection;
    -import org.eclipse.wst.common.environment.Choice;
    -import org.eclipse.wst.common.environment.IEnvironment;
    -import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
    -import org.eclipse.wst.ws.internal.datamodel.Element;
    -import org.eclipse.wst.ws.internal.datamodel.Model;
    -
    -/**
    -* This is the base class for commands that need to report progress
    -* and status during and after their execution. This class extends
    -* {@link org.eclipse.emf.common.command.AbstractCommand AbstractCommand}
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -* with methods to {@link #setProgressMonitor set}
    -* and {@link #getProgressMonitor get} a progress monitor,
    -* and to get a status object {@link #getReadyStatus before}
    -* or {@link #getResultStatus after} execution.
    -* <p>
    -* Note that the responsibility of providing an
    -* {@link org.eclipse.core.runtime.IProgressMonitor IProgressMonitor}
    -* rests with frameworks that construct or run ProgressCommand objects,
    -* whereas the responsibility of providing an
    -* {@link org.eclipse.core.runtime.IStatus IStatus}
    -* object lies with the subclasses of ProgressCommand.
    -* Subclasses must follow the rules described for
    -* {@link org.eclipse.emf.common.command.AbstractCommand AbstractCommand}.
    -*/
    -public class JavaToModelCommand extends AbstractDataModelOperation
    -{
    -
    - private String clientProject;
    - private BooleanSelection[] methods;
    - private String proxyBean;
    - private JavaClass javaClass;
    - private Model model;
    - private Element parentElement;
    -
    - public JavaToModelCommand ()
    - {
    - }
    -
    -
    - private IStatus createJavaReflection(IEnvironment env, IProgressMonitor monitor )
    - {
    - IStatus status = Status.OK_STATUS;
    - JavaMofReflectionCommand javaMofReflectionCommand = new JavaMofReflectionCommand();
    - javaMofReflectionCommand.setClientProject(clientProject);
    - javaMofReflectionCommand.setProxyBean(proxyBean);
    - javaMofReflectionCommand.setEnvironment( env );
    - //javaMofReflectionCommand.setStatusMonitor(getStatusMonitor());
    - status = javaMofReflectionCommand.execute( monitor, null);
    - javaClass = (JavaClass)javaMofReflectionCommand.getJavaClass();
    - return status;
    - }
    -
    - /**
    - * The Model that was created from this javamof
    - * @return Model The data model that was created
    - **/
    - public Model getJavaDataModel()
    - {
    - return model;
    - }
    -
    - /**
    - * Build the datamodel from the mof
    - */
    - public IStatus buildModelFromMof (IEnvironment env) throws CoreException
    - {
    -
    - Choice OKChoice = new Choice('O', ConsumptionMessages.LABEL_OK, ConsumptionMessages.DESCRIPTION_OK);
    - Choice CancelChoice = new Choice('C', ConsumptionMessages.LABEL_CANCEL, ConsumptionMessages.DESCRIPTION_CANCEL);
    -
    - // we could have one of three cases:
    - //1. The model is null meaning we want and the parent element is null, meaning we want to
    - // create a brand new model and make this bean its root
    - //2. The model is null but the parentElement is not, meaning we want to add the Bean to the
    - // given parent element
    - //3. The model is not null however the parentElement is, meaning we want to add this Bean to
    - // This model but dont attach it to anything
    - IStatus status = Status.OK_STATUS;
    -
    - if(model == null && parentElement == null){
    - JavaMofBeanVisitorAction beanVisitorAction = new JavaMofBeanVisitorAction(clientProject,methods, env);
    - //beanVisitorAction.setStatusMonitor(getStatusMonitor());
    - JavaMofBeanVisitor beanVisitor = new JavaMofBeanVisitor();
    - status = beanVisitor.run(javaClass,beanVisitorAction);
    - //
    - int severity = status.getSeverity();
    - if (severity==Status.ERROR)
    - return status;
    -
    - if (severity==Status.WARNING)
    - {
    - Choice result = env.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
    - if (result.getLabel().equals(CancelChoice.getLabel()))
    - {
    - //return an error status since the user canceled
    - return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
    - }
    -
    - }
    - //
    - model = beanVisitorAction.getModel();
    -
    - }
    - else if (model == null && parentElement != null){
    - JavaMofBeanVisitorAction beanVisitorAction = new JavaMofBeanVisitorAction(parentElement,clientProject, env);
    - //beanVisitorAction.setStatusMonitor(getStatusMonitor());
    - JavaMofBeanVisitor beanVisitor = new JavaMofBeanVisitor();
    - status = beanVisitor.run(javaClass,beanVisitorAction);
    - //
    - int severity = status.getSeverity();
    - if (severity==Status.ERROR)
    - return status;
    -
    - if (severity==Status.WARNING)
    - {
    - Choice result = env.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
    - if (result.getLabel().equals(CancelChoice.getLabel()))
    - {
    - //return an error status since the user canceled
    - return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
    - }
    -
    - }
    - //
    - model = beanVisitorAction.getModel();
    - }
    - else {
    - JavaMofBeanVisitorAction beanVisitorAction = new JavaMofBeanVisitorAction(model,clientProject, env);
    - //beanVisitorAction.setStatusMonitor(getStatusMonitor());
    - JavaMofBeanVisitor beanVisitor = new JavaMofBeanVisitor();
    - status = beanVisitor.run(javaClass,beanVisitorAction);
    - //
    - int severity = status.getSeverity();
    - if (severity==Status.ERROR)
    - return status;
    -
    - if (severity==Status.WARNING)
    - {
    - Choice result = env.getStatusHandler().report(status, new Choice[]{OKChoice, CancelChoice});
    - if (result.getLabel().equals(CancelChoice.getLabel()))
    - {
    - //return an error status since the user canceled
    - return StatusUtils.errorStatus( ConsumptionMessages.MSG_ERROR_SAMPLE_CREATION_CANCELED );
    - }
    -
    - }
    - //
    - model = beanVisitorAction.getModel();
    - }
    -
    - return status;
    - }
    -
    - /**
    - * Get the java model from the resource then
    - * build the model from the mof
    - */
    - public IStatus execute( IProgressMonitor monitor, IAdaptable adaptable )
    - {
    - IEnvironment env = getEnvironment();
    - IStatus status = Status.OK_STATUS;
    - if(clientProject == null) return status;
    -
    - status = createJavaReflection(env, monitor);
    - if (status.getSeverity()==Status.ERROR) return status;
    - try{
    - status = buildModelFromMof(env);
    - return status;
    - }catch(CoreException exc){
    - IStatus embeddedStatus = exc.getStatus();
    - status = embeddedStatus;
    - return status;
    - }
    -
    - }
    -
    - public void setMethods(BooleanSelection[] methods)
    - {
    - this.methods = methods;
    - }
    -
    - public void setClientProject(String clientProject)
    - {
    - this.clientProject = clientProject;
    - }
    -
    - public void setParentElement(Element parentElement)
    - {
    - this.parentElement = parentElement;
    - }
    -
    - public void setProxyBean(String proxyBean)
    - {
    - this.proxyBean = proxyBean;
    - }
    -
    - }
    -
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/common/SamplePropertyDescriptor.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/common/SamplePropertyDescriptor.java
    deleted file mode 100644
    index 74f4b0115..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/sampleapp/common/SamplePropertyDescriptor.java
    +++ /dev/null
    @@ -1,115 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2000, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.sampleapp.common;
    -
    -import org.eclipse.jem.java.JavaHelpers;
    -import org.eclipse.jem.java.Method;
    -
    -
    -/**
    -* Objects of this class represent a PropertyDescriptor.
    -* */
    -public class SamplePropertyDescriptor
    -{
    -
    - // Copyright
    - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002.";
    -
    -
    - private Method fReadMethod;
    - private Method fWriteMethod;
    - private String fPropertyName;
    - private JavaHelpers fPropertyType;
    - private boolean fStatic;
    -
    - /*
    - * Constructor
    - **/
    - public SamplePropertyDescriptor(String name)
    - {
    - fPropertyName = name;
    - }
    -
    - /*
    - * set the ReadMethod
    - */
    - public void setReadMethod(Method readMethod)
    - {
    - fReadMethod = readMethod;
    - }
    -
    - /*
    - * get the ReadMethod
    - */
    - public Method getReadMethod()
    - {
    - return fReadMethod;
    - }
    -
    - /*
    - * set the writeMethod
    - */
    - public void setWriteMethod(Method writeMethod)
    - {
    - fWriteMethod = writeMethod;
    - }
    -
    - /*
    - * get the writeMethod
    - */
    - public Method getWriteMethod()
    - {
    - return fWriteMethod;
    - }
    -
    - /*
    - * set the propertyName
    - */
    - public void setName(String name)
    - {
    - fPropertyName= name;
    - }
    -
    - /*
    - * get the propertyName
    - */
    - public String getName()
    - {
    - return fPropertyName;
    - }
    -
    - /*
    - * set the PropertyType
    - */
    - public void setPropertyType(JavaHelpers propertyType)
    - {
    - fPropertyType = propertyType;
    - }
    -
    - /*
    - * get the PropertyType
    - */
    - public JavaHelpers getPropertyType()
    - {
    - return fPropertyType;
    - }
    -
    - public boolean isfStatic()
    - {
    - return fStatic;
    - }
    -
    - public void setfStatic(boolean fStatic)
    - {
    - this.fStatic = fStatic;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/IWSFinder.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/IWSFinder.java
    deleted file mode 100644
    index 7ea7ff5f7..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/IWSFinder.java
    +++ /dev/null
    @@ -1,28 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2002, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.wsfinder;
    -
    -import java.util.List;
    -
    -public interface IWSFinder
    -{
    - public String getID();
    - public void setID(String id);
    -
    - public String getName();
    - public void setName(String name);
    -
    - public String getDescription();
    - public void setDescription(String desc);
    -
    - public List find();
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/LiveWSDLFilter.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/LiveWSDLFilter.java
    deleted file mode 100644
    index 97b207ecd..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/LiveWSDLFilter.java
    +++ /dev/null
    @@ -1,99 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2002, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.wsfinder;
    -
    -import java.io.IOException;
    -import java.net.MalformedURLException;
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Map;
    -import javax.wsdl.Definition;
    -import javax.wsdl.Port;
    -import javax.wsdl.Service;
    -import javax.wsdl.WSDLException;
    -import javax.wsdl.extensions.ExtensibilityElement;
    -import javax.wsdl.extensions.http.HTTPAddress;
    -import javax.wsdl.extensions.soap.SOAPAddress;
    -import org.eclipse.wst.ws.internal.parser.discovery.WebServicesParserExt;
    -import org.eclipse.wst.ws.internal.parser.wsil.WWWAuthenticationException;
    -
    -public class LiveWSDLFilter extends Thread
    -{
    - private String wsdlURL_;
    - private boolean finish_;
    - private boolean live_;
    -
    - public LiveWSDLFilter(String wsdlURL)
    - {
    - wsdlURL_ = wsdlURL;
    - finish_ = false;
    - live_ = false;
    - }
    -
    - public String getWSDLURL()
    - {
    - return wsdlURL_;
    - }
    -
    - public boolean isFinish()
    - {
    - return finish_;
    - }
    -
    - public boolean isWSDLLive()
    - {
    - return live_;
    - }
    -
    - public void run()
    - {
    - try
    - {
    - live_ = validateWSDL();
    - }
    - catch (Throwable t)
    - {
    - live_ = false;
    - }
    - finally
    - {
    - finish_ = true;
    - }
    - }
    -
    - private boolean validateWSDL() throws WSDLException, MalformedURLException, IOException, WWWAuthenticationException
    - {
    - WebServicesParserExt parser = new WebServicesParserExt();
    - Definition definition = parser.getWSDLDefinitionVerbose(wsdlURL_);
    - Map services = definition.getServices();
    - Iterator serviceIterator = services.values().iterator();
    - while (serviceIterator.hasNext())
    - {
    - Service service = (Service)serviceIterator.next();
    - Map ports = service.getPorts();
    - Iterator portIterator = ports.values().iterator();
    - while (portIterator.hasNext())
    - {
    - Port port = (Port)portIterator.next();
    - List extensibilityElements = port.getExtensibilityElements();
    - Iterator extensibilityElementsIterator = extensibilityElements.iterator();
    - while (extensibilityElementsIterator.hasNext())
    - {
    - ExtensibilityElement extensibilityElement = (ExtensibilityElement)extensibilityElementsIterator.next();
    - if ((extensibilityElement instanceof SOAPAddress) || (extensibilityElement instanceof HTTPAddress))
    - return true;
    - }
    - }
    - }
    - return false;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/WSFinderRegistry.java b/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/WSFinderRegistry.java
    deleted file mode 100644
    index e93561e25..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/wsfinder/WSFinderRegistry.java
    +++ /dev/null
    @@ -1,86 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2002, 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.internal.consumption.wsfinder;
    -
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Vector;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.core.runtime.IConfigurationElement;
    -import org.eclipse.core.runtime.IExtensionRegistry;
    -import org.eclipse.core.runtime.Platform;
    -
    -public class WSFinderRegistry
    -{
    - private static WSFinderRegistry instance_;
    - private Vector wsfinders_;
    -
    - private WSFinderRegistry()
    - {
    - wsfinders_ = new Vector();
    - }
    -
    - /**
    - * Returns a singleton instance of this class.
    - * @return A singleton WSFinderRegistry object.
    - */
    - public static WSFinderRegistry getInstance()
    - {
    - if (instance_ == null)
    - {
    - instance_ = new WSFinderRegistry();
    - instance_.init();
    - }
    - return instance_;
    - }
    -
    - private void init()
    - {
    - IExtensionRegistry pluginReg = Platform.getExtensionRegistry();
    - IConfigurationElement[] configElements = pluginReg.getConfigurationElementsFor("org.eclipse.jst.ws.consumption", "wsfinder");
    - for (int i = 0; i < configElements.length; i++)
    - {
    - try
    - {
    - Object object = configElements[i].createExecutableExtension("class");
    - if (object instanceof IWSFinder)
    - {
    - IWSFinder wsfinder = (IWSFinder)object;
    - wsfinder.setID(configElements[i].getAttribute("id"));
    - wsfinder.setName(configElements[i].getAttribute("name"));
    - wsfinder.setDescription(configElements[i].getAttribute("description"));
    - wsfinders_.add(wsfinder);
    - }
    - }
    - catch (CoreException ce)
    - {
    - }
    - }
    - }
    -
    - public List getWSFinders()
    - {
    - return wsfinders_;
    - }
    -
    - public List getWebServices()
    - {
    - List ws = new Vector();
    - List wsFinders = getWSFinders();
    - for (Iterator it = wsFinders.iterator(); it.hasNext();)
    - {
    - IWSFinder wsFinder = (IWSFinder)it.next();
    - ws.addAll(wsFinder.find());
    - }
    - return ws;
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/DomElementHelper.java b/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/DomElementHelper.java
    deleted file mode 100644
    index 5123e55e2..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/DomElementHelper.java
    +++ /dev/null
    @@ -1,137 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.util;
    -
    -import javax.xml.parsers.DocumentBuilder;
    -import javax.xml.parsers.DocumentBuilderFactory;
    -import org.w3c.dom.Document;
    -
    -/**
    - * @author gilberta
    - *
    - * To change the template for this generated type comment go to
    - * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    - */
    -public class DomElementHelper {
    -
    -
    - public static org.w3c.dom.Element createDomElementFromXMLString(java.lang.String xmlString )
    - {
    - java.io.StringReader stringReader = new java.io.StringReader(xmlString);
    - org.xml.sax.InputSource inputSource = new org.xml.sax.InputSource(stringReader);
    - try
    - {
    - DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
    - DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
    - Document document = docBuilder.parse(inputSource);
    - return document.getDocumentElement();
    - }
    - catch (Throwable t)
    - {
    - return null;
    - }
    - }
    -
    - public static java.lang.String domWriter(org.w3c.dom.Node node,java.lang.StringBuffer buffer)
    - {
    - if ( node == null ) {
    - return "";
    - }
    - int type = node.getNodeType();
    - switch ( type ) {
    - case org.w3c.dom.Node.DOCUMENT_NODE: {
    - buffer.append(JspUtils.markup("<?xml version=\"1.0\" encoding=\"UTF-8\"?>") + "<br>");
    - domWriter(((org.w3c.dom.Document)node).getDocumentElement(),buffer);
    - break;
    - }
    - case org.w3c.dom.Node.ELEMENT_NODE: {
    - buffer.append(JspUtils.markup("<" + node.getNodeName()));
    - org.w3c.dom.Attr attrs[] = sortAttributes(node.getAttributes());
    - for ( int i = 0; i < attrs.length; i++ ) {
    - org.w3c.dom.Attr attr = attrs[i];
    - buffer.append(" " + attr.getNodeName() + "=\"" + JspUtils.markup(attr.getNodeValue()) + "\"");
    - }
    - buffer.append(JspUtils.markup(">"));
    - org.w3c.dom.NodeList children = node.getChildNodes();
    - if ( children != null ) {
    - int len = children.getLength();
    - for ( int i = 0; i < len; i++ ) {
    - if(((org.w3c.dom.Node)children.item(i)).getNodeType() == org.w3c.dom.Node.ELEMENT_NODE)
    - buffer.append("<br>");
    - domWriter(children.item(i),buffer);
    - }
    - }
    - buffer.append(JspUtils.markup("</" + node.getNodeName() + ">"));
    - break;
    - }
    - case org.w3c.dom.Node.ENTITY_REFERENCE_NODE: {
    - org.w3c.dom.NodeList children = node.getChildNodes();
    - if ( children != null ) {
    - int len = children.getLength();
    - for ( int i = 0; i < len; i++ )
    - {
    - buffer.append(children.item(i));
    - }
    - }
    - break;
    - }
    - case org.w3c.dom.Node.CDATA_SECTION_NODE: {
    - buffer.append(JspUtils.markup(node.getNodeValue()));
    - break;
    - }
    - case org.w3c.dom.Node.TEXT_NODE:{
    - buffer.append(JspUtils.markup(node.getNodeValue()));
    - break;
    - }
    - case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:{
    - buffer.append(JspUtils.markup("<?"));
    - buffer.append(node.getNodeName());
    - String data = node.getNodeValue();
    - if ( data != null && data.length() > 0 ){
    - buffer.append(" ");
    - buffer.append(data);
    - }
    - buffer.append(JspUtils.markup("?>"));
    - break;
    - }
    - }
    - return buffer.toString();
    - }
    -
    - public static org.w3c.dom.Attr[] sortAttributes(org.w3c.dom.NamedNodeMap attrs)
    - {
    - int len = (attrs != null) ? attrs.getLength() : 0;
    - org.w3c.dom.Attr array[] = new org.w3c.dom.Attr[len];
    - for ( int i = 0; i < len; i++ ){
    - array[i] = (org.w3c.dom.Attr)attrs.item(i);
    - }
    - for ( int i = 0; i < len - 1; i++ ) {
    - String name = array[i].getNodeName();
    - int index = i;
    - for ( int j = i + 1; j < len; j++ ) {
    - String curName = array[j].getNodeName();
    - if ( curName.compareTo(name) < 0 ) {
    - name = curName;
    - index = j;
    - }
    - }
    - if ( index != i ) {
    - org.w3c.dom.Attr temp = array[i];
    - array[i] = array[index];
    - array[index] = temp;
    - }
    - }
    - return (array);
    - }
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/JspUtils.java b/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/JspUtils.java
    deleted file mode 100644
    index abb9013e9..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/JspUtils.java
    +++ /dev/null
    @@ -1,50 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.util;
    -
    -/**
    - * @author gilberta
    - *
    - * To change the template for this generated type comment go to
    - * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    - */
    -public class JspUtils {
    - public static String markup(String text) {
    - if (text == null) {
    - return null;
    - }
    -
    - StringBuffer buffer = new StringBuffer();
    - for (int i = 0; i < text.length(); i++) {
    - char c = text.charAt(i);
    - switch (c) {
    - case '<':
    - buffer.append("&lt;");
    - break;
    - case '&':
    - buffer.append("&amp;");
    - break;
    - case '>':
    - buffer.append("&gt;");
    - break;
    - case '"':
    - buffer.append("&quot;");
    - break;
    - default:
    - buffer.append(c);
    - break;
    - }
    - }
    - return buffer.toString();
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementHelper.java b/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementHelper.java
    deleted file mode 100644
    index 18030062b..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementHelper.java
    +++ /dev/null
    @@ -1,69 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2005,2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060131 123963 andyzhai@ca.ibm.com - Andy Zhai
    - *******************************************************************************/
    -package org.eclipse.jst.ws.util;
    -
    -import java.io.IOException;
    -
    -import javax.xml.parsers.ParserConfigurationException;
    -import javax.xml.parsers.SAXParser;
    -import javax.xml.parsers.SAXParserFactory;
    -
    -import org.xml.sax.SAXException;
    -
    -/**
    - * @author gilberta
    - */
    -public class SoapElementHelper
    -{
    - public static javax.xml.soap.SOAPElement createSOAPElementFromXMLString(String xmlString) throws ParserConfigurationException, IOException, SAXException
    - {
    - java.io.StringReader stringReader = new java.io.StringReader(xmlString);
    - org.xml.sax.InputSource inputSource = new org.xml.sax.InputSource(stringReader);
    - SAXParserFactory factory = SAXParserFactory.newInstance();
    - factory.setNamespaceAware(true);
    - SAXParser parser = factory.newSAXParser();
    - SoapElementSaxHandler handler = new SoapElementSaxHandler();
    - parser.parse(inputSource,handler);
    - return handler.getSOAPElement();
    - }
    -
    - public static java.lang.String soapElementWriter(javax.xml.soap.SOAPElement node,java.lang.StringBuffer buffer)
    - {
    - if (node == null ) {
    - return "";
    - }
    -
    - buffer.append(JspUtils.markup("<" + node.getElementName().getLocalName()));
    - java.util.Iterator attrs = node.getAllAttributes();
    - while(attrs.hasNext()) {
    - javax.xml.soap.Name attr = (javax.xml.soap.Name)attrs.next();
    - buffer.append(" " + attr.getQualifiedName() + "=\"" + JspUtils.markup(node.getAttributeValue(attr)) + "\"");
    - }
    - buffer.append(JspUtils.markup(">"));
    - java.util.Iterator children = node.getChildElements();
    - if ( children != null ) {
    - while(children.hasNext()){
    - javax.xml.soap.Node childNode = (javax.xml.soap.Node)children.next();
    - if(childNode instanceof javax.xml.soap.SOAPElement){
    - buffer.append("<br>");
    - soapElementWriter((javax.xml.soap.SOAPElement)childNode,buffer);
    - }
    - else
    - buffer.append(JspUtils.markup(((javax.xml.soap.Text)childNode).getValue()));
    - }
    - buffer.append(JspUtils.markup("</" + node.getElementName().getLocalName() + ">"));
    - }
    - return buffer.toString();
    - }
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementRuntimeException.java b/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementRuntimeException.java
    deleted file mode 100644
    index 2335ef522..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementRuntimeException.java
    +++ /dev/null
    @@ -1,33 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2004 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.util;
    -
    -/**
    - * @author gilberta
    - *
    - * To change the template for this generated type comment go to
    - * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    - */
    -public class SoapElementRuntimeException extends Exception {
    -
    - /**
    - * Comment for <code>serialVersionUID</code>
    - */
    - private static final long serialVersionUID = 3761693372674748471L;
    -
    -public SoapElementRuntimeException(String message){
    - super(message);
    - }
    -
    -
    -
    -}
    diff --git a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementSaxHandler.java b/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementSaxHandler.java
    deleted file mode 100644
    index 26bbf6e30..000000000
    --- a/bundles/org.eclipse.jst.ws.consumption/webserviceutils/org/eclipse/jst/ws/util/SoapElementSaxHandler.java
    +++ /dev/null
    @@ -1,142 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - * yyyymmdd bug Email and other contact information
    - * -------- -------- -----------------------------------------------------------
    - * 20060131 123963 andyzhai@ca.ibm.com - Andy Zhai
    - *******************************************************************************/
    -
    -package org.eclipse.jst.ws.util;
    -
    -import java.util.ArrayList;
    -import java.util.HashMap;
    -
    -import javax.xml.soap.Name;
    -import javax.xml.soap.SOAPElement;
    -import javax.xml.soap.SOAPException;
    -import javax.xml.soap.SOAPFactory;
    -
    -import org.xml.sax.Attributes;
    -import org.xml.sax.SAXException;
    -import org.xml.sax.helpers.DefaultHandler;
    -
    -/**
    - * @author xinzhai
    - */
    -public class SoapElementSaxHandler extends DefaultHandler
    -{
    - //Stores all values of pairs of prefix and URI in the document
    - private HashMap prefixURIMapping = new HashMap();
    - //Stores a list of URIs for a particular SOAP element
    - private ArrayList uris = new ArrayList();
    - //Represents the whole(root) SOAP document
    - private SOAPElement rootElement = null;
    - //Represents the current SOAP element where SAX parser is reading
    - private SOAPElement currentElement = null;
    - private SOAPFactory soapFactory;
    -
    - public SOAPElement getSOAPElement()
    - {
    - return rootElement;
    - }
    -
    - public void startDocument() throws SAXException
    - {
    - try
    - {
    - soapFactory = SOAPFactory.newInstance();
    - }
    - catch (SOAPException e)
    - {
    - throw new SAXException("Can't create a SOAPFactory instance", e);
    - }
    - }
    -
    - public void startPrefixMapping(String prefix, String uri)
    - {
    - prefixURIMapping.put(uri,prefix);
    - uris.add(uri);
    - }
    -
    - public void characters(char[] ch, int start, int length) throws SAXException
    - {
    - String str = String.valueOf(ch);
    - //Add non-trivial text as a text node
    - if (length > 1)
    - {
    - try
    - {
    - currentElement.addTextNode(str.substring(start,start+length));
    - }
    - catch (SOAPException e)
    - {
    - throw new SAXException("Can't add a text node into SOAPElement from text", e);
    - }
    - }
    - }
    -
    - public void endElement (String uri, String localName, String qName)
    - {
    - if (currentElement != rootElement )
    - {
    - currentElement = currentElement.getParentElement();
    - }
    - }
    - public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
    - {
    - String prefix = (String)prefixURIMapping.get(namespaceURI);
    - try
    - {
    - // Create and/or add child element
    - if (rootElement == null && currentElement == null)
    - {
    - rootElement = soapFactory.createElement(localName,prefix,namespaceURI);
    - currentElement = rootElement;
    - }
    - else
    - {
    - currentElement = currentElement.addChildElement(localName,prefix,namespaceURI);
    - }
    -
    - // Add namespace declaration
    - if (uris.size() > 0)
    - {
    - for (int i = 0; i < uris.size(); i++)
    - {
    - String uri = (String)uris.get(i);
    - String pre = (String)prefixURIMapping.get(uri);
    - currentElement.addNamespaceDeclaration(pre,uri);
    - }
    - // Need to reset uris as we will use it for next element.
    - uris.clear();
    - }
    -
    - // Add attibutes
    - for (int i =0; i<atts.getLength(); i++)
    - {
    - Name attriName;
    - if (atts.getURI(i) != null)
    - {
    - String attriPre = (String)prefixURIMapping.get(atts.getURI(i));
    - attriName = soapFactory.createName(atts.getLocalName(i),attriPre,atts.getURI(i));
    - }
    - else
    - {
    - attriName = soapFactory.createName(atts.getLocalName(i));
    - }
    - currentElement.addAttribute(attriName, atts.getValue(i));
    - }
    - }
    - catch (SOAPException e)
    - {
    - throw new SAXException(e);
    - }
    - }
    -}
    -
    diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/.cvsignore b/bundles/org.eclipse.jst.ws.creation.ejb.ui/.cvsignore
    deleted file mode 100644
    index c14487cea..000000000
    --- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/.cvsignore
    +++ /dev/null
    @@ -1 +0,0 @@
    -build.xml
    diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/.project b/bundles/org.eclipse.jst.ws.creation.ejb.ui/.project
    deleted file mode 100644
    index 802346176..000000000
    --- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/.project
    +++ /dev/null
    @@ -1,22 +0,0 @@
    -<?xml version="1.0" encoding="UTF-8"?>
    -<projectDescription>
    - <name>org.eclipse.jst.ws.creation.ejb.ui</name>
    - <comment></comment>
    - <projects>
    - </projects>
    - <buildSpec>
    - <buildCommand>
    - <name>org.eclipse.pde.ManifestBuilder</name>
    - <arguments>
    - </arguments>
    - </buildCommand>
    - <buildCommand>
    - <name>org.eclipse.pde.SchemaBuilder</name>
    - <arguments>
    - </arguments>
    - </buildCommand>
    - </buildSpec>
    - <natures>
    - <nature>org.eclipse.pde.PluginNature</nature>
    - </natures>
    -</projectDescription>
    diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/.settings/org.eclipse.pde.prefs b/bundles/org.eclipse.jst.ws.creation.ejb.ui/.settings/org.eclipse.pde.prefs
    deleted file mode 100644
    index 5709b0185..000000000
    --- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/.settings/org.eclipse.pde.prefs
    +++ /dev/null
    @@ -1,12 +0,0 @@
    -#Mon Jan 30 10:41:15 EST 2006
    -compilers.p.deprecated=1
    -compilers.p.no-required-att=0
    -compilers.p.not-externalized-att=1
    -compilers.p.unknown-attribute=0
    -compilers.p.unknown-class=0
    -compilers.p.unknown-element=1
    -compilers.p.unknown-resource=0
    -compilers.p.unresolved-ex-points=0
    -compilers.p.unresolved-import=0
    -compilers.use-project=true
    -eclipse.preferences.version=1
    diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/META-INF/MANIFEST.MF b/bundles/org.eclipse.jst.ws.creation.ejb.ui/META-INF/MANIFEST.MF
    deleted file mode 100644
    index 60bfabbf1..000000000
    --- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/META-INF/MANIFEST.MF
    +++ /dev/null
    @@ -1,9 +0,0 @@
    -Manifest-Version: 1.0
    -Bundle-ManifestVersion: 2
    -Bundle-Name: %PLUGIN_NAME
    -Bundle-SymbolicName: org.eclipse.jst.ws.creation.ejb.ui; singleton:=true
    -Bundle-Version: 1.0.0.qualifier
    -Bundle-Vendor: %PLUGIN_PROVIDER
    -Bundle-Localization: plugin
    -Require-Bundle: org.eclipse.jst.ws.consumption.ui;bundle-version="[1.0.101,1.1.0)",
    - org.eclipse.wst.command.env.ui;bundle-version="[1.0.101,1.1.0)"
    diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/about.html b/bundles/org.eclipse.jst.ws.creation.ejb.ui/about.html
    deleted file mode 100644
    index 4ec598958..000000000
    --- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/about.html
    +++ /dev/null
    @@ -1,34 +0,0 @@
    -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
    -<HTML>
    -
    -<head>
    -<title>About</title>
    -<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
    -</head>
    -
    -<BODY lang="EN-US">
    -
    -<H3>About This Content</H3>
    -
    -<P>May 2, 2006</P>
    -
    -<H3>License</H3>
    -
    -<P>The Eclipse Foundation makes available all content in this plug-in
    -("Content"). Unless otherwise indicated below, the Content is provided to you
    -under the terms and conditions of the Eclipse Public License Version 1.0
    -("EPL"). A copy of the EPL is available at
    -<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
    -For purposes of the EPL, "Program" will mean the Content.</P>
    -
    -<P>If you did not receive this Content directly from the Eclipse Foundation, the
    -Content is being redistributed by another party ("Redistributor") and different
    -terms and conditions may apply to your use of any object code in the Content.
    -Check the Redistributor’s license that was provided with the Content. If no such
    -license exists, contact the Redistributor. Unless otherwise indicated below, the
    -terms and conditions of the EPL still apply to any source code in the Content
    -and such source code may be obtained at
    -<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
    -
    -</BODY>
    -</HTML>
    diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/build.properties b/bundles/org.eclipse.jst.ws.creation.ejb.ui/build.properties
    deleted file mode 100644
    index 6e2940fa0..000000000
    --- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/build.properties
    +++ /dev/null
    @@ -1,4 +0,0 @@
    -bin.includes = plugin.xml,\
    - plugin.properties,\
    - META-INF/,\
    - about.html
    diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.properties b/bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.properties
    deleted file mode 100644
    index 13fe654ef..000000000
    --- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.properties
    +++ /dev/null
    @@ -1,28 +0,0 @@
    -###############################################################################
    -# Copyright (c) 2000, 2004 IBM Corporation and others.
    -# All rights reserved. This program and the accompanying materials
    -# are made available under the terms of the Eclipse Public License v1.0
    -# which accompanies this distribution, and is available at
    -# http://www.eclipse.org/legal/epl-v10.html
    -#
    -# Contributors:
    -# IBM Corporation - initial API and implementation
    -###############################################################################
    -
    -#
    -# Messages in plugin.xml.
    -#
    -PLUGIN_NAME=Web Services Creation EJB Graphical User Interface
    -PLUGIN_PROVIDER=Eclipse.org
    -
    -#
    -# Web service types
    -#
    -WEBSERVICETYPE_NAME_EJB_TP=EJB Web Service
    -WEBSERVICETYPE_NAME_WSDL_EJB_TP=Skeleton EJB Web Service
    -
    -#
    -# Pop-up actions
    -#
    -ACTION_DEPLOY_WEBSERVICE=Create Web service
    -
    diff --git a/bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.xml b/bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.xml
    deleted file mode 100644
    index 83a18e6f0..000000000
    --- a/bundles/org.eclipse.jst.ws.creation.ejb.ui/plugin.xml
    +++ /dev/null
    @@ -1,64 +0,0 @@
    -<?xml version="1.0" encoding="UTF-8"?>
    -<?eclipse version="3.0"?>
    -
    -<plugin>
    -
    - <!-- EJB Web Service Types -->
    -<!--
    - <extension
    - point="org.eclipse.jst.ws.consumption.ui.webServiceServerRuntimeType">
    -
    - <webServiceType
    - label="%WEBSERVICETYPE_NAME_WSDL_EJB_TP"
    - resourceTypeMetadata="File IResource"
    - extensionMetadata=".wsdl"
    - objectSelectionWidget="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.WSDLSelectionWidget"
    - includeNatures="org.eclipse.jst.j2ee.ejb.EJBNature"
    - excludeNatures=""
    - id="org.eclipse.jst.ws.type.wsdl.ejb">
    - </webServiceType>
    -
    - <webServiceType
    - label="%WEBSERVICETYPE_NAME_EJB_TP"
    - resourceTypeMetadata="EJBObject org.eclipse.jst.j2ee.ejb.EnterpriseBean SessionImpl"
    - extensionMetadata=".java .class .SessionImpl"
    - objectSelectionWidget="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.EJBSelectionWidget"
    - includeNatures="org.eclipse.jst.j2ee.ejb.EJBNature"
    - excludeNatures=""
    - id="org.eclipse.jst.ws.type.ejb">
    - </webServiceType>
    - </extension>
    --->
    -
    - <!-- Popups -->
    -
    - <extension
    - point="org.eclipse.ui.popupMenus">
    - <objectContribution
    - objectClass="org.eclipse.jst.j2ee.ejb.EnterpriseBean"
    - id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard.java">
    - <action
    - label="%ACTION_DEPLOY_WEBSERVICE"
    - class="org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard"
    - menubarPath="org.eclipse.jst.ws.atk.ui.webservice.category.ejb.popupMenu/popupActions"
    - id="org.eclipse.jst.ws.creation.ui.wizard.serverwizard">
    - </action>
    - </objectContribution>
    - </extension>
    -
    -
    -<!-- EJB stuff -->
    - <extension point="org.eclipse.jst.ws.consumption.ui.wsImpl">
    - <webServiceImpl
    - id="org.eclipse.jst.ws.wsImpl.ejb"
    - label="%WEBSERVICETYPE_NAME_EJB_TP"
    - resourceTypeMetadata="EJBObject org.eclipse.jst.j2ee.ejb.EnterpriseBean SessionImpl"
    - extensionMetadata=".java .class .SessionImpl"
    - objectSelectionWidget="org.eclipse.jst.ws.internal.consumption.ui.widgets.object.EJBSelectionWidget">
    - </webServiceImpl>
    - </extension>
    -
    -
    -
    -
    -</plugin> \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/.classpath b/bundles/org.eclipse.wst.wsdl.ui/.classpath
    deleted file mode 100644
    index 4bf93e795..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/.classpath
    +++ /dev/null
    @@ -1,11 +0,0 @@
    -<?xml version="1.0" encoding="UTF-8"?>
    -<classpath>
    - <classpathentry kind="src" path="src-asd"/>
    - <classpathentry kind="src" path="src-asd-wsdl11"/>
    - <classpathentry kind="src" path="src-refactor"/>
    - <classpathentry kind="src" path="src-soap"/>
    - <classpathentry kind="src" path="src-search"/>
    - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
    - <classpathentry kind="output" path="bin"/>
    -</classpath>
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/.cvsignore b/bundles/org.eclipse.wst.wsdl.ui/.cvsignore
    deleted file mode 100644
    index a65f62be2..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/.cvsignore
    +++ /dev/null
    @@ -1,8 +0,0 @@
    -bin
    -build.xml
    -wsdleditor.jar
    -temp.folder
    -org.eclipse.wst.wsdl.ui_1.0.0.jar
    -@dot
    -src.zip
    -javaCompiler...args
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/.project b/bundles/org.eclipse.wst.wsdl.ui/.project
    deleted file mode 100644
    index c5a4ddcd0..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/.project
    +++ /dev/null
    @@ -1,28 +0,0 @@
    -<?xml version="1.0" encoding="UTF-8"?>
    -<projectDescription>
    - <name>org.eclipse.wst.wsdl.ui</name>
    - <comment></comment>
    - <projects>
    - </projects>
    - <buildSpec>
    - <buildCommand>
    - <name>org.eclipse.jdt.core.javabuilder</name>
    - <arguments>
    - </arguments>
    - </buildCommand>
    - <buildCommand>
    - <name>org.eclipse.pde.ManifestBuilder</name>
    - <arguments>
    - </arguments>
    - </buildCommand>
    - <buildCommand>
    - <name>org.eclipse.pde.SchemaBuilder</name>
    - <arguments>
    - </arguments>
    - </buildCommand>
    - </buildSpec>
    - <natures>
    - <nature>org.eclipse.jdt.core.javanature</nature>
    - <nature>org.eclipse.pde.PluginNature</nature>
    - </natures>
    -</projectDescription>
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.core.prefs
    deleted file mode 100644
    index b48794a10..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.core.prefs
    +++ /dev/null
    @@ -1,54 +0,0 @@
    -#Wed Mar 08 00:52:29 EST 2006
    -eclipse.preferences.version=1
    -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
    -org.eclipse.jdt.core.compiler.debug.lineNumber=generate
    -org.eclipse.jdt.core.compiler.debug.localVariable=generate
    -org.eclipse.jdt.core.compiler.debug.sourceFile=generate
    -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
    -org.eclipse.jdt.core.compiler.problem.deprecation=warning
    -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
    -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
    -org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
    -org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    -org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
    -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
    -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
    -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
    -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
    -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
    -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
    -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
    -org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
    -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
    -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
    -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
    -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
    -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
    -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
    -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
    -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
    -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
    -org.eclipse.jdt.core.compiler.problem.rawTypeReference=ignore
    -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
    -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
    -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
    -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
    -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
    -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
    -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
    -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
    -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
    -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
    -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
    -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
    -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
    -org.eclipse.jdt.core.compiler.problem.unusedImport=error
    -org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
    -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
    -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
    -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
    -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
    -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
    -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.ui.prefs b/bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.ui.prefs
    deleted file mode 100644
    index bbf7ac879..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/.settings/org.eclipse.jdt.ui.prefs
    +++ /dev/null
    @@ -1,3 +0,0 @@
    -#Mon Jan 30 23:38:15 EST 2006
    -eclipse.preferences.version=1
    -internal.default.compliance=default
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/META-INF/MANIFEST.MF b/bundles/org.eclipse.wst.wsdl.ui/META-INF/MANIFEST.MF
    deleted file mode 100644
    index 4387db992..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/META-INF/MANIFEST.MF
    +++ /dev/null
    @@ -1,86 +0,0 @@
    -Manifest-Version: 1.0
    -Bundle-ManifestVersion: 2
    -Bundle-Name: %_UI_PLUGIN_NAME
    -Bundle-SymbolicName: org.eclipse.wst.wsdl.ui; singleton:=true
    -Bundle-Version: 1.1.101.qualifier
    -Bundle-Activator: org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin
    -Bundle-Vendor: %providerName
    -Bundle-Localization: plugin
    -Export-Package: org.eclipse.wst.wsdl.ui.internal;x-internal:=true,
    - org.eclipse.wst.wsdl.ui.internal.actions;x-internal:=true,
    - org.eclipse.wst.wsdl.ui.internal.adapters,
    - org.eclipse.wst.wsdl.ui.internal.adapters.actions,
    - org.eclipse.wst.wsdl.ui.internal.adapters.basic,
    - org.eclipse.wst.wsdl.ui.internal.adapters.commands,
    - org.eclipse.wst.wsdl.ui.internal.adapters.specialized,
    - org.eclipse.wst.wsdl.ui.internal.adapters.visitor,
    - org.eclipse.wst.wsdl.ui.internal.asd,
    - org.eclipse.wst.wsdl.ui.internal.asd.actions,
    - org.eclipse.wst.wsdl.ui.internal.asd.design,
    - org.eclipse.wst.wsdl.ui.internal.asd.design.connections,
    - org.eclipse.wst.wsdl.ui.internal.asd.design.directedit,
    - org.eclipse.wst.wsdl.ui.internal.asd.design.editparts,
    - org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model,
    - org.eclipse.wst.wsdl.ui.internal.asd.design.editpolicies,
    - org.eclipse.wst.wsdl.ui.internal.asd.design.figures,
    - org.eclipse.wst.wsdl.ui.internal.asd.design.layouts,
    - org.eclipse.wst.wsdl.ui.internal.asd.facade,
    - org.eclipse.wst.wsdl.ui.internal.asd.outline,
    - org.eclipse.wst.wsdl.ui.internal.asd.properties.sections,
    - org.eclipse.wst.wsdl.ui.internal.asd.util,
    - org.eclipse.wst.wsdl.ui.internal.commands;x-internal:=true,
    - org.eclipse.wst.wsdl.ui.internal.dialogs;x-internal:=true,
    - org.eclipse.wst.wsdl.ui.internal.edit,
    - org.eclipse.wst.wsdl.ui.internal.extensions,
    - org.eclipse.wst.wsdl.ui.internal.filter;x-internal:=true,
    - org.eclipse.wst.wsdl.ui.internal.icons;x-internal:=true,
    - org.eclipse.wst.wsdl.ui.internal.label.providers,
    - org.eclipse.wst.wsdl.ui.internal.properties.sections,
    - org.eclipse.wst.wsdl.ui.internal.reconciler;x-internal:=true,
    - org.eclipse.wst.wsdl.ui.internal.refactor;x-internal:=true,
    - org.eclipse.wst.wsdl.ui.internal.search;x-internal:=true,
    - org.eclipse.wst.wsdl.ui.internal.search.actions;x-internal:=true,
    - org.eclipse.wst.wsdl.ui.internal.soap.customizations;x-internal:=true,
    - org.eclipse.wst.wsdl.ui.internal.text;x-internal:=true,
    - org.eclipse.wst.wsdl.ui.internal.util;x-internal:=true,
    - org.eclipse.wst.wsdl.ui.internal.visitor;x-internal:=true,
    - org.eclipse.wst.wsdl.ui.internal.wizards;x-internal:=true,
    - org.eclipse.wst.wsdl.ui.internal.xsd;x-internal:=true
    -Require-Bundle: org.eclipse.core.resources;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.emf.common;bundle-version="[2.2.0,3.0.0)",
    - org.eclipse.emf.ecore;bundle-version="[2.2.0,3.0.0)",
    - org.eclipse.gef;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.jface;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.jface.text;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.ui.editors;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.ui.ide;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.ui.views;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.ui.workbench.texteditor;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.wst.sse.core;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.wst.sse.ui;bundle-version="[1.0.101,1.1.0)",
    - org.eclipse.wst.common.uriresolver;bundle-version="[1.1.0,2.0.0)",
    - org.eclipse.wst.common.ui;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.wst.xml.core;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.wst.xml.ui;bundle-version="[1.0.100,1.1.0)",
    - org.eclipse.xsd;bundle-version="[2.2.0,3.0.0)",
    - org.eclipse.wst.wsdl;bundle-version="[1.0.100,1.1.0)",
    - org.eclipse.wst.common.core;bundle-version="[1.1.0,2.0.0)",
    - org.eclipse.wst.xsd.ui;bundle-version="[1.1.0,1.2.0)",
    - org.eclipse.emf.edit;bundle-version="[2.2.0,3.0.0)",
    - org.eclipse.emf.edit.ui;bundle-version="[2.2.0,3.0.0)",
    - org.eclipse.wst.validation;bundle-version="[1.1.0,1.2.0)",
    - org.wsdl4j;bundle-version="[1.4.0,2.0.0)",
    - org.eclipse.wst.wsdl.validation;bundle-version="[1.1.0,2.0.0)",
    - org.eclipse.ltk.core.refactoring;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.ltk.ui.refactoring;bundle-version="[3.2.0,4.0.0)",
    - com.ibm.icu;bundle-version="[3.4.4,4.0.0)",
    - org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.0)",
    - org.apache.xerces;bundle-version="[2.8.0,3.0.0)",
    - org.eclipse.ui.views.properties.tabbed;bundle-version="[3.2.0,4.0.0)",
    - org.eclipse.wst.command.env;bundle-version="[1.0.102,1.1.0)",
    - org.eclipse.wst.ws;bundle-version="[1.0.101,1.1.0)",
    - org.eclipse.wst.command.env.core;bundle-version="[1.0.101,1.1.0)",
    - org.eclipse.wst.ws.ui;bundle-version="[1.0.101,1.1.0)",
    - org.eclipse.search;bundle-version="[3.2.0,4.0.0)"
    -Eclipse-LazyStart: true
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/about.html b/bundles/org.eclipse.wst.wsdl.ui/about.html
    deleted file mode 100644
    index 4ec598958..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/about.html
    +++ /dev/null
    @@ -1,34 +0,0 @@
    -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
    -<HTML>
    -
    -<head>
    -<title>About</title>
    -<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
    -</head>
    -
    -<BODY lang="EN-US">
    -
    -<H3>About This Content</H3>
    -
    -<P>May 2, 2006</P>
    -
    -<H3>License</H3>
    -
    -<P>The Eclipse Foundation makes available all content in this plug-in
    -("Content"). Unless otherwise indicated below, the Content is provided to you
    -under the terms and conditions of the Eclipse Public License Version 1.0
    -("EPL"). A copy of the EPL is available at
    -<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
    -For purposes of the EPL, "Program" will mean the Content.</P>
    -
    -<P>If you did not receive this Content directly from the Eclipse Foundation, the
    -Content is being redistributed by another party ("Redistributor") and different
    -terms and conditions may apply to your use of any object code in the Content.
    -Check the Redistributor’s license that was provided with the Content. If no such
    -license exists, contact the Redistributor. Unless otherwise indicated below, the
    -terms and conditions of the EPL still apply to any source code in the Content
    -and such source code may be obtained at
    -<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
    -
    -</BODY>
    -</HTML>
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/build.properties b/bundles/org.eclipse.wst.wsdl.ui/build.properties
    deleted file mode 100644
    index 26692d3a5..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/build.properties
    +++ /dev/null
    @@ -1,23 +0,0 @@
    -###############################################################################
    -# Copyright (c) 2001, 2006 IBM Corporation and others.
    -# All rights reserved. This program and the accompanying materials
    -# are made available under the terms of the Eclipse Public License v1.0
    -# which accompanies this distribution, and is available at
    -# http://www.eclipse.org/legal/epl-v10.html
    -#
    -# Contributors:
    -# IBM Corporation - initial API and implementation
    -###############################################################################
    -bin.includes = plugin.xml,\
    - plugin.properties,\
    - icons/,\
    - .,\
    - META-INF/,\
    - about.html
    -jars.compile.order = .
    -source.. = src-asd/,\
    - src-asd-wsdl11,\
    - src-refactor/,\
    - src-soap/,\
    - src-search/
    -output.. = bin/
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/icons/dlcl16/showproperties_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/icons/dlcl16/showproperties_obj.gif
    deleted file mode 100644
    index d94ff1055..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/icons/dlcl16/showproperties_obj.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/icons/elcl16/showproperties_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/icons/elcl16/showproperties_obj.gif
    deleted file mode 100644
    index 1dc19a31a..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/icons/elcl16/showproperties_obj.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/icons/reloadgrammar.gif b/bundles/org.eclipse.wst.wsdl.ui/icons/reloadgrammar.gif
    deleted file mode 100644
    index 9d4c9ca3f..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/icons/reloadgrammar.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/icons/validate.gif b/bundles/org.eclipse.wst.wsdl.ui/icons/validate.gif
    deleted file mode 100644
    index 2b347ac45..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/icons/validate.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/icons/wsdl_file_obj.gif b/bundles/org.eclipse.wst.wsdl.ui/icons/wsdl_file_obj.gif
    deleted file mode 100644
    index 75b1f92b4..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/icons/wsdl_file_obj.gif
    +++ /dev/null
    Binary files differ
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/plugin.properties b/bundles/org.eclipse.wst.wsdl.ui/plugin.properties
    deleted file mode 100644
    index dc116b596..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/plugin.properties
    +++ /dev/null
    @@ -1,26 +0,0 @@
    -###############################################################################
    -# Copyright (c) 2001, 2006 IBM Corporation and others.
    -# All rights reserved. This program and the accompanying materials
    -# are made available under the terms of the Eclipse Public License v1.0
    -# which accompanies this distribution, and is available at
    -# http://www.eclipse.org/legal/epl-v10.html
    -#
    -# Contributors:
    -# IBM Corporation - initial API and implementation
    -###############################################################################
    -_UI_LABEL_NEW_CATEGORY_NAME_WS=Web Services
    -_UI_LABEL_CREATE_NEW_WSDL_FILE=Create a new WSDL File
    -_UI_WSDL_LABEL=WSDL Files
    -_UI_LABEL_GENERAL=General
    -_UI_LABEL_DOCUMENTATION=Documentation
    -_UI_LABEL_EXTENSIONS=Extensions
    -_UI_LABEL_REFACTOR=Refactor
    -_UI_EDITOR_NAME=WSDL Editor
    -_UI_RELOAD_DEPENDENCIES=Reload Dependencies
    -refactoring.menu.label=Refactor
    -AddBookmark.label=Add Boo&kmark...
    -SelectRuler.label=Select Ruler
    -WSDLEditorModes=WSDL Editor Modes
    -
    -_UI_PLUGIN_NAME=WSDL UI
    -providerName=Eclipse.org \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/plugin.xml b/bundles/org.eclipse.wst.wsdl.ui/plugin.xml
    deleted file mode 100644
    index 62d23927c..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/plugin.xml
    +++ /dev/null
    @@ -1,492 +0,0 @@
    -<?xml version="1.0" encoding="UTF-8"?>
    -<?eclipse version="3.0"?>
    -<plugin>
    -
    - <extension point="org.eclipse.ui.editors">
    - <editor
    - name="%_UI_EDITOR_NAME"
    - icon="icons/wsdl_file_obj.gif"
    - class="org.eclipse.wst.wsdl.ui.internal.InternalWSDLMultiPageEditor"
    - contributorClass="org.eclipse.wst.wsdl.ui.internal.WSDLActionBarContributor"
    - id="org.eclipse.wst.wsdl.ui.internal.WSDLEditor">
    - <contentTypeBinding
    - contentTypeId="org.eclipse.wst.wsdl.wsdlsource" />
    - </editor>
    - </extension>
    -
    - <extension point="org.eclipse.ui.newWizards">
    - <category
    - id="org.eclipse.jst.ws.ui.new"
    - name="%_UI_LABEL_NEW_CATEGORY_NAME_WS" />
    - <wizard
    - id="org.eclipse.wst.wsdl.ui"
    - name="WSDL"
    - class="org.eclipse.wst.wsdl.ui.internal.wizards.NewWSDLWizard"
    - category="org.eclipse.jst.ws.ui.new"
    - icon="icons/wsdl_file_obj.gif">
    - <description>%_UI_LABEL_CREATE_NEW_WSDL_FILE</description>
    - <selection class="org.eclipse.core.resources.IResource" />
    - </wizard>
    -
    - <wizard
    - id="org.eclipse.wst.wsdl.ui"
    - name="WSDL"
    - class="org.eclipse.wst.wsdl.ui.internal.wizards.NewWSDLWizard"
    - category="org.eclipse.wst.XMLCategory"
    - icon="icons/wsdl_file_obj.gif">
    - <description>%_UI_LABEL_CREATE_NEW_WSDL_FILE</description>
    - <selection class="org.eclipse.core.resources.IResource" />
    - </wizard>
    - </extension>
    -
    - <extension point="org.eclipse.ui.preferencePages">
    - <!-- place everything in "Web and XML" -->
    - <page
    - name="%_UI_WSDL_LABEL"
    - category="org.eclipse.wst.sse.ui.internal.provisional.preferences"
    - class="org.eclipse.wst.wsdl.ui.internal.WSDLPreferencePage"
    - id="org.eclipse.wst.wsdl.ui.internal.WSDLPreferencePage" />
    - </extension>
    -
    - <!-- This extension point is used to suplement WSDL 1.1 schemas in order to -->
    - <!-- constrain the extensiblity elements that are allowed at the 'wsdl' level -->
    - <extension-point
    - id="extensibilityElementFilter"
    - name="Extensiblity Element Filter"
    - schema="schema/extensibilityElementFilter.exsd" />
    -
    - <extension-point id="WSDLEditorExtensionConfiguration" name="WSDLEditorExtensionConfiguration"/>
    - <extension-point id="editorModes" name="%WSDLEditorModes"/>
    -
    - <!-- this extension point is deprecated, use extensionCategories -->
    - <extension-point id="ExtensionsSchemasDescription" name="this extension point is deprecated"/>
    - <extension-point id="extensionCategories" name="Extension Categories"/>
    - <extension
    - point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
    - <propertyContributor
    - contributorId="org.eclipse.wst.wsdl.ui.internal.WSDLEditor"
    -
    - labelProvider="org.eclipse.wst.wsdl.ui.internal.asd.ASDLabelProvider">
    - <propertyCategory category="general"></propertyCategory>
    - <propertyCategory category="documentation"></propertyCategory>
    - <propertyCategory category="extensibility"></propertyCategory>
    - </propertyContributor>
    - </extension>
    - <extension
    - point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
    - <propertyTabs
    - contributorId="org.eclipse.wst.wsdl.ui.internal.WSDLEditor">
    - <propertyTab
    - label="%_UI_LABEL_GENERAL"
    - category="general"
    - id="org.eclipse.wst.xmlwebservices.general">
    - </propertyTab>
    - <propertyTab
    - label="%_UI_LABEL_EXTENSIONS"
    - category="extensibility"
    - id="org.eclipse.wst.xmlwebservices.extensibility">
    - </propertyTab>
    - <propertyTab
    - label="%_UI_LABEL_DOCUMENTATION"
    - category="documentation"
    - id="org.eclipse.wst.xmlwebservices.documentation">
    - </propertyTab>
    - </propertyTabs>
    - </extension>
    -
    - <extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
    - <propertySections contributorId="org.eclipse.wst.wsdl.ui.internal.WSDLEditor">
    - <propertySection tab="org.eclipse.wst.xmlwebservices.documentation"
    - class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.DocumentationSection"
    - id="prop.section.DocumentationSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject">
    - </input>
    - </propertySection>
    -
    - <propertySection tab="org.eclipse.wst.xmlwebservices.general"
    - class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NameSection"
    - id="prop.section.NameSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessage">
    - </input>
    - </propertySection>
    -
    - <propertySection tab="org.eclipse.wst.xmlwebservices.general"
    - class="org.eclipse.wst.wsdl.ui.internal.properties.sections.W11ParameterSection"
    - filter="org.eclipse.wst.wsdl.ui.internal.properties.sections.W11ParameterSectionFilter"
    - id="prop.section.W11ParameterSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter">
    - </input>
    - </propertySection>
    -
    - <propertySection tab="org.eclipse.wst.xmlwebservices.general"
    - class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NameSection"
    - id="prop.section.NameSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation">
    - </input>
    - </propertySection>
    -
    - <propertySection tab="org.eclipse.wst.xmlwebservices.general"
    - class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NameSection"
    - id="prop.section.NameSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface">
    - </input>
    - </propertySection>
    -
    - <propertySection tab="org.eclipse.wst.xmlwebservices.general"
    - class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NameSection"
    - id="prop.section.NameSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IService">
    - </input>
    - </propertySection>
    -
    - <propertySection tab="org.eclipse.wst.xmlwebservices.general"
    - class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.EndPointSection"
    - id="prop.section.EndPointSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IEndPoint">
    - </input>
    - </propertySection>
    -
    - <propertySection tab="org.eclipse.wst.xmlwebservices.general"
    - class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.BindingSection"
    - id="prop.section.BindingSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding">
    - </input>
    - </propertySection>
    -
    - <propertySection tab="org.eclipse.wst.xmlwebservices.general"
    - class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.ImportSection"
    - id="prop.section.ImportSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IImport">
    - </input>
    - </propertySection>
    - <!--
    - <propertySection tab="org.eclipse.wst.xmlwebservices.general"
    - class="org.eclipse.wst.wsdl.asd.editor.properties.sections.SchemaSection"
    - id="prop.section.SchemaSection">
    - <input type="org.eclipse.wst.wsdl.asd.facade.IType">
    - </input>
    - </propertySection>
    - -->
    -
    - <propertySection tab="org.eclipse.wst.xmlwebservices.general"
    - class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NamespaceSection"
    - id="prop.section.NamespaceSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription">
    - </input>
    - </propertySection>
    -
    - <propertySection tab="org.eclipse.wst.xmlwebservices.general"
    - class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NamespaceSection"
    - id="prop.section.NamespaceSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.AbstractModelCollection">
    - </input>
    - </propertySection>
    -
    - <propertySection tab="org.eclipse.wst.xmlwebservices.general"
    - class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NamespaceSection"
    - id="prop.section.NamespaceSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11CategoryAdapter">
    - </input>
    - </propertySection>
    -
    -
    - <propertySection tab="org.eclipse.wst.xmlwebservices.general"
    - class="org.eclipse.wst.wsdl.ui.internal.properties.sections.W11MessageReferenceSection"
    - filter="org.eclipse.wst.wsdl.ui.internal.properties.sections.W11MessageReferenceSectionFilter"
    - id="prop.section.MessageReferenceSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference">
    - </input>
    - </propertySection>
    -
    - <!-- move to wsdl specific plugin -->
    - <propertySection tab="org.eclipse.wst.xmlwebservices.extensibility"
    - class="org.eclipse.wst.wsdl.ui.internal.properties.sections.W11ExtensionsSection"
    - id="prop.section.W11ApplicationInfoSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter">
    - </input>
    - </propertySection>
    -
    - <propertySection tab="org.eclipse.wst.xmlwebservices.extensibility"
    - class="org.eclipse.wst.wsdl.ui.internal.properties.sections.W11ExtensionsSection"
    - id="prop.section.W11ApplicationInfoSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.AbstractModelCollection">
    - </input>
    - </propertySection>
    -
    - <propertySection tab="org.eclipse.wst.xmlwebservices.general"
    - class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NameSection"
    - id="prop.section.NameSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IBindingOperation">
    - </input>
    - </propertySection>
    -
    - <propertySection tab="org.eclipse.wst.xmlwebservices.general"
    - class="org.eclipse.wst.wsdl.ui.internal.asd.properties.sections.NameSection"
    - id="prop.section.NameSection">
    - <input type="org.eclipse.wst.wsdl.ui.internal.asd.facade.IBindingMessageReference">
    - </input>
    - </propertySection>
    - </propertySections>
    -</extension>
    -
    - <extension point="org.eclipse.wst.wsdl.ui.extensionCategories">
    - <category
    - displayName="HTTP"
    - namespaceURI="http://schemas.xmlsoap.org/wsdl/http/">
    - </category>
    -
    - <category
    - displayName="SOAP"
    - namespaceURI="http://schemas.xmlsoap.org/wsdl/soap/">
    - </category>
    -
    - <category
    - displayName="MIME"
    - namespaceURI="http://schemas.xmlsoap.org/wsdl/mime/">
    - </category>
    - </extension>
    -
    - <extension point="org.eclipse.ui.popupMenus">
    - <objectContribution
    - id="org.eclipse.wst.wsdl.ui.refactoring.menu.objectContrib"
    - objectClass="org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter">
    - <action
    - id="org.eclipse.wst.wsdleditor.refactoring.menu.refactorGroup.object"
    - enablesFor="1"
    - style="pulldown"
    - menubarPath="refactoring-slot-temp"
    - label="%_UI_LABEL_REFACTOR"
    - class="org.eclipse.wst.wsdl.ui.internal.refactor.actions.WSDLRefactorGroupActionDelegate">
    - </action>
    - </objectContribution>
    - </extension>
    -
    - <extension point="org.eclipse.ui.popupMenus">
    - <objectContribution
    - id="org.eclipse.wst.wsdl.ui.searchReferences.menu.objectContrib"
    - objectClass="org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter">
    - <action
    - id="org.eclipse.wst.wsdleditor.searchReferences.menu.searchReferences.object"
    - enablesFor="1"
    - style="pulldown"
    - menubarPath="searchReferences-slot-temp"
    - label="References"
    - class="org.eclipse.wst.wsdl.ui.internal.search.actions.WSDLSearchReferencesGroupActionDelegate">
    - </action>
    - </objectContribution>
    - </extension>
    -
    - <!-- intialize wsdl source validator -->
    - <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
    - <validator
    - scope="total"
    - class="org.eclipse.wst.wsdl.ui.internal.reconciler.DelegatingSourceValidatorForWSDL"
    - id="org.eclipse.wst.wsdl.ui.internal.reconciler.DelegatingSourceValidatorForWSDL">
    - <contentTypeIdentifier
    - id="org.eclipse.wst.wsdl.wsdlsource">
    - <partitionType id="org.eclipse.wst.xml.XML_DEFAULT">
    - </partitionType>
    - </contentTypeIdentifier>
    - </validator>
    - </extension>
    -
    - <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
    - <!-- add preference pages to the context menu action (ID must correspond to the declared "path" above) -->
    -<!--
    - <provisionalDefinition
    - type="preferencepages"
    - value="org.eclipse.wst.wsdl.ui.internal.util.WSDLPreferencePage"
    - target="org.eclipse.wst.wsdl.ui.internal.WSDLEditor.source" />
    --->
    - <sourceViewerConfiguration
    - class="org.eclipse.wst.wsdl.ui.internal.StructuredTextViewerConfigurationWSDL"
    - target="org.eclipse.wst.wsdl.wsdlsource" />
    -<!--
    - <contentOutlineConfiguration
    - class="org.eclipse.wst.wsdl.ui.internal.outline.WSDLContentOutlineConfiguration"
    - target="org.eclipse.wst.wsdl.wsdlsource" />
    --->
    - </extension>
    -
    - <!-- this extension point is used to augment the ModelQuery to provide WSDL specific guided editing -->
    - <extension point="org.eclipse.wst.xml.core.modelQueryExtensions">
    - <modelQueryExtension
    - class="org.eclipse.wst.wsdl.ui.internal.text.WSDLModelQueryExtension"
    - contentType="org.eclipse.wst.wsdl.wsdlsource">
    - </modelQueryExtension>
    - </extension>
    -
    - <!-- Search participant extension that supports XMLComponentSearchPatten on WSDL resources -->
    - <extension
    - point="org.eclipse.wst.common.core.searchParticipants">
    - <searchParticipant
    - id="org.eclipse.wst.wsdl.search.WSDLSearchParticipant"
    - class="org.eclipse.wst.wsdl.ui.internal.search.WSDLSearchParticipant">
    - <enablement>
    - <or>
    - <with variable="pattern">
    - <instanceof value="org.eclipse.wst.xml.core.internal.search.XMLComponentSearchPattern"/>
    - </with>
    - </or>
    - </enablement>
    - </searchParticipant>
    - </extension>
    -
    -
    -
    - <!-- Refactoring CORE -->
    - <extension
    - point="org.eclipse.ltk.core.refactoring.renameParticipants">
    - <renameParticipant
    - name="WSDL Rename Particpant"
    - class="org.eclipse.wst.wsdl.ui.internal.refactor.WSDLComponentRenameParticipant"
    - id="org.eclipse.wst.wsdl.ui.refactoring.WSDLComponentRenameParticipant">
    - <enablement>
    - <or>
    - <with variable="element">
    - <instanceof value="org.eclipse.wst.wsdl.WSDLElement"/>
    - </with>
    - <with variable="element">
    - <instanceof value="org.eclipse.xsd.XSDNamedComponent"/>
    - </with>
    - </or>
    - </enablement>
    - </renameParticipant>
    - </extension>
    -
    - <!-- Refactoring UI extensions -->
    - <extension point="org.eclipse.ui.popupMenus">
    - <objectContribution
    - id="org.eclipse.wst.wsdl.ui.refactoring.menu.objectContrib"
    - objectClass="org.eclipse.wst.wsdl.WSDLElement">
    - <action
    - id="org.eclipse.wst.wsdl.ui.refactoring.menu.refactorGroup.object"
    - enablesFor="1"
    - style="pulldown"
    - menubarPath="additions"
    - label="%refactoring.menu.label"
    - class="org.eclipse.wst.wsdl.ui.internal.refactor.actions.WSDLRefactorGroupActionDelegate">
    - </action>
    - </objectContribution>
    -
    - <viewerContribution
    - id="org.eclipse.wst.xsd.ui.refactoring.menu.source"
    - targetID="org.eclipse.wst.wsdl.wsdlsource.source.EditorContext">
    - <action id="org.eclipse.wst.wsdl.ui.refactoring.menu.refactorGroup.source"
    - style="pulldown"
    - menubarPath="additions"
    - label="%refactoring.menu.label"
    - class="org.eclipse.wst.wsdl.ui.internal.refactor.actions.WSDLRefactorGroupActionDelegate">
    - </action>
    - </viewerContribution>
    - </extension>
    -
    - <extension point="org.eclipse.ui.commands">
    - <command
    - name="%command.wsdl.refactor.rename.element.name"
    - description="%command.wsdl.refactor.rename.element.description"
    - categoryId="org.eclipse.ui.category.edit"
    - id="org.eclipse.wst.wsdl.ui.refactor.rename.element">
    - </command>
    - </extension>
    -
    - <extension point="org.eclipse.ui.editorActions">
    - <editorContribution
    - id="org.eclipse.ui.articles.action.contribution.editor"
    - targetID="org.eclipse.wst.wsdl.ui.internal.WSDLEditor">
    -
    - <menu
    - id="WSDLEditor"
    - label="%_UI_EDITOR_NAME"
    - path="additions">
    - <separator name="group1" />
    - </menu>
    -
    - <action
    - id="org.eclipse.wst.wsdl.ui.actions.ReloadDependenciesActionDelegate"
    - label="%_UI_RELOAD_DEPENDENCIES"
    - icon="icons/reloadgrammar.gif"
    - tooltip="Reload Dependencies"
    - menubarPath="WSDLEditor/group1"
    - class="org.eclipse.wst.wsdl.ui.internal.ReloadDependenciesActionDelegate">
    - </action>
    -
    - <!--
    - <action
    - id="org.eclipse.wst.wsdl.ui.internal.actions.ValidateActionDelegate"
    - label="%_UI_ACTION_VALIDATE_WSDL_DOCUMENT"
    - icon="icons/validate.gif"
    - tooltip="%_UI_ACTION_VALIDATE_WSDL_DOCUMENT"
    - menubarPath="WSDLEditor/group1"
    - toolbarPath="%Normal/WSDLEditor"
    - class="org.eclipse.wst.wsdl.ui.internal.actions.ValidateActionDelegate">
    - </action>
    - -->
    -
    - </editorContribution>
    - <editorContribution
    - targetID="org.eclipse.wst.wsdl.wsdlsource.source"
    - id="org.eclipse.wst.wsdl.wsdlsource.ruler.actions">
    - <action
    - label="%AddBookmark.label"
    - helpContextId="org.eclipse.ui.bookmark_action_context"
    - class="org.eclipse.ui.texteditor.BookmarkRulerAction"
    - actionID="RulerDoubleClick"
    - id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
    - <action
    - label="%SelectRuler.label"
    - class="org.eclipse.ui.texteditor.SelectRulerAction"
    - actionID="RulerClick"
    - id="org.eclipse.ui.texteditor.SelectRulerAction"/>
    - </editorContribution>
    - </extension>
    -
    - <!-- ===================================================================== -->
    -
    - <extension
    - point="org.eclipse.wst.wsdl.ui.extensibilityElementFilter">
    - <extensibilityElementFilter
    - namespace="http://schemas.xmlsoap.org/wsdl/soap/"
    - class="org.eclipse.wst.wsdl.ui.internal.filter.SoapExtensiblityElementFilter">
    - </extensibilityElementFilter>
    - </extension>
    -
    - <extension
    - point="org.eclipse.wst.wsdl.ui.extensibilityElementFilter">
    - <extensibilityElementFilter
    - namespace="http://schemas.xmlsoap.org/wsdl/http/"
    - class="org.eclipse.wst.wsdl.ui.internal.filter.HttpExtensiblityElementFilter">
    - </extensibilityElementFilter>
    - </extension>
    -
    - <extension
    - point="org.eclipse.wst.wsdl.ui.extensibilityElementFilter">
    - <extensibilityElementFilter
    - namespace="http://schemas.xmlsoap.org/wsdl/mime/"
    - class="org.eclipse.wst.wsdl.ui.internal.filter.MimeExtensiblityElementFilter">
    - </extensibilityElementFilter>
    - </extension>
    -
    -
    - <extension
    - point="org.eclipse.wst.wsdl.ui.extensibilityElementFilter">
    - <extensibilityElementFilter
    - namespace="http://www.w3.org/2001/XMLSchema"
    - class="org.eclipse.wst.wsdl.ui.internal.filter.XSDExtensiblityElementFilter">
    - </extensibilityElementFilter>
    - </extension>
    -
    - <extension
    - point="org.eclipse.wst.xsd.ui.extensibilityNodeCustomizations">
    - <nodeCustomization
    - namespace="http://schemas.xmlsoap.org/wsdl/soap/"
    - nodeEditorProviderClass="org.eclipse.wst.wsdl.ui.internal.soap.customizations.SOAPNodeEditorProvider"
    - labelProviderClass="org.eclipse.wst.wsdl.ui.internal.label.providers.SOAPLabelProvider">
    - </nodeCustomization>
    - <nodeCustomization
    - namespace="http://schemas.xmlsoap.org/wsdl/http/"
    - nodeEditorProviderClass="org.eclipse.wst.wsdl.ui.internal.soap.customizations.SOAPNodeEditorProvider"
    - labelProviderClass="org.eclipse.wst.wsdl.ui.internal.label.providers.HTTPLabelProvider">
    - </nodeCustomization>
    - </extension>
    -</plugin>
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityElementFilter.exsd b/bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityElementFilter.exsd
    deleted file mode 100644
    index b9470d861..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityElementFilter.exsd
    +++ /dev/null
    @@ -1,115 +0,0 @@
    -<?xml version='1.0' encoding='UTF-8'?>
    -<!-- Schema file written by PDE -->
    -<schema targetNamespace="org.eclipse.wst.wsdl.ui">
    -<annotation>
    - <appInfo>
    - <meta.schema plugin="org.eclipse.wst.wsdl.ui" id="extensibilityelementFilter" name="Extensibility Element Filter"/>
    - </appInfo>
    - <documentation>
    - The Extensibility Element Filter extension point allows clients to register filters for Extensibility Elements in the WSDL Editor based on the Extensibility Element&apos;s namespace. These filters determine what is to be displayed in the WSDL Editor.
    - </documentation>
    - </annotation>
    -
    - <element name="extension">
    - <complexType>
    - <sequence>
    - <element ref="extensibilityElementFilter"/>
    - </sequence>
    - <attribute name="point" type="string" use="required">
    - <annotation>
    - <documentation>
    - a fully qualified identifier of the target extension point
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string">
    - <annotation>
    - <documentation>
    - an optional identifier of the extension instance
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="name" type="string">
    - <annotation>
    - <documentation>
    - an optional name of the extension instance
    - </documentation>
    - <appInfo>
    - <meta.attribute translatable="true"/>
    - </appInfo>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <element name="extensibilityElementFilter">
    - <complexType>
    - <attribute name="namespace" type="string" use="required">
    - <annotation>
    - <documentation>
    - The namespace this extension point instance applies to.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="class" type="string" use="required">
    - <annotation>
    - <documentation>
    - The class that implements &lt;code&gt;org.eclipse.wst.wsdl.ui.internal.filter.ExtensiblityElementFilter&lt;/code&gt;.
    - </documentation>
    - <appInfo>
    - <meta.attribute kind="java"/>
    - </appInfo>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="since"/>
    - </appInfo>
    - <documentation>
    - &lt;b&gt;This extension point is internal and should not be used by any other plugins.&lt;/b&gt;
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="examples"/>
    - </appInfo>
    - <documentation>
    - The following is an example of an Extensibility Element Filter contribution:
    -&lt;pre&gt;
    - &lt;extension
    - point=&quot;org.eclipse.wst.wsdl.ui.extensibilityElementFilter&quot;&gt;
    - &lt;extensibilityElementFilter
    - namespace=&quot;http://schemas.xmlsoap.org/wsdl/soap/&quot;
    - class=&quot;org.eclipse.wst.wsdl.ui.internal.filter.SoapExtensiblityElementFilter&quot;/&gt;
    - &lt;/extension&gt;
    -&lt;/pre&gt;
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="apiInfo"/>
    - </appInfo>
    - <documentation>
    - The supplied class must implement &lt;code&gt;org.eclipse.wst.wsdl.ui.internal.filter.ExtensiblityElementFilter&lt;/code&gt;.
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="copyright"/>
    - </appInfo>
    - <documentation>
    - Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
    -All rights reserved. This program and the accompanying materials are made
    -available under the terms of the Eclipse Public License v1.0 which accompanies
    -this distribution, and is available at &lt;a
    -href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
    - </documentation>
    - </annotation>
    -
    -</schema>
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityItemTreeProviders.exsd b/bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityItemTreeProviders.exsd
    deleted file mode 100644
    index e7f897c24..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/schema/extensibilityItemTreeProviders.exsd
    +++ /dev/null
    @@ -1,115 +0,0 @@
    -<?xml version='1.0' encoding='UTF-8'?>
    -<!-- Schema file written by PDE -->
    -<schema targetNamespace="org.eclipse.wst.wsdl.ui">
    -<annotation>
    - <appInfo>
    - <meta.schema plugin="org.eclipse.wst.wsdl.ui" id="extensibilityItemTreeProviders" name="Extensibility Item Tree Providers"/>
    - </appInfo>
    - <documentation>
    - The Extensibility Item Tree Provider extension point allows clients to register custom ILabelProviders (to provide custom labels and icons) for Extensibility Elements in the WSDL Editor based on the Extensibility Element&apos;s namespace.
    - </documentation>
    - </annotation>
    -
    - <element name="extension">
    - <complexType>
    - <sequence>
    - <element ref="extensibilityItemTreeProvider"/>
    - </sequence>
    - <attribute name="point" type="string" use="required">
    - <annotation>
    - <documentation>
    - a fully qualified identifier of the target extension point
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string">
    - <annotation>
    - <documentation>
    - an optional identifier of the extension instance
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="name" type="string">
    - <annotation>
    - <documentation>
    - an optional name of the extension instance
    - </documentation>
    - <appInfo>
    - <meta.attribute translatable="true"/>
    - </appInfo>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <element name="extensibilityItemTreeProvider">
    - <complexType>
    - <attribute name="namespace" type="string" use="required">
    - <annotation>
    - <documentation>
    - The namespace this extension point instance applies to.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="labelProviderClass" type="string" use="required">
    - <annotation>
    - <documentation>
    - The class that implements &lt;code&gt;org.eclipse.jface.viewers.ILabelProvider&lt;/code&gt;.
    - </documentation>
    - <appInfo>
    - <meta.attribute kind="java"/>
    - </appInfo>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="since"/>
    - </appInfo>
    - <documentation>
    - &lt;b&gt;This extension point is internal and should not be used by any other plugins.&lt;/b&gt;
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="examples"/>
    - </appInfo>
    - <documentation>
    - The following is an example of an Extensibility Item Tree Provider contribution:
    -&lt;pre&gt;
    - &lt;extension
    - point=&quot;org.eclipse.wst.wsdl.ui.extensibilityItemTreeProviders&quot;&gt;
    - &lt;extensibilityItemTreeProvider
    - namespace=&quot;http://schemas.xmlsoap.org/wsdl/soap/&quot;
    - labelProviderClass=&quot;org.eclipse.wst.wsdl.ui.internal.outline.SOAPLabelProvider&quot;/&gt;
    - &lt;/extension&gt;
    -&lt;/pre&gt;
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="apiInfo"/>
    - </appInfo>
    - <documentation>
    - The supplied class must implement &lt;code&gt;org.eclipse.jface.viewers.ILabelProvider&lt;/code&gt;.
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="copyright"/>
    - </appInfo>
    - <documentation>
    - Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
    -All rights reserved. This program and the accompanying materials are made
    -available under the terms of the Eclipse Public License v1.0 which accompanies
    -this distribution, and is available at &lt;a
    -href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
    - </documentation>
    - </annotation>
    -
    -</schema>
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/schema/internalEditorExtensions.exsd b/bundles/org.eclipse.wst.wsdl.ui/schema/internalEditorExtensions.exsd
    deleted file mode 100644
    index f5710d795..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/schema/internalEditorExtensions.exsd
    +++ /dev/null
    @@ -1,107 +0,0 @@
    -<?xml version='1.0' encoding='UTF-8'?>
    -<!-- Schema file written by PDE -->
    -<schema targetNamespace="org.eclipse.wst.wsdl.ui">
    -<annotation>
    - <appInfo>
    - <meta.schema plugin="org.eclipse.wst.wsdl.ui" id="internalEditorExtensions" name="Internal Editor Extensions"/>
    - </appInfo>
    - <documentation>
    - The Internal Editor Extension point is used to provide GUI objects, actions, context menu items, etc... for non WSDL Model Objects in the WSDL Editor.
    - </documentation>
    - </annotation>
    -
    - <element name="extension">
    - <complexType>
    - <sequence>
    - <element ref="internalEditorExtension"/>
    - </sequence>
    - <attribute name="point" type="string" use="required">
    - <annotation>
    - <documentation>
    - a fully qualified identifier of the target extension point
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string">
    - <annotation>
    - <documentation>
    - an optional identifier of the extension instance
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="name" type="string">
    - <annotation>
    - <documentation>
    - an optional name of the extension instance
    - </documentation>
    - <appInfo>
    - <meta.attribute translatable="true"/>
    - </appInfo>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <element name="internalEditorExtension">
    - <complexType>
    - <attribute name="class" type="string" use="required">
    - <annotation>
    - <documentation>
    - The class that implements &lt;code&gt;org.eclipse.wst.wsdl.ui.internal.extension.WSDLEditorExtension&lt;/code&gt;.
    - </documentation>
    - <appInfo>
    - <meta.attribute kind="java"/>
    - </appInfo>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="since"/>
    - </appInfo>
    - <documentation>
    - &lt;b&gt;This extension point is internal and should not be used by any other plugins.&lt;/b&gt;
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="examples"/>
    - </appInfo>
    - <documentation>
    - The following is an example of an Internal Editor Extension contribution:
    -&lt;pre&gt;
    - &lt;extension
    - point=&quot;org.eclipse.wst.wsdl.ui.internalEditorExtensions&quot;&gt;
    - &lt;internalEditorExtension
    - class=&quot;org.eclipse.wst.wsdl.ui.internal.xsd.XSDExtension&quot; /&gt;
    - &lt;/extension&gt;
    -&lt;/pre&gt;
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="apiInfo"/>
    - </appInfo>
    - <documentation>
    - The supplied class must implement &lt;code&gt;org.eclipse.wst.wsdl.ui.internal.extension.WSDLEditorExtension&lt;/code&gt;.
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="copyright"/>
    - </appInfo>
    - <documentation>
    - Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
    -All rights reserved. This program and the accompanying materials are made
    -available under the terms of the Eclipse Public License v1.0 which accompanies
    -this distribution, and is available at &lt;a
    -href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
    - </documentation>
    - </annotation>
    -
    -</schema>
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/schema/propertyDescriptorProvider.exsd b/bundles/org.eclipse.wst.wsdl.ui/schema/propertyDescriptorProvider.exsd
    deleted file mode 100644
    index 613846034..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/schema/propertyDescriptorProvider.exsd
    +++ /dev/null
    @@ -1,115 +0,0 @@
    -<?xml version='1.0' encoding='UTF-8'?>
    -<!-- Schema file written by PDE -->
    -<schema targetNamespace="org.eclipse.wst.wsdl.ui">
    -<annotation>
    - <appInfo>
    - <meta.schema plugin="org.eclipse.wst.wsdl.ui" id="propertyDescriptorProvider" name="Property Descriptor Provider"/>
    - </appInfo>
    - <documentation>
    - The Property Descriptor Provider extension point allows clients to register their own custom IPropertyDescriptor in the WSDL Editor based on namespace.
    - </documentation>
    - </annotation>
    -
    - <element name="extension">
    - <complexType>
    - <sequence>
    - <element ref="propertyDescriptorProvider"/>
    - </sequence>
    - <attribute name="point" type="string" use="required">
    - <annotation>
    - <documentation>
    - a fully qualified identifier of the target extension point
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="id" type="string">
    - <annotation>
    - <documentation>
    - an optional identifier of the extension instance
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="name" type="string">
    - <annotation>
    - <documentation>
    - an optional name of the extension instance
    - </documentation>
    - <appInfo>
    - <meta.attribute translatable="true"/>
    - </appInfo>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <element name="propertyDescriptorProvider">
    - <complexType>
    - <attribute name="namespace" type="string">
    - <annotation>
    - <documentation>
    - The namespace this extension point instance applies to.
    - </documentation>
    - </annotation>
    - </attribute>
    - <attribute name="class" type="string">
    - <annotation>
    - <documentation>
    - The class that implements &lt;code&gt;org.eclipse.ui.views.properties.IPropertyDescriptor&lt;/code&gt;.
    - </documentation>
    - <appInfo>
    - <meta.attribute kind="java"/>
    - </appInfo>
    - </annotation>
    - </attribute>
    - </complexType>
    - </element>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="since"/>
    - </appInfo>
    - <documentation>
    - &lt;b&gt;This extension point is internal and should not be used by any other plugins.&lt;/b&gt;
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="examples"/>
    - </appInfo>
    - <documentation>
    - The following is an example of an contribution:
    -&lt;pre&gt;
    - &lt;extension
    - point=&quot;org.eclipse.wst.wsdl.ui.propertyDescriptorProvider&quot;&gt;
    - &lt;propertyDescriptorProvider
    - namespace=&quot;http://schemas.xmlsoap.org/wsdl/soap/&quot;
    - class=&quot;org.eclipse.wst.wsdl.ui.internal.example.ExamplePropertyDescriptor&quot;/&gt;
    - &lt;/extension&gt;
    -&lt;/pre&gt;
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="apiInfo"/>
    - </appInfo>
    - <documentation>
    - The supplied class must implement &lt;code&gt;org.eclipse.ui.views.properties.IPropertyDescriptor&lt;/code&gt;.
    - </documentation>
    - </annotation>
    -
    - <annotation>
    - <appInfo>
    - <meta.section type="copyright"/>
    - </appInfo>
    - <documentation>
    - Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
    -All rights reserved. This program and the accompanying materials are made
    -available under the terms of the Eclipse Public License v1.0 which accompanies
    -this distribution, and is available at &lt;a
    -href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
    - </documentation>
    - </annotation>
    -
    -</schema>
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/DefaultEditorMode.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/DefaultEditorMode.java
    deleted file mode 100644
    index cf7749668..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/DefaultEditorMode.java
    +++ /dev/null
    @@ -1,49 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal;
    -
    -import org.eclipse.gef.EditPartFactory;
    -import org.eclipse.jface.viewers.IContentProvider;
    -import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.ASDEditPartFactory;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ASDContentOutlineProvider;
    -import org.eclipse.wst.wsdl.ui.internal.properties.sections.EditorModeSectionFilter;
    -import org.eclipse.wst.xsd.ui.internal.adt.editor.EditorMode;
    -
    -public class DefaultEditorMode extends EditorMode
    -{
    - private EditorModeSectionFilter sectionFilter = null;
    - public final static String ID = DefaultEditorMode.class.getName();
    -
    - public String getDisplayName()
    - {
    - return "default";
    - }
    -
    - public EditPartFactory getEditPartFactory()
    - {
    - return new ASDEditPartFactory();
    - }
    -
    - public String getId()
    - {
    - return ID;
    - }
    -
    - public IContentProvider getOutlineProvider()
    - {
    - return new ASDContentOutlineProvider();
    - }
    -
    - public Object getAdapter(Class adapter)
    - {
    - return super.getAdapter(adapter);
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/IDesignViewerActionBarContributor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/IDesignViewerActionBarContributor.java
    deleted file mode 100644
    index fc201a3c2..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/IDesignViewerActionBarContributor.java
    +++ /dev/null
    @@ -1,18 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal;
    -
    -import org.eclipse.ui.IActionBars;
    -import org.eclipse.wst.sse.ui.internal.ISourceViewerActionBarContributor;
    -
    -public interface IDesignViewerActionBarContributor extends ISourceViewerActionBarContributor {
    - public void initViewerSpecificContributions(IActionBars bars);
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ISelectionMapper.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ISelectionMapper.java
    deleted file mode 100644
    index 2b6dafd95..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ISelectionMapper.java
    +++ /dev/null
    @@ -1,17 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal;
    -
    -import org.eclipse.jface.viewers.ISelection;
    -
    -public interface ISelectionMapper {
    - ISelection mapSelection(ISelection selectedObject);
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/InternalWSDLMultiPageEditor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/InternalWSDLMultiPageEditor.java
    deleted file mode 100644
    index 30948a0ab..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/InternalWSDLMultiPageEditor.java
    +++ /dev/null
    @@ -1,562 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal;
    -
    -import java.util.ArrayList;
    -import java.util.Collections;
    -import java.util.Iterator;
    -import java.util.List;
    -import org.eclipse.core.runtime.Assert;
    -import org.eclipse.emf.common.notify.Adapter;
    -import org.eclipse.emf.common.notify.Notifier;
    -import org.eclipse.emf.ecore.EObject;
    -import org.eclipse.emf.ecore.resource.Resource;
    -import org.eclipse.emf.ecore.resource.ResourceSet;
    -import org.eclipse.gef.EditPartFactory;
    -import org.eclipse.gef.KeyStroke;
    -import org.eclipse.gef.ui.actions.ActionRegistry;
    -import org.eclipse.gef.ui.actions.GEFActionConstants;
    -import org.eclipse.jface.text.IDocument;
    -import org.eclipse.jface.viewers.IContentProvider;
    -import org.eclipse.jface.viewers.IPostSelectionProvider;
    -import org.eclipse.jface.viewers.ISelection;
    -import org.eclipse.jface.viewers.ISelectionChangedListener;
    -import org.eclipse.jface.viewers.ISelectionProvider;
    -import org.eclipse.jface.viewers.IStructuredSelection;
    -import org.eclipse.jface.viewers.SelectionChangedEvent;
    -import org.eclipse.jface.viewers.StructuredSelection;
    -import org.eclipse.jface.viewers.TreeViewer;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.ui.IEditorInput;
    -import org.eclipse.ui.IFileEditorInput;
    -import org.eclipse.wst.sse.core.StructuredModelManager;
    -import org.eclipse.wst.sse.core.internal.provisional.INodeNotifier;
    -import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
    -import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument;
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.XSDSchemaExtensibilityElement;
    -import org.eclipse.wst.wsdl.ui.internal.actions.OpenInNewEditor;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11AddPartAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11OpenImportAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetExistingElementAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetExistingMessageAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetExistingTypeAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetNewElementAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetNewMessageAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetNewTypeAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Type;
    -import org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddMessageAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDirectEditAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.design.DesignViewGraphicalViewer;
    -import org.eclipse.wst.wsdl.ui.internal.asd.design.KeyboardDragImpl;
    -import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.DefinitionsEditPart;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ASDContentOutlinePage;
    -import org.eclipse.wst.wsdl.ui.internal.asd.util.IOpenExternalEditorHelper;
    -import org.eclipse.wst.wsdl.ui.internal.edit.W11BindingReferenceEditManager;
    -import org.eclipse.wst.wsdl.ui.internal.edit.W11InterfaceReferenceEditManager;
    -import org.eclipse.wst.wsdl.ui.internal.edit.W11MessageReferenceEditManager;
    -import org.eclipse.wst.wsdl.ui.internal.edit.WSDLXSDElementReferenceEditManager;
    -import org.eclipse.wst.wsdl.ui.internal.edit.WSDLXSDTypeReferenceEditManager;
    -import org.eclipse.wst.wsdl.ui.internal.text.WSDLModelAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
    -import org.eclipse.wst.wsdl.ui.internal.util.W11OpenExternalEditorHelper;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLAdapterFactoryHelper;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLResourceUtil;
    -import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
    -import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
    -import org.eclipse.wst.xsd.ui.internal.adt.design.IKeyboardDrag;
    -import org.eclipse.wst.xsd.ui.internal.adt.editor.EditorMode;
    -import org.eclipse.wst.xsd.ui.internal.adt.editor.EditorModeManager;
    -import org.eclipse.wst.xsd.ui.internal.adt.editor.ProductCustomizationProvider;
    -import org.eclipse.wst.xsd.ui.internal.editor.XSDElementReferenceEditManager;
    -import org.eclipse.wst.xsd.ui.internal.editor.XSDTypeReferenceEditManager;
    -import org.eclipse.xsd.XSDSchema;
    -import org.w3c.dom.Attr;
    -import org.w3c.dom.Document;
    -import org.w3c.dom.Element;
    -import org.w3c.dom.Node;
    -
    -
    -public class InternalWSDLMultiPageEditor extends ASDMultiPageEditor
    -{
    - ResourceSet resourceSet;
    - Resource wsdlResource;
    -
    - protected WSDLEditorResourceChangeHandler resourceChangeHandler;
    -
    - protected WSDLModelAdapter modelAdapter;
    - protected SourceEditorSelectionListener fSourceEditorSelectionListener;
    - protected WSDLSelectionManagerSelectionListener fWSDLSelectionListener;
    -
    - private IStructuredModel structuredModel;
    - private final static String WSDL_EDITOR_MODE_EXTENSION_ID = "org.eclipse.wst.wsdl.ui.editorModes"; //$NON-NLS-N$
    -
    - public IDescription buildModel(IFileEditorInput editorInput) {
    - try {
    - // ISSUE: This code which deals with the structured model is similar to the one in the XSD editor.
    - // It could be refactored into the base class.
    -
    - Document document = null;
    - IDocument doc = structuredTextEditor.getDocumentProvider().getDocument(editorInput);
    - if (doc instanceof IStructuredDocument) {
    - IStructuredModel model = StructuredModelManager.getModelManager().getExistingModelForEdit(doc);
    - if (model == null) {
    - model = StructuredModelManager.getModelManager().getModelForEdit((IStructuredDocument) doc);
    - }
    - structuredModel = model;
    - document = ((IDOMModel) model).getDocument();
    - }
    - Assert.isNotNull(document);
    -
    - Object obj = null;
    -
    - if (document instanceof INodeNotifier) {
    - INodeNotifier notifier = (INodeNotifier) document;
    - modelAdapter = (WSDLModelAdapter) notifier.getAdapterFor(WSDLModelAdapter.class);
    - if (modelAdapter == null) {
    - modelAdapter = new WSDLModelAdapter();
    - notifier.addAdapter(modelAdapter);
    - obj = modelAdapter.createDefinition(document.getDocumentElement(), document);
    - }
    - if (obj == null) {
    - obj = modelAdapter.createDefinition(document.getDocumentElement(), document);
    - }
    - }
    -
    - if (obj instanceof Definition) {
    - Definition definition = (Definition) obj;
    - model = (IDescription) WSDLAdapterFactoryHelper.getInstance().adapt(definition);
    - }
    - }
    - catch (Exception e) {
    - e.printStackTrace();
    - }
    -
    - return model;
    - }
    -
    - private XSDSchema[] getInlineSchemas() {
    - List types = getModel().getTypes();
    - XSDSchema[] schemas = new XSDSchema[types.size()];
    - for (int index = 0; index < types.size(); index++) {
    - W11Type type = (W11Type) types.get(index);
    - schemas[index] = (XSDSchema) type.getTarget();
    - }
    -
    - return schemas;
    - }
    -
    - public Object getAdapter(Class type) {
    - if (type == Definition.class)
    - {
    - return ((W11Description) getModel()).getTarget();
    - }
    - else if (type == ISelectionMapper.class)
    - {
    - return new WSDLSelectionMapper();
    - }
    - else if (type == Definition.class && model instanceof Adapter)
    - {
    - return ((Adapter)model).getTarget();
    - }
    - else if (type == IOpenExternalEditorHelper.class) {
    - return new W11OpenExternalEditorHelper(((IFileEditorInput) getEditorInput()).getFile());
    - }
    -
    - else if (type == XSDTypeReferenceEditManager.class)
    - {
    - IEditorInput editorInput = getEditorInput();
    - if (editorInput instanceof IFileEditorInput)
    - {
    - IFileEditorInput fileEditorInput = (IFileEditorInput) editorInput;
    - WSDLXSDTypeReferenceEditManager refManager = new WSDLXSDTypeReferenceEditManager(fileEditorInput.getFile(), null);
    - refManager.setSchemas(getInlineSchemas());
    - return refManager;
    - }
    - }
    - else if (type == XSDElementReferenceEditManager.class)
    - {
    - IEditorInput editorInput = getEditorInput();
    - if (editorInput instanceof IFileEditorInput)
    - {
    - IFileEditorInput fileEditorInput = (IFileEditorInput) editorInput;
    - WSDLXSDElementReferenceEditManager refManager = new WSDLXSDElementReferenceEditManager(fileEditorInput.getFile(), null);
    - refManager.setSchemas(getInlineSchemas());
    - return refManager;
    - }
    - }
    - else if (type == W11BindingReferenceEditManager.class) {
    - IEditorInput editorInput = getEditorInput();
    - if (editorInput instanceof IFileEditorInput)
    - {
    - IFileEditorInput fileEditorInput = (IFileEditorInput) editorInput;
    - return new W11BindingReferenceEditManager((W11Description) getModel(), fileEditorInput.getFile());
    - }
    - }
    - else if (type == W11InterfaceReferenceEditManager.class) {
    - IEditorInput editorInput = getEditorInput();
    - if (editorInput instanceof IFileEditorInput)
    - {
    - IFileEditorInput fileEditorInput = (IFileEditorInput) editorInput;
    - return new W11InterfaceReferenceEditManager((W11Description) getModel(), fileEditorInput.getFile());
    - }
    - }
    - else if (type == W11MessageReferenceEditManager.class) {
    - IEditorInput editorInput = getEditorInput();
    - if (editorInput instanceof IFileEditorInput)
    - {
    - IFileEditorInput fileEditorInput = (IFileEditorInput) editorInput;
    - return new W11MessageReferenceEditManager((W11Description) getModel(), fileEditorInput.getFile());
    - }
    - }
    - else if (type == ProductCustomizationProvider.class)
    - {
    - return WSDLEditorPlugin.getInstance().getProductCustomizationProvider();
    - }
    - else if (type == IKeyboardDrag.class) {
    - return new KeyboardDragImpl();
    - }
    - return super.getAdapter(type);
    - }
    -
    - /**
    - * Listener on SSE's source editor's selections that converts DOM
    - * selections into xsd selections and notifies WSDL selection manager
    - */
    - private class SourceEditorSelectionListener implements ISelectionChangedListener {
    - /**
    - * Determines WSDL facade object based on DOM node
    - *
    - * @param object
    - * @return
    - */
    - private Object getWSDLFacadeObject(Object object) {
    - // get the element node
    - Element element = null;
    - if (object instanceof Node) {
    - Node node = (Node) object;
    - if (node != null) {
    - if (node.getNodeType() == Node.ELEMENT_NODE) {
    - element = (Element) node;
    - }
    - else if (node.getNodeType() == Node.ATTRIBUTE_NODE) {
    - element = ((Attr) node).getOwnerElement();
    - }
    - }
    - }
    - Object o = element;
    - if (element != null) {
    - Definition def = (Definition) ((W11Description) model).getTarget();
    - Object modelObject = WSDLEditorUtil.getInstance().findModelObjectForElement(def, element);
    -
    - // rmah: We handle this special scenario where the modelObject is an XSDSchemaExtensibilityElement.
    - // We actually want the XSDSchema object. However, our node reconciler will always return
    - // XSDSchemaExtensibilityElement because both XSDSchemaExtensibilityElement and XSDSchema
    - // both have the SAME Element object, and the reconciler encounters the XSDSchemaExtensibilityElement
    - // first.... See WSDLNodeNodeAssociationProvider for more details.....
    - if (modelObject instanceof XSDSchemaExtensibilityElement) {
    - modelObject = ((XSDSchemaExtensibilityElement) modelObject).getSchema();
    - }
    - if (modelObject != null) {
    - o = WSDLAdapterFactoryHelper.getInstance().adapt((Notifier) modelObject);
    - }
    - }
    - return o;
    - }
    -
    - public void selectionChanged(SelectionChangedEvent event) {
    - if (getSelectionManager().getEnableNotify() && getActivePage() == 1)
    - {
    - ISelection selection = event.getSelection();
    - if (selection instanceof IStructuredSelection)
    - {
    - List selections = new ArrayList();
    - for (Iterator i = ((IStructuredSelection) selection).iterator(); i.hasNext();)
    - {
    - Object domNode = i.next();
    - Object facade = getWSDLFacadeObject(domNode);
    - if (facade != null)
    - {
    - selections.add(facade);
    - }
    - }
    -
    - if (!selections.isEmpty())
    - {
    - StructuredSelection wsdlSelection = new StructuredSelection(selections);
    - getSelectionManager().setSelection(wsdlSelection, getTextEditor().getSelectionProvider());
    - }
    - }
    - }
    - }
    - }
    -
    - /**
    - * Listener on WSDL's selection manager's selections that converts WSDL
    - * selections into DOM selections and notifies SSE's selection provider
    - */
    - private class WSDLSelectionManagerSelectionListener implements ISelectionChangedListener {
    - /**
    - * Determines DOM node based on object (wsdl node)
    - *
    - * @param object
    - * @return
    - */
    - private Object getObjectForOtherModel(Object object) {
    - Node node = null;
    -
    - if (object instanceof Node) {
    - node = (Node) object;
    - }
    - else if (object instanceof String) {
    - // The string is expected to be a URI fragment used to identify a WSDL element.
    - // The URI fragment should be relative to the definition being edited in this editor.
    - String uriFragment = (String)object;
    - EObject definition = ((Definition)((W11Description)getModel()).getTarget());
    - EObject modelObject = definition.eResource().getEObject(uriFragment);
    -
    - if (modelObject != null) {
    - node = WSDLEditorUtil.getInstance().getNodeForObject(modelObject);
    - }
    - }
    - else {
    - node = WSDLEditorUtil.getInstance().getNodeForObject(object);
    - }
    -
    - // the text editor can only accept sed nodes!
    - //
    - if (!(node instanceof IDOMNode)) {
    - node = null;
    - }
    - return node;
    - }
    -
    - public void selectionChanged(SelectionChangedEvent event) {
    - // do not fire selection in source editor if selection event came
    - // from source editor
    - if (event.getSource() != getTextEditor().getSelectionProvider()) {
    - ISelection selection = event.getSelection();
    - if (selection instanceof IStructuredSelection) {
    - List otherModelObjectList = new ArrayList();
    - for (Iterator i = ((IStructuredSelection) selection).iterator(); i.hasNext();) {
    - Object wsdlObject = i.next();
    -
    - if (wsdlObject instanceof WSDLBaseAdapter) {
    - wsdlObject = ((WSDLBaseAdapter) wsdlObject).getTarget();
    - }
    -
    - Object otherModelObject = getObjectForOtherModel(wsdlObject);
    - if (otherModelObject != null) {
    - otherModelObjectList.add(otherModelObject);
    - }
    - }
    - if (!otherModelObjectList.isEmpty()) {
    - StructuredSelection nodeSelection = new StructuredSelection(otherModelObjectList);
    - getTextEditor().getSelectionProvider().setSelection(nodeSelection);
    - }
    - }
    - }
    - }
    - }
    -
    - protected void configureGraphicalViewer() {
    - super.configureGraphicalViewer();
    - graphicalViewer.getKeyHandler().put(KeyStroke.getPressed(SWT.F2, 0), getActionRegistry().getAction(GEFActionConstants.DIRECT_EDIT));
    - setEditPartFactory(getEditorModeManager().getCurrentMode().getEditPartFactory());
    - }
    -
    - protected void createPages() {
    - super.createPages();
    -
    - if (resourceChangeHandler == null) {
    - resourceChangeHandler = new WSDLEditorResourceChangeHandler(this);
    - resourceChangeHandler.attach();
    - }
    -
    - fSourceEditorSelectionListener = new SourceEditorSelectionListener();
    - ISelectionProvider provider = getTextEditor().getSelectionProvider();
    - if (provider instanceof IPostSelectionProvider) {
    - ((IPostSelectionProvider) provider).addPostSelectionChangedListener(fSourceEditorSelectionListener);
    - }
    - else {
    - provider.addSelectionChangedListener(fSourceEditorSelectionListener);
    - }
    -
    - fWSDLSelectionListener = new WSDLSelectionManagerSelectionListener();
    - getSelectionManager().addSelectionChangedListener(fWSDLSelectionListener);
    - }
    -
    - public void dispose() {
    - if (structuredModel != null) {
    - structuredModel.releaseFromEdit();
    - }
    - if (resourceChangeHandler != null) {
    - resourceChangeHandler.dispose();
    - }
    - getSelectionManager().removeSelectionChangedListener(fWSDLSelectionListener);
    - super.dispose();
    - }
    -
    - public void reloadDependencies() {
    - try {
    - Definition definition = (Definition) ((W11Description) getModel()).getTarget();
    - if (definition != null) {
    - WSDLResourceUtil.reloadDirectives(definition);
    - ComponentReferenceUtil.updateBindingReferences(definition);
    - ComponentReferenceUtil.updatePortTypeReferences(definition);
    - ComponentReferenceUtil.updateMessageReferences(definition);
    - ComponentReferenceUtil.updateSchemaReferences(definition);
    - // the line below simply causes a notification in order to
    - // update our
    - // views
    - //
    - definition.setDocumentationElement(definition.getDocumentationElement());
    - }
    - }
    - finally {
    - }
    - }
    -
    - protected void createActions() {
    - super.createActions();
    - ActionRegistry registry = getActionRegistry();
    -
    - BaseSelectionAction action = new ASDAddMessageAction(this);
    - action.setSelectionProvider(getSelectionManager());
    - registry.registerAction(action);
    -
    - action = new W11AddPartAction(this);
    - action.setSelectionProvider(getSelectionManager());
    - registry.registerAction(action);
    -
    - action = new W11SetNewMessageAction(this);
    - action.setSelectionProvider(getSelectionManager());
    - registry.registerAction(action);
    -
    - action = new W11SetExistingMessageAction(this);
    - action.setSelectionProvider(getSelectionManager());
    - registry.registerAction(action);
    -
    - action = new W11SetNewTypeAction(this);
    - action.setSelectionProvider(getSelectionManager());
    - registry.registerAction(action);
    -
    - action = new W11SetExistingTypeAction(this);
    - action.setSelectionProvider(getSelectionManager());
    - registry.registerAction(action);
    -
    - action = new W11SetNewElementAction(this);
    - action.setSelectionProvider(getSelectionManager());
    - registry.registerAction(action);
    -
    - action = new W11SetExistingElementAction(this);
    - action.setSelectionProvider(getSelectionManager());
    - registry.registerAction(action);
    -
    - action = new W11OpenImportAction(this);
    - action.setSelectionProvider(getSelectionManager());
    - registry.registerAction(action);
    -
    - action = new OpenInNewEditor(this);
    - action.setSelectionProvider(getSelectionManager());
    - registry.registerAction(action);
    -
    - ASDDirectEditAction directEditAction = new ASDDirectEditAction(this);
    - directEditAction.setSelectionProvider(getSelectionManager());
    - registry.registerAction(directEditAction);
    - }
    -
    - /*
    - * @deprecated: rmah: remove the method below post WTP1.5. Use getAdapter() method instead.
    - */
    - public IOpenExternalEditorHelper getOpenExternalEditorHelper() {
    - return new W11OpenExternalEditorHelper(((IFileEditorInput) getEditorInput()).getFile());
    - }
    -
    - private static final String DEFAULT_EDITOR_MODE_ID = "org.eclipse.wst.wsdl.ui.defaultEditorModeId"; //$NON-NLS-1$
    -
    - protected EditorModeManager createEditorModeManager()
    - {
    - final ProductCustomizationProvider productCustomizationProvider = (ProductCustomizationProvider)getAdapter(ProductCustomizationProvider.class);
    - EditorModeManager manager = new EditorModeManager(WSDL_EDITOR_MODE_EXTENSION_ID)
    - {
    - public void init()
    - {
    - if (productCustomizationProvider == null ||
    - productCustomizationProvider.isEditorModeApplicable(DefaultEditorMode.ID))
    - {
    - addMode(new DefaultEditorMode());
    - }
    - super.init();
    - }
    -
    - protected EditorMode getDefaultMode()
    - {
    - String defaultModeId = WSDLEditorPlugin.getInstance().getPreferenceStore().getString(DEFAULT_EDITOR_MODE_ID);
    - if (defaultModeId != null)
    - {
    - EditorMode editorMode = getEditorMode(defaultModeId);
    - if (editorMode != null)
    - {
    - return editorMode;
    - }
    - }
    - return super.getDefaultMode();
    - }
    - };
    - manager.setProductCustomizationProvider(productCustomizationProvider);
    - return manager;
    - }
    -
    - public void editorModeChanged(EditorMode newEditorMode)
    - {
    - EditPartFactory editPartFactory = newEditorMode.getEditPartFactory();
    - if (editPartFactory != null)
    - {
    - graphicalViewer.setEditPartFactory(editPartFactory);
    - if (graphicalViewer instanceof DesignViewGraphicalViewer)
    - {
    - DesignViewGraphicalViewer viewer = (DesignViewGraphicalViewer)graphicalViewer;
    - DefinitionsEditPart editPart = (DefinitionsEditPart)viewer.getRootEditPart().getContents();
    - editPart.setModelChildren(Collections.EMPTY_LIST);
    - editPart.refresh();
    - editPart.setModelChildren(null);
    - editPart.refresh();
    - }
    - }
    - IContentProvider provider = newEditorMode.getOutlineProvider();
    - if (provider != null)
    - {
    - ASDContentOutlinePage outline = (ASDContentOutlinePage)getContentOutlinePage();
    - if (outline != null)
    - {
    - TreeViewer treeViewer = outline.getTreeViewer();
    - if (treeViewer != null)
    - {
    - outline.getTreeViewer().setContentProvider(provider);
    - outline.getTreeViewer().refresh();
    - }
    - }
    -
    - }
    - }
    -
    - protected void storeCurrentModePreference(String id)
    - {
    - WSDLEditorPlugin.getInstance().getPreferenceStore().setValue(DEFAULT_EDITOR_MODE_ID, id);
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/Messages.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/Messages.java
    deleted file mode 100644
    index 6e40e15c0..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/Messages.java
    +++ /dev/null
    @@ -1,133 +0,0 @@
    -package org.eclipse.wst.wsdl.ui.internal;
    -
    -import java.text.MessageFormat;
    -import java.util.MissingResourceException;
    -import java.util.ResourceBundle;
    -
    -import org.eclipse.osgi.util.NLS;
    -
    -public class Messages {
    - private static final String BUNDLE_NAME = "org.eclipse.wst.wsdl.ui.internal.messages"; //$NON-NLS-1$
    -
    - static {
    - NLS.initializeMessages(BUNDLE_NAME, Messages.class); //$NON-NLS-1$
    - }
    - private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
    -
    - private Messages() {
    - }
    -
    - public static String getString(String key) {
    - // TODO Auto-generated method stub
    - try {
    - return RESOURCE_BUNDLE.getString(key);
    - } catch (MissingResourceException e) {
    - return '!' + key + '!';
    - }
    - }
    -
    - public static String getString(String key, String arg0) {
    - return MessageFormat.format(getString(key), new Object [] { arg0 });
    - }
    -
    - public static String getString(String key, Object[] args) {
    - return MessageFormat.format(getString(key), args);
    - }
    -
    - public static String _UI_DEPENDENCIES_CHANGED;
    - public static String _UI_DEPENDENCIES_CHANGED_REFRESH;
    - public static String _UI_EDIT_NAMESPACES_DIALOG_TITLE;
    - public static String _UI_PREF_PAGE_CREATING_FILES;
    - public static String _UI_REMEMBER_MY_DECISION_LABEL;
    - public static String _UI_PREF_PAGE_DEFAULT_TARGET_NAMESPACE;
    - public static String _UI_REGEN_BINDINGS_ON_SAVE_QUESTIONMARK;
    - public static String _UI_LABEL_WARNING_DUPLICATE_NAME_EXISTS;
    - public static String _UI_LABEL_NAMESPACE_URIS_TO_BE_INCLUDED;
    - public static String _UI_PREF_PAGE_AUTO_REGENERATE_BINDING;
    - public static String _UI_PREF_PAGE_PROMPT_REGEN_BINDING_ON_SAVE;
    - public static String _UI_EDIT_NAMESPACES;
    - public static String _UI_ACTION_ADD_IMPORT;
    - public static String _UI_ACTION_ADD_BINDING;
    - public static String _UI_ACTION_ADD_PART;
    - public static String _UI_ACTION_REORDER_PART;
    - public static String _UI_ACTION_REORDER_MESSAGE_REFERENCE;
    - public static String _UI_ACTION_OPEN_IN_NEW_EDITOR;
    - public static String _UI_ACTION_EXISTING_MESSAGE;
    - public static String _UI_ACTION_EXISTING_ELEMENT;
    - public static String _UI_ERROR_NAMESPACE_INVALID;
    - public static String _UI_ERROR_FILE_ALREADY_EXISTS;
    - public static String _UI_DESCRIPTION_NEW_WSDL_FILE;
    - public static String _UI_REGEN_BINDINDS_ON_SAVE;
    - public static String _UI_RADIO_DOCUMENT_LITERAL;
    - public static String _UI_TITLE_SPECIFY_PORTTYPE;
    - public static String _UI_LABEL_BINDING_PROTOCOL;
    - public static String _UI_LABEL_INLINE_SCHEMA_OF;
    - public static String _UI_LABEL_TARGET_NAMESPACE;
    - public static String _UI_LABEL_PREFIX_WITH_COLON;
    - public static String _UI_LABEL_CREATE_WSDL_SKELETON;
    - public static String _UI_LABEL_CREATE_NEW_WSDL_FILE;
    - public static String _UI_LABEL_SOAP_BINDING_OPTIONS;
    - public static String _UI_LABEL_HTTP_BINDING_OPTIONS;
    - public static String _UI_LABEL_ADD_EXTENSION_ELEMENT;
    - public static String _UI_SPECIFY_BINDING_DETAILS_LABEL;
    - public static String _UI_SPECIFY_PORT_DETAILS_TO_BE_CREATED;
    - public static String _UI_LABEL_NEW_BINDING;
    - public static String _UI_LABEL_NEW_PORTTYPE;
    - public static String _UI_LABEL_REFERENCE_KIND;
    - public static String _UI_LABEL_NEW_MESSAGE;
    - public static String _UI_RADIO_RPC_ENCODED;
    - public static String _UI_RADIO_RPC_LITERAL;
    - public static String _UI_ACTION_EXISTING_TYPE;
    - public static String _UI_SPECIFY_PORT_DETAILS;
    - public static String _UI_TITLE_SPECIFY_BINDING;
    - public static String _UI_TITLE_SPECIFY_BINDING_DETAILS;
    - public static String _UI_ERROR_FILE_MUST_END_WITH_WSDL;
    - public static String _UI_TITLE_SPECIFY_MESSAGE;
    - public static String _UI_TITLE_NEW_WSDL_FILE;
    - public static String _UI_NAME_INVALID_CHAR_END;
    - public static String _UI_ACTION_RENAME;
    - public static String _UI_FOLDER_TYPES;
    - public static String _UI_CANCEL_LABEL;
    - public static String _UI_ACTION_NEW_TYPE;
    - public static String _UI_ACTION_SET_TYPE;
    - public static String _UI_FOLDER_IMPORTS;
    - public static String _UI_FOLDER_SERVICES;
    - public static String _UI_FOLDER_BINDINGS;
    - public static String _UI_FOLDER_INTERFACES;
    - public static String _UI_FOLDER_PORTTYPES;
    - public static String _UI_FOLDER_MESSAGES;
    - public static String _UI_ACTION_NEW_MESSAGE;
    - public static String _UI_ACTION_NEW_ELEMENT;
    - public static String _UI_ACTION_SET_ELEMENT;
    - public static String _UI_ACTION_SET_MESSAGE;
    - public static String _UI_ACTION_SET_BINDING;
    - public static String _UI_CHECKBOX_OVERWRITE;
    - public static String _UI_ACTION_SET_PORTTYPE;
    - public static String _UI_ACTION_ADD;
    - public static String _UI_ACTION_OPEN_IMPORT;
    - public static String _UI_UNSPECIFIED;
    - public static String _UI_LABEL_NAME;
    - public static String _UI_LABEL_TYPE;
    - public static String _UI_BUTTON_NEW;
    - public static String _UI_LABEL_ELEMENT;
    - public static String _UI_BUTTON_BROWSE;
    - public static String _UI_BINDING_WIZARD;
    - public static String _UI_BINDING;
    - public static String _UI_LABEL_MESSAGE;
    - public static String _UI_LABEL_REMOVE;
    - public static String _UI_TITLE_SELECT;
    - public static String _UI_TITLE_SELECT_FILE;
    - public static String _UI_DESCRIPTION_SELECT_WSDL_OR_XSD;
    - public static String _UI_TITLE_OPTIONS;
    - public static String _UI_YES_LABEL;
    - public static String _UI_PORT_TYPE;
    - public static String _UI_PORT_WIZARD;
    - public static String _UI_NO_LABEL;
    - public static String _UI_ADD;
    - public static String _UI_HELP;
    - public static String _UI_LABEL_NAME_FILTER;
    - public static String _WARN_NAME_MUST_CONTAIN_AT_LEAST_ONE_CHAR;
    - public static String _WARN_NAME_HAS_SPACE;
    - public static String _WARN_NAME_INVALID_FIRST;
    - public static String _WARN_NAME_INVALID_CHAR;
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ReloadDependenciesActionDelegate.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ReloadDependenciesActionDelegate.java
    deleted file mode 100644
    index 2e2c438a1..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/ReloadDependenciesActionDelegate.java
    +++ /dev/null
    @@ -1,41 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal;
    -
    -import org.eclipse.jface.action.IAction;
    -import org.eclipse.ui.IEditorActionDelegate;
    -import org.eclipse.ui.IEditorPart;
    -import org.eclipse.ui.actions.ActionDelegate;
    -
    -public class ReloadDependenciesActionDelegate extends ActionDelegate implements IEditorActionDelegate
    -{
    - private InternalWSDLMultiPageEditor wsdlEditor;
    -
    - public void setActiveEditor(IAction action, IEditorPart targetEditor)
    - {
    - wsdlEditor = (targetEditor instanceof InternalWSDLMultiPageEditor) ? (InternalWSDLMultiPageEditor)targetEditor : null;
    - }
    -
    - public void run(IAction action)
    - {
    - if (wsdlEditor != null)
    - {
    - try
    - {
    - wsdlEditor.reloadDependencies();
    - }
    - catch (Exception e)
    - {
    - e.printStackTrace();
    - }
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourceEditorActionBarContributor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourceEditorActionBarContributor.java
    deleted file mode 100644
    index f8a7dd09e..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourceEditorActionBarContributor.java
    +++ /dev/null
    @@ -1,208 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal;
    -
    -import org.eclipse.jface.action.IMenuManager;
    -import org.eclipse.jface.action.IStatusLineManager;
    -import org.eclipse.jface.action.IToolBarManager;
    -import org.eclipse.ui.IActionBars;
    -import org.eclipse.ui.IEditorActionBarContributor;
    -import org.eclipse.ui.IEditorPart;
    -import org.eclipse.ui.part.EditorActionBarContributor;
    -import org.eclipse.ui.part.MultiPageEditorActionBarContributor;
    -import org.eclipse.wst.sse.ui.StructuredTextEditor;
    -import org.eclipse.wst.sse.ui.internal.ExtendedEditorActionBuilder;
    -import org.eclipse.wst.sse.ui.internal.IExtendedContributor;
    -import org.eclipse.wst.sse.ui.internal.ISourceViewerActionBarContributor;
    -
    -public class SourceEditorActionBarContributor extends MultiPageEditorActionBarContributor implements IExtendedContributor {
    -
    - protected IEditorActionBarContributor designViewerActionBarContributor = null;
    - protected IEditorActionBarContributor sourceViewerActionContributor = null;
    - protected InternalWSDLMultiPageEditor multiPageEditor = null;
    -
    - // EditorExtension
    - private static final String EDITOR_ID = "org.eclipse.wst.wsdl.ui.internal.actions.XMLMultiPageEditorPart"; //$NON-NLS-1$
    - private IExtendedContributor extendedContributor;
    -
    - public SourceEditorActionBarContributor() {
    - super();
    -
    - sourceViewerActionContributor = new SourcePageActionContributor();
    -
    - // Read action extensions.
    - ExtendedEditorActionBuilder builder = new ExtendedEditorActionBuilder();
    - extendedContributor = builder.readActionExtensions(EDITOR_ID);
    - }
    -
    - public void init(IActionBars actionBars) {
    - super.init(actionBars);
    -
    - if (actionBars != null) {
    - initDesignViewerActionBarContributor(actionBars);
    - initSourceViewerActionContributor(actionBars);
    - }
    - }
    -
    - protected void initDesignViewerActionBarContributor(IActionBars actionBars) {
    - if (designViewerActionBarContributor != null)
    - designViewerActionBarContributor.init(actionBars, getPage());
    - }
    -
    - protected void initSourceViewerActionContributor(IActionBars actionBars) {
    - if (sourceViewerActionContributor != null)
    - sourceViewerActionContributor.init(actionBars, getPage());
    - }
    -
    - public void dispose() {
    - super.dispose();
    -
    - if (designViewerActionBarContributor != null)
    - designViewerActionBarContributor.dispose();
    -
    - if (sourceViewerActionContributor != null)
    - sourceViewerActionContributor.dispose();
    -
    - if (extendedContributor != null)
    - extendedContributor.dispose();
    - }
    -
    - /**
    - * @see EditorActionBarContributor#contributeToMenu(IMenuManager)
    - */
    - public final void contributeToMenu(IMenuManager menu) {
    - super.contributeToMenu(menu);
    -
    - addToMenu(menu);
    -
    - if (extendedContributor != null)
    - extendedContributor.contributeToMenu(menu);
    - }
    -
    - protected void addToMenu(IMenuManager menu) {
    - }
    -
    - /**
    - * @see IExtendedContributor#contributeToPopupMenu(IMenuManager)
    - */
    - public final void contributeToPopupMenu(IMenuManager menu) {
    -
    - addToPopupMenu(menu);
    -
    - if (extendedContributor != null)
    - extendedContributor.contributeToPopupMenu(menu);
    - }
    -
    - protected void addToPopupMenu(IMenuManager menu) {
    - }
    -
    - /**
    - * @see EditorActionBarContributor#contributeToToolBar(IToolBarManager)
    - */
    - public final void contributeToToolBar(IToolBarManager toolBarManager) {
    - super.contributeToToolBar(toolBarManager);
    -
    - addToToolBar(toolBarManager);
    -
    - if (extendedContributor != null)
    - extendedContributor.contributeToToolBar(toolBarManager);
    - }
    -
    - protected void addToToolBar(IToolBarManager toolBarManager) {
    - }
    -
    - /**
    - * @see EditorActionBarContributor#contributeToStatusLine(IStatusLineManager)
    - */
    - public final void contributeToStatusLine(IStatusLineManager manager) {
    - super.contributeToStatusLine(manager);
    -
    - addToStatusLine(manager);
    -
    - if (extendedContributor != null)
    - extendedContributor.contributeToStatusLine(manager);
    - }
    -
    - protected void addToStatusLine(IStatusLineManager manager) {
    - }
    -
    - /**
    - * @see IExtendedContributor#updateToolbarActions()
    - */
    - public void updateToolbarActions() {
    - if (extendedContributor != null)
    - extendedContributor.updateToolbarActions();
    - }
    -
    - public void setActiveEditor(IEditorPart targetEditor) {
    - // save multiPageEditor before calling super.setActiveEditor(targetEditor)
    - // super.setActiveEditor will call setActivePage(IEditorPart activeEditor)
    - // multiPageEditor is needed in setActivePage(IEditorPart activeEditor)
    - if (targetEditor instanceof InternalWSDLMultiPageEditor)
    - multiPageEditor = (InternalWSDLMultiPageEditor) targetEditor;
    -
    - super.setActiveEditor(targetEditor);
    -
    - updateToolbarActions();
    -
    - if (extendedContributor != null)
    - extendedContributor.setActiveEditor(targetEditor);
    - }
    -
    - public void setActivePage(IEditorPart activeEditor) {
    - // This contributor is designed for StructuredTextMultiPageEditorPart.
    - // To safe-guard this from problems caused by unexpected usage by other editors, the following
    - // check is added.
    - if (multiPageEditor != null) {
    - if (activeEditor != null && activeEditor instanceof StructuredTextEditor)
    - activateSourcePage(activeEditor);
    - else
    - activateDesignPage(activeEditor);
    - }
    -
    - updateToolbarActions();
    -
    - IActionBars actionBars = getActionBars();
    - if (actionBars != null) {
    - // update menu bar and tool bar
    - actionBars.updateActionBars();
    - }
    - }
    -
    - protected void activateDesignPage(IEditorPart activeEditor) {
    - if (designViewerActionBarContributor != null && designViewerActionBarContributor instanceof IDesignViewerActionBarContributor) {
    - designViewerActionBarContributor.setActiveEditor(multiPageEditor);
    - }
    -
    - if (sourceViewerActionContributor != null && sourceViewerActionContributor instanceof ISourceViewerActionBarContributor) {
    - // if design page is not really an IEditorPart, activeEditor == null, so pass in multiPageEditor instead (d282414)
    - if (activeEditor == null) {
    - sourceViewerActionContributor.setActiveEditor(multiPageEditor);
    - }
    - else {
    - sourceViewerActionContributor.setActiveEditor(activeEditor);
    - }
    - ((ISourceViewerActionBarContributor) sourceViewerActionContributor).setViewerSpecificContributionsEnabled(false);
    - }
    - }
    -
    - protected void activateSourcePage(IEditorPart activeEditor) {
    - if (designViewerActionBarContributor != null && designViewerActionBarContributor instanceof IDesignViewerActionBarContributor) {
    - designViewerActionBarContributor.setActiveEditor(multiPageEditor);
    - }
    -
    - if (sourceViewerActionContributor != null && sourceViewerActionContributor instanceof ISourceViewerActionBarContributor) {
    - sourceViewerActionContributor.setActiveEditor(activeEditor);
    - ((ISourceViewerActionBarContributor) sourceViewerActionContributor).setViewerSpecificContributionsEnabled(true);
    - }
    - }
    -
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourcePageActionContributor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourcePageActionContributor.java
    deleted file mode 100644
    index 60fc70dfe..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/SourcePageActionContributor.java
    +++ /dev/null
    @@ -1,58 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal;
    -
    -import org.eclipse.ui.IActionBars;
    -import org.eclipse.wst.xml.ui.internal.actions.ActionContributorXML;
    -
    -
    -/**
    - * SourcePageActionContributor
    - *
    - * This class is for multi page editor's source page contributor.
    - *
    - * Use WSDLEditorActionContributor for single page editor
    - * */
    -public class SourcePageActionContributor extends ActionContributorXML {
    -
    - private IActionBars fBars;
    -
    - /**
    - * This method calls:
    - * <ul>
    - * <li><code>contributeToMenu</code> with <code>bars</code>' menu manager</li>
    - * <li><code>contributeToToolBar</code> with <code>bars</code>' tool bar
    - * manager</li>
    - * <li><code>contributeToStatusLine</code> with <code>bars</code>' status line
    - * manager</li>
    - * </ul>
    - * The given action bars are also remembered and made accessible via
    - * <code>getActionBars</code>.
    - *
    - * @param bars the action bars
    - *
    - */
    - public void init(IActionBars bars) {
    - fBars = bars;
    - contributeToMenu(bars.getMenuManager());
    - contributeToToolBar(bars.getToolBarManager());
    - contributeToStatusLine(bars.getStatusLineManager());
    - }
    -
    - /**
    - * Returns this contributor's action bars.
    - *
    - * @return the action bars
    - */
    - public IActionBars getActionBars() {
    - return fBars;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/StructuredTextViewerConfigurationWSDL.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/StructuredTextViewerConfigurationWSDL.java
    deleted file mode 100644
    index 8433eebcf..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/StructuredTextViewerConfigurationWSDL.java
    +++ /dev/null
    @@ -1,40 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal;
    -
    -import java.util.ArrayList;
    -import java.util.List;
    -
    -import org.eclipse.jface.text.hyperlink.IHyperlinkDetector;
    -import org.eclipse.jface.text.source.ISourceViewer;
    -import org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants;
    -import org.eclipse.wst.wsdl.ui.internal.text.WSDLHyperlinkDetector;
    -import org.eclipse.wst.xml.ui.StructuredTextViewerConfigurationXML;
    -
    -public class StructuredTextViewerConfigurationWSDL extends StructuredTextViewerConfigurationXML {
    - public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
    - if (sourceViewer == null || !fPreferenceStore.getBoolean(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_HYPERLINKS_ENABLED))
    - return null;
    -
    - List allDetectors = new ArrayList(0);
    - // add WSDL Hyperlink detector
    - allDetectors.add(new WSDLHyperlinkDetector());
    -
    - IHyperlinkDetector[] superDetectors = super.getHyperlinkDetectors(sourceViewer);
    - for (int m = 0; m < superDetectors.length; m++) {
    - IHyperlinkDetector detector = superDetectors[m];
    - if (!allDetectors.contains(detector)) {
    - allDetectors.add(detector);
    - }
    - }
    - return (IHyperlinkDetector[]) allDetectors.toArray(new IHyperlinkDetector[0]);
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLActionBarContributor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLActionBarContributor.java
    deleted file mode 100644
    index b06d97382..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLActionBarContributor.java
    +++ /dev/null
    @@ -1,186 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal;
    -
    -import java.util.Iterator;
    -import java.util.List;
    -
    -import org.eclipse.gef.ui.actions.ActionRegistry;
    -import org.eclipse.jface.action.GroupMarker;
    -import org.eclipse.jface.action.IAction;
    -import org.eclipse.jface.action.IToolBarManager;
    -import org.eclipse.ui.IActionBars;
    -import org.eclipse.ui.IEditorActionBarContributor;
    -import org.eclipse.ui.IEditorPart;
    -import org.eclipse.ui.IEditorSite;
    -import org.eclipse.ui.IWorkbenchPage;
    -import org.eclipse.ui.IWorkbenchPartSite;
    -import org.eclipse.ui.actions.ActionFactory;
    -import org.eclipse.ui.part.MultiPageEditorActionBarContributor;
    -import org.eclipse.ui.part.MultiPageEditorPart;
    -import org.eclipse.ui.texteditor.ITextEditor;
    -import org.eclipse.ui.texteditor.ITextEditorActionConstants;
    -import org.eclipse.wst.sse.ui.internal.ISourceViewerActionBarContributor;
    -import org.eclipse.wst.wsdl.ui.internal.actions.IWSDLToolbarAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
    -
    -public class WSDLActionBarContributor extends MultiPageEditorActionBarContributor
    -{
    - private IEditorPart activeEditorPart;
    - private InternalWSDLMultiPageEditor wsdlEditor;
    - protected ITextEditor textEditor;
    - protected IEditorActionBarContributor sourceViewerActionContributor = null;
    -
    - /**
    - * Constructor for WSDLActionBarContributor.
    - */
    - public WSDLActionBarContributor()
    - {
    - super();
    - sourceViewerActionContributor = new SourcePageActionContributor();
    - }
    -
    - public void setActivePage(IEditorPart part)
    - {
    - if (activeEditorPart == part)
    - return;
    -
    - activeEditorPart = part;
    -
    - IActionBars actionBars = getActionBars();
    -
    - if (activeEditorPart != null && activeEditorPart instanceof ITextEditor)
    - {
    - activateSourcePage(activeEditorPart, true);
    - }
    - else
    - {
    - activateSourcePage(wsdlEditor, false);
    - if (part instanceof InternalWSDLMultiPageEditor)
    - {
    - wsdlEditor = (InternalWSDLMultiPageEditor) part;
    - }
    - if (wsdlEditor != null)
    - {
    - // cs: here's we ensure the UNDO and REDO actions are available when
    - // the design view is active
    - IWorkbenchPartSite site = wsdlEditor.getSite();
    - if (site instanceof IEditorSite)
    - {
    - ITextEditor textEditor = wsdlEditor.getTextEditor();
    - IActionBars siteActionBars = ((IEditorSite) site).getActionBars();
    - siteActionBars.setGlobalActionHandler(ITextEditorActionConstants.UNDO, getAction(textEditor, ITextEditorActionConstants.UNDO));
    - siteActionBars.setGlobalActionHandler(ITextEditorActionConstants.REDO, getAction(textEditor, ITextEditorActionConstants.REDO));
    - siteActionBars.updateActionBars();
    - }
    -
    - Object adapter = wsdlEditor.getAdapter(ActionRegistry.class);
    - if (adapter instanceof ActionRegistry)
    - {
    - ActionRegistry registry = (ActionRegistry) adapter;
    - actionBars.setGlobalActionHandler(ActionFactory.DELETE.getId(), registry.getAction(ASDDeleteAction.ID));
    - }
    - }
    - }
    -
    - if (actionBars != null) {
    - // update menu bar and tool bar
    - actionBars.updateActionBars();
    - }
    - }
    -
    - /**
    - * Returns the action registed with the given text editor.
    - * @return IAction or null if editor is null.
    - */
    - protected IAction getAction(ITextEditor editor, String actionID)
    - {
    - try
    - {
    - return (editor == null ? null : editor.getAction(actionID));
    - }
    - catch (Exception e)
    - {
    - return null;
    - }
    - }
    -
    - public void contributeToToolBar(IToolBarManager manager)
    - {
    - manager.add(new GroupMarker("WSDLEditor")); //$NON-NLS-1$
    - List list = WSDLEditorPlugin.getInstance().getWSDLEditorConfiguration().getToolbarActions();
    - for (Iterator i = list.iterator(); i.hasNext(); )
    - {
    - manager.add((IWSDLToolbarAction)i.next());
    - }
    -
    -// manager.add(new Separator());
    -// String[] zoomStrings = new String[] { ZoomManager.FIT_ALL, ZoomManager.FIT_HEIGHT, ZoomManager.FIT_WIDTH };
    -// manager.add(new ZoomComboContributionItem(getPage(), zoomStrings));
    - }
    -
    - public void setActiveEditor(IEditorPart part)
    - {
    - IEditorPart activeNestedEditor = null;
    - if (part instanceof MultiPageEditorPart)
    - {
    - activeNestedEditor = part;
    - }
    - setActivePage(activeNestedEditor);
    -
    - if (part instanceof InternalWSDLMultiPageEditor)
    - {
    - wsdlEditor = (InternalWSDLMultiPageEditor) part;
    -
    - textEditor = wsdlEditor.getTextEditor();
    - if (textEditor != null)
    - {
    - getActionBars().updateActionBars();
    - }
    - }
    -
    - List list = WSDLEditorPlugin.getInstance().getWSDLEditorConfiguration().getToolbarActions();
    - for (Iterator i = list.iterator(); i.hasNext(); )
    - {
    - ((IWSDLToolbarAction)i.next()).setEditorPart(part);
    - }
    - super.setActiveEditor(part);
    - }
    -
    - protected void activateSourcePage(IEditorPart activeEditor, boolean state)
    - {
    - if (sourceViewerActionContributor != null && sourceViewerActionContributor instanceof ISourceViewerActionBarContributor)
    - {
    - sourceViewerActionContributor.setActiveEditor(activeEditor);
    - ((ISourceViewerActionBarContributor) sourceViewerActionContributor).setViewerSpecificContributionsEnabled(state);
    - }
    - }
    -
    - public void init(IActionBars bars, IWorkbenchPage page)
    - {
    - initSourceViewerActionContributor(bars);
    - super.init(bars, page);
    - }
    -
    -
    - protected void initSourceViewerActionContributor(IActionBars actionBars) {
    - if (sourceViewerActionContributor != null)
    - sourceViewerActionContributor.init(actionBars, getPage());
    - }
    -
    - public void dispose()
    - {
    - if (sourceViewerActionContributor != null)
    - sourceViewerActionContributor.dispose();
    - super.dispose();
    - }
    -
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorPlugin.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorPlugin.java
    deleted file mode 100644
    index 33dfa9c7e..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorPlugin.java
    +++ /dev/null
    @@ -1,457 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal;
    -
    -import java.io.IOException;
    -import java.net.URL;
    -import java.util.HashMap;
    -import java.util.Hashtable;
    -
    -import org.eclipse.core.resources.IWorkspace;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.FileLocator;
    -import org.eclipse.core.runtime.IConfigurationElement;
    -import org.eclipse.core.runtime.IExtensionPoint;
    -import org.eclipse.core.runtime.IExtensionRegistry;
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.Path;
    -import org.eclipse.core.runtime.Platform;
    -import org.eclipse.jface.preference.IPreferenceStore;
    -import org.eclipse.jface.resource.ImageDescriptor;
    -import org.eclipse.jface.resource.ImageRegistry;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.swt.widgets.Shell;
    -import org.eclipse.ui.plugin.AbstractUIPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.extensions.NSKeyedExtensionRegistry;
    -import org.eclipse.wst.wsdl.ui.internal.extensions.WSDLEditorConfiguration;
    -import org.eclipse.wst.xsd.ui.internal.adt.editor.ProductCustomizationProvider;
    -import org.eclipse.wst.xsd.ui.internal.common.properties.sections.appinfo.ExtensionsSchemasRegistry;
    -import org.osgi.framework.Bundle;
    -import org.osgi.framework.BundleContext;
    -
    -public class WSDLEditorPlugin extends AbstractUIPlugin //, IPluginHelper
    -{
    - public static final String DEFAULT_PAGE = "org.eclipse.wst.wsdl.ui.internal.defaultpage"; //$NON-NLS-1$
    - public static final String DESIGN_PAGE = "org.eclipse.wst.wsdl.ui.internal.designpage"; //$NON-NLS-1$
    - public static final String SOURCE_PAGE = "org.eclipse.wst.wsdl.ui.internal.sourcepage"; //$NON-NLS-1$
    -
    - public final static String PLUGIN_ID = "org.eclipse.wst.wsdl.ui"; //$NON-NLS-1$
    - public final static String XSD_EDITOR_ID = "org.eclipse.wst.xsd.ui.internal.editor.InternalXSDMultiPageEditor"; //$NON-NLS-1$
    -
    - public final static String DEFAULT_TARGET_NAMESPACE = "http://www.example.org"; //$NON-NLS-1$
    -
    - public static int DEPENDECIES_CHANGED_POLICY_PROMPT = 0;
    - public static int DEPENDECIES_CHANGED_POLICY_IGNORE = 1;
    - public static int DEPENDECIES_CHANGED_POLICY_RELOAD = 2;
    -
    - protected static WSDLEditorPlugin instance;
    - private ExtensionsSchemasRegistry registry;
    - private WSDLEditorConfiguration wsdlEditorConfiguration = null;
    -
    - private NSKeyedExtensionRegistry extensiblityElementFilterRegistry;
    - private int dependenciesChangedPolicy = DEPENDECIES_CHANGED_POLICY_RELOAD;
    -
    - public WSDLEditorConfiguration getWSDLEditorConfiguration()
    - {
    - if (wsdlEditorConfiguration == null)
    - {
    - wsdlEditorConfiguration = new WSDLEditorConfiguration();
    - }
    - return wsdlEditorConfiguration;
    - }
    -
    - public ExtensionsSchemasRegistry getExtensionsSchemasRegistry() {
    - if (registry == null) {
    - registry = new ExtensionsSchemasRegistry("org.eclipse.wst.wsdl.ui.extensionCategories"); //$NON-NLS-1$
    - registry.__internalSetDeprecatedExtensionId("org.eclipse.wst.wsdl.ui.ExtensionsSchemasDescription");
    - registry.setPrefStore(WSDLEditorPlugin.getInstance().getPreferenceStore() );
    - }
    -
    - return registry;
    - }
    -
    - public static void logMessage(String message)
    - {
    - }
    -
    - /**
    - * Resources helper.
    - */
    -
    - public WSDLEditorPlugin()
    - {
    - super();
    - instance = this;
    -
    - // TODO... remove this code when we add 'dependenciesChangedPolicy'
    - // to an editor preferences page
    - try
    - {
    - // _DEBUG_UPDATE_POLICY = 0Dummy.label=
    - String string = "0Dummy.label"; //$NON-NLS-1$
    - int policy = Integer.parseInt(string);
    - if (policy >= 0 && policy <= DEPENDECIES_CHANGED_POLICY_RELOAD)
    - {
    - dependenciesChangedPolicy = policy;
    - }
    - }
    - catch (Exception e)
    - {
    - }
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
    - */
    - public void start(BundleContext context) throws Exception
    - {
    - super.start(context);
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
    - */
    - public void stop(BundleContext context) throws Exception
    - {
    - super.stop(context);
    - }
    -
    - public NSKeyedExtensionRegistry getExtensiblityElementFilterRegistry()
    - {
    - if (extensiblityElementFilterRegistry == null)
    - {
    - extensiblityElementFilterRegistry = new NSKeyedExtensionRegistry();
    - new ElementContentFilterExtensionRegistryReader(extensiblityElementFilterRegistry).readRegistry();
    - }
    - return extensiblityElementFilterRegistry;
    - }
    -
    - /**
    - * Get the Install URL
    - */
    - public static URL getInstallURL()
    - {
    - try
    - {
    - return FileLocator.resolve(instance.getBundle().getEntry("/")); //$NON-NLS-1$
    - }
    - catch (IOException e)
    - {
    - return null;
    - }
    - }
    -
    - /**
    - * Return the plugin physical directory location
    - */
    - public static IPath getPluginLocation()
    - {
    - try
    - {
    - IPath installPath = new Path(getInstallURL().toExternalForm()).removeTrailingSeparator();
    - String installStr = FileLocator.toFileURL(new URL(installPath.toString())).getFile();
    - return new Path(installStr);
    - }
    - catch (IOException e)
    - {
    - //System.out.println("WSDLEditorPlugin.getPluginLocation() exception.." + e);
    - }
    - return null;
    - }
    -
    - protected Hashtable imageDescriptorCache = new Hashtable();
    -
    - protected ImageDescriptor internalGetImageDescriptor(String key)
    - {
    - ImageDescriptor imageDescriptor = (ImageDescriptor) imageDescriptorCache.get(key);
    - if (imageDescriptor == null)
    - {
    - imageDescriptor = ImageDescriptor.createFromFile(WSDLEditorPlugin.class, key);
    - if (imageDescriptor != null)
    - {
    - imageDescriptorCache.put(key, imageDescriptor);
    - }
    - }
    - return imageDescriptor;
    - }
    -
    - /**
    - * Returns an image descriptor for the image file at the given
    - * plug-in relative path.
    - *
    - * @param path the path
    - * @return the image descriptor
    - */
    - public static ImageDescriptor getImageDescriptorFromPlugin(String path) {
    - return AbstractUIPlugin.imageDescriptorFromPlugin(PLUGIN_ID, path); //$NON-NLS-1$
    - }
    -
    - public static ImageDescriptor getImageDescriptor(String key)
    - {
    - return getInstance().internalGetImageDescriptor(key);
    - }
    -
    - public Image getImage(String iconName)
    - {
    - ImageRegistry imageRegistry = getImageRegistry();
    -
    - if (imageRegistry.get(iconName) != null)
    - {
    - return imageRegistry.get(iconName);
    - }
    - else
    - {
    - imageRegistry.put(iconName, ImageDescriptor.createFromFile(getClass(), iconName));
    - return imageRegistry.get(iconName);
    - }
    - }
    -
    - /*
    - public Image getImage(String key, boolean isGrayed)
    - {
    - Image image = null;
    - if (!isGrayed)
    - {
    - image = super.getImage(key);
    - }
    - else
    - {
    - image = (Image)grayedImageMap.get(key);
    - if (image == null)
    - {
    - Image colorImage = super.getImage(key);
    - if (colorImage != null)
    - {
    - image = new Image(Display.getCurrent(), colorImage, SWT.IMAGE_GRAY);//SWT.IMAGE_DISABLE);
    - grayedImageMap.put(key, image);
    - }
    - }
    - }
    - return image;
    - }
    - */
    -
    - /**
    - * Get the metadata directory for this plugin
    - */
    - public static String getMetaDataDirectory()
    - {
    - return getInstance().getStateLocation().toOSString();
    - }
    -
    - /**
    - * Get the singleton instance.
    - */
    - public static WSDLEditorPlugin getInstance()
    - {
    - if (instance == null)
    - {
    - new WSDLEditorPlugin();
    - }
    -
    - return instance;
    - }
    -
    - public IWorkspace getWorkspace()
    - {
    - return ResourcesPlugin.getWorkspace();
    - }
    -
    - public static Shell getShell()
    - {
    - return getInstance().getWorkbench().getActiveWorkbenchWindow().getShell();
    - }
    -
    - /* (non-Javadoc)
    - * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore)
    - */
    - protected void initializeDefaultPreferences(IPreferenceStore store)
    - {
    - store.setDefault(DEFAULT_PAGE, DESIGN_PAGE);
    -
    - // WSDLPreferencePage prefs
    - store.setDefault(Messages._UI_PREF_PAGE_DEFAULT_TARGET_NAMESPACE, DEFAULT_TARGET_NAMESPACE); //$NON-NLS-1$
    - store.setDefault(Messages._UI_PREF_PAGE_AUTO_REGENERATE_BINDING, false); //$NON-NLS-1$
    - store.setDefault(Messages._UI_PREF_PAGE_PROMPT_REGEN_BINDING_ON_SAVE, false); // TODO: Externalize //$NON-NLS-1$
    - // Do we need this preference below? Look at WSDLPreferencePage.java
    -// store.setDefault("Defualt Location:", "http://www.example.com");
    - }
    -
    - /**
    - * setDefaultPage
    - * Set the default page to open when the editor starts. Maintains the state
    - * when WSAD is shutdown and restarted.
    - * @param page
    - */
    - public void setDefaultPage(String page)
    - {
    - getPreferenceStore().setValue(DEFAULT_PAGE, page);
    - }
    -
    - public String getDefaultPage()
    - {
    - return getPreferenceStore().getString(DEFAULT_PAGE);
    - }
    -
    - public int getDependenciesChangedPolicy()
    - {
    - //return getPreferenceStore().getInt(DEPENDECIES_CHANGED_POLICY);
    - return dependenciesChangedPolicy;
    - }
    -
    -
    - private static final String PRODUCT_CUSTOMIZATION_PROVIDER_PLUGIN_ID = "org.eclipse.wst.wsdl.ui.productCustomizationProviderPluginId"; //$NON-NLS-1$
    - private static final String PRODUCT_CUSTOMIZATION_PROVIDER_CLASS_NAME = "org.eclipse.wst.wsdl.ui.productCustomizationProviderClassName"; //$NON-NLS-1$
    -
    - private static ProductCustomizationProvider productCustomizationProvider;
    - private static boolean productCustomizationProviderInitialized = false;
    -
    - public ProductCustomizationProvider getProductCustomizationProvider()
    - {
    - if (!productCustomizationProviderInitialized)
    - {
    - productCustomizationProviderInitialized = true;
    - String pluginName = getPreferenceStore().getString(PRODUCT_CUSTOMIZATION_PROVIDER_PLUGIN_ID);
    - String className = getPreferenceStore().getString(PRODUCT_CUSTOMIZATION_PROVIDER_CLASS_NAME);
    - if (pluginName != null && pluginName.length() > 0 &&
    - className != null && className.length() > 0)
    - {
    - try
    - {
    - Bundle bundle = Platform.getBundle(pluginName);
    - Class clazz = bundle.loadClass(className);
    - productCustomizationProvider = (ProductCustomizationProvider)clazz.newInstance();
    - }
    - catch (Exception e)
    - {
    - }
    - }
    - }
    - return productCustomizationProvider;
    - }
    -}
    -
    -class BaseRegistryReader
    -{
    - protected static final String PLUGIN_ID = "org.eclipse.wst.wsdl.ui"; //$NON-NLS-1$
    -
    - /**
    - * read from plugin registry and parse it.
    - */
    - public void readRegistry(String extensionPointId)
    - {
    - IExtensionRegistry extensionRegistry = Platform.getExtensionRegistry();
    - IExtensionPoint point = extensionRegistry.getExtensionPoint(PLUGIN_ID, extensionPointId);
    -
    - if (point != null)
    - {
    - IConfigurationElement[] elements = point.getConfigurationElements();
    - for (int i = 0; i < elements.length; i++)
    - {
    - readElement(elements[i]);
    - }
    - }
    - }
    -
    - protected void readElement(IConfigurationElement element)
    - {
    - }
    -}
    -
    -/**
    - *
    - */
    -abstract class NSKeyedExtensionRegistryReader extends BaseRegistryReader
    -{
    - protected static final String ATT_NAME_SPACE = "namespace"; //$NON-NLS-1$
    - protected String extensionPointId;
    - protected String tagName;
    - protected String[] attributeNames;
    - protected NSKeyedExtensionRegistry nsKeyedExtensionRegistry;
    -
    - private NSKeyedExtensionRegistryReader(String extensionPointId, String tagName, NSKeyedExtensionRegistry nsKeyedExtensionRegistry)
    - {
    - this.extensionPointId = extensionPointId;
    - this.tagName = tagName;
    - this.nsKeyedExtensionRegistry = nsKeyedExtensionRegistry;
    - }
    -
    - public NSKeyedExtensionRegistryReader(String extensionPointId, String tagName, String attributeName, NSKeyedExtensionRegistry nsKeyedExtensionRegistry)
    - {
    - this(extensionPointId, tagName, nsKeyedExtensionRegistry);
    - attributeNames = new String[1];
    - attributeNames[0] = attributeName;
    - }
    -
    - public NSKeyedExtensionRegistryReader(String extensionPointId, String tagName, String[] attributeNames, NSKeyedExtensionRegistry nsKeyedExtensionRegistry)
    - {
    - this(extensionPointId, tagName, nsKeyedExtensionRegistry);
    - this.attributeNames = attributeNames;
    - }
    - /**
    - * read from plugin registry and parse it.
    - */
    - public void readRegistry()
    - {
    - super.readRegistry(extensionPointId);
    - }
    -
    - /**
    - * readElement()
    - */
    - protected void readElement(IConfigurationElement element)
    - {
    - if (element.getName().equals(tagName))
    - {
    - String namespace = element.getAttribute(ATT_NAME_SPACE);
    - if (namespace != null)
    - {
    - Bundle bundle = Platform.getBundle(element.getDeclaringExtension().getContributor().getName());
    - if (attributeNames.length == 1)
    - {
    - String className = element.getAttribute(attributeNames[0]);
    - if (className != null)
    - {
    - nsKeyedExtensionRegistry.put(namespace, className, bundle);
    - }
    - }
    - else
    - {
    - HashMap map = new HashMap();
    - for (int i = 0; i < attributeNames.length; i++)
    - {
    - String attributeName = attributeNames[i];
    - String className = element.getAttribute(attributeName);
    - if (className != null && className.length() > 0)
    - {
    - map.put(attributeName, className);
    - }
    - }
    - nsKeyedExtensionRegistry.put(namespace, map, bundle);
    - }
    - }
    - }
    - }
    -}
    -
    -/**
    - *
    - */
    -class ElementContentFilterExtensionRegistryReader extends NSKeyedExtensionRegistryReader
    -{
    - protected static final String EXTENSION_POINT_ID = "extensibilityElementFilter"; //$NON-NLS-1$
    - protected static final String TAG_NAME = "extensibilityElementFilter"; //$NON-NLS-1$
    -
    - public ElementContentFilterExtensionRegistryReader(NSKeyedExtensionRegistry nsKeyedExtensionRegistry)
    - {
    - super(EXTENSION_POINT_ID, TAG_NAME, "class", nsKeyedExtensionRegistry); //$NON-NLS-1$
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorResourceChangeHandler.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorResourceChangeHandler.java
    deleted file mode 100644
    index efcfa5058..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorResourceChangeHandler.java
    +++ /dev/null
    @@ -1,317 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal;
    -
    -import java.util.ArrayList;
    -import java.util.HashMap;
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Map;
    -
    -import org.eclipse.core.resources.IResource;
    -import org.eclipse.core.resources.IResourceChangeEvent;
    -import org.eclipse.core.resources.IResourceChangeListener;
    -import org.eclipse.core.resources.IResourceDelta;
    -import org.eclipse.core.resources.IResourceDeltaVisitor;
    -import org.eclipse.core.resources.ResourcesPlugin;
    -import org.eclipse.core.runtime.CoreException;
    -import org.eclipse.emf.common.util.URI;
    -import org.eclipse.emf.ecore.resource.Resource;
    -import org.eclipse.emf.ecore.resource.ResourceSet;
    -import org.eclipse.jface.dialogs.MessageDialog;
    -import org.eclipse.swt.widgets.Display;
    -import org.eclipse.ui.IPartListener;
    -import org.eclipse.ui.IWorkbenchPart;
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
    -
    -
    -public class WSDLEditorResourceChangeHandler
    -{
    - protected InternalWSDLMultiPageEditor wsdlEditor;
    - protected boolean isUpdateRequired;
    - protected InternalResourceChangeListener resourceChangeListener;
    - protected InternalPartListener partListener;
    -
    - public WSDLEditorResourceChangeHandler(InternalWSDLMultiPageEditor wsdlEditor)
    - {
    - this.wsdlEditor = wsdlEditor;
    - resourceChangeListener = new InternalResourceChangeListener();
    - partListener = new InternalPartListener();
    - }
    -
    - public void attach()
    - {
    - ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener);
    - wsdlEditor.getSite().getWorkbenchWindow().getPartService().addPartListener(partListener);
    - }
    -
    - public void dispose()
    - {
    - ResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceChangeListener);
    - wsdlEditor.getSite().getWorkbenchWindow().getPartService().removePartListener(partListener);
    - }
    -
    - protected Map computeDependencyMap()
    - {
    - Map map = new HashMap();
    - IDescription description = ((InternalWSDLMultiPageEditor) wsdlEditor).getModel();
    - Definition definition = (Definition) ((W11Description) description).getTarget();
    - ResourceSet resourceSet = definition.eResource().getResourceSet();
    - for (Iterator i = resourceSet.getResources().iterator(); i.hasNext();)
    - {
    - Resource resource = (Resource)i.next();
    - if (resource != definition.eResource())
    - {
    - String uri = resource.getURI().toString();
    - if (map.get(uri) == null)
    - {
    - map.put(uri, uri);
    - }
    - }
    - }
    - return map;
    - }
    -
    - public void performReload()
    - {
    - boolean doReload = false;
    - int policy = WSDLEditorPlugin.getInstance().getDependenciesChangedPolicy();
    -
    - if (policy == WSDLEditorPlugin.DEPENDECIES_CHANGED_POLICY_PROMPT)
    - {
    - doReload = MessageDialog.openQuestion(wsdlEditor.getSite().getShell(), Messages._UI_DEPENDENCIES_CHANGED, Messages._UI_DEPENDENCIES_CHANGED_REFRESH); //$NON-NLS-1$ //$NON-NLS-2$
    - }
    - else if (policy == WSDLEditorPlugin.DEPENDECIES_CHANGED_POLICY_RELOAD)
    - {
    - doReload = true;
    - }
    -
    - if (doReload)
    - {
    - wsdlEditor.reloadDependencies();
    - }
    - }
    -
    - public boolean isListeningToResourceChanges()
    - {
    - int policy = WSDLEditorPlugin.getInstance().getDependenciesChangedPolicy();
    - return policy == WSDLEditorPlugin.DEPENDECIES_CHANGED_POLICY_PROMPT ||
    - policy == WSDLEditorPlugin.DEPENDECIES_CHANGED_POLICY_RELOAD;
    - }
    -
    -
    - class InternalResourceChangeListener implements IResourceChangeListener, IResourceDeltaVisitor
    - {
    - protected List list = new ArrayList();
    - protected boolean isPending = false;
    - protected int count = 0;
    -
    - public void resourceChanged(IResourceChangeEvent event)
    - {
    - Display display = Display.getCurrent();
    -
    - if (display != null && isListeningToResourceChanges() && !isUpdateRequired)
    - {
    - if (event.getType() == IResourceChangeEvent.POST_CHANGE)
    - {
    - IResourceDelta[] deltas = event.getDelta().getAffectedChildren();
    - for (int i = 0; i < deltas.length; i++)
    - {
    - try
    - {
    - deltas[i].accept(this);
    - }
    - catch (Exception e)
    - {
    - }
    - }
    - }
    - if (list.size() > 0)
    - {
    - if (!isPending)
    - {
    - isPending = true;
    - display.timerExec(2000, new TimerEvent());
    - }
    - }
    - }
    - }
    -
    - public boolean visit(IResourceDelta delta) throws CoreException
    - {
    - IResource resource = delta.getResource();
    - if (resource.getType() == IResource.FILE)
    - {
    - if (!list.contains(resource))
    - {
    - list.add(resource);
    - }
    - }
    - return true;
    - }
    -
    - class TimerEvent implements Runnable
    - {
    - public TimerEvent()
    - {
    - //System.out.println("NewTimerEvent(" + wsdlEditor.getDefinition().eResource().getURI() + ") " + count);
    - }
    -
    - public void run()
    - {
    -// for (Iterator i = list.iterator(); i.hasNext();)
    -// {
    -// IResource resource = (IResource)i.next();
    -// String platformPath = URI.createPlatformResourceURI(resource.getFullPath().toString()).toString();
    -// }
    -
    - Map dependencyMap = computeDependencyMap();
    -
    - for (Iterator i = list.iterator(); i.hasNext();)
    - {
    - IResource resource = (IResource)i.next();
    - String platformPath = URI.createPlatformResourceURI(resource.getFullPath().toString()).toString();
    - if (dependencyMap.get(platformPath) != null)
    - {
    - isUpdateRequired = true;
    - if (wsdlEditor.getSite().getWorkbenchWindow().getPartService().getActivePart() == wsdlEditor)
    - {
    - isUpdateRequired = false;
    - performReload();
    - }
    - }
    - }
    -
    - isPending = false;
    - list = new ArrayList();
    - }
    - }
    - }
    -
    - class InternalPartListener implements IPartListener
    - {
    - public void partActivated(IWorkbenchPart part)
    - {
    - if (part == wsdlEditor)
    - {
    - if (isUpdateRequired)
    - {
    - isUpdateRequired = false;
    - performReload();
    - }
    - }
    - }
    -
    - public void partBroughtToTop(IWorkbenchPart part)
    - {
    - }
    -
    - public void partClosed(IWorkbenchPart part)
    - {
    - }
    -
    -
    - public void partDeactivated(IWorkbenchPart part)
    - {
    - }
    -
    - public void partOpened(IWorkbenchPart part)
    - {
    - }
    - }
    -
    -
    -}
    -
    -/*
    -class DependencyVisitor
    -{
    - public void visitImport(Import theImport)
    - {
    - if (theImport.getEDefinition() != null)
    - {
    - visitDefinition(theImport.getEDefinition());
    - }
    - else if (theImport.getESchema() != null)
    - {
    - visitSchema(theImport.getESchema());
    - }
    - }
    -
    - public void visitXSDSchemaDirective(XSDSchemaDirective directive)
    - {
    - XSDSchema referencedSchema = directive.getResolvedSchema();
    - if (referencedSchema != null)
    - {
    - visitSchema(referencedSchema);
    - }
    - }
    -
    - public void visitDefinition(Definition definition)
    - {
    - if (definition != null)
    - {
    - for (Iterator i = definition.getEImports().iterator(); i.hasNext();)
    - {
    - visitImport((Import)i.next());
    - }
    - Types types = definition.getETypes();
    - if (types != null)
    - {
    -
    - for (Iterator i = types.getEExtensibilityElements().iterator(); i.hasNext();)
    - {
    - Object o = i.next();
    - if (o instanceof XSDSchemaExtensibilityElement)
    - {
    - XSDSchemaExtensibilityElement e = (XSDSchemaExtensibilityElement)o;
    - if (e.getEXSDSchema() != null)
    - {
    - visitSchema(e.getEXSDSchema());
    - }
    - }
    - }
    - }
    - }
    - }
    -
    - public void visitSchema(XSDSchema schema)
    - {
    - for (Iterator i = schema.getContents().iterator(); i.hasNext();)
    - {
    - Object o = i.next();
    - if (o instanceof XSDSchemaDirective)
    - {
    - visitXSDSchemaDirective((XSDSchemaDirective)o);
    - }
    - }
    - }
    -}
    -
    -class ReloadDependencyVisitor extends DependencyVisitor
    -{
    - public void visitImport(Import theImport)
    - {
    - ComponentHandler handler = WSDLReconciler.getReconciler(theImport);
    - Element element = WSDLUtil.getInstance().getElementForObject(theImport);
    - if (element != null && handler != null)
    - {
    - handler.reconcile(wsdlEditor.getDefinition(), theImport, element);
    - }
    - }
    -
    - public void visitXSDSchemaDirective(XSDSchemaDirective directive)
    - {
    -
    - }
    -}*/ \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLPreferencePage.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLPreferencePage.java
    deleted file mode 100644
    index c8b085a36..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLPreferencePage.java
    +++ /dev/null
    @@ -1,95 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal;
    -
    -import org.eclipse.jface.preference.BooleanFieldEditor;
    -import org.eclipse.jface.preference.FieldEditorPreferencePage;
    -import org.eclipse.jface.preference.StringFieldEditor;
    -import org.eclipse.swt.SWT;
    -import org.eclipse.swt.layout.GridData;
    -import org.eclipse.swt.layout.GridLayout;
    -import org.eclipse.swt.widgets.Composite;
    -import org.eclipse.swt.widgets.Group;
    -import org.eclipse.ui.IWorkbench;
    -import org.eclipse.ui.IWorkbenchPreferencePage;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorCSHelpIds;
    -
    -public class WSDLPreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage {
    -
    - public WSDLPreferencePage()
    - {
    - super(FieldEditorPreferencePage.FLAT);
    - setPreferenceStore(WSDLEditorPlugin.getInstance().getPreferenceStore());
    - }
    -
    - public void init(IWorkbench workbench)
    - {
    - }
    -
    - protected void createFieldEditors()
    - {
    - Composite parent = getFieldEditorParent();
    - GridLayout parentLayout = new GridLayout();
    - parentLayout.marginWidth = 0;
    - parent.setLayout(parentLayout);
    -
    -// WorkbenchHelp.setHelp(getControl(), some context id here);
    -
    - Group group = new Group(parent, SWT.NULL);
    - GridLayout layout = new GridLayout();
    - layout.marginWidth = 0;
    - layout.numColumns = 2;
    - group.setLayout(layout);
    - group.setText(Messages._UI_PREF_PAGE_CREATING_FILES); //$NON-NLS-1$
    -
    - GridData data = new GridData();
    - data.verticalAlignment = GridData.FILL;
    - data.horizontalAlignment = GridData.FILL;
    - data.grabExcessHorizontalSpace = true;
    - group.setLayoutData(data);
    -
    - Composite composite = new Composite(group, SWT.NULL);
    - GridData data1 = new GridData();
    - data1.verticalAlignment = GridData.FILL;
    - data1.horizontalAlignment = GridData.FILL;
    - data1.grabExcessHorizontalSpace = true;
    - composite.setLayoutData(data1);
    -
    - String namespaceLabel = Messages._UI_PREF_PAGE_DEFAULT_TARGET_NAMESPACE; //$NON-NLS-1$
    - StringFieldEditor targetNamespace = new StringFieldEditor(namespaceLabel, namespaceLabel, composite); // Externalize
    - GridLayout compositeLayout = (GridLayout)composite.getLayout();
    - compositeLayout.marginWidth = 5; // Default value
    - compositeLayout.numColumns = 2;
    - addField(targetNamespace);
    - targetNamespace.setFocus();
    - PlatformUI.getWorkbench().getHelpSystem().setHelp(targetNamespace.getTextControl(composite), ASDEditorCSHelpIds.WSDL_PREF_DEFAULT_TNS);
    -
    - String generateLabel = Messages._UI_PREF_PAGE_AUTO_REGENERATE_BINDING; //$NON-NLS-1$
    - BooleanFieldEditor generateBindingOnSave = new BooleanFieldEditor(generateLabel, generateLabel, parent);
    - addField(generateBindingOnSave);
    -
    - String showGenerateDialogLabel = Messages._UI_PREF_PAGE_PROMPT_REGEN_BINDING_ON_SAVE; // TODO: Externalize //$NON-NLS-1$
    - BooleanFieldEditor showGenerateDialog = new BooleanFieldEditor(showGenerateDialogLabel, showGenerateDialogLabel, parent);
    - addField(showGenerateDialog);
    -
    - /* Do we need this preference below? If so, change WSDLEditorPlugin.java and use this preference in:
    - HttpContentGenerator.java
    - SoapContentGenerator.java
    - SoapPortOptionsPage.java
    - */
    -// HttpPortOptionsPage.java StringFieldEditor location = new StringFieldEditor("Defualt Location:", "Default Location:", editorGroup1); // Externalize
    -// addField(location);
    -
    - applyDialogFont(parent);
    -
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLSelectionMapper.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLSelectionMapper.java
    deleted file mode 100644
    index 5c888d360..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLSelectionMapper.java
    +++ /dev/null
    @@ -1,39 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal;
    -
    -import java.util.ArrayList;
    -import java.util.Iterator;
    -import java.util.List;
    -
    -import org.eclipse.emf.common.notify.Adapter;
    -import org.eclipse.jface.viewers.ISelection;
    -import org.eclipse.jface.viewers.StructuredSelection;
    -
    -public class WSDLSelectionMapper implements ISelectionMapper {
    -
    - public ISelection mapSelection(ISelection selection) {
    - List list = new ArrayList();
    - if (selection instanceof StructuredSelection) {
    - StructuredSelection structuredSelection = (StructuredSelection)selection;
    - for (Iterator i = structuredSelection.iterator(); i.hasNext(); ) {
    - Object o = i.next();
    - if (o instanceof Adapter) {
    - list.add(((Adapter)o).getTarget());
    - }
    - else {
    - list.add(o);
    - }
    - }
    - }
    - return new StructuredSelection(list);
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementAction.java
    deleted file mode 100644
    index a1161c66a..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementAction.java
    +++ /dev/null
    @@ -1,330 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.actions;
    -
    -import java.util.HashMap;
    -import java.util.List;
    -
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.Path;
    -import org.eclipse.core.runtime.Preferences;
    -import org.eclipse.jface.dialogs.IDialogConstants;
    -import org.eclipse.jface.viewers.ISelectionProvider;
    -import org.eclipse.jface.viewers.StructuredSelection;
    -import org.eclipse.ui.IEditorPart;
    -import org.eclipse.wst.sse.core.internal.encoding.CommonEncodingPreferenceNames;
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.WSDLElement;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.dialogs.NewComponentDialog;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
    -import org.eclipse.wst.wsdl.util.WSDLConstants;
    -import org.eclipse.wst.xml.core.internal.XMLCorePlugin;
    -import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
    -import org.eclipse.wst.xml.core.internal.provisional.format.FormatProcessorXML;
    -import org.w3c.dom.Document;
    -import org.w3c.dom.Element;
    -import org.w3c.dom.Node;
    -
    -
    -public class AddElementAction extends BaseNodeAction {
    - protected Node parentNode;
    - protected String prefix;
    - protected String nodeName;
    - protected Element newElement;
    - protected Node relativeNode = null;
    - protected IEditorPart editorPart;
    - protected Definition definition;
    - protected Document document;
    - protected boolean computeTopLevelRefChild;
    -
    - protected boolean selectNewlyCreatedObject = true; // We should not be
    - // selecting the
    - // object in the
    - // action..... TODO
    -
    - public AddElementAction(String text, String imageDescriptorKey, Node parentNode, String nodeName) {
    - setText(text);
    - setImageDescriptor(WSDLEditorPlugin.getImageDescriptor(imageDescriptorKey));
    - this.parentNode = parentNode;
    - this.nodeName = nodeName;
    - }
    -
    - public AddElementAction(String text, String imageDescriptorKey, Node parentNode, String prefix, String localName) {
    - setText(text);
    - setImageDescriptor(WSDLEditorPlugin.getImageDescriptor(imageDescriptorKey));
    - this.parentNode = parentNode;
    - this.prefix = prefix;
    - this.nodeName = localName;
    - }
    -
    - public AddElementAction(String text, Node parentNode, String prefix, String localName) {
    - setText(text);
    - setImageDescriptor(null);
    - this.parentNode = parentNode;
    - this.prefix = prefix;
    - this.nodeName = localName;
    - }
    -
    - public AddElementAction(Node parentNode, String prefix, String localName, Node relativeNode) {
    - this.parentNode = parentNode;
    - this.prefix = prefix;
    - this.nodeName = localName;
    - this.relativeNode = relativeNode;
    - }
    -
    - public void setComputeTopLevelRefChild(boolean isEnabled) {
    - computeTopLevelRefChild = isEnabled;
    - }
    -
    - protected void setEditorPart(IEditorPart editorPart) {
    - this.editorPart = editorPart;
    - }
    -
    - protected boolean showDialog() {
    - return true;
    - }
    -
    - public void run() {
    - boolean ok = showDialog();
    - if (ok) {
    - beginRecording();
    - performAddElement();
    - endRecording();
    - }
    - }
    -
    - protected void performAddElement() {
    - if (parentNode != null) {
    - newElement = createElement(nodeName);
    - addAttributes(newElement);
    - if (relativeNode == null && computeTopLevelRefChild) {
    - relativeNode = computeTopLevelRefChild(newElement);
    - }
    -
    - if (relativeNode == null) {
    - parentNode.appendChild(newElement);
    - }
    - else {
    - parentNode.insertBefore(newElement, relativeNode);
    - }
    - // format(parentNode);
    - format(newElement);
    - // Ugly..... We should not be selecting the object in the graph
    - // view in the Action.
    - // This should be refactored out. We add this boolean check
    - // because WSDLSetTypeDialog.java
    - // uses AddImportAction.java but we should not be selecting the
    - // newly created import....
    - if (selectNewlyCreatedObject) {
    - selectObjectForNewElement();
    - }
    - }
    - }
    -
    - // Ugly..... We should not be selecting the object in the graph view in
    - // the Action.
    - // This should be refactored out. We add this boolean check because
    - // WSDLSetTypeDialog.java
    - // uses AddImportAction.java but we should not be selecting the newly
    - // created import....
    - // We should call this method before calling run()
    - public void selectObjectForNewElement(boolean select) {
    - selectNewlyCreatedObject = select;
    - }
    -
    - public Node getNode() {
    - if (parentNode != null) {
    - return parentNode;
    - }
    - else {
    - return document;
    - }
    - }
    -
    -
    - public String getUndoDescription() {
    - return Messages._UI_ACTION_ADD; //$NON-NLS-1$
    - }
    -
    -
    - protected Element createElement(String nodeName) {
    - Document document = parentNode.getOwnerDocument();
    -
    - Element element = (prefix != null && prefix.length() > 0) ? document.createElement(prefix + ":" + nodeName) : document.createElement(nodeName); //$NON-NLS-1$
    -
    - return element;
    - }
    -
    - protected void addAttributes(Element newElement) {
    - }
    -
    -
    - protected void format(Node parentNode) {
    - if (parentNode instanceof IDOMNode) {
    - // format selected node
    - FormatProcessorXML formatProcessorXML = new FormatProcessorXML();
    - formatProcessorXML.formatNode((IDOMNode) parentNode);
    -
    - }
    - }
    -
    - protected Element getDefinitionElement(Element parentElement) {
    - Element definitionElement = null;
    -
    - for (Node node = parentElement.getOwnerDocument().getFirstChild(); node != null; node = node.getNextSibling()) {
    - if (node.getNodeType() == Node.ELEMENT_NODE) {
    - Element element = (Element) node;
    - if (WSDLEditorUtil.getInstance().getWSDLType(element) == WSDLConstants.DEFINITION) {
    - definitionElement = element;
    - break;
    - }
    - }
    - }
    - return definitionElement;
    - }
    -
    - public Element getNewElement() {
    - return newElement;
    - }
    -
    - public void setDefinition(Definition definition) {
    - this.definition = definition;
    - }
    -
    - public void selectObjectForNewElement() {
    - if (editorPart == null) {
    - editorPart = WSDLEditorPlugin.getInstance().getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
    - }
    - if (editorPart != null && definition != null) {
    - Object object = WSDLEditorUtil.getInstance().findModelObjectForElement(definition, newElement);
    - if (object != null) {
    - ISelectionProvider selectionProvider = (ISelectionProvider) editorPart.getAdapter(ISelectionProvider.class);
    - if (selectionProvider != null) {
    - selectionProvider.setSelection(new StructuredSelection(object));
    - }
    - }
    - }
    - }
    -
    - public void selectObject(WSDLElement object) {
    - if (editorPart == null) {
    - editorPart = WSDLEditorPlugin.getInstance().getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
    - }
    - if (editorPart != null && definition != null) {
    - if (object != null) {
    - ISelectionProvider selectionProvider = (ISelectionProvider) editorPart.getAdapter(ISelectionProvider.class);
    - if (selectionProvider != null) {
    - selectionProvider.setSelection(new StructuredSelection(object));
    - }
    - }
    - }
    - }
    -
    - public String showDialogHelper(String title, String defaultName, List usedNames) {
    - String result = defaultName;
    - NewComponentDialog dialog = new NewComponentDialog(WSDLEditorPlugin.getShell(), title, defaultName, usedNames);
    - int rc = dialog.createAndOpen();
    - if (rc == IDialogConstants.OK_ID) {
    - result = dialog.getName();
    - }
    - else {
    - result = null;
    - }
    - return result;
    - }
    -
    - protected Node computeTopLevelRefChild(Node nodeToAdd) {
    - Node result = null;
    - int a = getPrecedence(nodeToAdd);
    -
    - for (Node node = parentNode.getFirstChild(); node != null; node = node.getNextSibling()) {
    - if (node.getNodeType() == Node.ELEMENT_NODE) {
    - int b = getPrecedence(node);
    - if (b > a) {
    - result = node;
    - break;
    - }
    - }
    - }
    - return result;
    - }
    -
    - protected void createDefinitionStub() {
    - if (document != null) {
    - // Create the Definitions element with proper namespace
    - Preferences preference = XMLCorePlugin.getDefault().getPluginPreferences();
    - String charSet = preference.getString(CommonEncodingPreferenceNames.OUTPUT_CODESET);
    - if (charSet == null || charSet.trim().equals("")) { //$NON-NLS-1$
    - charSet = "UTF-8"; //$NON-NLS-1$
    - }
    - document.appendChild(document.createProcessingInstruction("xml", "version=\"1.0\" encoding=\"" + charSet + "\"")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
    - Element root = document.createElement("wsdl:definitions"); //$NON-NLS-1$
    - document.appendChild(root);
    -
    - // Add various namespace attributes here.
    - root.setAttribute("xmlns:soap", "http://schemas.xmlsoap.org/wsdl/soap/"); //$NON-NLS-1$ //$NON-NLS-2$
    - root.setAttribute("xmlns:tns", getDefaultNamespace()); //$NON-NLS-1$
    - root.setAttribute("xmlns:wsdl", "http://schemas.xmlsoap.org/wsdl/"); //$NON-NLS-1$ //$NON-NLS-2$
    - root.setAttribute("xmlns:xsd", "http://www.w3.org/2001/XMLSchema"); //$NON-NLS-1$ //$NON-NLS-2$
    - root.setAttribute("name", getFileName()); //$NON-NLS-1$
    - root.setAttribute("targetNamespace", getDefaultNamespace()); //$NON-NLS-1$
    -
    - definition.setElement(root);
    - parentNode = root;
    - prefix = definition.getPrefix(WSDLConstants.WSDL_NAMESPACE_URI);
    - }
    - }
    -
    - private String getDefaultNamespace() {
    - String namespace = WSDLEditorPlugin.getInstance().getPreferenceStore().getString(Messages._UI_PREF_PAGE_DEFAULT_TARGET_NAMESPACE); //$NON-NLS-1$
    - if (!namespace.endsWith("/")) { //$NON-NLS-1$
    - namespace = namespace.concat("/"); //$NON-NLS-1$
    - }
    -
    - namespace += getFileName() + "/"; //$NON-NLS-1$
    -
    - return namespace;
    - }
    -
    - private String getFileName() {
    - String fileLocation = definition.getLocation();
    - IPath filePath = new Path(fileLocation);
    - return filePath.removeFileExtension().lastSegment().toString();
    - }
    -
    - protected static HashMap precedenceMap = createPrecedenceMap();
    -
    - protected static int getPrecedence(Node node) {
    - int result = 2;
    - String localName = node.getLocalName();
    - if (localName != null) {
    - Integer integer = (Integer) precedenceMap.get(localName);
    - if (integer != null) {
    - result = integer.intValue();
    - }
    - }
    - return result;
    - }
    -
    - protected static HashMap createPrecedenceMap() {
    - HashMap hashMap = new HashMap();
    - hashMap.put(WSDLConstants.DOCUMENTATION_ELEMENT_TAG, new Integer(1));
    - hashMap.put(WSDLConstants.IMPORT_ELEMENT_TAG, new Integer(3));
    - hashMap.put(WSDLConstants.TYPES_ELEMENT_TAG, new Integer(4));
    - hashMap.put(WSDLConstants.MESSAGE_ELEMENT_TAG, new Integer(5));
    - hashMap.put(WSDLConstants.PORT_TYPE_ELEMENT_TAG, new Integer(6));
    - hashMap.put(WSDLConstants.BINDING_ELEMENT_TAG, new Integer(7));
    - hashMap.put(WSDLConstants.SERVICE_ELEMENT_TAG, new Integer(8));
    - return hashMap;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementDeclarationAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementDeclarationAction.java
    deleted file mode 100644
    index 59f406761..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddElementDeclarationAction.java
    +++ /dev/null
    @@ -1,54 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.actions;
    -
    -import org.eclipse.jface.action.Action;
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
    -import org.w3c.dom.Element;
    -
    -public class AddElementDeclarationAction extends Action
    -{
    - protected Definition definition;
    - protected String namespace;
    - protected String prefix;
    -
    - public AddElementDeclarationAction(Definition definition, String namespace, String suggestedPrefix)
    - {
    - this.definition = definition;
    - this.namespace = namespace;
    - this.prefix = suggestedPrefix;
    - }
    -
    - public void run()
    - {
    - String existingPrefix = definition.getPrefix(namespace);
    - if (existingPrefix != null)
    - {
    - prefix = existingPrefix;
    - }
    - else
    - {
    - prefix = NameUtil.buildUniquePrefix(definition, prefix);
    - Element definitionElement = WSDLEditorUtil.getInstance().getElementForObject(definition);
    - if (definitionElement != null)
    - {
    - definitionElement.setAttribute("xmlns:" + prefix, namespace); //$NON-NLS-1$
    - }
    - }
    - }
    -
    - public String getPrefix()
    - {
    - return prefix;
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddImportAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddImportAction.java
    deleted file mode 100644
    index 952549207..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddImportAction.java
    +++ /dev/null
    @@ -1,78 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.actions;
    -
    -import org.eclipse.ui.IEditorPart;
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.ui.internal.InternalWSDLMultiPageEditor;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
    -import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
    -import org.w3c.dom.Element;
    -import org.w3c.dom.Node;
    -
    -public class AddImportAction extends AddElementAction
    -{
    - protected String namespace;
    - protected String location;
    - protected String elementDeclarationNamespacePrefix;
    -
    - public AddImportAction(IEditorPart part, Definition definition, Node parentNode, String prefix)
    - {
    - this(part, definition, parentNode, prefix, null, null);
    - }
    -
    - public AddImportAction(IEditorPart part, Definition definition, Node parentNode, String prefix, String namespace, String location)
    - {
    - super(Messages._UI_ACTION_ADD_IMPORT, "icons/import_obj.gif", parentNode, prefix, "import"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
    - setDefinition(definition);
    - setComputeTopLevelRefChild(true);
    - this.namespace = namespace;
    - this.location = location;
    - setEditorPart(part);
    -
    - if (part instanceof InternalWSDLMultiPageEditor) {
    - document = ((IDOMModel) ((InternalWSDLMultiPageEditor) part).getModel()).getDocument();
    - }
    - }
    -
    - protected Element createElement(String nodeName)
    - {
    - if (elementDeclarationNamespacePrefix != null && namespace != null)
    - {
    - Element definitionElement = WSDLEditorUtil.getInstance().getElementForObject(definition);
    - if (definitionElement != null)
    - {
    - definitionElement.setAttribute("xmlns:" + elementDeclarationNamespacePrefix, namespace); //$NON-NLS-1$
    - }
    - }
    - return super.createElement(nodeName);
    - }
    -
    - public void setElementDeclarationNamespacePrefix(String nsPrefix)
    - {
    - this.elementDeclarationNamespacePrefix = nsPrefix;
    - }
    -
    - protected void addAttributes(Element newElement)
    - {
    - newElement.setAttribute("namespace", namespace != null ? namespace : ""); //$NON-NLS-1$ //$NON-NLS-2$
    - newElement.setAttribute("location", location != null ? location : ""); //$NON-NLS-1$ //$NON-NLS-2$
    - }
    -
    - public void performAddElement() {
    - if (parentNode == null || (document != null && document.getChildNodes().getLength() == 0)) {
    - createDefinitionStub();
    - }
    -
    - super.performAddElement();
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddWSISchemaImportAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddWSISchemaImportAction.java
    deleted file mode 100644
    index 4502eaf48..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/AddWSISchemaImportAction.java
    +++ /dev/null
    @@ -1,202 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.actions;
    -
    -
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
    -import org.eclipse.wst.wsdl.util.WSDLConstants;
    -import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
    -import org.eclipse.wst.xml.core.internal.provisional.format.FormatProcessorXML;
    -import org.w3c.dom.Element;
    -import org.w3c.dom.Node;
    -import org.w3c.dom.NodeList;
    -
    -
    -public class AddWSISchemaImportAction extends BaseNodeAction
    -{
    - protected Definition definition;
    - protected Element definitionElement;
    - protected String namespace;
    - protected String location;
    - protected String elementDeclarationNamespacePrefix;
    -
    - public AddWSISchemaImportAction(Definition definition, String namespace, String location)
    - {
    - this.definition = definition;
    - this.namespace = namespace;
    - this.location = location;
    - definitionElement = WSDLEditorUtil.getInstance().getElementForObject(definition);
    - }
    -
    - public Node getNode()
    - {
    - return definitionElement;
    - }
    -
    - public String getUndoDescription()
    - {
    - return Messages._UI_ACTION_ADD_IMPORT; //$NON-NLS-1$
    - }
    -
    - protected Element getOrCreateTypesElement()
    - {
    - Element typesElement = null;
    - if (definition.getTypes() == null)
    - {
    - if (definitionElement != null)
    - {
    - AddElementAction addTypesAction = new AddElementAction("", "icons/xsd_obj.gif", definitionElement, definitionElement.getPrefix(), "types"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
    - addTypesAction.setComputeTopLevelRefChild(true);
    - addTypesAction.run();
    - typesElement = addTypesAction.getNewElement();
    - format(typesElement);
    - }
    - }
    - else
    - {
    - typesElement = WSDLEditorUtil.getInstance().getElementForObject(definition.getTypes());
    - }
    - return typesElement;
    - }
    -
    - protected Element getImportHolderElement(Element typesElement) {
    - Element importHolderElement = null;
    - NodeList nodeList = typesElement.getChildNodes();
    - for (int i = 0; i < nodeList.getLength(); i++)
    - {
    - Node node = nodeList.item(i);
    - if (node.getNodeType() == Node.ELEMENT_NODE)
    - {
    - Element element = (Element) node;
    - if ("schema".equals(element.getLocalName()) && element.getAttribute("targetNamespace") == null) //$NON-NLS-1$ //$NON-NLS-2$
    - {
    - importHolderElement = element;
    - break;
    - }
    - }
    - }
    -
    - return importHolderElement;
    - }
    -
    - public Element getOrCreateImportHolderElement(Element typesElement)
    - {
    - Element importHolderElement = getImportHolderElement(typesElement);
    - if (importHolderElement == null)
    - {
    - AddElementAction addImportHolderAction = new AddElementAction("", "icons/xsd_obj.gif", typesElement, "xsd", "schema") //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
    - {
    - protected void addAttributes(Element newElement)
    - {
    - newElement.setAttribute("xmlns:xsd", WSDLConstants.XSD_NAMESPACE_URI); //$NON-NLS-1$
    - }
    - };
    - addImportHolderAction.run();
    - importHolderElement = addImportHolderAction.getNewElement();
    - format(importHolderElement);
    - }
    - return importHolderElement;
    - }
    -
    - // We don't want to add the import if it's already there
    - protected boolean importNotAlreadyExists() {
    - boolean notExists = true;
    -
    - if (definition.getTypes() != null) {
    - Element typesElement = WSDLEditorUtil.getInstance().getElementForObject(definition.getTypes());
    - Element schemaElement = getImportHolderElement(typesElement);
    -
    - if (schemaElement != null) {
    - // Collect children
    - Node node = schemaElement.getFirstChild();
    - java.util.Vector schemaChildren = new java.util.Vector();
    - if (node != null) {
    - Node child = node;
    -
    - if (!(child instanceof org.eclipse.wst.xml.core.internal.document.TextImpl)) {
    - schemaChildren.addElement(child);
    - }
    -
    - while (child.getNextSibling() != null) {
    - child = child.getNextSibling();
    - if (!(child instanceof org.eclipse.wst.xml.core.internal.document.TextImpl)) {
    - schemaChildren.addElement(child);
    - }
    - }
    -
    - for (int index = 0; index < schemaChildren.size(); index++) {
    - Element schemaChild = (Element) schemaChildren.elementAt(index);
    - String schemaLocation = schemaChild.getAttribute("schemaLocation"); //$NON-NLS-1$
    - String schemaNamespace = schemaChild.getAttribute("namespace"); //$NON-NLS-1$
    -
    - if (schemaLocation != null && namespace != null &&
    - schemaLocation.equals(location) && schemaNamespace.equals(namespace)) {
    - notExists = false;
    - break;
    - }
    - }
    - }
    - }
    - }
    -
    - return notExists;
    - }
    -
    - public void run()
    - {
    - if (definitionElement != null && importNotAlreadyExists())
    - {
    - beginRecording();
    - performAddElement();
    - endRecording();
    - }
    - }
    - public void performAddElement()
    - {
    - try
    - {
    - Element typesElement = getOrCreateTypesElement();
    - Element importHolderElement = getOrCreateImportHolderElement(typesElement);
    -
    - AddElementAction addImportAction = new AddElementAction("", "icons/xsd_obj.gif", importHolderElement, importHolderElement.getPrefix(), "import") //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
    - {
    - protected void addAttributes(Element newElement)
    - {
    - newElement.setAttribute("namespace", namespace); //$NON-NLS-1$
    - newElement.setAttribute("schemaLocation", location); //$NON-NLS-1$
    - }
    - };
    - addImportAction.run();
    - Element newElement = addImportAction.getNewElement();
    - format(newElement);
    - }
    - catch (Exception e)
    - {
    - }
    - }
    -
    - public void setElementDeclarationNamespacePrefix(String nsPrefix)
    - {
    - this.elementDeclarationNamespacePrefix = nsPrefix;
    - }
    -
    - protected static void format(Node parentNode)
    - {
    - if (parentNode instanceof IDOMNode)
    - {
    - // format selected node
    - FormatProcessorXML formatProcessorXML = new FormatProcessorXML();
    - formatProcessorXML.formatNode((IDOMNode)parentNode);
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/BaseNodeAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/BaseNodeAction.java
    deleted file mode 100644
    index ced35be99..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/BaseNodeAction.java
    +++ /dev/null
    @@ -1,39 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.actions;
    -
    -import org.eclipse.jface.action.Action;
    -import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
    -import org.w3c.dom.Node;
    -
    -public abstract class BaseNodeAction extends Action
    -{
    - public abstract Node getNode();
    - public abstract String getUndoDescription();
    -
    - public void beginRecording()
    - {
    - Node node = getNode();
    - if (node instanceof IDOMNode)
    - {
    - ((IDOMNode)node).getModel().beginRecording(this, getUndoDescription());
    - }
    - }
    -
    - public void endRecording()
    - {
    - Node node = getNode();
    - if (node instanceof IDOMNode)
    - {
    - ((IDOMNode)node).getModel().endRecording(this);
    - }
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/EditNamespacesAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/EditNamespacesAction.java
    deleted file mode 100644
    index 81ebcfa45..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/EditNamespacesAction.java
    +++ /dev/null
    @@ -1,125 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.actions;
    -
    -import java.util.Hashtable;
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Map;
    -
    -import org.eclipse.core.runtime.IPath;
    -import org.eclipse.core.runtime.Path;
    -import org.eclipse.jface.action.Action;
    -import org.eclipse.jface.dialogs.IDialogConstants;
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.dialogs.EditNamespacesDialog;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
    -import org.eclipse.wst.xml.core.internal.contentmodel.util.DOMNamespaceInfoManager;
    -import org.eclipse.wst.xml.core.internal.contentmodel.util.NamespaceInfo;
    -import org.w3c.dom.Element;
    -
    -
    -public class EditNamespacesAction extends Action
    -{
    - protected Definition definition;
    -
    - public EditNamespacesAction(Definition definition)
    - {
    - setText(Messages._UI_EDIT_NAMESPACES); //$NON-NLS-1$
    - this.definition = definition;
    - }
    -
    - public void run()
    - {
    - DOMNamespaceInfoManager namespaceInfoManager = new DOMNamespaceInfoManager();
    - Element element = WSDLEditorUtil.getInstance().getElementForObject(definition);
    - if (element != null)
    - {
    - List namespaceInfoList = namespaceInfoManager.getNamespaceInfoList(element);
    -// List oldNamespaceInfoList = NamespaceInfo.cloneNamespaceInfoList(namespaceInfoList);
    -
    - // here we store a copy of the old info for each NamespaceInfo
    - // this info will be used in createPrefixMapping() to figure out how to update the document
    - // in response to these changes
    - for (Iterator i = namespaceInfoList.iterator(); i.hasNext();)
    - {
    - NamespaceInfo info = (NamespaceInfo) i.next();
    - NamespaceInfo oldCopy = new NamespaceInfo(info);
    - info.setProperty("oldCopy", oldCopy); //$NON-NLS-1$
    - }
    -
    - IPath path = new Path(definition.getDocumentBaseURI());
    - EditNamespacesDialog dialog = new EditNamespacesDialog(WSDLEditorPlugin.getShell(), path, Messages._UI_EDIT_NAMESPACES_DIALOG_TITLE, definition.getTargetNamespace(), namespaceInfoList); //$NON-NLS-1$
    - int rc = dialog.createAndOpen();
    - if (rc == IDialogConstants.OK_ID)
    - {
    - element.setAttribute("targetNamespace", dialog.getTargetNamespace()); //$NON-NLS-1$
    -
    - List newInfoList = dialog.getNamespaceInfoList();
    - namespaceInfoManager.removeNamespaceInfo(element);
    - namespaceInfoManager.addNamespaceInfo(element, newInfoList, false);
    -
    -/*
    - // see if we need to rename any prefixes
    - Map prefixMapping = createPrefixMapping(oldNamespaceInfoList, namespaceInfoList);
    - if (prefixMapping.size() > 0)
    - {
    - //manager.getModel().aboutToChangeModel();
    - ReplacePrefixAction replacePrefixAction = new ReplacePrefixAction(element, prefixMapping);
    - replacePrefixAction.run();
    - //manager.getModel().changedModel();
    - }
    -*/
    - }
    - }
    - }
    -
    - protected Map createPrefixMapping(List oldList, List newList)
    - {
    - Map map = new Hashtable();
    -
    - Hashtable oldURIToPrefixTable = new Hashtable();
    - for (Iterator i = oldList.iterator(); i.hasNext();)
    - {
    - NamespaceInfo oldInfo = (NamespaceInfo) i.next();
    - oldURIToPrefixTable.put(oldInfo.uri, oldInfo);
    - }
    -
    - for (Iterator i = newList.iterator(); i.hasNext();)
    - {
    - NamespaceInfo newInfo = (NamespaceInfo) i.next();
    - NamespaceInfo oldInfo = (NamespaceInfo) oldURIToPrefixTable.get(newInfo.uri != null ? newInfo.uri : ""); //$NON-NLS-1$
    -
    - // if oldInfo is non null ... there's a matching URI in the old set
    - // we can use its prefix to detemine out mapping
    - //
    - // if oldInfo is null ... we use the 'oldCopy' we stashed away
    - // assuming that the user changed the URI and the prefix
    - if (oldInfo == null)
    - {
    - oldInfo = (NamespaceInfo) newInfo.getProperty("oldCopy"); //$NON-NLS-1$
    - }
    -
    - if (oldInfo != null)
    - {
    - String newPrefix = newInfo.prefix != null ? newInfo.prefix : ""; //$NON-NLS-1$
    - String oldPrefix = oldInfo.prefix != null ? oldInfo.prefix : ""; //$NON-NLS-1$
    - if (!oldPrefix.equals(newPrefix))
    - {
    - map.put(oldPrefix, newPrefix);
    - }
    - }
    - }
    - return map;
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/IWSDLToolbarAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/IWSDLToolbarAction.java
    deleted file mode 100644
    index e8fb25f38..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/IWSDLToolbarAction.java
    +++ /dev/null
    @@ -1,18 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.actions;
    -
    -import org.eclipse.jface.action.IAction;
    -import org.eclipse.ui.IEditorPart;
    -
    -public interface IWSDLToolbarAction extends IAction{
    - public void setEditorPart(IEditorPart editorPart);
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/OpenInNewEditor.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/OpenInNewEditor.java
    deleted file mode 100644
    index 683e0780c..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/OpenInNewEditor.java
    +++ /dev/null
    @@ -1,64 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.actions;
    -
    -import org.eclipse.emf.ecore.EObject;
    -import org.eclipse.ui.IEditorPart;
    -import org.eclipse.ui.IWorkbenchPart;
    -import org.eclipse.ui.IWorkbenchWindow;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
    -import org.eclipse.wst.wsdl.ui.internal.util.OpenOnSelectionHelper;
    -
    -public class OpenInNewEditor extends BaseSelectionAction
    -{
    - public static final String ID = "org.eclipse.wst.wsdl.ui.OpenInNewEditor"; //$NON-NLS-1$
    -
    - public OpenInNewEditor(IWorkbenchPart part)
    - {
    - super(part);
    - setText(Messages._UI_ACTION_OPEN_IN_NEW_EDITOR); //$NON-NLS-1$
    - setId(ID);
    - setImageDescriptor(ASDEditorPlugin.getImageDescriptorFromPlugin("wsdl_file_obj.gif")); //$NON-NLS-1$
    - }
    -
    - protected boolean calculateEnabled()
    - {
    - return true;
    - }
    -
    - public void run()
    - {
    - if (getSelectedObjects().size() > 0)
    - {
    - Object o = getSelectedObjects().get(0);
    - // should make this generic and be able to get the owner from a facade object
    - if (o instanceof WSDLBaseAdapter)
    - {
    - WSDLBaseAdapter baseAdapter = (WSDLBaseAdapter)o;
    -
    - IWorkbenchWindow workbenchWindow = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
    - IEditorPart editorPart = workbenchWindow.getActivePage().getActiveEditor();
    - Object object = editorPart.getAdapter(Definition.class);
    - if (object instanceof Definition)
    - {
    - EObject eObject = (EObject)baseAdapter.getTarget();
    - OpenOnSelectionHelper openHelper = new OpenOnSelectionHelper((Definition)object);
    - openHelper.openEditor(eObject);
    - }
    - }
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/RenameAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/RenameAction.java
    deleted file mode 100644
    index befd4d9a3..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/RenameAction.java
    +++ /dev/null
    @@ -1,142 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.actions;
    -
    -import java.util.Iterator;
    -import java.util.List;
    -
    -import org.eclipse.wst.wsdl.Binding;
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.Fault;
    -import org.eclipse.wst.wsdl.Input;
    -import org.eclipse.wst.wsdl.Message;
    -import org.eclipse.wst.wsdl.Operation;
    -import org.eclipse.wst.wsdl.Output;
    -import org.eclipse.wst.wsdl.PortType;
    -import org.eclipse.wst.wsdl.WSDLElement;
    -import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
    -import org.eclipse.wst.wsdl.ui.internal.visitor.BindingRenamer;
    -import org.eclipse.wst.wsdl.ui.internal.visitor.MessageRenamer;
    -import org.eclipse.wst.wsdl.ui.internal.visitor.PortTypeRenamer;
    -import org.w3c.dom.Element;
    -import org.w3c.dom.Node;
    -
    -//import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -
    -public class RenameAction //extends BaseNodeAction implements Runnable
    -{
    - protected Object modelObject;
    - protected String newName;
    - protected Node node;
    -
    - public RenameAction(Object modelObject, String newName)
    - {
    - this.modelObject = modelObject;
    - this.newName = newName;
    - this.node = WSDLEditorUtil.getInstance().getNodeForObject(modelObject);
    - }
    -
    - /*
    - public Node getNode()
    - {
    - return node;
    - }
    - */
    -
    - /*
    - public String getUndoDescription()
    - {
    - return WSDLEditorPlugin.getWSDLString("_UI_ACTION_RENAME"); //$NON-NLS-1$
    - }
    - */
    -
    - public void run()
    - {
    - if (modelObject instanceof Operation)
    - {
    - renameOperationHelper((Operation)modelObject);
    - }
    - else if (modelObject instanceof Input ||
    - modelObject instanceof Output ||
    - modelObject instanceof Fault)
    - {
    - renameIOFHelper((WSDLElement)modelObject);
    - }
    - else
    - {
    - renameModelObjectHelper(modelObject, newName);
    - }
    - }
    -
    - protected void renameModelObjectHelper(Object modelObject, String theNewName)
    - {
    - Element element = WSDLEditorUtil.getInstance().getElementForObject(modelObject);
    - if (element != null)
    - {
    - element.setAttribute("name", theNewName); //$NON-NLS-1$
    - }
    -
    - if (modelObject instanceof Message)
    - {
    - MessageRenamer renamer = new MessageRenamer((Message)modelObject, theNewName);
    - renamer.visitBindings();
    - }
    - else if (modelObject instanceof PortType)
    - {
    - PortTypeRenamer renamer = new PortTypeRenamer((PortType)modelObject, theNewName);
    - renamer.visitBindings();
    - }
    - else if (modelObject instanceof Binding)
    - {
    - BindingRenamer renamer = new BindingRenamer((Binding)modelObject, theNewName);
    - renamer.visitServices();
    - }
    - }
    -
    - protected void renameOperationHelper(Operation operation)
    - {
    - renameModelObjectHelper(operation, newName);
    - }
    -
    -
    - protected void renameIOFHelper(WSDLElement object)
    - {
    - Definition definition = object.getEnclosingDefinition();
    - ComponentReferenceUtil util = new ComponentReferenceUtil(definition);
    -
    - List list = null;
    -
    - if (object instanceof Input)
    - {
    - list = util.getBindingInputs((Input)object);
    - }
    - else if (object instanceof Output)
    - {
    - list = util.getBindingOutputs((Output)object);
    - }
    - else // fault
    - {
    - list = util.getBindingFaults((Fault)object);
    - }
    -
    - if (list != null)
    - {
    - for (Iterator i = list.iterator(); i.hasNext(); )
    - {
    - Object bindingObject = i.next();
    - renameModelObjectHelper(bindingObject, newName);
    - }
    - }
    -
    - renameModelObjectHelper(object, newName);
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/SmartRenameAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/SmartRenameAction.java
    deleted file mode 100644
    index 33bb04465..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/actions/SmartRenameAction.java
    +++ /dev/null
    @@ -1,594 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.actions;
    -
    -import java.util.Iterator;
    -import java.util.List;
    -import java.util.Vector;
    -
    -import javax.xml.namespace.QName;
    -
    -import org.eclipse.wst.wsdl.Binding;
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.Fault;
    -import org.eclipse.wst.wsdl.Input;
    -import org.eclipse.wst.wsdl.Message;
    -import org.eclipse.wst.wsdl.MessageReference;
    -import org.eclipse.wst.wsdl.Operation;
    -import org.eclipse.wst.wsdl.Output;
    -import org.eclipse.wst.wsdl.Part;
    -import org.eclipse.wst.wsdl.Port;
    -import org.eclipse.wst.wsdl.PortType;
    -import org.eclipse.wst.wsdl.WSDLElement;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.commands.AddBaseParameterCommand;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
    -import org.eclipse.xsd.XSDElementDeclaration;
    -import org.w3c.dom.Node;
    -
    -
    -/*
    - * This class renames 'related' WSDLElements. The scenario is as follows:
    - * The user renames a WSDLElement in the editor, say a Message. This class
    - * will find the 'related' elements to this Message and rename them as well.
    - * It will only rename a 'related' element if the element name (or part of it)
    - * is generated.
    - *
    - * See NameUtil.java
    - */
    -public class SmartRenameAction extends BaseNodeAction implements Runnable {
    - protected Object element;
    - protected String newName;
    - private List messageReferences; // This variable should be accessed by method getAllMessageReferences()
    - protected Node node;
    - private boolean renameParent = true;
    - private String oldName;
    -
    - public SmartRenameAction(Object element, String newName) {
    - setText("Smart Rename Action"); // Do not translate //$NON-NLS-1$
    - this.element = element;
    - this.newName = newName;
    - this.node = WSDLEditorUtil.getInstance().getNodeForObject(element);
    - }
    -
    - public Node getNode() {
    - return node;
    - }
    -
    - public String getUndoDescription() {
    - return Messages._UI_ACTION_RENAME; //$NON-NLS-1$
    - }
    -
    - /*
    - * boolean argument is used to determine if the top level (parent) object should be renamed
    - * itself. Otherwise, only the "child" objects will be renamed.
    - */
    - public void run(boolean renameParent) {
    - this.renameParent = renameParent;
    - run();
    - }
    -
    - public void run() {
    - RenameAction renamer;
    -
    - beginRecording();
    - if (element instanceof Operation) {
    - Operation operation = (Operation) element;
    - oldName = operation.getName();
    -
    - if (oldName.equals(newName)) {
    - return;
    - }
    -
    - // Rename Operation
    - if (renameParent) {
    - renamer = new RenameAction(operation, newName);
    - renamer.run();
    - }
    -
    - // Rename Input
    - Input input = operation.getEInput();
    - /*
    - if (input != null && isInputOutputNameGenerated(oldName, input.getName())) {
    - renamer = new RenameAction(input, newName);
    - renamer.run();
    - }
    - */
    -
    - // Rename Output
    - Output output = operation.getEOutput();
    - /*
    - if (output != null && isInputOutputNameGenerated(oldName, output.getName())) {
    - renamer = new RenameAction(output, newName);
    - renamer.run();
    - }
    - */
    -
    - // Rename Messages and Parts
    - Message msg;
    -
    - // Input
    - if (input != null && input.getEMessage() != null) {
    - msg = input.getEMessage();
    - String oldMessageName = ""; //$NON-NLS-1$
    -
    - if (msg != null) {
    - oldMessageName = msg.getQName().getLocalPart();
    -
    - if (isMessageNameGenerated(oldMessageName, oldName, "Request")) { //$NON-NLS-1$
    - renameMessageHelper(msg, computeNewMessageName(msg, oldName, newName));
    -
    - if (msg.getEParts() != null)
    - renamePartsHelper(msg.getEParts(), oldMessageName, msg.getQName().getLocalPart(), true);
    - }
    - }
    - }
    -
    - // Output
    - if (output != null && output.getMessage() != null) {
    - msg = output.getEMessage();
    - String oldMessageName = ""; //$NON-NLS-1$
    -
    - if (msg != null) {
    - oldMessageName = msg.getQName().getLocalPart();
    -
    - if (isMessageNameGenerated(oldMessageName, oldName, "Response")) { //$NON-NLS-1$
    - renameMessageHelper(msg, computeNewMessageName(msg, oldName, newName));
    -
    - if (msg.getEParts() != null)
    - renamePartsHelper(msg.getEParts(), oldMessageName, msg.getQName().getLocalPart(), true);
    - }
    -
    - }
    - }
    -
    - // Faults
    - List faults = operation.getEFaults();
    - if (faults != null) {
    - Iterator it = faults.iterator();
    - while (it.hasNext()) {
    - Fault fault = (Fault) it.next();
    - msg = fault.getEMessage();
    - String oldMessageName = ""; //$NON-NLS-1$
    -
    - if (msg != null) {
    - oldMessageName = msg.getQName().getLocalPart();
    -
    - if (isMessageNameGenerated(oldMessageName, oldName, fault.getName())) {
    - renameMessageHelper(msg, computeNewMessageName(msg, oldName, newName));
    -
    - if (msg.getEParts() != null)
    - renamePartsHelper(msg.getEParts(), oldMessageName, msg.getQName().getLocalPart(), true);
    - }
    - }
    - }
    - }
    - }
    - else if (element instanceof Input) {
    - Input input = (Input) element;
    - oldName = input.getName();
    - if (oldName == null) {
    - oldName = ""; //$NON-NLS-1$
    - }
    -
    - if (oldName.equals(newName)) {
    - return;
    - }
    -
    - if (renameParent) {
    - input.setName(newName);
    - }
    -
    -// Rename Messages and Parts
    - Message msg;
    -
    - // Input
    - if (input != null && input.getEMessage() != null) {
    - msg = input.getEMessage();
    - String oldMessageName = ""; //$NON-NLS-1$
    -
    - if (msg != null) {
    - oldMessageName = msg.getQName().getLocalPart();
    -
    - if (isMessageNameGenerated(oldMessageName, oldName, "Request")) { //$NON-NLS-1$
    - renameMessageHelper(msg, computeNewMessageName(msg, oldName, newName));
    -
    - if (msg.getEParts() != null)
    - renamePartsHelper(msg.getEParts(), oldMessageName, msg.getQName().getLocalPart(), true);
    - }
    - }
    - }
    - }
    - else if (element instanceof Output) {
    - Output output = (Output) element;
    - oldName = output.getName();
    - if (oldName == null) {
    - oldName = ""; //$NON-NLS-1$
    - }
    -
    - if (oldName.equals(newName)) {
    - return;
    - }
    -
    - if (renameParent) {
    - output.setName(newName);
    - }
    -
    -// Rename Messages and Parts
    - Message msg;
    -
    - // Output
    - if (output != null && output.getMessage() != null) {
    - msg = output.getEMessage();
    - String oldMessageName = ""; //$NON-NLS-1$
    - if (msg != null) {
    - oldMessageName = msg.getQName().getLocalPart();
    - if (isMessageNameGenerated(oldMessageName, oldName, "Response")) { //$NON-NLS-1$
    - renameMessageHelper(msg, computeNewMessageName(msg, oldName, newName));
    -
    - if (msg.getEParts() != null)
    - renamePartsHelper(msg.getEParts(), oldMessageName, msg.getQName().getLocalPart(), true);
    - }
    - }
    - }
    - }
    - else if (element instanceof Fault) {
    - Fault fault = (Fault) element;
    - Message msg = fault.getEMessage();
    - String oldMessageName = ""; //$NON-NLS-1$
    - oldName = fault.getName();
    -
    - if (oldName.equals(newName)) {
    - return;
    - }
    -
    - // Rename the Fault
    - if (renameParent) {
    - renamer = new RenameAction(fault, newName);
    - renamer.run();
    - }
    -
    - // Rename the Message and Parts
    - if (msg != null) {
    - oldMessageName = msg.getQName().getLocalPart();
    -
    - Operation op = (Operation) fault.eContainer();
    - if (isMessageNameGenerated(oldMessageName, op.getName(), oldName)) {
    - renameMessageHelper(msg, computeNewMessageName(msg, oldName, newName));
    -
    - if (msg.getEParts() != null)
    - renameFaultParts(msg.getEParts(), op.getName(), oldName, newName);
    - }
    - }
    - }
    - else if (element instanceof Message) {
    - Message msg = (Message) element;
    - oldName = msg.getQName().getLocalPart();
    - String oldMessageName = msg.getQName().getLocalPart();
    -
    - if (oldName.equals(newName)) {
    - return;
    - }
    -
    - String newMessageName = computeNewMessageName(msg, oldName, newName);
    - if (renameParent) {
    - renameMessageHelper(msg, newMessageName);
    - }
    -
    - if (msg.getEParts() != null)
    - renamePartsHelper(msg.getEParts(), oldMessageName, newMessageName, true);
    -// renamePartsHelper(msg.getEParts(), oldMessageName, msg.getQName().getLocalPart(), true);
    - }
    - else if (element instanceof Part) {
    - Part part = (Part) element;
    - String oldPartName = part.getName();
    -
    - if (oldPartName.equals(newName)) {
    - return;
    - }
    -
    - if (renameParent) {
    - renamer = new RenameAction(element, newName);
    - renamer.run();
    - }
    -
    -// Rename Elements
    - renameXSDElement(part, oldPartName, newName);
    - }
    - else if (element instanceof Port) {
    - Port port = (Port) element;
    - String oldPortName = port.getName();
    -
    - if (renameParent) {
    - renamer = new RenameAction(element, newName);
    - renamer.run();
    - }
    -
    -// Rename Binding
    - Binding binding = port.getEBinding();
    - if (binding != null && binding.getQName().getLocalPart().equals(oldPortName)) {
    - renamer = new RenameAction(binding, newName);
    - renamer.run();
    - }
    - }
    - endRecording();
    - }
    -
    - // boolean isInputOutput should be set to true if the part is an Input or Output.
    - // Set false if the part is a Fault.
    - private void renamePartsHelper(List partsList, String oldSubString, String newSubString, boolean isInputOutput) {
    - RenameAction renamer;
    -
    - if (partsList != null) {
    - Iterator pIt = partsList.iterator();
    - while (pIt.hasNext()) {
    - Part part = (Part) pIt.next();
    - String oldPartName = part.getName();
    -
    - if (isPartNameGenerated(oldPartName, oldSubString)) {
    - String newPartName;
    - if (isInputOutput) {
    - newPartName = computeNewPartName(part, oldSubString, newSubString);
    - }
    - else {
    - newPartName = computeNewFaultPartName(part, oldSubString, newSubString);
    - }
    -
    - renamer = new RenameAction(part, newPartName);
    - renamer.run();
    -
    - // Rename Elements
    -// renameXSDElement(part, oldPartName, newPartName);
    - }
    -
    - // Rename Elements
    - renameXSDElement(part, oldSubString, newSubString);
    - }
    - }
    - }
    -
    - // This method is used to update the Part name when the Fault name is changed. Only
    - // change the Part name if the part name is a generated name.
    - // Compare to renamePartsHelper(). The renamePartsHelper() method is called when a Fault
    - // has NOT been renamed, rather, it is triggered by some other naming (ex. Operation
    - // renaming). It will updat Input/Output, AND Fault Parts.
    - private void renameFaultParts(List partsList, String baseName, String oldSubString, String newSubString) {
    - RenameAction renamer;
    -
    - if (partsList != null) {
    - Iterator pIt = partsList.iterator();
    - while (pIt.hasNext()) {
    - Part part = (Part) pIt.next();
    - String oldPartName = part.getName();
    -
    - if (isPartNameGenerated(oldPartName, baseName, oldSubString)) {
    - String newPartName;
    - newPartName = computeNewFaultPartName(part, oldSubString, newSubString);
    - renamer = new RenameAction(part, newPartName);
    - renamer.run();
    -
    - // Rename Elements
    - renameXSDElement(part, oldPartName, newPartName);
    - }
    - }
    - }
    - }
    -
    - private String computeNewMessageName(Message message, String oldSubString, String newSubString) {
    - String string = message.getQName().getLocalPart();
    - return replaceSectionWithSubString(string, oldSubString, newSubString, 0);
    - }
    -
    -// private String computeNewFaultMessageName(Message message, String oldSubString, String newSubString) {
    -// String string = message.getQName().getLocalPart();
    -// return replaceSectionWithSubString(string, oldSubString, newSubString, 1);
    -// }
    -
    - // Method for Input, Output, and Fault Parts
    - // See computeNewFaultPartName() for comparison
    - private String computeNewPartName(Part part, String oldSubString, String newSubString) {
    - String string = part.getName();
    - return replaceSectionWithSubString(string, oldSubString, newSubString, 0);
    - }
    -
    - // Method for Fault Parts
    - // This method behaves in the exact same way as computeNewPartName() except it starts searching for a match
    - // after the first character. This method is intended for users who wish to rename a generated (Fault) part
    - // where the Fault name has changed. We start our search after the first character because the generated name
    - // of the part is built by appending the Fault name after the Operation name.
    - private String computeNewFaultPartName(Part part, String oldSubString, String newSubString) {
    - String string = part.getName();
    - return replaceSectionWithSubString(string, oldSubString, newSubString, 1);
    - }
    -
    - private String replaceSectionWithSubString(String fullString, String oldSubString, String newSubString, int startSearchIndex) {
    - StringBuffer fullSB = new StringBuffer(fullString);
    - int index = fullSB.indexOf(oldSubString, startSearchIndex);
    - if (index >= 0) {
    - return fullSB.replace(index, index + oldSubString.length(), newSubString).toString();
    - }
    -
    - return ""; //$NON-NLS-1$
    - }
    -
    - ////////////////////////////////////////////////////////////////////////////////////////
    -
    - private static boolean commonNameGeneratorCheck(String targetName, String baseName, String appendName) {
    - // First criteria is targetName must start with the baseName
    - if (!targetName.startsWith(baseName))
    - return false;
    -
    - if (appendName.trim().length() > 0) {
    - // Second criteria. The appended name must be in the targetName and begin right
    - // after the baseName location
    - if (!targetName.startsWith(appendName, baseName.length()))
    - return false;
    - }
    -
    - // Third criteria (if necessary). If baseName + appendName is shorter than targetName,
    - // then there must be 'extra' characters at the end of targetName. These characters must
    - // make up an integer. If not, it is not a generated string.
    - int subLength = baseName.length() + appendName.length();
    - if (targetName.length() > subLength) {
    - // We have 'extra' characters
    - String extras = targetName.substring(subLength);
    -
    - if(!isDigit(extras))
    - return false;
    - }
    -
    - return true;
    - }
    -
    - public static boolean isOperationNameGenerated(String opName, String name) {
    - return opName.equals(name);
    - }
    -
    - public static boolean isMessageNameGenerated(String msgName, String baseName, String appendName) {
    - return commonNameGeneratorCheck(msgName, baseName, appendName);
    - }
    -
    - public static boolean isInputOutputNameGenerated(String inOutName, String name) {
    - return inOutName.equals(name);
    - }
    -
    - public static boolean isFaultNameGenerated(String faultName, String name) {
    - return faultName.equals(name);
    - }
    -
    - public static boolean isPartNameGenerated(String partName, String baseName) {
    - return commonNameGeneratorCheck(partName, baseName, ""); //$NON-NLS-1$
    - }
    -
    - private boolean isPartNameGenerated(String partName, String baseName, String appendName) {
    - return commonNameGeneratorCheck(partName, baseName, appendName);
    - }
    -
    - private static boolean isDigit(String string) {
    - boolean rValue = true;
    - char[] chars = string.toCharArray();
    -
    - for (int index = 0; index < chars.length; index++) {
    - if (!Character.isDigit(chars[index])) {
    - rValue = false;
    - break;
    - }
    - }
    -
    - return rValue;
    - }
    -
    - /*
    - * The following classes aid in renaming a message
    - */
    - private void renameMessageHelper(Message msg, String newName) {
    - List messageRefs = getReferencingMessageReferences(msg, getAllMessageReferences());
    -
    - RenameAction renamer = new RenameAction(msg, newName);
    - renamer.run();
    -
    - Iterator iterator = messageRefs.iterator();
    - while (iterator.hasNext()) {
    - MessageReference messageReference = (MessageReference) iterator.next();
    - messageReference.setEMessage(msg);
    - }
    - }
    -
    - private List getReferencingMessageReferences(Message msg, List messageRefs) {
    - Vector referencesVector = new Vector();
    - QName messageQName = msg.getQName();
    - Iterator iterator = messageRefs.iterator();
    -
    - while (iterator.hasNext()) {
    - MessageReference messageReference = (MessageReference) iterator.next();
    - if (messageReference.getEMessage() != null && messageQName.equals(messageReference.getEMessage().getQName())) {
    - referencesVector.addElement(messageReference);
    - }
    - }
    -
    - return referencesVector;
    - }
    -
    - private List getAllMessageReferences() {
    - if (messageReferences == null) {
    - messageReferences = new Vector();
    - Definition definition = ((WSDLElement) element).getEnclosingDefinition();
    - List portTypes = definition.getEPortTypes();
    -
    - if (portTypes != null) {
    - Iterator portTypeIterator = portTypes.iterator();
    - while (portTypeIterator.hasNext()) {
    - List operationsList = ((PortType) portTypeIterator.next()).getEOperations();
    -
    - if (operationsList != null) {
    - Iterator operationsIterator = operationsList.iterator();
    - while (operationsIterator.hasNext()) {
    - messageReferences.addAll(getAllMessageReferences((Operation) operationsIterator.next()));
    - }
    - }
    - }
    - }
    - }
    -
    - return messageReferences;
    - }
    -
    - private Vector getAllMessageReferences(Operation operation) {
    - Vector iofs = new Vector();
    - Iterator it = operation.getEFaults().iterator();
    - while (it.hasNext()) {
    - iofs.addElement(it.next());
    - }
    -
    - if (iofs == null)
    - iofs = new Vector();
    -
    - if (operation.getEInput() != null)
    - iofs.addElement(operation.getEInput());
    -
    - if (operation.getEOutput() != null)
    - iofs.addElement(operation.getEOutput());
    -
    - return iofs;
    - }
    -
    - private void renameXSDElement(Part part, String oldXSDName, String newXSDName) {
    - XSDElementDeclaration elementDeclaration = part.getElementDeclaration();
    - if (elementDeclaration != null && elementDeclaration.getName().startsWith(oldXSDName)) {
    - renameElementDeclarationHelper(elementDeclaration, oldXSDName, newXSDName);
    -
    - // Here we rename the element reference.
    - //
    - QName qname = new QName(part.getElementName().getNamespaceURI(), newXSDName);
    - part.setElementName(qname);
    - }
    - else if (elementDeclaration != null && element instanceof Operation) {
    - Operation operation = (Operation) element;
    - if (AddBaseParameterCommand.getParameterPattern(operation, true) == AddBaseParameterCommand.PART_ELEMENT_SEQ_ELEMENT) {
    - if (elementDeclaration.getName().equals(oldName)) {
    - renameElementDeclarationHelper(elementDeclaration, oldName, newName);
    -
    - // Here we rename the element reference.
    - //
    - QName qname = new QName(part.getElementName().getNamespaceURI(), newName);
    - part.setElementName(qname);
    - }
    - }
    - }
    - }
    -
    - private void renameElementDeclarationHelper(XSDElementDeclaration elementDeclaration, String oldXSDName, String newXSDName) {
    - if (elementDeclaration != null && elementDeclaration.getName().startsWith(oldXSDName)) {
    - String newElementName = replaceSectionWithSubString(elementDeclaration.getName(), oldXSDName, newXSDName, 0);
    - elementDeclaration.setName(newElementName);
    - }
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLAdapterFactory.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLAdapterFactory.java
    deleted file mode 100644
    index 74a8b7772..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLAdapterFactory.java
    +++ /dev/null
    @@ -1,173 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters;
    -
    -import org.eclipse.emf.common.notify.Adapter;
    -import org.eclipse.emf.common.notify.Notifier;
    -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
    -import org.eclipse.wst.wsdl.Binding;
    -import org.eclipse.wst.wsdl.BindingFault;
    -import org.eclipse.wst.wsdl.BindingInput;
    -import org.eclipse.wst.wsdl.BindingOperation;
    -import org.eclipse.wst.wsdl.BindingOutput;
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.ExtensibilityElement;
    -import org.eclipse.wst.wsdl.Fault;
    -import org.eclipse.wst.wsdl.Import;
    -import org.eclipse.wst.wsdl.Input;
    -import org.eclipse.wst.wsdl.Message;
    -import org.eclipse.wst.wsdl.MessageReference;
    -import org.eclipse.wst.wsdl.Operation;
    -import org.eclipse.wst.wsdl.Output;
    -import org.eclipse.wst.wsdl.Part;
    -import org.eclipse.wst.wsdl.Port;
    -import org.eclipse.wst.wsdl.PortType;
    -import org.eclipse.wst.wsdl.Service;
    -import org.eclipse.wst.wsdl.binding.http.HTTPAddress;
    -import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Binding;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11BindingMessageReference;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11BindingOperation;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11EndPoint;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Import;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Interface;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Message;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11MessageReference;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Operation;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11ParameterForAttribute;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11ParameterForElement;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11ParameterForPart;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Service;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Type;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.specialized.W11AddressExtensibilityElementAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.specialized.W11ExtensibilityElementAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
    -import org.eclipse.xsd.XSDAttributeUse;
    -import org.eclipse.xsd.XSDConcreteComponent;
    -import org.eclipse.xsd.XSDElementDeclaration;
    -import org.eclipse.xsd.XSDSchema;
    -
    -public class WSDLAdapterFactory extends AdapterFactoryImpl
    -{
    - static WSDLAdapterFactory instance;
    -
    - public static WSDLAdapterFactory getInstance()
    - {
    - if (instance == null)
    - {
    - instance = new WSDLAdapterFactory();
    - }
    - return instance;
    - }
    -
    - public Adapter createAdapter(Notifier target)
    - {
    - Adapter adapter = null;
    -
    - if (target instanceof Definition) {
    - adapter = new W11Description();
    - }
    - else if (target instanceof Service) {
    - adapter = new W11Service();
    - }
    - else if (target instanceof Binding) {
    - adapter = new W11Binding();
    - }
    - else if (target instanceof BindingOperation) {
    - adapter = new W11BindingOperation();
    - }
    - else if (target instanceof BindingInput ||
    - target instanceof BindingOutput ||
    - target instanceof BindingFault)
    - {
    - adapter = new W11BindingMessageReference();
    - }
    - else if (target instanceof Port) {
    - adapter = new W11EndPoint();
    - }
    - else if (target instanceof PortType) {
    - adapter = new W11Interface();
    - }
    - else if (target instanceof Operation) {
    - adapter = new W11Operation();
    - }
    - else if (target instanceof MessageReference)
    - {
    - int kind = -1;
    - if (target instanceof Input)
    - {
    - kind = IMessageReference.KIND_INPUT;
    - }
    - else if (target instanceof Output)
    - {
    - kind = IMessageReference.KIND_OUTPUT;
    - }
    - else if (target instanceof Fault)
    - {
    - kind = IMessageReference.KIND_FAULT;
    - }
    - adapter = new W11MessageReference(kind);
    - }
    - else if (target instanceof Import) {
    - adapter = new W11Import();
    - }
    - else if (target instanceof XSDSchema) {
    - adapter = new W11Type();
    - }
    - else if (target instanceof Message) {
    - adapter = new W11Message();
    - }
    - else if (target instanceof Part)
    - {
    - adapter = new W11ParameterForPart();
    - }
    - else if (target instanceof XSDElementDeclaration)
    - {
    - adapter = new W11ParameterForElement();
    - }
    - else if (target instanceof XSDAttributeUse)
    - {
    - adapter = new W11ParameterForAttribute();
    - }
    - else if (target instanceof Message ||
    - target instanceof XSDConcreteComponent)
    - {
    - // not we only need this adapter to serve as an 'otherThingsToListenTo' adapter
    - // for use by the W11MessageReference when computing a parameter list
    - adapter = new WSDLBaseAdapter();
    - }
    - else if (target instanceof SOAPAddress ||
    - target instanceof HTTPAddress)
    - {
    - // TODO.. we need to enable the factory to delegate to extension language adapter factories
    - // there should be no references to SOAP or HTTP stuff from within this class
    - //
    - adapter = new W11AddressExtensibilityElementAdapter();
    - }
    - else if (target instanceof ExtensibilityElement)
    - {
    - adapter = new W11ExtensibilityElementAdapter();
    - }
    - if (adapter == null)
    - {
    - System.out.println("NO ADAPTER CREATED FOR " + target); //$NON-NLS-1$
    - Thread.dumpStack();
    - }
    -
    - return adapter;
    - }
    -
    - public Adapter adapt(Notifier target)
    - {
    - return adapt(target, this);
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLBaseAdapter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLBaseAdapter.java
    deleted file mode 100644
    index 89461cb73..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/WSDLBaseAdapter.java
    +++ /dev/null
    @@ -1,182 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters;
    -
    -import java.util.ArrayList;
    -import java.util.Iterator;
    -import java.util.List;
    -
    -import org.eclipse.emf.common.notify.Adapter;
    -import org.eclipse.emf.common.notify.Notification;
    -import org.eclipse.emf.common.notify.Notifier;
    -import org.eclipse.emf.common.notify.impl.AdapterImpl;
    -import org.eclipse.gef.commands.Command;
    -import org.eclipse.ui.IEditorPart;
    -import org.eclipse.ui.IWorkbenchPage;
    -import org.eclipse.ui.IWorkbenchWindow;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.WSDLElement;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11RenameCommand;
    -import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.IActionProvider;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObjectListener;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLAdapterFactoryHelper;
    -import org.eclipse.wst.xml.core.internal.document.ElementImpl;
    -import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
    -import org.eclipse.xsd.XSDConcreteComponent;
    -import org.w3c.dom.Element;
    -
    -public class WSDLBaseAdapter extends AdapterImpl implements IASDObject, IActionProvider {
    - protected List listenerList = new ArrayList();
    - protected WSDLBaseAdapter owner;
    -
    - public void registerListener(IASDObjectListener listener) {
    - if (!listenerList.contains(listener))
    - {
    - listenerList.add(listener);
    - }
    - }
    -
    - public void unregisterListener(IASDObjectListener listener) {
    - listenerList.remove(listener);
    - }
    -
    - public void populateAdapterList(List notifierList, List adapterList) {
    - for (Iterator i = notifierList.iterator(); i.hasNext();) {
    - Object o = i.next();
    - if (o instanceof Notifier)
    - {
    - Notifier component = (Notifier)o;
    - Adapter adapter = WSDLAdapterFactoryHelper.getInstance().adapt(component);
    - adapterList.add(adapter);
    -
    - if (adapter instanceof WSDLBaseAdapter) {
    - ((WSDLBaseAdapter) adapter).setOwner(this);
    - }
    - }
    - else
    - {
    - System.out.println("populateAdapterListError" + o); //$NON-NLS-1$
    - }
    - }
    - }
    -
    - public Adapter createAdapter(Notifier notifier) {
    - Adapter adapter = WSDLAdapterFactoryHelper.getInstance().adapt(notifier);
    -
    - if (adapter instanceof WSDLBaseAdapter && ((WSDLBaseAdapter) adapter).owner == null) {
    - ((WSDLBaseAdapter) adapter).setOwner(this);
    - }
    -
    - return adapter;
    - }
    -
    - public String getName() {
    - return null;
    - }
    -
    - public void setOwner(WSDLBaseAdapter owner) {
    - this.owner = owner;
    - }
    -
    - public boolean isAdapterForType(Object type) {
    - return type == WSDLAdapterFactoryHelper.getInstance().getWSDLAdapterFactory();
    - }
    -
    - public String[] getActions(Object object) {
    - String[] actionIDs = new String[0];
    -
    - return actionIDs;
    - }
    -
    - public void notifyChanged(Notification msg)
    - {
    - super.notifyChanged(msg);
    - try
    - {
    - notifyListeners(this, null);
    - }
    - catch (Exception e)
    - {
    - // TODO... exception should never happen here.. but they do
    - // dumping the stack to the console until we track these down
    - e.printStackTrace();
    - }
    - }
    -
    - protected void notifyListeners(Object changedObject, String property)
    - {
    - List clonedListenerList = new ArrayList();
    - clonedListenerList.addAll(listenerList);
    - for (Iterator i = clonedListenerList.iterator(); i.hasNext(); )
    - {
    - IASDObjectListener listener = (IASDObjectListener)i.next();
    - listener.propertyChanged(this, property);
    - }
    - }
    -
    - public Command getSetNameCommand(String newName) {
    - return new W11RenameCommand(this, newName);
    - }
    -
    - public boolean isReadOnly() {
    - Definition definition = null;
    - try {
    - IEditorPart editorPart = null;
    - IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
    - if (window != null) {
    - IWorkbenchPage page = window.getActivePage();
    - if (page != null) {
    - editorPart = page.getActiveEditor();
    - }
    - }
    - if (target instanceof WSDLElement) {
    - definition = ((WSDLElement) target).getEnclosingDefinition();
    - }
    - if (editorPart == null) {
    - return fallBackCheckIsReadOnly();
    - }
    -
    - Definition editorDefinition = (Definition) editorPart.getAdapter(Definition.class);
    - if (definition != null && definition == editorDefinition) {
    - return false;
    - }
    - else {
    - return fallBackCheckIsReadOnly();
    - }
    - }
    - catch(Exception e) {
    -
    - }
    -
    - return true;
    - }
    -
    - private boolean fallBackCheckIsReadOnly() {
    - Element element = null;
    - if (target instanceof WSDLElement) {
    - element = ((WSDLElement) target).getElement();
    - }
    - else if (target instanceof XSDConcreteComponent) {
    - element = ((XSDConcreteComponent) target).getElement();
    - }
    -
    - if (element instanceof IDOMNode || element instanceof ElementImpl) {
    - return false;
    - }
    - return true;
    - }
    -
    - public Object getOwner() {
    - return owner;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11AddPartAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11AddPartAction.java
    deleted file mode 100644
    index b53a24895..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11AddPartAction.java
    +++ /dev/null
    @@ -1,109 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
    -
    -import org.eclipse.gef.EditPart;
    -import org.eclipse.gef.commands.Command;
    -import org.eclipse.gef.commands.CommandStack;
    -import org.eclipse.ui.IWorkbenchPart;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.Message;
    -import org.eclipse.wst.wsdl.MessageReference;
    -import org.eclipse.wst.wsdl.Part;
    -import org.eclipse.wst.wsdl.ui.internal.InternalWSDLMultiPageEditor;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Description;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11MessageReference;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11ParameterForPart;
    -import org.eclipse.wst.wsdl.ui.internal.asd.ASDEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.IASDAddCommand;
    -import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.ParameterEditPart;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessage;
    -import org.eclipse.wst.wsdl.ui.internal.commands.AddMessageCommand;
    -import org.eclipse.wst.wsdl.ui.internal.util.NameUtil;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLAdapterFactoryHelper;
    -
    -public class W11AddPartAction extends BaseSelectionAction {
    - public static String ID = "ASDAddPartAction"; //$NON-NLS-1$
    -
    - public W11AddPartAction(IWorkbenchPart part) {
    - super(part);
    - setId(ID);
    - setText(Messages._UI_ACTION_ADD_PART); //$NON-NLS-1$
    - setImageDescriptor(WSDLEditorPlugin.getImageDescriptor("icons/part_obj.gif")); //$NON-NLS-1$
    - }
    -
    - public void run() {
    - if (getSelectedObjects().size() > 0) {
    - Object o = getSelectedObjects().get(0);
    - MessageReference messageRef = null;
    - IMessage iMessage = null;
    - Message message = null;
    -
    - if (o instanceof W11MessageReference) {
    - messageRef = (MessageReference) ((W11MessageReference) o).getTarget();
    - message = messageRef.getEMessage();
    - }
    - else if (o instanceof W11ParameterForPart) {
    - W11ParameterForPart param = (W11ParameterForPart) o;
    - if (param.getOwner() instanceof IMessage) {
    - iMessage = (IMessage) param.getOwner();
    - }
    - else if (param.getOwner() instanceof W11MessageReference) {
    - messageRef = (MessageReference) ((W11MessageReference) param.getOwner()).getTarget();
    - message = messageRef.getEMessage();
    - }
    -
    - if (message == null) {
    - Part part = (Part) param.getTarget();
    - message = (Message) part.eContainer();
    - }
    - }
    - else if (o instanceof IMessage) {
    - iMessage = (IMessage) o;
    - }
    -
    - if (message == null && iMessage == null && messageRef != null) {
    - InternalWSDLMultiPageEditor editor = (InternalWSDLMultiPageEditor) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
    - Definition definition = (Definition) ((W11Description) editor.getModel()).getTarget();
    - String messageName = NameUtil.buildUniqueMessageName(definition, "NewMessage"); //$NON-NLS-1$
    - AddMessageCommand command = new AddMessageCommand(definition, messageName, false);
    - command.run();
    - message = (Message) command.getWSDLElement();
    - messageRef.setEMessage(message);
    - }
    -
    - if (message != null) {
    - iMessage = (IMessage) WSDLAdapterFactoryHelper.getInstance().adapt(message);
    - }
    -
    - if (iMessage != null) {
    - Command command = iMessage.getAddPartCommand();
    - CommandStack stack = (CommandStack) ASDEditorPlugin.getActiveEditor().getAdapter(CommandStack.class);
    - stack.execute(command);
    -
    - if (command instanceof IASDAddCommand) {
    - Object element = ((IASDAddCommand) command).getNewlyAddedComponent();
    - selectAndDirectEdit(element);
    - }
    - }
    - }
    - }
    -
    - protected void doDirectEdit(EditPart ep) {
    - if (ep instanceof ParameterEditPart) {
    - ((ParameterEditPart) ep).performDirectEdit(null);
    - }
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11OpenImportAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11OpenImportAction.java
    deleted file mode 100644
    index 7f428bb4c..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11OpenImportAction.java
    +++ /dev/null
    @@ -1,60 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
    -
    -import org.eclipse.ui.IWorkbenchPart;
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.Import;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.basic.W11Import;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
    -
    -public class W11OpenImportAction extends BaseSelectionAction {
    - public static String ID = "ASDOpenImportAction"; //$NON-NLS-1$
    -
    - public W11OpenImportAction(IWorkbenchPart part) {
    - super(part);
    - setId(ID);
    - setText(Messages._UI_ACTION_OPEN_IMPORT); //$NON-NLS-1$
    - }
    -
    - public void run() {
    - if (getSelectedObjects().size() > 0 && getSelectedObjects().get(0) instanceof W11Import) {
    - Import theImport = getWSDLImport((W11Import) getSelectedObjects().get(0));
    -
    - Definition definition = theImport.getEnclosingDefinition();
    - org.eclipse.wst.wsdl.ui.internal.util.OpenOnSelectionHelper helper = new org.eclipse.wst.wsdl.ui.internal.util.OpenOnSelectionHelper(definition);
    - helper.openEditor((org.eclipse.emf.ecore.EObject) theImport);
    - }
    - }
    -
    - protected boolean calculateEnabled() {
    - boolean enabled = super.calculateEnabled();
    - if (enabled) {
    - if (getSelectedObjects().size() > 0 && getSelectedObjects().get(0) instanceof W11Import) {
    - Import theImport = getWSDLImport((W11Import) getSelectedObjects().get(0));
    -
    - if (theImport != null) {
    - String location = theImport.getLocationURI();
    -
    - if (location == null || location.trim().equals(""))
    - enabled = false;
    - }
    - }
    - }
    -
    - return enabled;
    - }
    -
    - private Import getWSDLImport(W11Import w11Import) {
    - return (Import) ((W11Import) w11Import).getTarget();
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingElementAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingElementAction.java
    deleted file mode 100644
    index df68ffc19..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingElementAction.java
    +++ /dev/null
    @@ -1,56 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
    -
    -import org.eclipse.jface.window.Window;
    -import org.eclipse.ui.IWorkbenchPart;
    -import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
    -import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
    -import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
    -import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
    -
    -public class W11SetExistingElementAction extends BaseSelectionAction {
    - public static String ID = "ASDSetExistingElementAction"; //$NON-NLS-1$
    - protected WSDLBaseAdapter wsdlBaseAdapter;
    -
    - public W11SetExistingElementAction(IWorkbenchPart part) {
    - super(part);
    - setId(ID);
    - setText(Messages._UI_ACTION_EXISTING_ELEMENT); //$NON-NLS-1$
    -// setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/message_obj.gif"));
    - }
    -
    - public void run() {
    - if (wsdlBaseAdapter == null) {
    - if (getSelectedObjects().size() > 0) {
    - Object o = getSelectedObjects().get(0);
    - if (o instanceof IParameter && o instanceof WSDLBaseAdapter) {
    - wsdlBaseAdapter = (WSDLBaseAdapter) o;
    - }
    - }
    - }
    -
    - ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getXSDElementReferenceEditManager(wsdlBaseAdapter);
    - if (wsdlBaseAdapter != null && refManager != null) {
    - IComponentDialog dialog = refManager.getBrowseDialog();
    - if (dialog.createAndOpen() == Window.OK) {
    - ComponentSpecification spec = dialog.getSelectedComponent();
    - refManager.modifyComponentReference(wsdlBaseAdapter.getTarget(), spec);
    - }
    - }
    -
    - wsdlBaseAdapter = null;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingMessageAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingMessageAction.java
    deleted file mode 100644
    index 0f765d6d8..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingMessageAction.java
    +++ /dev/null
    @@ -1,56 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
    -
    -import org.eclipse.jface.window.Window;
    -import org.eclipse.ui.IWorkbenchPart;
    -import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
    -import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
    -import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
    -import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
    -
    -public class W11SetExistingMessageAction extends BaseSelectionAction {
    - public static String ID = "ASDSetMessageInterfaceAction"; //$NON-NLS-1$
    - protected IMessageReference messageReference;
    -
    -
    - public W11SetExistingMessageAction(IWorkbenchPart part) {
    - super(part);
    - setId(ID);
    - setText(Messages._UI_ACTION_EXISTING_MESSAGE); //$NON-NLS-1$
    -// setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/message_obj.gif"));
    - }
    -
    - public void run() {
    - if (messageReference == null) {
    - if (getSelectedObjects().size() > 0) {
    - Object o = getSelectedObjects().get(0);
    - if (o instanceof IMessageReference) {
    - messageReference = (IMessageReference) o;
    - }
    - }
    - }
    -
    - ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getMessageReferenceEditManager(messageReference);
    - if (messageReference != null && refManager != null) {
    - IComponentDialog dialog = refManager.getBrowseDialog();
    - if (dialog.createAndOpen() == Window.OK) {
    - ComponentSpecification spec = dialog.getSelectedComponent();
    - refManager.modifyComponentReference(messageReference, spec);
    - }
    - }
    -
    - messageReference = null;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingTypeAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingTypeAction.java
    deleted file mode 100644
    index 8e82b481e..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetExistingTypeAction.java
    +++ /dev/null
    @@ -1,56 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
    -
    -import org.eclipse.jface.window.Window;
    -import org.eclipse.ui.IWorkbenchPart;
    -import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
    -import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
    -import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
    -import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
    -
    -public class W11SetExistingTypeAction extends BaseSelectionAction {
    - public static String ID = "ASDSetExistingTypeAction"; //$NON-NLS-1$
    - protected WSDLBaseAdapter wsdlBaseAdapter;
    -
    - public W11SetExistingTypeAction(IWorkbenchPart part) {
    - super(part);
    - setId(ID);
    - setText(Messages._UI_ACTION_EXISTING_TYPE); //$NON-NLS-1$
    -// setImageDescriptor(ASDEditorPlugin.getImageDescriptor("icons/message_obj.gif"));
    - }
    -
    - public void run() {
    - if (wsdlBaseAdapter == null) {
    - if (getSelectedObjects().size() > 0) {
    - Object o = getSelectedObjects().get(0);
    - if (o instanceof IParameter && o instanceof WSDLBaseAdapter) {
    - wsdlBaseAdapter = (WSDLBaseAdapter) o;
    - }
    - }
    - }
    -
    - ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getXSDTypeReferenceEditManager(wsdlBaseAdapter);
    - if (wsdlBaseAdapter != null && refManager != null) {
    - IComponentDialog dialog = refManager.getBrowseDialog();
    - if (dialog.createAndOpen() == Window.OK) {
    - ComponentSpecification spec = dialog.getSelectedComponent();
    - refManager.modifyComponentReference(wsdlBaseAdapter.getTarget(), spec);
    - }
    - }
    -
    - wsdlBaseAdapter = null;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewElementAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewElementAction.java
    deleted file mode 100644
    index 7882da417..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewElementAction.java
    +++ /dev/null
    @@ -1,56 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
    -
    -import org.eclipse.jface.window.Window;
    -import org.eclipse.ui.IWorkbenchPart;
    -import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
    -import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
    -import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
    -import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
    -
    -public class W11SetNewElementAction extends BaseSelectionAction {
    - public static String ID = "ASDSetNewElementAction"; //$NON-NLS-1$
    - protected WSDLBaseAdapter wsdlBaseAdapter;
    -
    - public W11SetNewElementAction(IWorkbenchPart part) {
    - super(part);
    - setId(ID);
    - setText(Messages._UI_ACTION_NEW_ELEMENT); //$NON-NLS-1$
    -// setImageDescriptor(WSDLEditorPlugin.getImageDescriptor("icons/service_obj.gif"));
    - }
    -
    - public void run() {
    - if (wsdlBaseAdapter == null) {
    - if (getSelectedObjects().size() > 0) {
    - Object o = getSelectedObjects().get(0);
    - if (o instanceof IParameter && o instanceof WSDLBaseAdapter) {
    - wsdlBaseAdapter = (WSDLBaseAdapter) o;
    - }
    - }
    - }
    -
    - ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getXSDElementReferenceEditManager(wsdlBaseAdapter);
    - if (wsdlBaseAdapter != null && refManager != null) {
    - IComponentDialog dialog = refManager.getNewDialog();
    - if (dialog.createAndOpen() == Window.OK) {
    - ComponentSpecification spec = dialog.getSelectedComponent();
    - refManager.modifyComponentReference(wsdlBaseAdapter, spec);
    - }
    - }
    -
    - wsdlBaseAdapter = null;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewMessageAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewMessageAction.java
    deleted file mode 100644
    index 2ef914f24..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewMessageAction.java
    +++ /dev/null
    @@ -1,59 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
    -
    -import org.eclipse.jface.window.Window;
    -import org.eclipse.ui.IWorkbenchPart;
    -import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
    -import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
    -import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
    -import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
    -
    -public class W11SetNewMessageAction extends BaseSelectionAction {
    - public static String ID = "ASDSetNewMessageAction"; //$NON-NLS-1$
    - protected IMessageReference messageReference;
    -
    - public W11SetNewMessageAction(IWorkbenchPart part) {
    - super(part);
    - setId(ID);
    - setText(Messages._UI_ACTION_NEW_MESSAGE); //$NON-NLS-1$
    -// setImageDescriptor(WSDLEditorPlugin.getImageDescriptor("icons/service_obj.gif"));
    - }
    -
    - public void setIMessageReference(IMessageReference messageReference) {
    - this.messageReference = messageReference;
    - }
    -
    - public void run() {
    - if (messageReference == null) {
    - if (getSelectedObjects().size() > 0) {
    - Object o = getSelectedObjects().get(0);
    - if (o instanceof IMessageReference) {
    - messageReference = (IMessageReference) o;
    - }
    - }
    - }
    -
    - ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getMessageReferenceEditManager(messageReference);
    - if (messageReference != null && refManager != null) {
    - IComponentDialog dialog = refManager.getNewDialog();
    - if (dialog.createAndOpen() == Window.OK) {
    - ComponentSpecification spec = dialog.getSelectedComponent();
    - refManager.modifyComponentReference(messageReference, spec);
    - }
    - }
    -
    - messageReference = null;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewTypeAction.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewTypeAction.java
    deleted file mode 100644
    index a40e6f351..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/actions/W11SetNewTypeAction.java
    +++ /dev/null
    @@ -1,82 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.actions;
    -
    -import org.eclipse.jface.window.Window;
    -import org.eclipse.ui.IEditorInput;
    -import org.eclipse.ui.IFileEditorInput;
    -import org.eclipse.ui.IWorkbenchPage;
    -import org.eclipse.ui.IWorkbenchPart;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.common.ui.internal.search.dialogs.ComponentSpecification;
    -import org.eclipse.wst.wsdl.WSDLElement;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
    -import org.eclipse.wst.wsdl.ui.internal.edit.WSDLXSDTypeReferenceEditManager;
    -import org.eclipse.wst.wsdl.ui.internal.util.ReferenceEditManagerHelper;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLAdapterFactoryHelper;
    -import org.eclipse.wst.xsd.ui.internal.adt.edit.ComponentReferenceEditManager;
    -import org.eclipse.wst.xsd.ui.internal.adt.edit.IComponentDialog;
    -import org.eclipse.wst.xsd.ui.internal.editor.XSDTypeReferenceEditManager;
    -
    -public class W11SetNewTypeAction extends BaseSelectionAction {
    - public static String ID = "ASDSetNewTypeAction"; //$NON-NLS-1$
    - protected WSDLBaseAdapter wsdlBaseAdapter;
    -
    - public W11SetNewTypeAction(IWorkbenchPart part) {
    - super(part);
    - setId(ID);
    - setText(Messages._UI_ACTION_NEW_TYPE); //$NON-NLS-1$
    -// setImageDescriptor(WSDLEditorPlugin.getImageDescriptor("icons/service_obj.gif"));
    - }
    -
    - public void run() {
    - if (wsdlBaseAdapter == null) {
    - if (getSelectedObjects().size() > 0) {
    - Object o = getSelectedObjects().get(0);
    - if (o instanceof IParameter && o instanceof WSDLBaseAdapter) {
    - wsdlBaseAdapter = (WSDLBaseAdapter) o;
    - }
    - }
    - }
    -
    - ComponentReferenceEditManager refManager = ReferenceEditManagerHelper.getXSDTypeReferenceEditManager(wsdlBaseAdapter);
    - if (wsdlBaseAdapter != null && refManager != null) {
    - IComponentDialog dialog = refManager.getNewDialog();
    - if (dialog.createAndOpen() == Window.OK) {
    - ComponentSpecification spec = dialog.getSelectedComponent();
    - refManager.modifyComponentReference(wsdlBaseAdapter, spec);
    - }
    - }
    -
    - wsdlBaseAdapter = null;
    - }
    -
    - protected ComponentReferenceEditManager getComponentReferenceEditManager() {
    - IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
    - if (page.getActiveEditor().getAdapter(XSDTypeReferenceEditManager.class) != null) {
    - return (ComponentReferenceEditManager) page.getActiveEditor().getAdapter(XSDTypeReferenceEditManager.class);
    - }
    - else {
    - IEditorInput input = page.getActiveEditor().getEditorInput();
    - if (input instanceof IFileEditorInput) {
    - WSDLElement element = (WSDLElement) wsdlBaseAdapter.getTarget();
    - IDescription description = (IDescription) WSDLAdapterFactoryHelper.getInstance().adapt(element.getEnclosingDefinition());
    - return new WSDLXSDTypeReferenceEditManager(((IFileEditorInput) input).getFile(), null, description);
    - }
    - }
    -
    - return null;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Binding.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Binding.java
    deleted file mode 100644
    index af9349c0c..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Binding.java
    +++ /dev/null
    @@ -1,294 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
    -
    -import java.util.ArrayList;
    -import java.util.Iterator;
    -import java.util.List;
    -import org.eclipse.emf.common.notify.Notifier;
    -import org.eclipse.gef.commands.Command;
    -import org.eclipse.jface.viewers.ILabelProvider;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.wst.wsdl.Binding;
    -import org.eclipse.wst.wsdl.BindingFault;
    -import org.eclipse.wst.wsdl.BindingOperation;
    -import org.eclipse.wst.wsdl.ExtensibilityElement;
    -import org.eclipse.wst.wsdl.Fault;
    -import org.eclipse.wst.wsdl.Operation;
    -import org.eclipse.wst.wsdl.PortType;
    -import org.eclipse.wst.wsdl.binding.http.HTTPBinding;
    -import org.eclipse.wst.wsdl.binding.soap.SOAPBinding;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.actions.OpenInNewEditor;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11GenerateBindingCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11SetInterfaceCommand;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDGenerateBindingAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetExistingInterfaceAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetNewInterfaceAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.design.editparts.model.BindingContentPlaceHolder;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLAdapterFactoryHelper;
    -import org.eclipse.wst.xsd.ui.internal.common.properties.sections.appinfo.custom.NodeCustomizationRegistry;
    -import org.eclipse.wst.xsd.ui.internal.editor.XSDEditorPlugin;
    -import org.w3c.dom.Element;
    -import org.w3c.dom.Node;
    -
    -public class W11Binding extends WSDLBaseAdapter implements IBinding {
    -
    - public IInterface getInterface() {
    - PortType portType = ((Binding) target).getEPortType();
    - if (portType != null)
    - {
    - return (IInterface) createAdapter(portType);
    - }
    - return null;
    - }
    -
    - public List getBindingContentList()
    - {
    - List adapterList = new ArrayList();
    - List list = new ArrayList();
    -
    - List bindingOperations = copyList(((Binding)target).getEBindingOperations());
    - List operations = copyList(((Binding)target).getEPortType().getEOperations());
    -
    - // Determine if we need placeholders for Operations
    - List toAdaptList = new ArrayList();
    -
    - Iterator bindingOpIt = bindingOperations.iterator();
    - while (bindingOpIt.hasNext()) {
    - BindingOperation item = (BindingOperation) bindingOpIt.next();
    - operations.remove(item.getEOperation());
    - }
    -
    - Iterator operationsIt = operations.iterator();
    - while (operationsIt.hasNext()) {
    - Operation op = (Operation) operationsIt.next();
    - toAdaptList.add(op);
    - toAdaptList.add(op.getEInput());
    - toAdaptList.add(op.getEOutput());
    - toAdaptList.addAll(op.getEFaults());
    - }
    -
    - Iterator it = toAdaptList.iterator();
    - while (it.hasNext()) {
    - Object o = it.next();
    - if (o != null)
    - {
    - Object adapted = WSDLAdapterFactoryHelper.getInstance().adapt((Notifier)o);
    - BindingContentPlaceHolder placeHolder = new BindingContentPlaceHolder(adapted);
    - adapterList.add(placeHolder);
    - }
    - }
    -
    - for (Iterator i = ((Binding)target).getEBindingOperations().iterator(); i.hasNext(); )
    - {
    - BindingOperation bindingOperation = (BindingOperation)i.next();
    - Operation operation = bindingOperation.getEOperation();
    -
    - list.add(bindingOperation);
    -
    - // Handle Input
    - if (bindingOperation.getEBindingInput() != null)
    - {
    - list.add(bindingOperation.getEBindingInput());
    - }
    - else if (bindingOperation.getEBindingInput() == null && operation.getEInput() != null) {
    - // Need a placeholder
    - Object adaptedObject = createAdapter(operation.getEInput());
    - BindingContentPlaceHolder temp = new BindingContentPlaceHolder(adaptedObject);
    - adapterList.add(temp);
    - }
    -
    - // Handle Output
    - if (bindingOperation.getEBindingOutput() != null)
    - {
    - list.add(bindingOperation.getEBindingOutput());
    - }
    - else if (bindingOperation.getEBindingOutput() == null && operation.getEOutput() != null) {
    - // Need a placeholder
    - Object adaptedObject = createAdapter(operation.getEOutput());
    - BindingContentPlaceHolder temp = new BindingContentPlaceHolder(adaptedObject);
    - adapterList.add(temp);
    - }
    -
    - // Handle Faults
    - if (operation != null)
    - {
    - List faults = copyList(operation.getEFaults());
    - List bindingFaults = copyList(bindingOperation.getEBindingFaults());
    - for (int index = 0; index < bindingFaults.size(); index++) {
    - BindingFault bindingFault = (BindingFault) bindingFaults.get(index);
    - list.add(bindingFault);
    -
    - faults.remove(bindingFault.getEFault());
    - }
    -
    - // Left over faults need placeholders
    - Iterator remaningFaults = faults.iterator();
    - while (remaningFaults.hasNext()) {
    - Object adaptedObject = createAdapter((Fault) remaningFaults.next());
    - BindingContentPlaceHolder temp = new BindingContentPlaceHolder(adaptedObject);
    - adapterList.add(temp);
    - }
    - }
    - }
    -
    - populateAdapterList(list, adapterList);
    - return adapterList;
    - }
    -
    - private List copyList(List origList) {
    - List newList = new ArrayList();
    - Iterator it = origList.iterator();
    - while (it.hasNext()) {
    - newList.add(it.next());
    - }
    -
    - return newList;
    - }
    -
    - public List getExtensiblityObjects() {
    -
    - return null;
    - }
    -
    - public String getName() {
    - return ((Binding) target).getQName().getLocalPart();
    - }
    -
    - public String getProtocol() {
    - Iterator it = ((Binding) target).getEExtensibilityElements().iterator();
    - while (it.hasNext()) {
    - Object item = it.next();
    - if (item instanceof SOAPBinding) {
    - return "SOAP"; //$NON-NLS-1$
    - }
    - else if (item instanceof HTTPBinding) {
    - return "HTTP"; //$NON-NLS-1$
    - }
    - }
    -
    - return ""; //$NON-NLS-1$
    - }
    -
    - public IDescription getOwnerDescription() {
    - return (IDescription) owner;
    - }
    -
    - public String[] getActions(Object object) {
    - List actionIDs = new ArrayList();
    - actionIDs.add(ASDGenerateBindingAction.ID);
    - actionIDs.add(BaseSelectionAction.SUBMENU_START_ID + Messages._UI_ACTION_SET_PORTTYPE); //$NON-NLS-1$
    - actionIDs.add(ASDSetNewInterfaceAction.ID);
    - actionIDs.add(ASDSetExistingInterfaceAction.ID);
    - actionIDs.add(BaseSelectionAction.SUBMENU_END_ID);
    - actionIDs.add(ASDDeleteAction.ID);
    - if (isReadOnly()) {
    - actionIDs.add(OpenInNewEditor.ID);
    - }
    - return (String [])actionIDs.toArray(new String[0]);
    - }
    -
    - public Command getSetInterfaceCommand(IInterface newInterface) {
    - W11Interface w11Interface = (W11Interface) newInterface;
    - return new W11SetInterfaceCommand((Binding) target, (PortType) w11Interface.getTarget());
    - }
    -
    - public Command getGenerateBindingCommand() {
    - return new W11GenerateBindingCommand((Binding) this.getTarget());
    - }
    -
    - public Command getDeleteCommand() {
    - return new W11DeleteCommand(this);
    - }
    -
    -
    - private ILabelProvider getLabelProvider(Node node)
    - {
    - String namespace = node.getNamespaceURI();
    - if (namespace != null)
    - {
    - NodeCustomizationRegistry registry = XSDEditorPlugin.getDefault().getNodeCustomizationRegistry();
    - return registry.getLabelProvider(namespace);
    - }
    - return null;
    - }
    -
    - public Image getImage()
    - {
    - Image image = null;
    - List list = ((Binding) target).getExtensibilityElements();
    - if (list.size() > 0)
    - {
    - ExtensibilityElement ee = (ExtensibilityElement)list.get(0);
    - Element element = ee.getElement();
    - if (element != null)
    - {
    - ILabelProvider labelProvider = getLabelProvider(element);
    - if (labelProvider != null)
    - {
    - image= labelProvider.getImage(element);
    - }
    - }
    - }
    - if (image == null)
    - {
    - image = WSDLEditorPlugin.getInstance().getImage("icons/binding_obj.gif");
    - }
    - return image;
    - }
    -
    - public String getText()
    - {
    - return "binding";
    - }
    -
    - public ITreeElement[] getChildren()
    - {
    - List list = getBindingOperations();
    - ITreeElement[] result = new ITreeElement[list.size()];
    - list.toArray(result);
    - return result;
    - }
    -
    - public boolean hasChildren() {
    - if (getBindingOperations().size() > 0) {
    - return true;
    - }
    -
    - return false;
    - }
    -
    - public ITreeElement getParent() {
    - return null;
    - }
    -
    - public List getBindingOperations()
    - {
    - List list = new ArrayList();
    - populateAdapterList(((Binding)target).getEBindingOperations(), list);
    - return list;
    - }
    -
    - public List getBindingOperations(boolean createMissingOperations, boolean showExtraOperations)
    - {
    - return getBindingOperations();
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingMessageReference.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingMessageReference.java
    deleted file mode 100644
    index 84ef1742e..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingMessageReference.java
    +++ /dev/null
    @@ -1,135 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
    -
    -import java.util.ArrayList;
    -import java.util.Collection;
    -import java.util.Collections;
    -import java.util.List;
    -import org.eclipse.emf.ecore.EObject;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.wst.wsdl.BindingFault;
    -import org.eclipse.wst.wsdl.BindingInput;
    -import org.eclipse.wst.wsdl.BindingOutput;
    -import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBindingMessageReference;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
    -import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
    -
    -
    -public class W11BindingMessageReference extends WSDLBaseAdapter implements IBindingMessageReference, ITreeElement
    -{
    - public ITreeElement[] getChildren()
    - {
    - return ITreeElement.EMPTY_LIST;
    - }
    -
    - public boolean hasChildren() {
    - return false;
    - }
    -
    - public ITreeElement getParent() {
    - return null;
    - }
    -
    - public Image getImage()
    - {
    - String imageName = null;
    - if (target instanceof BindingInput)
    - {
    - imageName = "icons/input_obj.gif"; //$NON-NLS-1$
    - }
    - else if (target instanceof BindingOutput)
    - {
    - imageName = "icons/output_obj.gif"; //$NON-NLS-1$
    - }
    - else //if (target instanceof BindingFault)
    - {
    - imageName = "icons/fault_obj.gif"; //$NON-NLS-1$
    - }
    - return WSDLEditorPlugin.getInstance().getImage(imageName);
    - }
    -
    - public String getName()
    - {
    - String name = null;
    - if (target instanceof BindingInput)
    - {
    - name = ((BindingInput) target).getName();
    - }
    - else if (target instanceof BindingOutput)
    - {
    - name = ((BindingOutput) target).getName();
    - }
    - else if (target instanceof BindingFault)
    - {
    - name = ((BindingFault) target).getName();
    - }
    -
    - if (name == null) {
    - name = ""; //$NON-NLS-1$
    - }
    -
    - return name;
    - }
    -
    - public String getText()
    - {
    - String text = "";
    - if (target instanceof BindingInput)
    - {
    - text = "binding input";
    - }
    - else if (target instanceof BindingOutput)
    - {
    - text = "binding output";
    - }
    - else if (target instanceof BindingFault)
    - {
    - text = "binding fault";
    - }
    -
    - return text;
    - }
    -
    - public IMessageReference getMessageReference()
    - {
    - EObject resultNotifier = null;
    - if (target instanceof BindingInput)
    - {
    - resultNotifier = ComponentReferenceUtil.computeInput((BindingInput)target);
    - }
    - else if (target instanceof BindingOutput)
    - {
    - resultNotifier = ComponentReferenceUtil.computeOutput((BindingOutput)target);
    - }
    - else if (target instanceof BindingFault)
    - {
    - resultNotifier = ComponentReferenceUtil.computeFault((BindingFault)target);
    - }
    - return resultNotifier != null ? (IMessageReference)createAdapter(resultNotifier) : null;
    - }
    -
    - public List getExtensiblityObjects()
    - {
    - return Collections.EMPTY_LIST;
    - }
    -
    - public String[] getActions(Object object) {
    - Collection actionIDs = new ArrayList();
    -// if (isReadOnly()) {
    -// actionIDs.add(OpenInNewEditor.ID);
    -// }
    - return (String [])actionIDs.toArray(new String[0]);
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingOperation.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingOperation.java
    deleted file mode 100644
    index 2c097a998..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11BindingOperation.java
    +++ /dev/null
    @@ -1,106 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
    -
    -import java.util.ArrayList;
    -import java.util.Collection;
    -import java.util.Collections;
    -import java.util.List;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.wst.wsdl.BindingOperation;
    -import org.eclipse.wst.wsdl.Operation;
    -import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.actions.OpenInNewEditor;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBindingOperation;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
    -import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
    -
    -public class W11BindingOperation extends WSDLBaseAdapter implements IBindingOperation, ITreeElement
    -{
    -
    - public IOperation getOperation()
    - {
    - BindingOperation bindingOperation = (BindingOperation)target;
    - Operation operation = ComponentReferenceUtil.computeOperation(bindingOperation);
    - return operation != null ? (IOperation)createAdapter(operation) : null;
    - }
    -
    - public List getBindingMessages()
    - {
    - List list = new ArrayList();
    - BindingOperation bindingOperation = (BindingOperation)target;
    - if (bindingOperation.getEBindingInput() != null)
    - {
    - list.add(bindingOperation.getEBindingInput());
    - }
    - if (bindingOperation.getEBindingOutput() != null)
    - {
    - list.add(bindingOperation.getEBindingOutput());
    - }
    - list.addAll(bindingOperation.getEBindingFaults());
    - List result = new ArrayList();
    - populateAdapterList(list, result);
    - return result;
    - }
    -
    - public String getName()
    - {
    - BindingOperation bindingOperation = (BindingOperation)target;
    - Operation operation = bindingOperation.getEOperation();
    - return operation != null ? operation.getName() : null;
    - }
    -
    - public List getExtensiblityObjects()
    - {
    - return Collections.EMPTY_LIST;
    - }
    -
    - public ITreeElement[] getChildren()
    - {
    - List list = getBindingMessages();
    - ITreeElement[] result = new ITreeElement[list.size()];
    - list.toArray(result);
    - return result;
    - }
    -
    - public boolean hasChildren() {
    - if (getBindingMessages().size() > 0) {
    - return true;
    - }
    -
    - return false;
    - }
    -
    - public ITreeElement getParent() {
    - return null;
    - }
    -
    - public Image getImage()
    - {
    - String imageName = "icons/operationbinding_obj.gif"; //$NON-NLS-1$
    - return WSDLEditorPlugin.getInstance().getImage(imageName);
    - }
    -
    - public String getText()
    - {
    - return "binding operation";
    - }
    -
    - public String[] getActions(Object object) {
    - Collection actionIDs = new ArrayList();
    - if (isReadOnly()) {
    - actionIDs.add(OpenInNewEditor.ID);
    - }
    - return (String [])actionIDs.toArray(new String[0]);
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11CategoryAdapter.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11CategoryAdapter.java
    deleted file mode 100644
    index 7a1337d4b..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11CategoryAdapter.java
    +++ /dev/null
    @@ -1,144 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
    -
    -import java.util.ArrayList;
    -import java.util.Collection;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddBindingAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddImportAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddInterfaceAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddMessageAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddSchemaAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddServiceAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObjectListener;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ICategoryAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
    -
    -public class W11CategoryAdapter extends WSDLBaseAdapter implements ICategoryAdapter, ITreeElement, IASDObjectListener {
    - public final static int IMPORTS = 1;
    - public final static int TYPES = 2;
    - public final static int SERVICES = 3;
    - public final static int BINDINGS = 5;
    - public final static int INTERFACES = 6;
    - public final static int MESSAGES = 7;
    -
    - public static String IMPORTS_HEADER_TEXT = Messages._UI_FOLDER_IMPORTS; //$NON-NLS-1$
    - public static String TYPES_HEADER_TEXT = Messages._UI_FOLDER_TYPES; //$NON-NLS-1$
    - public static String SERVICE_HEADER_TEXT = Messages._UI_FOLDER_SERVICES; //$NON-NLS-1$
    - public static String BINDING_HEADER_TEXT = Messages._UI_FOLDER_BINDINGS; //$NON-NLS-1$
    - public static String INTERFACE_HEADER_TEXT = Messages._UI_PORT_TYPE; //$NON-NLS-1$
    - public static String MESSAGE_HEADER_TEXT = Messages._UI_FOLDER_MESSAGES; //$NON-NLS-1$
    -
    - protected String text;
    - protected Image image;
    - protected int groupType;
    - protected Collection children;
    - protected IDescription description;
    -
    - public W11CategoryAdapter(IDescription description, String label, Image image, Collection children, int groupType) {
    - this.text = label;
    - this.image = image;
    - this.description = description;
    - this.target = ((W11Description) description).getTarget();
    - this.children = children;
    - this.groupType = groupType;
    - }
    -
    - public Definition getDefinition() {
    - return (Definition) target;
    - }
    -
    - public IDescription getOwnerDescription() {
    - return description;
    - }
    -
    - public int getGroupType() {
    - return groupType;
    - }
    -
    - public Image getImage() {
    - return image;
    - }
    -
    - public String getText() {
    - return text;
    - }
    -
    - public ITreeElement[] getChildren() {
    - return (ITreeElement[]) children.toArray(new ITreeElement[0]);
    - }
    -
    - public void setChildren(Collection list) {
    - children = list;
    - }
    -
    - public Object getParent(Object element) {
    - return null;
    - }
    -
    - public boolean hasChildren(Object element) {
    - return true;
    - }
    -
    - public String[] getActions(Object object) {
    - Collection actionIDs = new ArrayList();
    -
    - switch (groupType) {
    - case IMPORTS : {
    - actionIDs.add(ASDAddImportAction.ID);
    - break;
    - }
    - case TYPES : {
    - actionIDs.add(ASDAddSchemaAction.ID);
    - break;
    - }
    - case SERVICES : {
    - actionIDs.add(ASDAddServiceAction.ID);
    - break;
    - }
    - case BINDINGS : {
    - actionIDs.add(ASDAddBindingAction.ID);
    - break;
    - }
    - case INTERFACES : {
    - actionIDs.add(ASDAddInterfaceAction.ID);
    - break;
    - }
    - case MESSAGES : {
    - actionIDs.add(ASDAddMessageAction.ID);
    - break;
    - }
    - }
    - return (String [])actionIDs.toArray(new String[0]);
    - }
    -
    - public void propertyChanged(Object object, String property) {
    - if (getText().equals(property))
    - notifyListeners(this, property);
    - }
    -
    - public ITreeElement getParent() {
    - return null;
    - }
    -
    - public boolean hasChildren() {
    - if (getChildren().length > 0) {
    - return true;
    - }
    -
    - return false;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Description.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Description.java
    deleted file mode 100644
    index 1ef1d2f8e..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Description.java
    +++ /dev/null
    @@ -1,354 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
    -
    -import java.util.ArrayList;
    -import java.util.Iterator;
    -import java.util.List;
    -import org.eclipse.core.runtime.Assert;
    -import org.eclipse.emf.common.notify.Notification;
    -import org.eclipse.emf.common.notify.impl.NotificationImpl;
    -import org.eclipse.gef.commands.Command;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.wst.wsdl.Definition;
    -import org.eclipse.wst.wsdl.Types;
    -import org.eclipse.wst.wsdl.WSDLPackage;
    -import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddBindingCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddImportCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddInterfaceCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddMessageCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddSchemaCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddServiceCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11EditNamespacesCommand;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddBindingAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddInterfaceAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddServiceAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
    -import org.eclipse.wst.wsdl.ui.internal.util.ComponentReferenceUtil;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLEditorUtil;
    -import org.eclipse.wst.xml.core.internal.contentmodel.util.DOMNamespaceInfoManager;
    -import org.w3c.dom.Element;
    -
    -public class W11Description extends WSDLBaseAdapter implements IDescription {
    - protected List categories = new ArrayList();
    -
    - protected W11CategoryAdapter getCategory(int categoryId) {
    - return getCategory(categoryId, getCategoryAdapters());
    - }
    -
    - protected W11CategoryAdapter getCategory(int categoryId, List list) {
    - Iterator it = list.iterator();
    - while (it.hasNext()) {
    - W11CategoryAdapter adapter = (W11CategoryAdapter) it.next();
    - if (adapter.getGroupType() == categoryId) {
    - return adapter;
    - }
    - }
    -
    - return null;
    - }
    -
    - protected List getCategoryAdapters() {
    - // just set categoryadapters' children if category adapters are
    - // already created
    - if (categories.size() == 0) {
    - categories = createCategoryAdapters();
    - }
    - else {
    - W11CategoryAdapter category = getCategory(W11CategoryAdapter.IMPORTS, categories);
    - category.setChildren(getImports());
    -
    - category = getCategory(W11CategoryAdapter.TYPES, categories);
    - addListenerToTypes(category);
    -
    - category = getCategory(W11CategoryAdapter.SERVICES, categories);
    - category.setChildren(getServices());
    -
    - category = getCategory(W11CategoryAdapter.BINDINGS, categories);
    - category.setChildren(getBindings());
    -
    - category = getCategory(W11CategoryAdapter.INTERFACES, categories);
    - category.setChildren(getInterfaces());
    -
    - category = getCategory(W11CategoryAdapter.MESSAGES, categories);
    - category.setChildren(getMessages());
    - }
    - return categories;
    - }
    -
    - // TODO: rmah: right now it looks like the definition needs to know too much about the categories
    - // We should make the categories more self-sufficient.... so it knows how to compute it's children
    - // based on it's kind
    - protected List createCategoryAdapters() {
    - List categories = new ArrayList();
    -
    - List importList = getImports();
    - List schemaList = getTypes();
    - List serviceList = getServices();
    - List bindingList = getBindings();
    - List interfaceList = getInterfaces();
    - List messageList = getMessages();
    -
    - String categoryTitle = W11CategoryAdapter.IMPORTS_HEADER_TEXT;
    - Image categoryImage = WSDLEditorPlugin.getInstance().getImage("icons/importheader_obj.gif"); //$NON-NLS-1$
    - W11CategoryAdapter category = new W11CategoryAdapter(this, categoryTitle, categoryImage, importList, W11CategoryAdapter.IMPORTS);
    - registerListener(category);
    - categories.add(category);
    -
    - categoryTitle = W11CategoryAdapter.TYPES_HEADER_TEXT;
    - categoryImage = WSDLEditorPlugin.getInstance().getImage("icons/types_obj.gif"); //$NON-NLS-1$
    - category = new W11TypesCategoryAdapter(this, categoryTitle, categoryImage, W11CategoryAdapter.TYPES);
    - addListenerToTypes(category);
    - registerListener(category);
    - categories.add(category);
    -
    - categoryTitle = W11CategoryAdapter.SERVICE_HEADER_TEXT;
    - categoryImage = WSDLEditorPlugin.getInstance().getImage("icons/serviceheader_obj.gif"); //$NON-NLS-1$
    - category = new W11CategoryAdapter(this, categoryTitle, categoryImage, serviceList, W11CategoryAdapter.SERVICES);
    - registerListener(category);
    - categories.add(category);
    -
    - categoryTitle = W11CategoryAdapter.BINDING_HEADER_TEXT;
    - categoryImage = WSDLEditorPlugin.getInstance().getImage("icons/bindingheader_obj.gif"); //$NON-NLS-1$
    - category = new W11CategoryAdapter(this, categoryTitle, categoryImage, bindingList, W11CategoryAdapter.BINDINGS);
    - registerListener(category);
    - categories.add(category);
    -
    - categoryTitle = W11CategoryAdapter.INTERFACE_HEADER_TEXT;
    - categoryImage = WSDLEditorPlugin.getInstance().getImage("icons/porttypeheader_obj.gif"); //$NON-NLS-1$
    - category = new W11CategoryAdapter(this, categoryTitle, categoryImage, interfaceList, W11CategoryAdapter.INTERFACES);
    - registerListener(category);
    - categories.add(category);
    -
    - categoryTitle = W11CategoryAdapter.MESSAGE_HEADER_TEXT;
    - categoryImage = WSDLEditorPlugin.getInstance().getImage("icons/messageheader_obj.gif"); //$NON-NLS-1$
    - category = new W11CategoryAdapter(this, categoryTitle, categoryImage, messageList, W11CategoryAdapter.MESSAGES);
    - registerListener(category);
    - categories.add(category);
    -
    - return categories;
    - }
    -
    - // Special case:
    - // We need to have the Types object inform our facade (W11TypesCategoryAdapter) of it's
    - // changes. This is different from the rest of the W11CategoryAdapters which listens
    - // to the Definition object.
    - private void addListenerToTypes(W11CategoryAdapter category) {
    - Definition def = (Definition) this.getTarget();
    - Types types = def.getETypes();
    - if (types != null && !types.eAdapters().contains(category)) {
    - types.eAdapters().add(category);
    - }
    - }
    -
    - public String getTargetNamespace() {
    - return ((Definition) target).getTargetNamespace();
    - }
    -
    - public String getTargetNamespacePrefix() {
    - String tns = getTargetNamespace();
    - return ((Definition) target).getPrefix(tns);
    - }
    -
    - public List getServices() {
    - List adapterList = new ArrayList();
    - ComponentReferenceUtil util = new ComponentReferenceUtil((Definition) getTarget());
    - List services = util.getServices();
    - populateAdapterList(services, adapterList);
    -
    - return adapterList;
    - }
    -
    - public List getBindings() {
    - List adapterList = new ArrayList();
    - ComponentReferenceUtil util = new ComponentReferenceUtil((Definition) getTarget());
    - List bindings = util.getBindings();
    - populateAdapterList(bindings, adapterList);
    -
    - return adapterList;
    - }
    -
    - public List getInterfaces() {
    - List adapterList = new ArrayList();
    - ComponentReferenceUtil util = new ComponentReferenceUtil((Definition) getTarget());
    - List portTypes = util.getPortTypes();
    - populateAdapterList(portTypes, adapterList);
    -
    - return adapterList;
    - }
    -
    - public List getImports() {
    - List adapterList = new ArrayList();
    - populateAdapterList(((Definition) target).getEImports(), adapterList);
    -
    - return adapterList;
    - }
    -
    - public List getTypes() {
    - List adapterList = new ArrayList();
    - Types types = ((Definition) target).getETypes();
    - if (types != null)
    - {
    - populateAdapterList(types.getSchemas(), adapterList);
    - }
    - return adapterList;
    - }
    -
    - public List getMessages() {
    - List adapterList = new ArrayList();
    - ComponentReferenceUtil util = new ComponentReferenceUtil((Definition) getTarget());
    - List messages = util.getMessages();
    - populateAdapterList(messages, adapterList);
    -
    - return adapterList;
    - }
    -
    - public String getName() {
    - String name = ""; //$NON-NLS-1$
    -
    - Definition definition = ((Definition) target);
    - if (definition.getQName() != null) {
    - name = definition.getQName().getLocalPart();
    - }
    - return name;
    - }
    -
    - public String[] getActions(Object object) {
    - String[] actionIDs = new String[3];
    - actionIDs[0] = ASDAddServiceAction.ID;
    - actionIDs[1] = ASDAddBindingAction.ID;
    - actionIDs[2] = ASDAddInterfaceAction.ID;
    -
    - return actionIDs;
    - }
    -
    - public Command getAddImportCommand() {
    - return new W11AddImportCommand((Definition) target);
    - }
    -
    - public Command getAddSchemaCommand() {
    - return new W11AddSchemaCommand((Definition) target);
    - }
    -
    - public Command getAddServiceCommand() {
    - return new W11AddServiceCommand((Definition) target);
    - }
    -
    - public Command getAddBindingCommand() {
    - return new W11AddBindingCommand((Definition) target);
    - }
    -
    - public Command getAddInterfaceCommand() {
    - return new W11AddInterfaceCommand((Definition) target);
    - }
    -
    - public Command getAddMessageCommand() {
    - return new W11AddMessageCommand((Definition) target);
    - }
    -
    - public Command getEditNamespacesCommand() {
    - return new W11EditNamespacesCommand((Definition) target);
    - }
    -
    - public List getNamespacesInfo() {
    - DOMNamespaceInfoManager namespaceInfoManager = new DOMNamespaceInfoManager();
    - Element element = WSDLEditorUtil.getInstance().getElementForObject((Definition) target);
    - return namespaceInfoManager.getNamespaceInfoList(element);
    - }
    -
    - public Image getImage() {
    - return null;
    - }
    -
    - public String getText() {
    - return "definition";
    - }
    -
    - public ITreeElement[] getChildren() {
    - List children = getCategoryAdapters();
    - return (ITreeElement[]) children.toArray(new ITreeElement[0]);
    - }
    -
    - public boolean hasChildren() {
    - if (getChildren().length > 0) {
    - return true;
    - }
    -
    - return false;
    - }
    -
    - public ITreeElement getParent() {
    - return null;
    - }
    -
    - public void notifyChanged(final Notification msg) {
    - // TODO: rmah: This code should be moved into W11CategoryAdapter
    - class CategoryNotification extends NotificationImpl {
    - protected Object category;
    -
    - public CategoryNotification(Object category) {
    - super(msg.getEventType(), msg.getOldValue(), msg.getNewValue(), msg.getPosition());
    - this.category = category;
    - }
    -
    - public Object getNotifier() {
    - return category;
    - }
    -
    - public Object getFeature() {
    - return msg.getFeature();
    - }
    - }
    -
    - if (msg.getFeature() == WSDLPackage.eINSTANCE.getDefinition_EImports()) {
    - W11CategoryAdapter adapter = getCategory(W11CategoryAdapter.IMPORTS);
    - Assert.isTrue(adapter != null);
    - adapter.setChildren(getImports());
    - notifyListeners(new CategoryNotification(adapter), adapter.getText());
    - }
    - else if (msg.getFeature() == WSDLPackage.eINSTANCE.getDefinition_ETypes()) {
    - W11CategoryAdapter adapter = getCategory(W11CategoryAdapter.TYPES);
    - Assert.isTrue(adapter != null);
    - adapter.setChildren(getImports());
    - notifyListeners(new CategoryNotification(adapter), adapter.getText());
    - }
    - else if (msg.getFeature() == WSDLPackage.eINSTANCE.getDefinition_EServices()) {
    - W11CategoryAdapter adapter = getCategory(W11CategoryAdapter.SERVICES);
    - Assert.isTrue(adapter != null);
    - adapter.setChildren(getServices());
    - notifyListeners(new CategoryNotification(adapter), adapter.getText());
    - }
    - else if (msg.getFeature() == WSDLPackage.eINSTANCE.getDefinition_EBindings()) {
    - W11CategoryAdapter adapter = getCategory(W11CategoryAdapter.BINDINGS);
    - Assert.isTrue(adapter != null);
    - adapter.setChildren(getBindings());
    - notifyListeners(new CategoryNotification(adapter), adapter.getText());
    - }
    - else if (msg.getFeature() == WSDLPackage.eINSTANCE.getDefinition_EPortTypes()) {
    - W11CategoryAdapter adapter = getCategory(W11CategoryAdapter.INTERFACES);
    - Assert.isTrue(adapter != null);
    - adapter.setChildren(getInterfaces());
    - notifyListeners(new CategoryNotification(adapter), adapter.getText());
    - }
    - else if (msg.getFeature() == WSDLPackage.eINSTANCE.getDefinition_EMessages()) {
    - W11CategoryAdapter adapter = getCategory(W11CategoryAdapter.MESSAGES);
    - Assert.isTrue(adapter != null);
    - adapter.setChildren(getMessages());
    - notifyListeners(new CategoryNotification(adapter), adapter.getText());
    - }
    - else {
    - notifyListeners(null, null);
    - }
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11EndPoint.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11EndPoint.java
    deleted file mode 100644
    index 86d031e34..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11EndPoint.java
    +++ /dev/null
    @@ -1,223 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
    -
    -import java.util.ArrayList;
    -import java.util.Collection;
    -import java.util.Iterator;
    -import java.util.List;
    -
    -import org.eclipse.emf.common.notify.Adapter;
    -import org.eclipse.emf.common.notify.Notifier;
    -import org.eclipse.gef.commands.Command;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.wst.wsdl.Binding;
    -import org.eclipse.wst.wsdl.Port;
    -import org.eclipse.wst.wsdl.binding.http.HTTPAddress;
    -import org.eclipse.wst.wsdl.binding.soap.SOAPAddress;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.actions.OpenInNewEditor;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11SetAddressCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11SetBindingCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.specialized.W11AddressExtensibilityElementAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddEndPointAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetExistingBindingAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDSetNewBindingAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObjectListener;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IBinding;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IEndPoint;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IService;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
    -
    -public class W11EndPoint extends WSDLBaseAdapter implements IEndPoint, IASDObjectListener {
    -
    - protected List addressExtensiblityElements = null;
    - protected List thingsToListenTo = null;
    -
    - public String getAddress() {
    - List list = getAddressExtensiblityElements();
    - if (list.size() > 0)
    - {
    - W11AddressExtensibilityElementAdapter addressEE = (W11AddressExtensibilityElementAdapter)list.get(0);
    - return addressEE.getLocationURI();
    - }
    - return ""; //$NON-NLS-1$
    - }
    -
    - protected List getAddressExtensiblityElements()
    - {
    - addressExtensiblityElements = new ArrayList();
    - thingsToListenTo = new ArrayList();
    - Port port = (Port) getTarget();
    - for (Iterator it = port.getEExtensibilityElements().iterator(); it.hasNext(); )
    - {
    - Notifier item = (Notifier)it.next();
    - Adapter adapter = createAdapter(item);
    - if (adapter instanceof W11AddressExtensibilityElementAdapter)
    - {
    - addressExtensiblityElements.add(adapter);
    - }
    - if (adapter instanceof IASDObject)
    - {
    - thingsToListenTo.add(adapter);
    - }
    - }
    - for (Iterator i = thingsToListenTo.iterator(); i.hasNext(); )
    - {
    - IASDObject object = (IASDObject)i.next();
    - object.registerListener(this);
    - }
    -
    - return addressExtensiblityElements;
    - }
    -
    - protected void clearAddressExtensiblityElements()
    - {
    - if (thingsToListenTo != null)
    - {
    - for (Iterator i = thingsToListenTo.iterator(); i.hasNext(); )
    - {
    - IASDObject object = (IASDObject)i.next();
    - object.unregisterListener(this);
    - }
    - }
    - thingsToListenTo = null;
    - addressExtensiblityElements = null;
    - }
    -
    - public IBinding getBinding() {
    - if (getPort().getEBinding() != null) {
    - return (IBinding) createAdapter(getPort().getEBinding());
    - }
    -
    - return null;
    - }
    -
    - public String getName() {
    - return getPort().getName();
    - }
    -
    - public String getTypeName() {
    - String value = ""; //$NON-NLS-1$
    - List eeElements = getPort().getEExtensibilityElements();
    - if (eeElements.size() > 0) {
    - Object object = eeElements.get(0);
    - if (object instanceof SOAPAddress) {
    - value = ((SOAPAddress) object).getLocationURI();
    - }
    - else if (object instanceof HTTPAddress) {
    - value = ((HTTPAddress) object).getLocationURI();
    - }
    - }
    -
    - if (value == null || value.equals("")) { //$NON-NLS-1$
    - value = "No Address";
    - }
    -
    - return value;
    - }
    -
    - public Object getType() {
    - return getBinding();
    - }
    -
    - private Port getPort() {
    - return (Port) target;
    - }
    -
    - public IService getOwnerService() {
    - return (IService) owner;
    - }
    -
    - public String[] getActions(Object object) {
    - Collection actionIDs = new ArrayList();
    -
    - actionIDs.add(ASDAddEndPointAction.ID);
    - actionIDs.add(BaseSelectionAction.SUBMENU_START_ID + Messages._UI_ACTION_SET_BINDING); //$NON-NLS-1$
    - actionIDs.add(ASDSetNewBindingAction.ID);
    - actionIDs.add(ASDSetExistingBindingAction.ID);
    - actionIDs.add(BaseSelectionAction.SUBMENU_END_ID);
    - actionIDs.add(ASDDeleteAction.ID);
    - if (isReadOnly()) {
    - actionIDs.add(OpenInNewEditor.ID);
    - }
    - return (String [])actionIDs.toArray(new String[0]);
    - }
    -
    - public Command getSetBindingCommand(IBinding binding) {
    - W11Binding w11Binding = (W11Binding) binding;
    - return new W11SetBindingCommand((Port) target, (Binding) w11Binding.getTarget());
    - }
    -
    - public Command getSetAddressCommand(String newAddress) {
    - return new W11SetAddressCommand((Port) this.getTarget(), newAddress);
    - }
    - public Command getDeleteCommand() {
    - return new W11DeleteCommand(this);
    - }
    -
    - public void propertyChanged(Object object, String property)
    - {
    - // this is called when one of the 'address' extensibility element adapters we're listening to changes
    - //
    - clearAddressExtensiblityElements();
    - notifyListeners(this, null);
    - }
    -
    - public Image getImage() {
    - return WSDLEditorPlugin.getInstance().getImage("icons/port_obj.gif"); //$NON-NLS-1$
    - }
    -
    - public String getText() {
    - return "port";
    - }
    -
    - public ITreeElement[] getChildren() {
    - return ITreeElement.EMPTY_LIST;
    - }
    -
    - public boolean hasChildren() {
    - return false;
    - }
    -
    - public ITreeElement getParent() {
    - return null;
    - }
    -
    - // TODO: rmah: This method should be defined in the IEndPoint Interface.
    - // Do this post 1.5....
    - public String getProtocol() {
    - String protocol = "";
    -
    - List list = getAddressExtensiblityElements();
    - if (list.size() > 0) {
    - W11AddressExtensibilityElementAdapter addressEE = (W11AddressExtensibilityElementAdapter)list.get(0);
    - Object target = addressEE.getTarget();
    -
    - // TODO: rmah: We should not using hardcoded strings as the returned Protocol. We need to get
    - // the protocol dynamically....
    - if (target instanceof SOAPAddress) {
    - protocol = "SOAP";
    - }
    - else if (target instanceof HTTPAddress) {
    - protocol = "HTTP";
    - }
    - }
    -
    - return protocol;
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Import.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Import.java
    deleted file mode 100644
    index 41981cc13..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Import.java
    +++ /dev/null
    @@ -1,82 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
    -
    -import org.eclipse.gef.commands.Command;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.wst.wsdl.Import;
    -import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11OpenImportAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteCommand;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IImport;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
    -
    -public class W11Import extends WSDLBaseAdapter implements IImport {
    -
    - public Import getImport() {
    - return (Import) target;
    - }
    -
    - public String getNamespace() {
    - return getImport().getNamespaceURI();
    - }
    -
    - public String getNamespacePrefix() {
    - return getImport().getEnclosingDefinition().getPrefix(getNamespace());
    - }
    -
    - public String getLocation() {
    - return getImport().getLocationURI();
    - }
    -
    - public IDescription getOwnerDescription() {
    - return (IDescription) owner;
    - }
    -
    - public String getName() {
    - Import theImport = (Import) target;
    - return theImport.getLocationURI();
    - }
    -
    - public String[] getActions(Object object) {
    - String[] actionIDs = new String[2];
    - actionIDs[0] = W11OpenImportAction.ID;
    - actionIDs[1] = ASDDeleteAction.ID;
    - return actionIDs;
    - }
    -
    - public Command getDeleteCommand() {
    - return new W11DeleteCommand(this);
    - }
    -
    - public Image getImage() {
    - return WSDLEditorPlugin.getInstance().getImage("icons/import_obj.gif"); //$NON-NLS-1$
    - }
    -
    - public String getText() {
    - return "import";
    - }
    -
    - public ITreeElement[] getChildren() {
    - return ITreeElement.EMPTY_LIST;
    - }
    -
    - public boolean hasChildren() {
    - return false;
    - }
    -
    - public ITreeElement getParent() {
    - return null;
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Interface.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Interface.java
    deleted file mode 100644
    index 54eeee83b..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Interface.java
    +++ /dev/null
    @@ -1,89 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
    -
    -import java.util.ArrayList;
    -import java.util.List;
    -import org.eclipse.gef.commands.Command;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.wst.wsdl.PortType;
    -import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.actions.OpenInNewEditor;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddOperationCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteCommand;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddOperationAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
    -
    -public class W11Interface extends WSDLBaseAdapter implements IInterface {
    -
    - public List getOperations() {
    - List adapterList = new ArrayList();
    - populateAdapterList(((PortType) target).getEOperations(), adapterList);
    -
    - return adapterList;
    - }
    -
    - public String getName() {
    - return ((PortType) target).getQName().getLocalPart();
    - }
    -
    - public String[] getActions(Object object) {
    - List actionIDs = new ArrayList();
    - actionIDs.add(ASDAddOperationAction.ID);
    - actionIDs.add(ASDDeleteAction.ID);
    - if (isReadOnly()) {
    - actionIDs.add(OpenInNewEditor.ID);
    - }
    - return (String [])actionIDs.toArray(new String[0]);
    - }
    -
    - public Command getAddOperationCommand() {
    - return new W11AddOperationCommand((PortType) target);
    - }
    -
    - public Command getDeleteCommand() {
    - return new W11DeleteCommand(this);
    - }
    -
    - public Image getImage() {
    - return WSDLEditorPlugin.getInstance().getImage("icons/porttype_obj.gif"); //$NON-NLS-1$
    - }
    -
    - public String getText() {
    - return "portType";
    - }
    -
    - public ITreeElement[] getChildren() {
    - List operations = getOperations();
    - ITreeElement[] treeElements = new ITreeElement[operations.size()];
    -
    - for (int index = 0; index < operations.size(); index++) {
    - treeElements[index] = (ITreeElement) operations.get(index);
    - }
    -
    - return treeElements;
    - }
    -
    - public boolean hasChildren() {
    - if (getChildren().length > 0) {
    - return true;
    - }
    -
    - return false;
    - }
    -
    - public ITreeElement getParent() {
    - return null;
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Message.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Message.java
    deleted file mode 100644
    index 0d5643655..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Message.java
    +++ /dev/null
    @@ -1,109 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
    -
    -import java.util.ArrayList;
    -import java.util.Iterator;
    -import java.util.List;
    -import org.eclipse.emf.common.notify.Adapter;
    -import org.eclipse.emf.common.notify.Notifier;
    -import org.eclipse.gef.commands.Command;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.wst.wsdl.Message;
    -import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.actions.OpenInNewEditor;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11AddPartAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddPartCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteCommand;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IDescription;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessage;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
    -import org.eclipse.wst.wsdl.ui.internal.util.WSDLAdapterFactoryHelper;
    -
    -
    -public class W11Message extends WSDLBaseAdapter implements IMessage {
    -
    - public List getParts() {
    - List adapterList = new ArrayList();
    -// populateAdapterList(((Message) target).getEParts(), adapterList);
    - Iterator parts = ((Message) target).getEParts().iterator();
    - while (parts.hasNext()) {
    - Notifier component = (Notifier) parts.next();
    - Adapter adapter = WSDLAdapterFactoryHelper.getInstance().adapt(component);
    - adapterList.add(adapter);
    - }
    -
    - return adapterList;
    - }
    -
    - public IDescription getOwnerDescription() {
    - return (IDescription) owner;
    - }
    -
    - public String getName() {
    - if (((Message) target).getQName() != null) {
    - return ((Message) target).getQName().getLocalPart();
    - }
    -
    - return "";
    - }
    -
    - public String[] getActions(Object object) {
    - List actionIDs = new ArrayList();
    - actionIDs.add(W11AddPartAction.ID);
    - actionIDs.add(ASDDeleteAction.ID);
    - if (isReadOnly()) {
    - actionIDs.add(OpenInNewEditor.ID);
    - }
    - return (String [])actionIDs.toArray(new String[0]);
    - }
    -
    - public Command getAddPartCommand() {
    - return new W11AddPartCommand((Message) target);
    - }
    -
    - public Command getDeleteCommand() {
    - return new W11DeleteCommand(this);
    - }
    -
    - public Image getImage() {
    - return WSDLEditorPlugin.getInstance().getImage("icons/message_obj.gif"); //$NON-NLS-1$
    - }
    -
    - public String getText() {
    - return "message";
    - }
    -
    - public ITreeElement[] getChildren() {
    - List parts = getParts();
    - ITreeElement[] treeElements = new ITreeElement[parts.size()];
    -
    - for (int index = 0; index < parts.size(); index++) {
    - treeElements[index] = (ITreeElement) parts.get(index);
    - }
    -
    - return treeElements;
    - }
    -
    - public boolean hasChildren() {
    - if (getChildren().length > 0) {
    - return true;
    - }
    -
    - return false;
    - }
    -
    - public ITreeElement getParent() {
    - return null;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11MessageReference.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11MessageReference.java
    deleted file mode 100644
    index fcee503a1..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11MessageReference.java
    +++ /dev/null
    @@ -1,494 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
    -
    -import java.util.ArrayList;
    -import java.util.Iterator;
    -import java.util.List;
    -
    -import org.eclipse.emf.common.notify.Adapter;
    -import org.eclipse.emf.common.notify.Notification;
    -import org.eclipse.gef.commands.Command;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.wst.wsdl.Fault;
    -import org.eclipse.wst.wsdl.Input;
    -import org.eclipse.wst.wsdl.MessageReference;
    -import org.eclipse.wst.wsdl.Operation;
    -import org.eclipse.wst.wsdl.Output;
    -import org.eclipse.wst.wsdl.Part;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11AddPartAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetExistingMessageAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetNewMessageAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddFaultParameterCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddInputParameterCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddOutputParameterCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11ReorderParametersCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.visitor.W11FindInnerElementVisitor;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddFaultAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddOperationAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.design.figures.ModelDiagnosticInfo;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObject;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IASDObjectListener;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
    -import org.eclipse.wst.wsdl.ui.internal.visitor.WSDLVisitorForParameters;
    -import org.eclipse.wst.xsd.ui.internal.adt.editor.ProductCustomizationProvider;
    -import org.eclipse.xsd.XSDElementDeclaration;
    -
    -
    -public class W11MessageReference extends WSDLBaseAdapter implements IMessageReference, IASDObjectListener
    -{
    - protected int messageKind = -1;
    - protected List parameters = null;
    - protected List otherThingsToListenTo = null;
    - private String previewString = "";
    -
    - public W11MessageReference(int messageKind)
    - {
    - this.messageKind = messageKind;
    - }
    -
    - public IOperation getOwnerOperation()
    - {
    - return (IOperation) owner;
    - }
    -
    - public String getPreview() {
    - return " (" + previewString + ") ";
    -
    - /*
    - String previewString = "()";
    - List params = getParameters();
    - // For now, just look at the first Part for the preview
    - if (params.size() > 0) {
    - IParameter param = (IParameter) params.get(0);
    -
    - previewString = param.getPreview();
    - }
    -
    - return previewString;
    - */
    - }
    -
    - private String getMessageString(String key, Object[] args) {
    - String string = null;
    -
    - Object object = WSDLEditorPlugin.getInstance().getProductCustomizationProvider();
    - if (object instanceof ProductCustomizationProvider) {
    - ProductCustomizationProvider productCustomizationProvider = (ProductCustomizationProvider)object;
    - String newString = productCustomizationProvider.getProductString(key, args);
    - if (newString != null) {
    - string = newString;
    - }
    - }
    -
    - return string;
    - }
    -
    - private String getInvalidElementReferenceString() {
    - String string = null;
    - String[] args = new String[1];
    - args[0] = "element";
    - string = getMessageString("_UI_LABEL_INVALID_ARG_REFERENCE", args);
    - if (string == null) {
    - string = "Invalid element reference";
    - }
    -
    - return string;
    - }
    -
    - // Convenience method
    - public MessageReference getMessageReference()
    - {
    - return (MessageReference) target;
    - }
    -
    - protected void computeMessageKind()
    - {
    - if (getMessageReference() instanceof Input)
    - {
    - messageKind = KIND_INPUT;
    - }
    - else if (getMessageReference() instanceof Output)
    - {
    - messageKind = KIND_OUTPUT;
    - }
    - else if (getMessageReference() instanceof Fault)
    - messageKind = KIND_FAULT;
    - }
    -
    - public int getKind()
    - {
    - if (messageKind == -1)
    - {
    - computeMessageKind();
    - }
    - return messageKind;
    - }
    -
    - public String getName()
    - {
    - MessageReference messageRef = getMessageReference();
    - if (messageRef.getName() != null) {
    - return messageRef.getName();
    - }
    -
    - return "";
    - }
    -
    - /*
    - * XSD Elements or WSDL Parts...
    - */
    - public List getParameters()
    - {
    - List parameters = new ArrayList();
    - List parts = new ArrayList();
    - MessageReference messageRef = getMessageReference();
    - if (messageRef != null) {
    - if (messageRef.getEMessage() != null) {
    - if (messageRef.getEMessage().getEParts() != null) {
    - parts = messageRef.getEMessage().getEParts();
    - }
    - }
    - }
    -
    - populateAdapterList(parts, parameters);
    -
    - otherThingsToListenTo = new ArrayList();
    - WSDLVisitorForParameters visitorForParameters = new WSDLVisitorForParameters();
    - visitorForParameters.visitMessageReference(messageRef);
    - populateAdapterList(visitorForParameters.concreteComponents, otherThingsToListenTo);
    - populateAdapterList(visitorForParameters.thingsToListenTo, otherThingsToListenTo);
    -
    - // now we listen to all the 'things we need to listen to'
    - //
    - for (Iterator i = otherThingsToListenTo.iterator(); i.hasNext();)
    - {
    - Adapter adapter = (Adapter) i.next();
    - if (adapter instanceof IASDObject)
    - {
    - IASDObject asdObject = (IASDObject) adapter;
    - asdObject.registerListener(this);
    - }
    - }
    -
    - return parameters;
    - }
    -
    - public void propertyChanged(Object object, String property)
    - {
    - // this method is called when one of the 'otherThingsToListenTo' has changed
    - // when one of these things changes it means our paramter list may have changes
    - // so we need to recompute it
    - Object notifier = null;
    - if (object instanceof Adapter)
    - {
    - notifier = ((Adapter)object).getTarget();
    - }
    - //System.out.println("something in the 'otherThingsToListenTo' list has changed " + notifier);
    - clearParameters();
    - notifyListeners(this, null);
    - }
    -
    - protected void clearParameters()
    - {
    - if (otherThingsToListenTo != null)
    - {
    - for (Iterator i = otherThingsToListenTo.iterator(); i.hasNext();)
    - {
    - Adapter adapter = (Adapter) i.next();
    - if (adapter instanceof IASDObject)
    - {
    - IASDObject asdObject = (IASDObject) adapter;
    - asdObject.unregisterListener(this);
    - }
    - }
    - }
    - parameters = null;
    - otherThingsToListenTo = null;
    - }
    -
    - public void notifyChanged(Notification msg)
    - {
    - clearParameters();
    - super.notifyChanged(msg);
    - }
    -
    - public String[] getActions(Object object)
    - {
    - List actions = new ArrayList();
    - actions.add(ASDAddOperationAction.ID);
    - actions.addAll(((W11Operation) getOwnerOperation()).getValidInputOutpuActions());
    - actions.add(ASDAddFaultAction.ID);
    - actions.add(W11AddPartAction.ID);
    - actions.add(ASDDeleteAction.ID);
    - actions.add(BaseSelectionAction.SUBMENU_START_ID + Messages._UI_ACTION_SET_MESSAGE); //$NON-NLS-1$
    - actions.add(W11SetNewMessageAction.ID);
    - actions.add(W11SetExistingMessageAction.ID);
    - actions.add(BaseSelectionAction.SUBMENU_END_ID);
    -// if (isReadOnly()) {
    -// actions.add(OpenInNewEditor.ID);
    -// }
    -
    - String[] actionIDs = new String[actions.size()];
    - for (int index = 0; index < actions.size(); index++) {
    - actionIDs[index] = (String) actions.get(index);
    - }
    -
    - return actionIDs;
    - }
    -
    - public Command getReorderParametersCommand(IParameter leftSibling, IParameter rightSibling, IParameter movingParameter) {
    - return new W11ReorderParametersCommand(leftSibling, rightSibling, movingParameter);
    - }
    -
    - public Command getDeleteCommand() {
    - return new W11DeleteCommand(this);
    - }
    -
    - public Command getAddParamterCommand() {
    - Command command = null;
    - Operation operation = (Operation)getMessageReference().eContainer();
    - if (getKind() == KIND_INPUT)
    - {
    - command = new W11AddInputParameterCommand(operation);
    - }
    - else if (getKind() == KIND_OUTPUT)
    - {
    - command = new W11AddOutputParameterCommand(operation);
    - }
    - else
    - {
    - command = new W11AddFaultParameterCommand(operation, (Fault)getMessageReference());
    - }
    - return command;
    - }
    -
    - public Image getImage() {
    - if (getKind() == KIND_INPUT)
    - {
    - return WSDLEditorPlugin.getInstance().getImage("icons/input_obj.gif"); //$NON-NLS-1$
    - }
    - else if (getKind() == KIND_OUTPUT)
    - {
    - return WSDLEditorPlugin.getInstance().getImage("icons/output_obj.gif"); //$NON-NLS-1$
    - }
    - else if (getKind() == KIND_FAULT)
    - {
    - return WSDLEditorPlugin.getInstance().getImage("icons/fault_obj.gif"); //$NON-NLS-1$
    - }
    - return null;
    - }
    -
    - public String getText() {
    - if (getKind() == KIND_INPUT)
    - {
    - return "input";
    - }
    - else if (getKind() == KIND_OUTPUT)
    - {
    - return "output";
    - }
    - else if (getKind() == KIND_FAULT)
    - {
    - return getName();
    - }
    - return "NoName";
    - }
    -
    - public List getParameters2()
    - {
    - if (parameters == null)
    - {
    - parameters = new ArrayList();
    - otherThingsToListenTo = new ArrayList();
    - WSDLVisitorForParameters visitorForParameters = new WSDLVisitorForParameters();
    - visitorForParameters.visitMessageReference(getMessageReference());
    - populateAdapterList(visitorForParameters.concreteComponents, parameters);
    - populateAdapterList(visitorForParameters.thingsToListenTo, otherThingsToListenTo);
    -
    - // now we listen to all the 'things we need to listen to'
    - //
    - for (Iterator i = otherThingsToListenTo.iterator(); i.hasNext();)
    - {
    - Adapter adapter = (Adapter) i.next();
    - if (adapter instanceof IASDObject)
    - {
    - IASDObject asdObject = (IASDObject) adapter;
    - asdObject.registerListener(this);
    - }
    - }
    - }
    -
    - return parameters;
    - }
    -
    - public ITreeElement[] getChildren() {
    - /*
    - List parts = getParameters();
    - ITreeElement[] treeElements = new ITreeElement[parts.size()];
    -
    - for (int index = 0; index < parts.size(); index++) {
    - treeElements[index] = (ITreeElement) parts.get(index);
    - }
    - */
    - return ITreeElement.EMPTY_LIST;
    - }
    -
    - public boolean hasChildren() {
    - if (getChildren().length > 0) {
    - return true;
    - }
    -
    - return false;
    - }
    -
    - public ITreeElement getParent() {
    - return null;
    - }
    -
    - private void processAdvancedW11MessageReference() {
    - diagnosticMessages = new ArrayList();
    -
    - MessageReference messageRef = (MessageReference) getTarget();
    - List parts = new ArrayList();
    - if (messageRef.getEMessage() != null) {
    - if (messageRef.getEMessage().getEParts() != null) {
    - parts = messageRef.getEMessage().getEParts();
    - }
    - }
    -
    - if (messageRef == null || messageRef.getEMessage() == null) {
    - addErrorDiagnosticMessage(getUndefinedArg1String("message"));
    - }
    - else if (parts.size() <= 0) {
    - String[] args = new String[1];
    - args[0] = "part";
    - addWarningDiagnosticMessage(getStringForKey("_UI_LABEL_NO_OBJECT_SPECIFIED_ARG1", args));
    - }
    - }
    -
    - private void processSimplifiedW11MessageReference() {
    - diagnosticMessages = new ArrayList();
    -
    - MessageReference messageRef = (MessageReference) getTarget();
    - if (messageRef == null || messageRef.getEMessage() == null) {
    - addErrorDiagnosticMessage(getUndefinedArg1String("message"));
    - }
    - else if (messageRef.getEMessage().getEParts().size() <= 0) {
    - addWarningDiagnosticMessage(getNoParametersSpecifiedString());
    - }
    - else {
    - Part part = (Part) messageRef.getEMessage().getEParts().get(0);
    - XSDElementDeclaration xsdElement = part.getElementDeclaration();
    - if (xsdElement == null || xsdElement.getSchema() == null) {
    - // No XSD Element
    - addErrorDiagnosticMessage(getUndefinedArg1String("element"));
    - }
    - else {
    - MyInnerElementVisitor visitor = new MyInnerElementVisitor();
    - visitor.findErrorsAndWarnings(xsdElement);
    - diagnosticMessages.addAll(visitor.getDiagnosticMessages());
    - }
    - }
    - }
    -
    - private void addErrorDiagnosticMessage(String txt) {
    - diagnosticMessages.add(new ModelDiagnosticInfo(txt, ModelDiagnosticInfo.ERROR_TYPE, null));
    - }
    -
    - private void addWarningDiagnosticMessage(String txt) {
    - diagnosticMessages.add(new ModelDiagnosticInfo(txt, ModelDiagnosticInfo.WARNING_TYPE, null));
    - }
    -
    - protected List diagnosticMessages = new ArrayList();
    -
    - // TODO: rmah: Post WTP 1.5, we should rename this to be something like getAdvancedW11MessageReference()
    - public List getDiagnosticMessages() {
    - processAdvancedW11MessageReference();
    - return diagnosticMessages;
    - }
    -
    - // TODO: rmah: Post WTP 1.5, we should rename this to be something like getSimplifiedW11MessageReference()
    - public List getDiagnosticMessages2() {
    - processSimplifiedW11MessageReference();
    - return diagnosticMessages;
    - }
    -
    - private class MyInnerElementVisitor extends W11FindInnerElementVisitor {
    - private List diagMessages = new ArrayList();
    -
    - public void findErrorsAndWarnings(XSDElementDeclaration xsdElement) {
    - if (xsdElement.getTypeDefinition() == null || xsdElement.getTypeDefinition().getSchema() == null) {
    - // No XSD type (non anonymous) defined
    - diagMessages.add(new ModelDiagnosticInfo(getUndefinedArg1String("type"), ModelDiagnosticInfo.ERROR_TYPE, null));
    - }
    -
    - XSDElementDeclaration innerElement = super.getInnerXSDElement(xsdElement);
    - if (innerElement.equals(xsdElement)) {
    - diagMessages.add(new ModelDiagnosticInfo(getNoParametersSpecifiedString(), ModelDiagnosticInfo.WARNING_TYPE, null));
    - }
    - }
    -
    - public List getDiagnosticMessages() {
    - return diagMessages;
    - }
    - }
    -
    - private String getUndefinedArg1String(String arg) {
    - String[] args = new String[1];
    - args[0] = arg;
    - String newString = getStringForKey("_UI_LABEL_UNDEFINED_ARG1", args);
    - return newString;
    - }
    -
    - private String getNoParametersSpecifiedString() {
    - String string = null;
    - String[] args = new String[0];
    - string = getStringForKey("_UI_LABEL_NO_PARAMETERS_SPECIFIED", args);
    - return string;
    - }
    -
    - private String getStringForKey(String key, Object[] args) {
    - String newString = "";
    - newString = Messages.getString(key, args);
    -
    - Object object = WSDLEditorPlugin.getInstance().getProductCustomizationProvider();
    - if (object instanceof ProductCustomizationProvider) {
    - ProductCustomizationProvider productCustomizationProvider = (ProductCustomizationProvider)object;
    - String customizedString = "";
    - if (args == null) {
    - customizedString = productCustomizationProvider.getProductString(key);
    - }
    - else {
    - customizedString = productCustomizationProvider.getProductString(key, args);
    - }
    -
    - if (customizedString != null && !customizedString.equals("")) {
    - newString = customizedString;
    - }
    - }
    -
    - if (newString == null) {
    - newString = "";
    - }
    -
    - return newString;
    - }
    - } \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Operation.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Operation.java
    deleted file mode 100644
    index e63a67e30..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11Operation.java
    +++ /dev/null
    @@ -1,207 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
    -
    -import java.util.ArrayList;
    -import java.util.Iterator;
    -import java.util.List;
    -
    -import javax.wsdl.OperationType;
    -
    -import org.eclipse.emf.ecore.EObject;
    -import org.eclipse.gef.commands.Command;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.ui.IEditorPart;
    -import org.eclipse.ui.PlatformUI;
    -import org.eclipse.wst.wsdl.Input;
    -import org.eclipse.wst.wsdl.Operation;
    -import org.eclipse.wst.wsdl.Output;
    -import org.eclipse.wst.wsdl.ui.internal.DefaultEditorMode;
    -import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.actions.OpenInNewEditor;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddFaultParameterCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddInputParameterCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11AddOutputParameterCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11ReorderMessageReferencesCommand;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddFaultAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddInputAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddOperationAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDAddOutputAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IInterface;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IOperation;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
    -import org.eclipse.wst.wsdl.ui.internal.commands.AddBaseParameterCommand;
    -import org.eclipse.wst.xsd.ui.internal.adt.editor.EditorModeManager;
    -
    -public class W11Operation extends WSDLBaseAdapter implements IOperation {
    - public List getMessages()
    - {
    - List modelAdapterList = new ArrayList(getOperation().getEFaults().size() + 2);
    -
    - Input input = getOperation().getEInput();
    - Output output = getOperation().getEOutput();
    -
    - OperationType operationType = getOperation().getStyle();
    - if (operationType != null) {
    - if (operationType.equals(OperationType.REQUEST_RESPONSE) && input != null && output != null) {
    - // Input, Output
    - modelAdapterList.add(createAdapter(input));
    - modelAdapterList.add(createAdapter(output));
    - }
    - else if (operationType.equals(OperationType.SOLICIT_RESPONSE) && input != null && output != null) {
    - // Output, Input
    - modelAdapterList.add(createAdapter(output));
    - modelAdapterList.add(createAdapter(input));
    - }
    - else if (operationType.equals(OperationType.ONE_WAY) && input != null) {
    - // Input
    - modelAdapterList.add(createAdapter(input));
    - }
    - else if (operationType.equals(OperationType.NOTIFICATION) && output != null) {
    - //Output
    - modelAdapterList.add(createAdapter(output));
    - }
    - }
    -
    - for (Iterator i = getOperation().getEFaults().iterator(); i.hasNext();) {
    - EObject o = (EObject) i.next();
    - modelAdapterList.add(createAdapter(o));
    - }
    -
    - return modelAdapterList;
    - }
    -
    - // Convienence method
    - public Operation getOperation()
    - {
    - return (Operation) target;
    - }
    -
    - public String getName()
    - {
    - return getOperation().getName();
    - }
    -
    - public IInterface getOwnerInterface()
    - {
    - return (IInterface)owner;
    - }
    -
    - public String[] getActions(Object object) {
    - List actions = new ArrayList();
    - actions.add(ASDAddOperationAction.ID);
    - actions.addAll(getValidInputOutpuActions());
    - actions.add(ASDAddFaultAction.ID);
    - actions.add(ASDDeleteAction.ID);
    - if (isReadOnly()) {
    - actions.add(OpenInNewEditor.ID);
    - }
    -
    - String[] actionIDs = new String[actions.size()];
    - for (int index = 0; index < actions.size(); index++) {
    - actionIDs[index] = (String) actions.get(index);
    - }
    -
    - return actionIDs;
    - }
    -
    - public Command getAddInputCommand() {
    - W11AddInputParameterCommand command = new W11AddInputParameterCommand(getOperation());
    -
    - IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
    - EditorModeManager manager = (EditorModeManager) editor.getAdapter(EditorModeManager.class);
    - if (manager.getCurrentMode().getId() != DefaultEditorMode.class.getName()) {
    - command.setParameterPattern(AddBaseParameterCommand.PART_ELEMENT_SEQ_ELEMENT);
    - }
    -
    - return command;
    - }
    -
    - public Command getAddOutputCommand() {
    - W11AddOutputParameterCommand command = new W11AddOutputParameterCommand(getOperation());
    -
    - IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
    - EditorModeManager manager = (EditorModeManager) editor.getAdapter(EditorModeManager.class);
    - if (manager.getCurrentMode().getId() != DefaultEditorMode.class.getName()) {
    - command.setParameterPattern(AddBaseParameterCommand.PART_ELEMENT_SEQ_ELEMENT);
    - }
    -
    - return command;
    - }
    -
    - public Command getAddFaultCommand(Object fault) {
    - W11AddFaultParameterCommand command = new W11AddFaultParameterCommand(getOperation(), null);
    -
    - IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
    - EditorModeManager manager = (EditorModeManager) editor.getAdapter(EditorModeManager.class);
    - if (manager.getCurrentMode().getId() != DefaultEditorMode.class.getName()) {
    - command.setParameterPattern(AddBaseParameterCommand.PART_ELEMENT_SEQ_ELEMENT);
    - }
    -
    - return command;
    - }
    -
    - public Command getReorderMessageReferencesCommand(IMessageReference leftSibling, IMessageReference rightSibling, IMessageReference movingMessageRef) {
    - return new W11ReorderMessageReferencesCommand(leftSibling, rightSibling, movingMessageRef);
    - }
    -
    - public Command getDeleteCommand() {
    - return new W11DeleteCommand(this);
    - }
    -
    - public List getValidInputOutpuActions() {
    - List list = new ArrayList();
    -
    - if (getOperation().getEInput() == null) {
    - list.add(ASDAddInputAction.ID);
    - }
    - if (getOperation().getEOutput() == null) {
    - list.add(ASDAddOutputAction.ID);
    - }
    -
    - return list;
    - }
    -
    - public Image getImage() {
    - return WSDLEditorPlugin.getInstance().getImage("icons/operation_obj.gif"); //$NON-NLS-1$
    - }
    -
    - public String getText() {
    - return "operation";
    - }
    -
    - public ITreeElement[] getChildren() {
    - List messages = getMessages();
    - ITreeElement[] treeElements = new ITreeElement[messages.size()];
    -
    - for (int index = 0; index < messages.size(); index++) {
    - treeElements[index] = (ITreeElement) messages.get(index);
    - }
    -
    - return treeElements;
    - }
    -
    - public boolean hasChildren() {
    - if (getChildren().length > 0) {
    - return true;
    - }
    -
    - return false;
    - }
    -
    - public ITreeElement getParent() {
    - return null;
    - }
    -} \ No newline at end of file
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11ParameterForAttribute.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11ParameterForAttribute.java
    deleted file mode 100644
    index 5aaa7c093..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11ParameterForAttribute.java
    +++ /dev/null
    @@ -1,132 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
    -
    -import java.util.ArrayList;
    -import java.util.List;
    -
    -import org.eclipse.gef.commands.Command;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetExistingTypeAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetNewTypeAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteParameterCommand;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
    -import org.eclipse.wst.xsd.ui.internal.adt.editor.ProductCustomizationProvider;
    -import org.eclipse.xsd.XSDAttributeDeclaration;
    -import org.eclipse.xsd.XSDAttributeUse;
    -import org.eclipse.xsd.XSDTypeDefinition;
    -
    -//import com.ibm.ccl.soa.sdo.wsdl.ui.internal.commands.SDOW11DeleteCommand;
    -
    -public class W11ParameterForAttribute extends WSDLBaseAdapter implements IParameter {
    -
    - protected XSDAttributeUse getXSDAttributeUse() {
    - return (XSDAttributeUse) target;
    - }
    -
    - protected XSDAttributeDeclaration getXSDAtttributeDeclaration() {
    - XSDAttributeUse attrUse = getXSDAttributeUse();
    - return attrUse.getAttributeDeclaration();
    - }
    -
    - public Object getOwner() {
    - return (IMessageReference) owner;
    - }
    -
    - public String getName() {
    - return getXSDAtttributeDeclaration().getName();
    - }
    -
    - public String getComponentName() {
    - XSDAttributeDeclaration attrDecl = getXSDAtttributeDeclaration();
    -
    - if (attrDecl.getType() != null) {
    - return attrDecl.getType().getName();
    - }
    -
    - return "error: could not get type name"; //$NON-NLS-1$
    - }
    -
    - public String getPreview() {
    - return ""; //$NON-NLS-1$
    - }
    -
    - public String getComponentNameQualifier() {
    - XSDTypeDefinition td = getXSDAtttributeDeclaration().getTypeDefinition();
    - return td != null ? td.getTargetNamespace() : null;
    - }
    -
    - public String[] getActions(Object object) {
    - List actions = new ArrayList();
    - //list.add(ASDAddOperationAction.ID);
    - //list.add(ASDAddInputAction.ID);
    - //list.add(ASDAddOutputAction.ID);
    - //list.add(ASDAddFaultAction.ID);
    - actions.add(BaseSelectionAction.SUBMENU_START_ID + Messages._UI_ACTION_SET_TYPE); //$NON-NLS-1$
    - actions.add(W11SetNewTypeAction.ID);
    - actions.add(W11SetExistingTypeAction.ID);
    - actions.add(BaseSelectionAction.SUBMENU_END_ID);
    -
    - actions.add(ASDDeleteAction.ID);
    - String[] result = new String[actions.size()];
    - actions.toArray(result);
    - return result;
    - }
    -
    - public Command getDeleteCommand() {
    - return new W11DeleteParameterCommand(this);
    - }
    -
    - public Command getSetTypeCommand(String id) {
    - return null;
    - }
    -
    - public Image getImage() {
    - return null;
    - }
    -
    - public String getText() {
    - return getParameterString() + " - attribute";
    - }
    -
    - private String getParameterString() {
    - String string = "";
    - Object object = WSDLEditorPlugin.getInstance().getProductCustomizationProvider();
    - if (object instanceof ProductCustomizationProvider) {
    - ProductCustomizationProvider productCustomizationProvider = (ProductCustomizationProvider)object;
    - String newString = productCustomizationProvider.getProductString("_UI_LABEL_PARAMETER");
    - if (newString != null) {
    - string = newString;
    - }
    - }
    -
    - return string;
    - }
    -
    - public ITreeElement[] getChildren() {
    - return new ITreeElement[0];
    - }
    -
    - public boolean hasChildren() {
    - return false;
    - }
    -
    - public ITreeElement getParent() {
    - return null;
    - }
    -}
    diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11ParameterForElement.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11ParameterForElement.java
    deleted file mode 100644
    index 712fca26c..000000000
    --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/adapters/basic/W11ParameterForElement.java
    +++ /dev/null
    @@ -1,149 +0,0 @@
    -/*******************************************************************************
    - * Copyright (c) 2001, 2006 IBM Corporation and others.
    - * All rights reserved. This program and the accompanying materials
    - * are made available under the terms of the Eclipse Public License v1.0
    - * which accompanies this distribution, and is available at
    - * http://www.eclipse.org/legal/epl-v10.html
    - *
    - * Contributors:
    - * IBM Corporation - initial API and implementation
    - *******************************************************************************/
    -package org.eclipse.wst.wsdl.ui.internal.adapters.basic;
    -
    -import java.util.ArrayList;
    -import java.util.List;
    -
    -import org.eclipse.gef.commands.Command;
    -import org.eclipse.swt.graphics.Image;
    -import org.eclipse.wst.wsdl.ui.internal.Messages;
    -import org.eclipse.wst.wsdl.ui.internal.WSDLEditorPlugin;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.WSDLBaseAdapter;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetExistingTypeAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.actions.W11SetNewTypeAction;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11DeleteParameterCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11RenameCommand;
    -import org.eclipse.wst.wsdl.ui.internal.adapters.commands.W11SetTypeCommand;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.ASDDeleteAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.actions.BaseSelectionAction;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IMessageReference;
    -import org.eclipse.wst.wsdl.ui.internal.asd.facade.IParameter;
    -import org.eclipse.wst.wsdl.ui.internal.asd.outline.ITreeElement;
    -import org.eclipse.wst.xsd.ui.internal.adt.editor.ProductCustomizationProvider;
    -import org.eclipse.xsd.XSDElementDeclaration;
    -import org.eclipse.xsd.XSDTypeDefinition;
    -
    -
    -public class W11ParameterForElement extends WSDLBaseAdapter implements IParameter
    -{
    - protected XSDElementDeclaration getXSDElementDeclaration()
    - {
    - return ((XSDElementDeclaration) target).getResolvedElementDeclaration();
    - }
    -
    - public String getName()
    - {
    - return getXSDElementDeclaration().getName();
    - }
    -
    - public String getComponentName()
    - {
    - String compName = "";// + Messages.getString("_UI_LABEL_NO_TYPE_SPECIFIED") + ")"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
    - XSDTypeDefinition anonymousType = getXSDElementDeclaration().getAnonymousTypeDefinition();
    - XSDTypeDefinition td = getXSDElementDeclaration().getTypeDefinition();
    -
    - if (anonymousType != null) {
    - compName = "**anonymous**";
    - }
    -
    - return (td != null && td.getName() != null) ? td.getName() : compName;
    - }
    -
    - public String getPreview() {
    - return ""; //$NON-NLS-1$
    - }
    -
    - public String getComponentNameQualifier()
    - {
    - XSDTypeDefinition td = getXSDElementDeclaration().getTypeDefinition();
    - return td != null ? td.getTargetNamespace() : null;
    - }
    -
    - public String[] getActions(Object object) {
    - List actions = new ArrayList();
    - //list.add(ASDAddOperationAction.ID);
    - //list.add(ASDAddInputAction.ID);
    - //list.add(ASDAddOutputAction.ID);
    - //list.add(ASDAddFaultAction.ID);
    - actions.add(BaseSelectionAction.SUBMENU_START_ID + Messages._UI_ACTION_SET_TYPE); //$NON-NLS-1$
    - actions.add(W11SetNewTypeAction.ID);
    - actions.add(W11SetExistingTypeAction.ID);
    - actions.add(BaseSelectionAction.SUBMENU_END_ID);
    -