The following is what I configured for Dispatcher Servlet in web.xml. Is the issue related to url-pattern? I am also supporting the regular SOAP web service within the same application and the url pattern for Spring Web Services mapped to /services and that is all working. It is the REST part that is not working. My gut feeling is that it is to do with the url-pattern configured with Dispatcher Servlet. All rest calls are mapped to /services/cis/*. Kindly offer suggestions or recommendations.
Thanks,Code:<servlet> <servlet-name>Destiny Customer Information Search Restful Web Service</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <init-param> <param-name>contextConfigLocation</param-name> <param-value></param-value> </init-param> <load-on-startup>2</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Destiny Customer Information Search Restful Web Service</servlet-name> <url-pattern>/services/cis/*</url-pattern> </servlet-mapping> <servlet> <servlet-name>ws</servlet-name> <servlet-class>org.springframework.ws.transport.http.MessageDispatcherServlet</servlet-class> <init-param> <param-name>transformWsdlLocations</param-name> <param-value>true</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>ws</servlet-name> <url-pattern>/services</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>ws</servlet-name> <url-pattern>*.wsdl</url-pattern> </servlet-mapping> <mime-mapping> <extension>xsd</extension> <mime-type>text/xml</mime-type> </mime-mapping>
Vigil


Reply With Quote
