AXLPort.addPhone() problem

Answered Question
Sep 17th, 2008
User Badges:

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

Correct Answer by stephan.steiner about 8 years 10 months ago

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
stephan.steiner Wed, 09/17/2008 - 22:37
User Badges:
  • Silver, 250 points or more

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)?

leozleung Fri, 09/19/2008 - 19:59
User Badges:

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.

Correct Answer
stephan.steiner Mon, 09/22/2008 - 00:14
User Badges:
  • Silver, 250 points or more

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.

Actions

This Discussion