Re: Use Tomcat

2008-01-15 Thread Pawel Janusz
I'm sending files Willem Jiang pisze: Hi Pawel Did you use CXFServlet transport which delegate the http transport to a CXFServlet ? If so , could you show me your Web.xml and Beans.xml? In you case I think you still start a new Jetty engine for listening the port. Willem. Pawel Janusz

Re: Use Tomcat

2008-01-15 Thread Daniel Kulp
Pawel, When deploying in tomcat (or other war based thing), there are two approaches to go to get it to work. You kind of mixed the two approaches so now it doesn't work. :-) Approach one: 1) Original CXF way of doing it: define your beans in WEB-INF/cxf-servlet.xml and do NOT put any

Re: Use Tomcat

2008-01-15 Thread Pawel Janusz
I sent my example, can You translate my conf into correct one with 1st option ? Daniel Kulp pisze: Pawel, When deploying in tomcat (or other war based thing), there are two approaches to go to get it to work. You kind of mixed the two approaches so now it doesn't work. :-) Approach

Re: Use Tomcat

2008-01-15 Thread Willem Jiang
Hi Pawel, I think you just need to remove the below lines in the beans.xml bean class=org.apache.cxf.transport.local.LocalTransportFactory lazy-init=false property name=transportIds list valuehttp://cxf.apache.org/transports/local/value

Re: Use Tomcat

2008-01-14 Thread Pawel Janusz
Thanks but I still have problem. Your answers didn't solve my problem Glen Mazza pisze: Note #4 here may also help clarify things for you: http://www.jroller.com/gmazza/date/200710#notes HTH, Glen Am Donnerstag, den 10.01.2008, 23:29 + schrieb Ian Roberts: Pawel Janusz wrote: I

Use Tomcat

2008-01-10 Thread Pawel Janusz
Hello How to setup CXF not to use Jetty when defining adress in jaxws:endpoint. When I try to pass such: address=/service i got error. Only when I give full address port (port has to be different from Tomcat's). eg. (this one works fine) jaxws:endpoint id=MyServiceService

Re: Use Tomcat

2008-01-10 Thread Ian Roberts
Pawel Janusz wrote: I want to use this one but not working :( jaxws:endpoint id=MyServiceService implementor=#MyServiceServiceImpl address=/MyService/ This form works fine for me in Tomcat. Remember that the address is relative to the CXFServlet mapping in your webapp. So with the

Re: Use Tomcat

2008-01-10 Thread Glen Mazza
Note #4 here may also help clarify things for you: http://www.jroller.com/gmazza/date/200710#notes HTH, Glen Am Donnerstag, den 10.01.2008, 23:29 + schrieb Ian Roberts: Pawel Janusz wrote: I want to use this one but not working :( jaxws:endpoint id=MyServiceService