Results 1 to 2 of 2

Thread: PHP Soap change password

  1. #1
    Join Date
    Jun 2007
    Rep Power

    Default PHP Soap change password

    Hi everybody,

    I get some troubles with the attributes of xml tag. I would like it like that:
    <account by="name"></account>

    here is my param:

    $params = array(new SoapParam("","account"));

    But it show like that:


    I don't know how to put by="name" into <account>. Anybody knows this issues, please help me. thank you very much. I use php.

  2. #2
    Join Date
    Jul 2006
    San Francisco, CA
    Rep Power


    You can use SoapVar instead of SoapParam like below:

    $params = array ( new SoapVar('<account by="name">'.$email.'</account>', XSD_ANYXML) )


Similar Threads

  1. [SOLVED] Simple SOAP Admin Example In PHP
    By mikes2277 in forum Developers
    Replies: 11
    Last Post: 07-23-2011, 01:00 AM
  2. PHP SOAP vs Zimbra
    By Corey Scott in forum Developers
    Replies: 14
    Last Post: 02-05-2011, 03:41 AM
  3. external LDAP, password change
    By zaf in forum Administrators
    Replies: 7
    Last Post: 04-30-2010, 04:29 AM
  4. php CreateAccountRequest via SOAP
    By bookatechie in forum Developers
    Replies: 2
    Last Post: 05-02-2007, 11:28 AM
  5. SSH Zimbra User Password - need to change
    By FastEddy760 in forum Administrators
    Replies: 2
    Last Post: 05-25-2006, 10:34 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