← Back to team overview

dhis2-devs team mailing list archive

Re: Error while trying to GET in application/dsd+xml

 

Hi Animut

Currently you can get the dsd for *all* the datasets as a collection,
but not individual ones.

Bob

On 13 February 2013 13:37, Animut D. <animutdt@xxxxxxxxx> wrote:
>
> The representation as html, xml, json works But when I'm trying to GET it in
> application/dsd+xml format...I get the following error ...
> Can anyone help with what should be done?
> I'm trying this as an example URL
> http://apps.dhis2.org/dev/api/dataSets/lyLU2wR22tC
>
>
> javax.servlet.ServletException: Could not resolve view with name 'dataSet'
> in servlet with name 'webapiServlet'
> 	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1162)
> 	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:950)
> 	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
> 	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
> 	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> 	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:322)
> 	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
> 	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
> 	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
> 	org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
> 	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
> 	org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
> 	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
> 	org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
> 	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
> 	org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>


References