ExtensionMobility @ CUCM6, weird responses

Answered Question
Apr 16th, 2008

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!

Attachment: 
I have this problem too.
0 votes
Correct Answer by agiaccone about 8 years 9 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
stephan.steiner Thu, 04/17/2008 - 05:12

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.

Correct Answer
agiaccone Thu, 04/17/2008 - 13:15

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

venca.balak Fri, 04/18/2008 - 00:11

Hi all!

Many thanks to your tests and so...but it works now :-). A problem was that when i send ... i need to 'assign' all this to 'xml variable' like this: xml=... and all this send to EMService. So, my program works now, but attached html form still not :-). But it doesnt matter.Thanks again!!

Actions

This Discussion