Hi, I updated the maven page to make it clear that you need Jetty if you aren't using the CXFServlet. I think a dependency guide would be a great idea though. I'll add it to the todo list :-) Thanks, - Dan
On 6/17/07, Michael Matczynski <[EMAIL PROTECTED]> wrote:
I've setup CXF with Maven using the dependencies listed at: http://cwiki.apache.org/CXF20DOC/maven-integration-and-plugin.html I'm trying to create a simple service and am receiving the following error message: INFO: Creating Service {http://www.abc.com/}MyService<http://www.abc.com/%7DMyService>from class com.abc.MyService Exception in thread "main" java.lang.RuntimeException: Could not find destination factory for transport http://schemas.xmlsoap.org/soap/http Any suggestions on what could be wrong? If add all the JARs under CXF's lib dir to my CLASSPATH, the server starts properly. Is there an additional maven dependency that I'm missing, or at least a guide that describes the different CXF Maven artifacts? Thanks! Mike Code: ServerFactoryBean svrFactory = *new* JaxWsServerFactoryBean(); svrFactory.setServiceClass(MyService.*class*); svrFactory.setAddress("http://localhost:8080"/MyService"); svrFactory.setServiceBean(*new* MyImpl()); svrFactory.create(); -- Michael Matczynski e: [EMAIL PROTECTED] c: 617-388-4606 w: www.zingtech.com w: www.catchwine.com
-- Dan Diephouse Envoi Solutions http://envoisolutions.com | http://netzooid.com/blog
