10-15-2024 01:06 PM
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/15.0">
<soapenv:Header/>
<soapenv:Body>
<ns:updateUser xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<userid>##userid##</userid>
<password>##password##</password>
<pin>##pin##</pin>
<userLocale xsi:nil="true"/>
<digestCredentials xsi:nil="true"/>
<subscribeCallingSearchSpaceName xsi:nil="true"/>
<mlppPassword xsi:nil="true"/>
<serviceProfile xsi:nil="true"/>
<directoryUri xsi:nil="true"/>
<selfService xsi:nil="true"/>
<userProfile xsi:nil="true"/>
<ldapDirectoryName xsi:nil="true"/>
<emMaxLoginTime xsi:nil="true"/>
<ipccExtension xsi:nil="true" />
<ipccRoutePartition xsi:nil="true" />
<convertUserAccount xsi:nil="true" />
<customerName xsi:nil="true" />
<convertUserAccount/>
</ns:updateUser>
</soapenv:Body>
</soapenv:Envelope>
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring/>
<detail>
<axlError>
<axlcode>-1</axlcode>
<axlmessage/>
<request>updateUser</request>
</axlError>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
<!--ipccExtension xsi:nil="true" /-->
<!--ipccRoutePartition xsi:nil="true" /-->
<!--convertUserAccount xsi:nil="true" /-->
<!--customerName xsi:nil="true" /-->
Solved! Go to Solution.
10-16-2024 12:29 AM
Exactly. Keep your payload small and remove unnecessary elements
10-15-2024 11:58 PM
Hello! You are right.
Nillable is possible. Since CUCM v12 I always remove the XSI Atrribute from the requests.
Try this request. Works for me ....
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/15.0">
<soapenv:Header/>
<soapenv:Body>
<ns:updateUser xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<userid>##userid##</userid>
<password>##password##</password>
<pin>##pin##</pin>
<userLocale xsi:nil="true"/>
<digestCredentials xsi:nil="true"/>
<subscribeCallingSearchSpaceName xsi:nil="true"/>
<mlppPassword xsi:nil="true"/>
<serviceProfile xsi:nil="true"/>
<directoryUri xsi:nil="true"/>
<selfService xsi:nil="true"/>
<userProfile xsi:nil="true"/>
<ldapDirectoryName xsi:nil="true"/>
<emMaxLoginTime xsi:nil="true"/>
<ipccExtension/>
<ipccRoutePartition/>
<convertUserAccount/>
<customerName/>
</ns:updateUser>
</soapenv:Body>
</soapenv:Envelope>
10-16-2024 04:00 AM
Hi, yes i tried that and it is working. But the XML Serializer in my C# project always generate this unnecessary elements with the nil attribute. I'm just wondering because it always worked with AXL version 12.5. These problems arose after the migration to 15.0!
10-16-2024 04:12 AM
Do you use the AXLAPI.wsdl?
You could still use the Version 14 or 12.5 if this solves your Problem
10-16-2024 12:24 AM
Do you know what these attributes are used for or did you just figure out that removing them solved your problem?
I always recommend only to add the attributes to your AXL XML Statemanet that are needed and mandatory.
ipccExtension and ipccRoutePartition are for Contact Center Users
convertUserAccount is for converting to LDAP Synced to Local User
For customerName the documentations says: "This tag should only be used by Hosted Collaboration Solution Shared Architecture deployments"
10-16-2024 12:29 AM
Exactly. Keep your payload small and remove unnecessary elements
10-17-2024 04:02 AM
I bite the bullet and set 28 fields for the AddPhone request to an empty string in my code
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide