Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-28-2010, 06:47 AM
Moderator
 
Posts: 7,928
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
__________________
Reply With Quote
  #2 (permalink)  
Old 04-28-2010, 08:08 PM
ljm ljm is offline
Project Contributor
 
Posts: 81
Default

$client->__soapCall(
"EndSessionRequest",
array(),
array("uri" => "urn:zimbraAccount"),
$soapHeader
);
__________________
Zindus - contact sync for Thunderbird and Zimbra
Reply With Quote
  #3 (permalink)  
Old 04-29-2010, 01:40 AM
Moderator
 
Posts: 7,928
Default

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.