Thanks This is working fine now ... I got a cxf groovy service running inside tomcat now. Is there a way to get rid of the spring configuration ? Should I write my own servlet as a mix of the groovy servlet and cxf servlet ?
Thanks Guillaume On 9/27/07, Jeff.Yu <[EMAIL PROTECTED]> wrote: > Hi, Guillaume > > See my comments inline. > > Thanks > Jeff > > tog wrote: > > Hiya, > > > > I would like to publish an aegis service in tomcat using groovyws. As > > a starting point, I have tried the java_first_pojo samples (2.0.2). I > > deployed successfully but could not access it using > > http://localhost:8080/services/hello_world?wsdl > > > The URL should be: > http://localhost:8080/helloworld/services/hello_world?wsdl > > > I then would like to avoid spring configuration and publish my > > endpoint in Java. The doc > > http://cwiki.apache.org/CXF20DOC/servlet-transport.html says I just > > need to use EndPoint.publish(...) ... > > Could someone give me more detail on this ? > > > There are two ways to publish the endpoint, one is using CXF interal API > [1], the other is JAX-WS based [2] that you are looking for. > > [1] > http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/java_first_pojo/src/demo/hw/server/Server.java?view=markup > [2] > http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/src/demo/hw/server/Server.java?view=markup > > Thanks > > Guillaume > > > > > > > -- Best Regards Guillaume http://cheztog.blogspot.com
