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
--
Ian Roberts | Department of Computer Science
[EMAIL PROTECTED] | University of Sheffield, UK