You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Ann Mathew <an...@tcs.com> on 2009/02/23 12:31:40 UTC
not able to add CXF facet
Hi,
After creating a simple CXf web service, I imported my application(which is
currently using Axis 1.4 to create web service) in the same workspace and
tried to create the web service for main implementation class. After
selecting the POJO web services when I clicked “Next”. I got the following
error.
Unable to add the follwing facets to project MPICRMCustomerServicesWeb: CXF
2.x Web Services.
org.eclipse.core.runtime.CoreException: Failed while installing CXF 2.x
Web Services 1.0.
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1259)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:398)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:290)
When I tried to add CXF facet in Application(Properties -> Project facets
-> Click Modify Project -> Select CXF 2.x web services -> Finish), I am
getting the following error message
“org.eclipse. jst.j2ee.webapplication.internal.impl.ServiceImpl cannot be
cast to org.eclipse.jst.javaee.web.Servlet.”
Could you please help me to solve this issue...
Ann Mathew
--
View this message in context: http://www.nabble.com/not-able-to-add-CXF-facet-tp22159865p22159865.html
Sent from the cxf-dev mailing list archive at Nabble.com.
Re: not able to add CXF facet
Posted by Ann Mathew <an...@tcs.com>.
Hi Oisin,
I am able to create simple web services using the method mentioned in
http://repo.open.iona.com/videos/service-creation/ and I have already set
the CXF preference details.
But for my main web project, I am not able to create web service using CXF.
Thanks
Ann
oisin wrote:
>
> Hi Ann,
> This mailing list is just for developers of the Apache CXF Web services
> framework and runtime. The best place to ask that question is where
> the Eclipse JAXWS Tools development team work. Here's a link to the
> sign-up page for the relevant mailing list
>
> https://dev.eclipse.org/mailman/listinfo/wtp-incubator-dev
>
> BTW, one thing you should do is check you Eclipse preferences. You need
> to make sure that the CXF 2.x webservices preference has been correctly
> filled in with the location of the CXF 2.x runtime:
>
> Window > Preferences > CXF 2.x Preferences
>
> It's just below where the Axis preferences are. You can see a good
> example of how to set things up in the eclipse4sl how-to at
>
> http://www.eclipse4sl.org/documentation/userdoc/html/webservice/cxf/
>
> As soon as I get a chance I'll update the CXF wiki with a guide...
>
> --oh
>
>
--
View this message in context: http://www.nabble.com/not-able-to-add-CXF-facet-tp22159865p22160821.html
Sent from the cxf-dev mailing list archive at Nabble.com.
Re: not able to add CXF facet
Posted by Oisin Hurley <oi...@gmail.com>.
Hi Ann,
This mailing list is just for developers of the Apache CXF Web services
framework and runtime. The best place to ask that question is where
the Eclipse JAXWS Tools development team work. Here's a link to the
sign-up page for the relevant mailing list
https://dev.eclipse.org/mailman/listinfo/wtp-incubator-dev
BTW, one thing you should do is check you Eclipse preferences. You need
to make sure that the CXF 2.x webservices preference has been correctly
filled in with the location of the CXF 2.x runtime:
Window > Preferences > CXF 2.x Preferences
It's just below where the Axis preferences are. You can see a good
example of how to set things up in the eclipse4sl how-to at
http://www.eclipse4sl.org/documentation/userdoc/html/webservice/cxf/
As soon as I get a chance I'll update the CXF wiki with a guide...
--oh