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 +0000 schrieb 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
following in the web.xml for my-webapp:
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
the service appears at http://localhost:8080/my-webapp/services/MyService
If you really want it at the top level (http://localhost:8080/MyService)
you'd have to put CXF in the ROOT webapp and map it to a url-pattern of /*
Ian