<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Scan Mode on 7925</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7564965" />
  <subtitle>Scan Mode on 7925</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7564965</id>
  <updated>2013-06-19T03:34:51Z</updated>
  <dc:date>2013-06-19T03:34:51Z</dc:date>
  <entry>
    <title>New Message from David Staudt in Administration XML (AXL) - Administration</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7565432" />
    <author>
      <name>Wes Schochet</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7565432</id>
    <updated>2012-10-12T20:37:26Z</updated>
    <published>2012-10-12T20:37:26Z</published>
    <summary type="html">OK - this is starting to make sense.  I get slightly different results
executing the query
 
select * from device where name= 'SEP00233341C798'
 
from executeSQLQuery and from the console using run sql 
 
From AXL I get          
 
  &lt;row&gt;
               &lt;pkid&gt;001f76a7-358a-552c-86ea-52647dc9f3c4&lt;/pkid&gt;
               &lt;name&gt;SEP00233341C798&lt;/name&gt;
... snip ...
               &lt;unit&gt;0&lt;/unit&gt;
               &lt;subunit&gt;0&lt;/subunit&gt;
               &lt;vendorConfig&gt;
                  &lt;phoneBookWebAccess&gt;1&lt;/phoneBookWebAccess&gt;
                  &lt;scanningMode&gt;2&lt;/scanningMode&gt;
               &lt;/vendorConfig&gt;
               &lt;tkcountry&gt;64&lt;/tkcountry&gt;
               &lt;tkuserlocale&gt;1&lt;/tkuserlocale&gt;
... snip ...
               &lt;isactive&gt;t&lt;/isactive&gt;
              
&lt;tkstatus_alwaysuseprimeline&gt;2&lt;/tkstatus_alwaysuseprimeline&gt;
              
&lt;tkstatus_alwaysuseprimelineforvm&gt;2&lt;/tkstatus_alwaysuseprimelineforvm&gt;
            &lt;/row&gt;

It seems like I am somehow getting the field name as "vendorConfig"
rather than "xml".  This is the cause of my cornfusion.
 
 
As always David, thanks so much for your help!  

 
 
Wesley A. Schochet
System Architect
Children's of Minnesota
+ wes.schochet@childrensmn.org
(  651-855-2081
È 651-592-5441
&gt;&gt;&gt; On 10/12/2012 at 1:43 PM, Cisco Developer Community Forums
&lt;cdicuser@developer.cisco.com&gt; wrote:

David Staudt has created a new message in the forum "Administration XML
Questions":
-------------------------------------------------------------- Updating
vendor config settings is tricky:
- Vendor config data is stored in a single field in the database, as a
chunk of XML itself
- Note that the - The application would need to read the existing
XMchunk of XML is not XML-escaped or wrapped in a CDATA, it is present
as just XML, which makes it part of the overall XML response document
L from this field, update the XML, and then send the XML back in an
update
- The vendor config XML schema/parameters are not formally documented,
however they are usually pretty self-explanatory
- The vendor config XML for a given model could change due to new
firmware version for that model - almost always this is just to add new
fields, however
As the XML is returned in a chunk, which can have more or less
arbitrary schema itself (xsi:any), your typical WSDL consuming layers
(.NET/Axis) will not make it easy to get access to it. It may be easier
to just use XML parser handling.
--
To respond to this post, please click the following link:
http://developer.cisco.com/web/axl/forums/-/message_boards/view_message/7570177
or simply reply to this email. 

Confidentiality Statement:
This email/fax, including attachments, may include confidential
and/or proprietary information and may be used only by the
person or entity to which it is addressed. If the reader of 
this email/fax is not the intended recipient or his or her 
agent, the reader is hereby notified that any dissemination, 
distribution or copying of this email/fax is prohibited. If you 
have received this email/fax in error, please notify the sender 
by replying to this message and deleting this email or 
destroying this facsimile immediately.</summary>
    <dc:creator>Wes Schochet</dc:creator>
    <dc:date>2012-10-12T20:37:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: Scan Mode on 7925</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7570177" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7570177</id>
    <updated>2012-10-12T18:42:53Z</updated>
    <published>2012-10-12T18:42:53Z</published>
    <summary type="html">Updating vendor config settings is tricky:
- Vendor config data is stored in a single field in the database, as a chunk of XML itself
- Note that the chunk of XML is not XML-escaped or wrapped in a CDATA, it is present as just XML, which makes it part of the overall XML response document
- The application would need to read the existing XML from this field, update the XML, and then send the XML back in an update
- The vendor config XML schema/parameters are not formally documented, however they are usually pretty self-explanatory
- The vendor config XML for a given model could change due to new firmware version for that model - almost always this is just to add new fields, however
As the XML is returned in a chunk, which can have more or less arbitrary schema itself (xsi:any), your typical WSDL consuming layers (.NET/Axis) will not make it easy to get access to it.  It may be easier to just use XML parser handling.</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2012-10-12T18:42:53Z</dc:date>
  </entry>
  <entry>
    <title>Scan Mode on 7925</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7564964" />
    <author>
      <name>Wes Schochet</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7564964</id>
    <updated>2012-10-12T18:27:26Z</updated>
    <published>2012-10-12T18:27:26Z</published>
    <summary type="html">I am trying to update the Scan Mode field on a few hundred 7925 phones.  I thought I could do a relatively simple SQL update, but I am not understanding the table structure.  This info is in the vendor config field / block.  Any insight would be appreciated!

Confidentiality Statement:
This email/fax, including attachments, may include confidential
and/or proprietary information and may be used only by the
person or entity to which it is addressed. If the reader of 
this email/fax is not the intended recipient or his or her 
agent, the reader is hereby notified that any dissemination, 
distribution or copying of this email/fax is prohibited. If you 
have received this email/fax in error, please notify the sender 
by replying to this message and deleting this email or 
destroying this facsimile immediately.</summary>
    <dc:creator>Wes Schochet</dc:creator>
    <dc:date>2012-10-12T18:27:26Z</dc:date>
  </entry>
</feed>

