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
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
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
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
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
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
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
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