cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
490
Views
0
Helpful
3
Replies

ExtensionMobility @ CUCM6, weird responses

venca.balak
Level 1
Level 1

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!

1 Accepted Solution

Accepted Solutions

agiaccone
Level 1
Level 1

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

View solution in original post

3 Replies 3

stephan.steiner
Spotlight
Spotlight

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.

agiaccone
Level 1
Level 1

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

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!!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: