Results 1 to 5 of 5

Thread: Setting COS via SOAP

Threaded View

  1. #1
    Join Date
    Sep 2007
    Rep Power

    Default Setting COS via SOAP

    I am creating accounts via soap from java. Here is my code (it works):

    Element request = Element.XMLElement.mFactory				.createElement(AdminService.CREATE_ACCOUNT_REQUEST);
    request.addAttribute(AdminService.E_NAME, name,Element.DISP_CONTENT);
    request.addAttribute(AdminService.E_PASSWORD, password, Element.DISP_CONTENT);
    Element response = trans.invoke(request);
    But I need to set the COS to the accounts and I cant do it. I tried something like this but it didnt work. Either I couldnt set firstname and lastname

    request.addAttribute(AdminService.E_COS, cos,Element.DISP_CONTENT);
    request.addAttribute(AdminService.E_COS, cos,Element.DISP_ELEMENT);
    In soap-admin.txt file I didnt found anything about this

    What can I do?
    Last edited by liriarte; 10-30-2007 at 04:55 AM.

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  2. Replies: 0
    Last Post: 10-24-2007, 09:35 AM
  3. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 AM
  4. Replies: 13
    Last Post: 05-15-2007, 06:41 AM
  5. Replies: 9
    Last Post: 04-14-2007, 08:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts