Client found response content type of 'text/html;charset=utf-8', but expected 'text/xml'
The code that executes the Java Web Service:
Expand|Select|Wrap|Line Numbers
- private bool WSFile(sbyte[] sbfr, string url, string from, string loannbr, string user, string password)
- {
- debugmsg("WSFile(" + url + ", " + from + ", " + loannbr + ", " + user + ", " + password + ")");
- try
- {
- //Transmit file to web service(s)
- IUploadRespaDocsService ws = new IUploadRespaDocsService();
- ws.Url = url;
- ws.uploadDocument(loannbr, from, sbfr, user, password);
- ws.Dispose();
- }
- catch (Exception ex)
- {
- throw new Exception("Error--WSFile:" + TruncateLongMessage(ex.Message));
- }
- return true;
- }
I really suspect that there is an issue with the Java Web Service, but I don't have direct access to that WS. We had the issue yesterday. I was told that the stack heap was large and was causing system slowness. The explanation provided was that the stack heap was large because the server hadn't been rebooted recently. The server was rebooted last night, but we had the same issue today.
Any assistance will be appreciated.