Problems witch AddUser via AXL

Unanswered Question
Jul 23rd, 2007

Hi, i'm trying to add an user to my CM 4.2 via AXL.. i'm doing this post:


<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" >

<SOAP-ENV:Body>

<axl:addUser xmlns:axl="http://www.cisco.com/AXL/1.0" xsi:schemaLocation="http://www.cisco.com/AXL/1.0 http://ccmserver/schema/axlsoap.xsd" sequence="1234" >

<firstname>Paulo</firstname>

<lastname>Gentile</lastname>

<userid>NewUser</userid>

<password>1234</password>

<pin>1234</pin>

<department>Desenvolvimento</department>

</axl:addUser>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>


and receiving this error:


<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

<SOAP-ENV:Body>

<SOAP-ENV:Fault>

<faultcode>SOAP-ENV:Client</faultcode>

<faultstring>

<![CDATA[Unexpected element. NULL element found. Expecting <lastname>.]]></faultstring>

<detail xmlns:axl="http://www.cisco.com/AXL/API/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.cisco.com/AXL/API/1.0 http://SRVCCM01/CCMApi/AXL/V1/axlsoap.xsd">

<axl:error sequence="1234">

<code>5005</code>

<message>

<![CDATA[Unexpected element. NULL element found. Expecting <lastname>.]]></message>

<request>addUser</request>

</axl:error>

</detail>

</SOAP-ENV:Fault>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>



if someone know whath i'm doing wrong or whats the problem occurring please post !!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
paulogentile Mon, 07/23/2007 - 09:34

I've tryed to add one tag to the post and works!!


http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" >

http://www.cisco.com/AXL/1.0" xsi:schemaLocation="http://www.cisco.com/AXL/1.0 http://ccmserver/schema/axlsoap.xsd" sequence="1234" >


Paulo

Gentile

NewUser

1234

1234

Desenvolvimento


i just need to add the tag

Actions

This Discussion