[cisco-voip] AXL addUser problem with groups and roles

Reto Gassmann voip at mrga.ch
Fri Apr 30 09:21:45 EDT 2010


Hello Group

We try to add users with a axl soap statement:

*Request*:

 <SOAP-ENV:Envelope xmlns:SOAP-ENC="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
      <SOAP-ENV:Body>
        <m:addUser xmlns:m="http://www.cisco.com/AXL/API/7.1">
          <newUser>
            <firstname>abcd</firstname>
            <telephoneNumber>1234</telephoneNumber>
            <password><!-- content suppressed --></password>
            <department>ABCDE</department>
            <lastname>deeeff</lastname>
            <enableCTI>true</enableCTI>
            <pin>*******</pin>
            <autoAttendantNameDialing>????asdfasd</autoAttendantNameDialing>
            <displayName>????asdfasd</displayName>
            <userid>abc.def</userid>
            <userLocale>German Germany</userLocale>
            <associatedDevices>
              <device>ATA111111111111</device>
              <device>SEP222222222222</device>
            </associatedDevices>
         *   <associatedGroups>
              <userGroup uuid="{F17F95A6-C185-41A8-872E-70BFAC7E634D}">
                <name>Standard CCM End Users</name>
                <userRoles>
                  <userRole
uuid="{CA97DD09-5DC4-4DB3-9893-2F5D35764BAD}">Standard CCM End
Users"</userRole>
                  <userRole
uuid="{9CA7294A-9559-4BA2-A7CC-212B7C605625}">Standard CCMUSER
Administration</userRole>
                </userRoles>
              </userGroup>
            </associatedGroups>
*          </newUser>
       </m:addUser>
      </SOAP-ENV:Body>
   </SOAP-ENV:Envelope>

 *response*:

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/">
      <SOAP-ENV:Header/>
      <SOAP-ENV:Body>
        <axl:addUserResponse xmlns:axl="http://www.cisco.com/AXL/API/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <return>{D72BCD44-9F53-2F20-9332-0CD95E7FE6F3}</return>
        </axl:addUserResponse>
      </SOAP-ENV:Body>
 </SOAP-ENV:Envelope>
It works for all user fields exept for the userGroups and userRoles. We
cantt get the value to these fileds they stay empty after the add user.

Has anyone an idea why?

Thanks for help
Reto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20100430/91387f36/attachment.html>


More information about the cisco-voip mailing list