Hi Guillaume,
I just recall we programmatically publish endpoint in CXFServlet at very
first version, but now we all delegate to spring to do it. You can refer to
http://fisheye6.cenqua.com/browse/celtixfire/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/servlet/CXFServlet.java?r=448031
to get roughly idea how we do it before, but I don't think it's a good
way now, spring is more flexsiable.
Best Regard
Freeman
Jeff.Yu wrote:
Hi,
Do you mean you want to publish the endpoint without spring
configuration? If you want to do this, you need to write your servlet
to publish the endpoint programmatically.
Thanks
Jeff
tog wrote:
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