cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
78
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Mohamad Atef on 23-11-2010 12:27:06 PM
I was trying to add a new user by the use of java code like:
 
   AddUserReq req = new AddUserReq();
   XUser user = new XUser();
   user.setUserid(userId);
   user.setFirstname(firstName);
   user.setLastname(lastName);
   user.setPassword(password);
   req.setNewUser(user);
   stub.addUser(req);
 
where stub is an AXLAPIBindingStub.
 
and I'm getting this error:
 
Exception in thread "main" AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
 faultSubcode:
 faultString: EndUser cannot be inserted because Corporate LDAP directory is the sync master. Add users in the corporate directory.
 faultActor:
 faultNode:
 faultDetail:
        {http://www.cisco.com/AXL/API/6.1}Error:<axl:code>4302</axl:code><axl:message>EndUser cannot be inserted because Corporate LDAP directory is the sync master. Add users in the corporate directory.</axl:message><request>addUser</request>

        EndUser cannot be inserted because Corporate LDAP directory is the sync master. Add users in the corporate directory.
        at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
        at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
        at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
        at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
        at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)
        at org.apache.axis.client.Call.invoke(Call.java:2443)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at cisco.www.AXLAPIService.AXLAPIBindingStub.addUser(AXLAPIBindingStub.java:13545)
        at axltest.AXLManipulator.addEnduser(AXLManipulator.java:194)
        at axltest.Main.main(Main.java:29)
        Java Result: 1
 
 
if anyone can help me , let me know

Subject: Re: New Message from Mohamad Atef in Administration XML (AXL) - Administrat
Replied by: Johannes Krohn on 23-11-2010 12:58:49 PM
If Communciations Manager is configured to sync users from a LDAP directory
you cannot add users on CUCM directly; they have to be added to the LDAP
directory and then get added to Communications Manager with the next sync.
Can you pls. check whether LDAP user import/sync is configured on your
Communications Manager?

Subject: RE: Re: New Message from Mohamad Atef in Administration XML (AXL) - Adminis
Replied by: Mohamad Atef on 23-11-2010 01:08:25 PM
If Communciations Manager is configured to sync users from a LDAP directory
you cannot add users on CUCM directly; they have to be added to the LDAP
directory and then get added to Communications Manager with the next sync.
Can you pls. check whether LDAP user import/sync is configured on your
Communications Manager?

and how can I check that?

Subject: Re: New Message from Mohamad Atef in Administration XML (AXL) - Administrat
Replied by: Johannes Krohn on 23-11-2010 01:37:49 PM
In the Communications Manager Administration GUI go to System/LDAP/LDAP
System and look for the ³Enable Synchronizing from LDAP Server² option. If
this is enabled more details can be found in System/LDAP/LDAP Directory .

Subject: RE: Re: New Message from Mohamad Atef in Administration XML (AXL) - Adminis
Replied by: Mohamad Atef on 24-11-2010 11:40:35 AM
In the Communications Manager Administration GUI go to System/LDAP/LDAP
System and look for the ³Enable Synchronizing from LDAP Server² option. If
this is enabled more details can be found in System/LDAP/LDAP Directory .

 
thanks the problem is solved by your help

Subject: RE: Re: New Message from Mohamad Atef in Administration XML (AXL) - Adminis
Replied by: Doug Kartio on 14-04-2011 10:16:14 AM


In the Communications Manager Administration GUI go to System/LDAP/LDAP
System and look for the ³Enable Synchronizing from LDAP Server² option. If
this is enabled more details can be found in System/LDAP/LDAP Directory .


 
thanks the problem is solved by your help

 
So does just turning off the LDAP sync, allow you to add users directly to CM  through the soap call?
Getting Started

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:

Quick Links