?
Solved

Connecting to Outlook/Exchange using JSP

Posted on 2003-02-22
4
Medium Priority
?
322 Views
Last Modified: 2007-12-19
I need to connect to Microsoft Exchange 5.5 using JSP on a Solaris/Unix machine.  Specifically, I need to login to the Exchange server, and retrieve "Apppointments".
I know the typical way to connect to Exchange/Outlook is through the CDO object. However, objects such as CDO and MAPI are Windows based, and they are embedded in DLL files. How can I access Exchange with Solaris-based JSP? I've looked into "bridges" such as J-Integra which allow you to access Windows based objects on any platform. The problem is such technologies cost money; this is not an option for us in this project. Am I missing something? Is there an object I dont know about that I can use to access Exchange? I've spent days searching the internet for a solution and I've come empty-handed. Any suggestions would be greatly appreciated. Thank you in advance for your time.
0
Comment
Question by:jcharnis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Accepted Solution

by:
Brcko earned 225 total points
ID: 8009607
not simplest way, but probably usable, if you want only read

connect to Exchange throug IMAP protocol
get messages from Calendar folder
every message is an appointment in Calendar and has attachment
which looks like (explanation maybe somewhere on MSDN)

===========================================================

BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft CDO for Microsoft Exchange
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Sarajevo\, Skopje\, Sofija\, Vilnius\, Warsaw\, Zagreb
X-MICROSOFT-CDO-TZID:2
BEGIN:STANDARD
DTSTART:16010101T030000
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=-1SU
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T020000
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20030224T155904Z
DTSTART;TZID="Sarajevo, Skopje, Sofija, Vilnius, Warsaw, Zagreb":20030225T0
 83000
SUMMARY:Test apoitment
UID:CD0000008B9511D182D800C04FB1625D07F84525D18F324FB5A1EB643C07E06F
ORGANIZER;CN="Peter Laurinc":MAILTO:Peter.Laurinc@ibaware.sk
LOCATION:Test Location
DTEND;TZID="Sarajevo, Skopje, Sofija, Vilnius, Warsaw, Zagreb":20030225T100
 000
DESCRIPTION:Test description\N
SEQUENCE:0
PRIORITY:5
CLASS:
CREATED:20030224T155759Z
LAST-MODIFIED:20030224T155831Z
STATUS:TENTATIVE
TRANSP:OPAQUE
X-MICROSOFT-CDO-BUSYSTATUS:OOF
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-OWNERAPPTID:-1
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:REMINDER
TRIGGER;RELATED=START:-PT01H00M00S
END:VALARM
END:VEVENT
END:VCALENDAR


=========================================================

Brcko
0
 

Expert Comment

by:Brcko
ID: 8009612
don't know if this works on Exchange 5.5 can't test it, have only Exchange 2000
0
 

Author Comment

by:jcharnis
ID: 8019180
Thanks for the imput!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introducing Priority Question, our latest feature.
The top devops trends for 2017 are focused on improved deployment frequency, decreased lead time for change and decreased MTTR.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month10 days, 2 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question