Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

AXLPort.addPhone() problem

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

Re: AXLPort.addPhone() problem

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.

4 REPLIES

Re: AXLPort.addPhone() problem

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

New Member

Re: AXLPort.addPhone() problem

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.

Re: AXLPort.addPhone() problem

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.

New Member

Re: AXLPort.addPhone() problem

wow stephan it works! thanks!

238
Views
0
Helpful
4
Replies
CreatePlease to create content