cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
270
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Craig Ghareeb on 09-09-2008 10:17:26 PM
In trying to obtain device registration status using the example in the XML Developers guide as well as the sample posted by David in this thread , I always receive a SAXParseException: The element type "soap:SelectCmDevice" must be terminated by the matching end-tag "</soap:SelectCmDevice>"

I'm posting via https://publisherip:8443/realtimeservice/services/RisPort using SOAPAction: http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevice

This must be something silly, as the error smells like syntax. What am I missing?

CM 6.1.1.2000-3

Request:
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.cisco.com/ast/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<soapenv:Header>
<AstHeader xsi:type="soap:AstHeader">
<SessionId xsi:type="xsd:string">ses001</SessionId>
</AstHeader>
</soapenv:Header>
<soapenv:Body>
<soap:SelectCmDevice soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<CmSelectionCriteria xsi:type="soap:CmSelectionCriteria">
<MaxReturnedDevices xsi:type="xsd:unsignedInt">200</MaxReturnedDevices>
<Class xsi:type="xsd:string">Any</Class>
<Model xsi:type="xsd:unsignedInt">255</Model>
<Status xsi:type="xsd:string">Any</Status>
</CmSelectionCriteria>
</soap:SelectCmDevice>
</soapenv:Body>
</soapenv:Envelope>

Subject: Re: RisPort SelectCmDevice ParseException
Replied by: Craig Ghareeb on 09-09-2008 10:43:52 PM
Found it. Somehow I coded the calculation of the content length incorrectly, and the length was so short the entire request wasn't making it to the publisher.

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

Quick Links