I have a simple REST/SOAP service that uses the CXF framework. This is my code and config:

Code:
package test;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebParam.Mode;
import javax.jws.WebService;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

import org.apache.cxf.annotations.Logging;

@WebService
@Logging(inLocation="<stdout>", outLocation="<stdout>")
@Path("/state")
@Produces("application/xml")
public interface StateService {
	
	@WebMethod
	@Path("/capital/{state})")
	City getCapital(@WebParam(name="state", mode=Mode.IN) String state) throws Exception;
}
Code:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	   xmlns:jaxws="http://cxf.apache.org/jaxws"
	   xmlns:jaxrs="http://cxf.apache.org/jaxrs"
	   xmlns:cxf="http://cxf.apache.org/core"
	   xsi:schemaLocation="http://www.springframework.org/schema/beans
	   			http://www.springframework.org/schema/beans/spring-beans.xsd
	   			http://cxf.apache.org/jaxws
	   			http://cxf.apache.org/schemas/jaxws.xsd
	   			http://cxf.apache.org/jaxrs
	   			http://cxf.apache.org/schemas/jaxrs.xsd
	   			http://cxf.apache.org/core
	   			http://cxf.apache.org/schemas/core.xsd">

	<import resource="classpath:META-INF/cxf/cxf.xml"/>
	<import resource="classpath*:META-INF/cxf/cxf-extension-*.xml" />
	
	<jaxws:endpoint id="state"
			implementor="test.StateServiceImpl"
			address="/state">
		<jaxws:handlers>
			<bean class="test.ValidationHandler"/>
		</jaxws:handlers>
	</jaxws:endpoint>
	
	<jaxrs:server id="stateRestService" address="/stateRestService">
		<jaxrs:serviceBeans>
			<ref bean="stateService"/>
		</jaxrs:serviceBeans>
		<jaxrs:features>
			<cxf:logging/>
		</jaxrs:features>
	</jaxrs:server>
	
	<bean id="stateService" class="test.StateServiceImpl"/>

</beans>
Now what URL am I supposed to hit to invoke REST?
My web app name on Tomcat is "MyCXF".

I tried http://localhost:8080/MyCXF/stateRestService/capital/state/..,
http://localhost:8080/stateRestService/capital/state/..,
http://localhost:8080/MyCXF/state/capital/state/..,
http://localhost:8080/MyCXF/stateRestService/state/capital/state/...
and others but none seem to work.
What is the right way?
Thanks.