I have been going through the CXF samples; those I have tried work fine, both in standalone mode and with the server part deployed to Tomcat.
What do I need to do if I want to deploy to JBoss instead of Tomcat? I tried to simply drop helloworld.war into the C:\opt\jboss\jboss- 4.0.4.GA\server\default\deploy directory, this gave a class not found exception: 09:00:31,501 ERROR [MainDeployer] Could not create deployment: file:/C:/opt/jboss/jboss-4.0.4.GA/server/default/deploy/helloworld.war org.jboss.ws.WSException: java.lang.ClassNotFoundException: org.apache.cxf.transport.servlet.CXFServlet at org.jboss.ws.server.WebServiceDeployerJSE.isWebserviceDeployment( WebServiceDeployerJSE.java:161) ... Regards, Erlend Leganger My environment: rem set JAVA_HOME=c:\opt\java\jdk1.6.0_02 set JAVA_HOME=c:\opt\java\jdk1.5.0_12 set AXIS2_HOME=c:\opt\axis2\axis2-1.3-RC2 set ANT_HOME=c:\opt\ant\apache-ant-1.7.0 set CATALINA_HOME=c:\opt\tomcat\apache-tomcat-5.5.23 set JBOSS_HOME=c:\opt\jboss\jboss-4.0.4.GA set CFX_HOME=c:\opt\cxf\apache-cxf-2.0-incubator set PATH=C:\WINDOWS set PATH=%PATH%;C:\WINDOWS\system32 set PATH=%PATH%;C:\WINDOWS\System32\Wbem set PATH=%PATH%;%JAVA_HOME%\bin set PATH=%PATH%;%CATALINA_HOME%\bin set PATH=%PATH%;%JBOSS_HOME%\bin set PATH=%PATH%;%ANT_HOME%\bin set CLASSPATH=.;%CFX_HOME%\lib\cxf-manifest-incubator.jar;.\build\classes