| Summary: | Axis2 java to webservice | ||
|---|---|---|---|
| Product: | [WebTools] WTP Webservices | Reporter: | liuzy <liuzhanyong> |
| Component: | jst.ws | Assignee: | Keith Chong <keith.chong.ca> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Keith Chong <keith.chong.ca> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Moving to jst.ws I can't reproduce using 3.2.3 or 3.3. Did you add configure the Axis2 runtime in the Preferences->Web Services->Axis2 Preferences page? (In reply to comment #2) > I can't reproduce using 3.2.3 or 3.3. Did you add configure the Axis2 runtime > in the Preferences->Web Services->Axis2 Preferences page? Yes. I use Eclipse 3.6R1 and have added configure the Axis2 runtime in the Preferences->Web Services->Axis2 Preferences page. But it always wrong. I don't know why. (In reply to comment #2) > I can't reproduce using 3.2.3 or 3.3. Did you add configure the Axis2 runtime > in the Preferences->Web Services->Axis2 Preferences page? Yes. I use Eclipse 3.6R1 and have added configure the Axis2 runtime in the Preferences->Web Services->Axis2 Preferences page. But it always wrong. I don't know why.(In reply to comment #2) It only happened in Eclipse 3.6. Eclipse 3.5 doesn't have this problem. |
Build Identifier: 20100917-0705 I create a class, named Echo. package study; class Echo { public String echo(String msg) { return msg; } } ----------------------------------------------------------------- When i use this class generate webservice, an exception happened. Error information is "Unable to add the follwing facets to project demo: Axis2 Web Services Extensions, Axis2 Web Services Core.". ----------------------------------------------------------------- Error Details: Unable to add the follwing facets to project demo: Axis2 Web Services Extensions, Axis2 Web Services Core. org.eclipse.wst.common.project.facet.core.FacetedProjectFrameworkException: Failed while installing Axis2 Web Services Core 1.1. at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1508) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:442) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1182) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1118) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$1.run(FacetedProject.java:325) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modify(FacetedProject.java:340) at org.eclipse.jst.ws.internal.consumption.ui.common.FacetOperationDelegate$1.run(FacetOperationDelegate.java:62) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: java.lang.NullPointerException at org.eclipse.jst.ws.axis2.facet.utils.Axis2RuntimeUtils.getAxis2ServletAdminClass(Axis2RuntimeUtils.java:226) at org.eclipse.jst.ws.axis2.facet.commands.MergeWEBXMLCommand.getAdmintServletDescriptor(MergeWEBXMLCommand.java:119) at org.eclipse.jst.ws.axis2.facet.commands.MergeWEBXMLCommand.exexuteOverride(MergeWEBXMLCommand.java:72) at org.eclipse.jst.ws.axis2.facet.commands.Axis2WebservicesServerCommand.executeOverride(Axis2WebservicesServerCommand.java:134) at org.eclipse.jst.ws.axis2.facet.deligate.Axis2CoreFacetInstallDelegate.execute(Axis2CoreFacetInstallDelegate.java:43) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1478) ... 8 more Reproducible: Always