cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3065
Views
0
Helpful
1
Replies

XML Parsing Error: Content is not allowed in trailing section

devlincisco
Level 1
Level 1

I'm getting the following error when trying to parse the xml response from a phone execute command.

"Content is not allowed in trailing section"

I found that there is some erroneous data trailing the response xml which is the cause of the problem. This only occurs when using the service with phones registered to a CallManager 4 (4.0.1 exactly). I had no problems when using the same phones with the service on a CallMangager running 3.3.

Any ideas what this extra data is? We'll probably have to manually filter the incoming xml response to ensure it's valid xml, but I'm curious as to what the extra data is, as well as if the CallManager is actually proxying the request, which would explain the differences between using it on 3.3 and 4?

1 Reply 1

stephan.steiner
Spotlight
Spotlight

I've never used CM3.3 but I started developing using the documentation for CM3.3 and later switched to the 4.0x documentation and I didn't find any particular difference (of course, there's additional elements for the 7970 phone). It might be useful if you could trace your http exchanges.. I think it would at least point you in the right direction.