cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
470
Views
0
Helpful
4
Replies

AXLPort.addPhone() problem

mvtonytjo
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

4 Replies 4

stephan.steiner
Spotlight
Spotlight

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
Level 1
Level 1

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.

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.

leozleung
Level 1
Level 1

wow stephan it works! thanks!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: