09-17-2008 05:36 PM - edited 03-13-2019 05:40 PM
I use Java, Axis 1.4, together with AXLAPI.wsdl and AXLSoap.xsd to generate the codes for CCM web services.
When I try to use the AXLPort.addPhone() method to add a new phone into CCM6.0 or CCM6.1, the following error occurs:
faultDetail:
{http://www.cisco.com/AXL/API/1.0}Error:<axl:code>-391</axl:code><axl:message>Cannot insert a null into column (devicenumplanmap.numplanindex).</axl:message><request>addPhone</request>
Does anybody know the reason?
Thanks!!!
Tony
Solved! Go to Solution.
09-22-2008 12:14 AM
Did you specify the line index?
Also, you can look at the axl logs on CCM for more details - it should contain the full axl message (since it's https you can't sniff anymore) and it might be useful to have a look at that message.
09-17-2008 10:37 PM
Could it be that you added a line but didn't specify an index (= position on the phone wrt the line keys that are actually configured as lines.. by default the topmost line is number 1)?
09-19-2008 07:59 PM
i got the same error too.
i am able to creat a line or a phone alone.
by when i try to associate the line to the phone, i got the same error.
i have already put the line into line array then associate with the phone.
09-22-2008 12:14 AM
Did you specify the line index?
Also, you can look at the axl logs on CCM for more details - it should contain the full axl message (since it's https you can't sniff anymore) and it might be useful to have a look at that message.
09-22-2008 05:52 PM
wow stephan it works! thanks!
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