I am creating accounts via soap from java. Here is my code (it works):
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 lastnameCode: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);
In soap-admin.txt file I didnt found anything about thisCode:request.addAttribute(AdminService.E_COS, cos,Element.DISP_CONTENT); or request.addAttribute(AdminService.E_COS, cos,Element.DISP_ELEMENT);
What can I do?


LinkBack URL
About LinkBacks


