Hi Jason,
Thanks for all of your responses to my queries. Here is another one.
My objective is to replace certain strings in a docx file with some values.
So, I have used docx4j to read the docx file and then convert it into xml ,replace the string . A few sections were also added as part of this change.
so the TOC had to be updated accordingly.
when I tried updating the TOC, I got this error
org.docx4j.toc.TocException: Error in toc web service at http://converter-eval.plutext.com:80/v1 ... 00/convert
HTTP response: 301 Moved Permanently
Can you please let me know the mistake I am making.
Thanks in advance