Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Debugging XML Services

Is there a way to debug in detail on the phone side for XML Services...for instance enabling something where every URL it attempts to execute and result is logged...

If not the hard phones, how bout Cisco Communicator...it has a "Enable Debugging" but I can't find the log file...nor does it appear to track the URLs it's attempted to get...

Yes, I could use wireshark except that won't work if it's got a a bad url locally...

Any help would be appreciated...

3 REPLIES
New Member

Re: Debugging XML Services

There used to be a phone emulator from Cisco, but they have not kept it up to date. With it, you could view sort of soft phone along with XML and click on links, etc.

Re: Debugging XML Services

Afaik enable debugging only deals with the phone functionality.

But, Wireshark works even for wrong urls.. first of all you see the incorrect url when your application gives it to the phone in the first place, and then if it is incorrect, you'd still see it in the Wireshark trace.. e.g. if the hostname is wrong you'd see a DNS lookup for that hostname but no response, if the machine is not responding you see a TCP setup but no response, if the path is wrong you'll see the error 500.

This is obviously easiest if you're working with an IP Communicator since you can run wireshark on the same box as the IPC.. with hardphones you just need to configure a mirror/span port on the switch to see what the phone is doing - unfortunately sometimes this is unavoidable because the IPC cannot handle certain things (e.g. the whole new features introduced with the 8.3.5 load like appId, the new streaming uris, etc.) However, an IPC version 7 is supposed to be released this year and it should finally be based on the same code as the phones so apps should behave pretty much like on hardphones which will make the IPC more useful for debugging purposes.

Cisco Employee

Re: Debugging XML Services

A computer plugged into the phone's PC switch port will also be able to capture all the traffic to/from the phone itself. Make sure the port is enabled in CCMadmin.

111
Views
0
Helpful
3
Replies
CreatePlease to create content