I'm struggling to find out how to refresh vector tiles within the Spatial Map Visualization Component using mv_admin_cli-19.1.0.jar.
I have created the following xml file
<?xml version="1.0" standalone="yes"?>
<non_map_request>
<clear_theme_cache data_source="spod" theme="GUARDRAILS"/>
</non_map_request>
and excuted the following command:
java -jar mv_admin_cli-19.1.0.jar -u xxxx -p xxxx -xml refresh_guardrails.xml -server http://dev.xxxxx.com:9500/mapviewer/mcsadmin
I get the following result:
…
## Establishing initial contact...
## Sending xml request from file: refresh_guardrails.xml
=====> Did not find the CSRF cookie 'X-CSRF-MVS'.
Http status code for Home Page Request: 200
================================================================
Http status code for Authentication Request: 200
================================================================
Http status code for Authenticated Form Post: 200
(http://dev.itis-map.com:9500/mapviewer/mcsadmin)
================================================================
<?xml version="1.0" encoding="UTF-8"?><mcs_error>MCSServlet%3AMAPVIEWER-06052%3A+Error+in+parsing+xml+request.</mcs_error>
Please note that the predefined layer exists, can be displayed, and shows up in the metadata.
Please assist.