Debugging XML Services

Unanswered Question

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
msabir Wed, 12/03/2008 - 09:26
User Badges:
  • Bronze, 100 points or more

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.


stephan.steiner Thu, 12/04/2008 - 00:13
User Badges:
  • Silver, 250 points or more

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.

dstaudt Thu, 12/04/2008 - 08:06
User Badges:
  • Cisco Employee,

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.

Actions

This Discussion