06-22-2005 04:19 PM - edited 03-13-2019 09:34 AM
i have a phone services emulator instead of the physical phone, it's running in the internet explorer but it sends this error "the content type of the http header has to be 'text/xml' and not 'text/xml;charset=ISO-8859-1", i reviewed the .jsp code an it doesn't specify that... it could be for the emulator??
06-22-2005 05:59 PM
Find out what the header really is. You can use ethereal (free program for sniffing), or probably easier, just hit the page with firefox with the web developer extensions added.. you can view the headers with that plugin very easily.
06-23-2005 09:10 AM
i did that, with firefox, i could see the document tags, and in the propierties says that the encoding is ISO-8859-1, i don't know how to change it
06-23-2005 12:32 PM
Did you specify text/xml as the contenttype in your JSP page, such as:
<%@page contentType="text/xml"%>
06-23-2005 02:37 PM
yes, this is the line:
response.setContentType("text/xml");
a tried changing it but didn't work
06-23-2005 06:38 PM
Perhaps try adding this line to the top of your XML that you send to the emulator:
Not sure if that will help, but you never know...
06-24-2005 06:13 AM
i tried that, it didn't work either, with encoding and with charset (utf-8, unicode), no one works, it's still sending the same error
06-28-2005 04:13 AM
I guess this is something the webserver adds automatically and you need to look into the webserver configuration. But if the emulator is so limited that it can't even handle standard header tags... makes you wonder what other limitations there are that could lead to problems during development. Since you can install CCM for development purposes on any W2K server, and with the IP Communicator you do have a fully functioning SCCP phone, perhaps that would be an alternative solution for you? Or, you can combine the CCM simulator with the IPC and have a complete software-only solution that you can run on a single machine.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide