el 06-23-2014 09:41 AM
I'm writing several methods to add gateways and gateway endpoints and I'm noticing inconsistencies between what are advertised as mandatory and optional fields in the AXL schema versus what I'm experiencing when I post content to the CUCM AXL interface.
When I post a "addGatewayEndpointAnalogAccess" method to add an analog endpoint which does not include the <callingPartySelection> element I get an error;
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Client</faultcode><faultstring>Cannot insert a null into column (analogaccessport.tkcallingpartyselection).</faultstring><detail><axlError><axlcode>-391</axlcode><axlmessage>Cannot insert a null into column (analogaccessport.tkcallingpartyselection).</axlmessage><request>addGatewayEndpointAnalogAccess</request></axlError></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
When I include the callingPartySelection element all is fine.
When I look at the published schema, I interpret that it's an optional field;
Is <callingPartySelection> a mandatory field, or is the AXL schema incorrect?
Thanks,
Anthony
el 06-26-2014 07:08 AM
Hi Anthony,
Eventhough in the document Administrative XML API its not mentioned callingPartySelection and description as mandatory i found a bug CSCug89177 which mentions AXL Call addGatewayEndpointAnalogAccess description fiield not optional and it is fixed in CUCM 10.x release. I think you are using CUCM 9.1 so it could be the issue.
Thanks and Regards,
Geevarghese
el 06-26-2014 01:24 PM
Geevarghese,
Thanks for your response.
So is the callingPartySelection element supposed to be an optional or mandatory field?
Thanks,
Anthony
Descubra y salve sus notas favoritas. Vuelva a encontrar las respuestas de los expertos, guías paso a paso, temas recientes y mucho más.
¿Es nuevo por aquí? Empiece con estos tips. Cómo usar la comunidad Guía para nuevos miembros