04-09-2008 02:03 AM - edited 03-13-2019 05:08 PM
I got this strange problem, when i try to insert a user with the AXL addUser method i get in response nothing and the user is not inserted either.
Here you can find the whole log trace.
Is there something wrong in what i'm sending to the cucm?
===============================================================
Time : 1 - 11:41:45
Procedure: addUser
Operation: user, lab
===============================================================
SOAP Call HEAD:
---------------------------------------------------------------
POST https://172.16.2.20:8443/axl/ HTTP/1.0
Host:172.16.2.20
Authorization: Basic Y2NtYWRtaW5pc3RyYXRvcjoxYk1uY2MxYUI=
Accept: text/*
Content-type: text/xml
SOAPAction: "CUCM:DB ver=6.1"
Content-length: 587
SOAP Call BODY:
---------------------------------------------------------------
<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 sequence="1"> <newUser><firstname>user</firstname><lastname>lab</lastname><userid>ulab</userid><password>password</password><pin>00000000</pin><telephoneNumber>0</telephoneNumber><department>O=NCCLAB</department></newUser></axl:addUser> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
SOAP Call RETURN:
---------------------------------------------------------------
04-09-2008 06:52 AM
I finally get it working, it was a communication problem due to a wrong cURL initialization
04-14-2008 09:29 AM
Hi,
did you try to use the following instead:
Host:172.16.2.20:8443 ?
Laurent
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide