axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From imran ismail <rishar...@yahoo.com>
Subject Re: Help
Date Mon, 12 Sep 2011 07:19:31 GMT
Hi Tony,
Thank you for the response

I set the Axis2.war path at Windows-> Preferences-> Web Services-> axis2.war location
and it's gave me this message "Axis2 runtime loaded successfully"

after that, I have created a dynamic web project and, add simple java class "MyService.java"
and try to create a web service use bottom up approach.
then I get this following message 

Unable to add the follwing facets to project WebServiceProject: Axis2 Web Services Core, Axis2
Web Services Extensions.
    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



.
From: Tony HEDOUX <hedouxt@hotmail.com>
To: java-user@axis.apache.org
Sent: Monday, September 12, 2011 12:01 PM
Subject: RE: Help


 
Hi,

What do you exactly means by "install Axis2" ?

If you use Eclipse WTP, you just have to give Axis2 binary path to Eclipse.

Maybe have you this null pointer exception when you try to generate Axis2 web service?

Tony



________________________________
Date: Sun, 11 Sep 2011 23:16:58 -0700
From: rishard76@yahoo.com
Subject: Help
To: java-user@axis.apache.org


Hi All,
I am just new to web services. However I have found a tutorial to develop Axis2 base web services
using eclipse. But, when I'm trying to install the Axis2 into eclipse i find a error saying
that, unable to install axis2 core 1.1 and in the details it says Nullpointer exception. Is
any out there who got this same and would be able to rectified, please hellp me.

Thanks and kind regards,
Imran
Mime
View raw message