Hello,

>> Note that the GUI runs in an independent JVM; it does not influence HTTP
calls.
The explanation was very helpful.

I ended up with a CURL command to invalidate XSD that is cached behind HTTP
listener calls (different JVM).
curl -i -u <username>:<password> -X POST -H "Content-Type: application/xml"
-d "<query
xmlns='http://basex.org/rest'><text>validate:xsd-init()</text></query>"
"http://<host>:8080/rest"

It emits the following:
HTTP/1.1 200 OK
Date: Mon, 30 Dec 2024 14:44:03 GMT
Content-Type: application/xml; charset=UTF-8
Content-Length: 0
Server: Jetty(11.0.24)

And everything is working as expected.

Thanks a lot.

Regards,
Yitzhak Khabinsky


Reply via email to