<SOAP-ENV:Header/> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode> SOAP-ENV:Client </faultcode> <faultstring> Cannot insert a null into column (devicenumplanmap.fknumplan). </faultstring> <detail> <axl:Error xmlns:axl="http://www.cisco.com/AXL/API/1.0"> <axl:code> -391 </axl:code> <axl:message> Cannot insert a null into column (devicenumplanmap.fknumplan). </axl:message> <request> updatePhone </request> </axl:Error> </detail> </SOAP-ENV:Fault> </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Subject: Re: updatePhone returning Cannot insert a null into column (devicenumplanma Replied by: Alex Arwine on 21-10-2008 11:02:39 PM It appears that it has to do with the <lines> tag.
How is this supposed to look to add multiple lines to the phone?
Subject: Re: updatePhone returning Cannot insert a null into column (devicenumplanma Replied by: David Staudt on 22-10-2008 12:36:54 AM My guess would be that one of the lines does not exist. The lines must exist first (i.e. addLine) before they can be used in updatePhone.
Subject: Re: updatePhone returning Cannot insert a null into column (devicenumplanma Replied by: Stephan Steiner on 22-10-2008 07:49:16 AM You're mixing the two ways to specify a line.
Since you're using <lines><line> axl expects that you specify the index to tell it at which position to place the line. Even though the schema makes it look optional, it's a mandatory piece of information and you get exactly the error you're describing if you leave it out (if you check the schema it says that index corresponds to devicenumplanmap.numplanindex..)
Subject: Re: updatePhone returning Cannot insert a null into column (devicenumplanma Replied by: Alex Arwine on 22-10-2008 09:29:56 PM Sure enough - Thanks!
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: