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
  #11 (permalink)  
Old 01-31-2008, 12:23 PM
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
  #12 (permalink)  
Old 04-26-2010, 08:08 AM
Loyal Member
 
Posts: 92
Default hi

hi kinihepu,


did you success in your aim ?
Do you manage to create a appointement using php ?

Shall you post a very simply example ?

thanks
Reply With Quote
  #13 (permalink)  
Old 04-27-2010, 02:20 AM
Loyal Member
 
Posts: 92
Question how t odo that ?

Quote:
Originally Posted by dkarp View Post
Easiest thing to do is turn on the SOAP trace debug window and create an appointment from the AJAX client. Then use the PHP SOAP package of your choice to generate XML like that...
how to do that ? which tool ? which software ?

Can i do it under Win32 plateform ?
Reply With Quote
  #14 (permalink)  
Old 09-27-2010, 05:41 PM
New Member
 
Posts: 4
Default

post deleted by me

Last edited by bulletxt; 11-02-2010 at 02:47 PM..
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.