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 in the forums, please register and review our posting policy & tips. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 01-31-2008, 11:23 AM
Junior Member
 
Posts: 6
Default Real Close

Here's the code I'm using. What happens is it creates the appointment on my calendar, but doesn't on the others on the list. It also doesn't send them an email asking them to Accept the appointment. But when I delete or modify the appointment the others get an email.

So I need it to show up on other's calendar and send them an email.

What I'd like to do is run the debugger as Admin, but I'm not an admin. The docs give me some hints, but not enough to solve the problem.

Thanks much for your help.
K


---------------------------------------


$options = array('uri' => "urn:zimbraMail");
$params = array(


new SoapVar('<m d="1148883681781">
<e t="f" a="email1" />
<e t="t" a="email2" />
<e t="f" a="email3"/>
<e t="t" a="email4"/>
<inv method="REQUEST" type="event" fb="B" transp="O" status="CONF" allDay="0" name="Test">
<s d="20080131T020000"/>
<e d="20080131T023000"/>
<at a="email2" role="REQ" ptst="AC" rsvp="1"/>
<at a="email3" role="REQ" ptst="TE" rsvp="1"/>
<or a="email1"/>
</inv>

<mp ct="multipart/alternative"><mp ct="text/plain"><content/></mp><mp ct="text/html"><content/></mp></mp>
<su>Test </su>
</m>', XSD_ANYXML)
);

try {
echo "creating header<br>";
$soapHeader = new SoapHeader(
'urn:zimbra',
'context',
new SoapVar('<ns2:context><authToken>' . $authToken . '</authToken></ns2:context>', XSD_ANYXML)
);

echo "trying<br>";
$result = $soapClient->__soapCall(
"CreateAppointmentRequest",
$params,
$options,
$soapHeader
);
echo "executed<br>";
}
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP SOAP vs Zimbra Corey Scott Developers 13 11-10-2008 10:57 PM
[SOLVED] Simple SOAP Admin Example In PHP mikes2277 Developers 8 10-23-2007 07:14 PM
How to handle SOAP body response in PHP ferdinant Developers 1 07-03-2007 01:21 PM
php CreateAccountRequest via SOAP bookatechie Developers 2 05-02-2007 11:28 AM
PHP create context header bookatechie Developers 1 05-01-2007 08:30 PM

Why Join?

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

Zimbrablog.com

sourceforge.net



 

Search Engine Optimization by vBSEO 3.1.0