We are calling a web service in our application. While clicking a button to call that web service, our request seems to be failed and we got an error message as follows:
An error occurred while invoking the Web Service. Details: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers at [row,col {unknown-source}]: [1,50] (APNX-1-4044-000)
Only sometimes, we are getting this error. There is no resemblance in that success flow of web service call. When we get this error, as a trouble shooting try, we have cleared all the browser cookies and retried for the same inputs. It is working fine.
Is there any relation between calling a web service and browser cookies?
We are getting this error only when using SOAP but not while using REST.
Could any one please assist on this issue?
Thanks in advance.