Results 1 to 3 of 3

Thread: [SOLVED] SOAP EndSessionRequest

  1. #1
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default [SOLVED] SOAP EndSessionRequest

    I have a basic PHP script which can preauth and perform a search query; but what I am struggling on is how to end the session. Looking at the docs it says to use
    Code:
    <EndSessionRequest xmlns="urn:zimbraAccount"/>
    How would I code that into a SOAP call as when I try
    Code:
    $client->__soapCall(
                            "EndSessionRequest",
                            NULL,
                            NULL,
                            $soapHeader
                    );
    I get a error due to the function requiring an array in the second field, yet for this call it would only appear to require EndSessionRequest

  2. #2
    ljm
    ljm is offline Project Contributor
    Join Date
    May 2006
    Posts
    81
    Rep Power
    9

    Default

    $client->__soapCall(
    "EndSessionRequest",
    array(),
    array("uri" => "urn:zimbraAccount"),
    $soapHeader
    );
    Zindus - contact sync for Thunderbird and Zimbra

  3. #3
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Awesome! Thank you very much All that was need was to just send a blank array. Doh!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. zimbra "freezes" when a certain user logs in.
    By gruad23 in forum Administrators
    Replies: 5
    Last Post: 04-05-2010, 07:26 AM
  2. users logon with 2 passwords
    By vmcastro in forum Administrators
    Replies: 2
    Last Post: 01-11-2010, 10:08 AM
  3. Can recives but can't send mail outgoing
    By hoangkk in forum Installation
    Replies: 9
    Last Post: 09-21-2009, 07:35 PM
  4. Replies: 35
    Last Post: 07-17-2009, 03:52 PM
  5. zmzimletctl deploy zimbra_posixaccount.zip - ERROR -
    By todd_dsm in forum Administrators
    Replies: 0
    Last Post: 04-02-2009, 01:41 PM

Posting Permissions

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