04-16-2008 06:57 AM - edited 03-13-2019 05:10 PM
Hi!
Im trying to get info via EM services at address: http://CM:8080/emservice/EMServiceServlet, but it still responses following xml:
<?xml version="1.0"?>
<response>
<failure>
<error code="0">Other Parser Error: Connection refused
</error>
</failure>
</response>
to form in html, see attachement. When Im trying to access that service address via browser, it shows HTTP Status 500, NullPointer Exception.
Does included form work for you, please? Where can be problem?
Thanks in advance!
Solved! Go to Solution.
04-17-2008 01:15 PM
I've tried your emquery.html on my CUCM 6.1 box and worked fine. I used an EM proxy user credentials and my userid.
As for the NullPointer exception, it's a normal behavior, the EM applet expects at least one argument (the device) so if you point simply to
http://CM:8080/emservice/EMServiceServlet it finds no argument i.e. a Null argument.
To test the service point to http://CM:8080/emservice/EMServiceServlet?DEVICE=SEPXXXXXXXX
HTH
Alberto
04-17-2008 05:12 AM
You're posting to port 8080 which should be okay - then again I only know for sure for CCM 5.x. Have you tried other ports (80, 443, 8443)? I know the error 0 very well.. when I had it I sent my EM requests to a ccm5 on port 80 Once I switched to 8080, it worked but it could well be that they changed ports yet again.
04-17-2008 01:15 PM
I've tried your emquery.html on my CUCM 6.1 box and worked fine. I used an EM proxy user credentials and my userid.
As for the NullPointer exception, it's a normal behavior, the EM applet expects at least one argument (the device) so if you point simply to
http://CM:8080/emservice/EMServiceServlet it finds no argument i.e. a Null argument.
To test the service point to http://CM:8080/emservice/EMServiceServlet?DEVICE=SEPXXXXXXXX
HTH
Alberto
04-18-2008 12:11 AM
Hi all!
Many thanks to your tests and so...but it works now :-). A problem was that when i send
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