Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334811 - Web Service Wizard: Error Template has not been defined
Summary: Web Service Wizard: Error Template has not been defined
Status: RESOLVED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.3   Edit
Assignee: Mark Hutchinson CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords:
Depends on: 334706
Blocks:
  Show dependency tree
 
Reported: 2011-01-19 11:37 EST by Mark Hutchinson CLA
Modified: 2011-01-19 11:44 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hutchinson CLA 2011-01-19 11:37:55 EST
Also commit this change for 3.3

+++ This bug was initially created as a clone of Bug #334706 +++

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)
Comment 1 Mark Hutchinson CLA 2011-01-19 11:44:09 EST
Checked fix into HEAD.
Comment 2 Mark Hutchinson CLA 2011-01-19 11:44:47 EST
resolving