Community
Participate
Working Groups
To reproduce: 1. Create an EJB Project named "WebServiceProjectClient" 2. Add a WSDL file to this EJB project. 3. Right click on the WSDL and select "Web Services > Generate Java Bean Skeleton" Notice this excpetion IWAB0234E An internal error occurred. Details: Template has not been defined. java.lang.IllegalArgumentException: Template has not been defined. at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectFrameworkImpl.getTemplate(FacetedProjectFrameworkImpl.java:569) at org.eclipse.wst.common.project.facet.core.ProjectFacetsManager.getTemplate(ProjectFacetsManager.java:268) at org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2.doesClientRuntimeSupportTemplate(WebServiceRuntimeExtensionUtils2.java:1832) at org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2.getClientRuntimeId(WebServiceRuntimeExtensionUtils2.java:1349) at org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand.defaultClientSideFromServiceSide(ClientRuntimeSelectionWidgetDefaultingCommand.java:1317) at org.eclipse.jst.ws.internal.creation.ui.widgets.runtime.ServerRuntimeSelectionWidgetDefaultingCommand.defaultClientSide(ServerRuntimeSelectionWidgetDefaultingCommand.java:248) at org.eclipse.jst.ws.internal.creation.ui.widgets.runtime.ServerRuntimeSelectionWidgetDefaultingCommand.execute(ServerRuntimeSelectionWidgetDefaultingCommand.java:216) at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:419) at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:359) at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:254)
Created attachment 187047 [details] proposed patch
* Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug" (requested by an adopter) please document it as such. If certain projects are in the workspace the Web Services wizard will not launch. Users are blocked from creating web services. * Is there a work-around? If so, why do you believe the work-around is insufficient? Users can rename the project called "WebServiceProjectClient" to something different. * How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? This has been manually tested. * Give a brief technical overview. Who has reviewed this fix? We were passing in the name of the service project into WebServiceRuntimeExtensionUtils2.getClientRuntimeId instead of the client project. Keith will review the fix. * What is the risk associated with this fix? Very low.
Looks good Mark. Thanks.
PMC, please review/approve.
Checked into R3_2_maintenance