04-03-2008 08:32 AM - edited 03-15-2019 04:59 AM
Could anyone post a simple working example? I'm having the hardest time getting even the most simplistic command to work
(e.g. <newUser><lastname>test</lastname><userid>test</userid></newUser>)
ccm always bitches about a parsing error so I figure it expects a different order / and or different notation, but I have nothing to go on except the wsdl file, and this request corresponds to the wsdl as far as I can tell.
04-03-2008 11:36 AM
password and pin are required elements
04-03-2008 11:23 PM
Not according to the WSDL, but okay.. my first attempt was with pin and password.
As a sidenote.. I'm currently porting a user management solution from ccm 4.2 to 6.1 so the code works on ccm4.. it's not like I'm starting out fresh.
So, do you have a working sample of a request that works on ccm6 (or 5.. when it wouldn't work on 6.1.1 I figured I'd try on 5.1.3 but it didn't work there either).
04-05-2008 06:39 PM
do you mind posting the whole SOAP request incl envelope and body?
04-07-2008 01:56 AM
Pin and password are not required. Here is my working example (CUCM 5.1.3.2104-1):
Request:
Response:
But I think your problem is that your CUCM have LDAP synchronization enabled for user accounts. Adding users then is impossible, you can only import them.
--
regards,
PK
04-07-2008 03:08 AM
Thanks for posting a working example.
Since Friday, I'm actually good. I opened a case, sent in traces and the traces showed that my command was incomplete
(it contained something like <>
I also had rebooted the ccm after installing some locales, so I suspect that the reboot took care of things as now adding users is no longer a problem.
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