sample ruby program to talk to an exchange server

D

Dani Dani

Hi, I'm looking for a sample programm to test the communication with an
exchange server - connect, inquire data, add data, delete entry ...
I was asked to check these possibilities but have no ruby experience.
Would very much appreciate any help.

Thank you in advance,
Dany
 
D

Dani Dani

Thank you IKE, but I'm lloking for a sample program to connect to an
exchange server using soap.

Dani
 
B

brabuhr

Thank you IKE, but I'm lloking for a sample program to connect to an
exchange server using soap.

I've used SOAP from Ruby but never against Exchange.

The WSDL would be at https://exchange.example.com/EWS/Services.wsdl,
you also need https://exchange.example.com/EWS/messages.xsd and
https://exchange.example.com/EWS/types.xsd to be able to run
wsdl2ruby.rb on the wsdl.

/tmp> /var/lib/gems/1.8/gems/soap4r-1.5.8/bin/wsdl2ruby.rb --type
client --wsdl Services.wsdl

But, it fails:

FATAL -- app: Detected an exception. Stopping ... incomplete
simpleType (ArgumentError)

/tmp> ls -latr
-rw-r--r-- 1 43041 2010-07-15 16:04 defaultDriver.rb
-rw-r--r-- 1 0 2010-07-15 16:04 default.rb

I'm sorry that this isn't more useful, but maybe somebody knows how to
overcome this.
 
C

CParticle

Hi, I'm looking for a sample programm to test the communication with an
exchange server - connect, inquire data, add data, delete entry ...
I was asked to check these possibilities but have no ruby experience.
Would very much appreciate any help.

Thank you in advance,
Dany

I've done a little of this using the IMAP connection and the net/imap
library. Its worked pretty well for me for some calendar stuff I
wanted to do. I can post it if you like its about 250 lines of code
though.

CParticle
 
D

Dani Dani

Charged said:
I've done a little of this using the IMAP connection and the net/imap
library. Its worked pretty well for me for some calendar stuff I
wanted to do. I can post it if you like its about 250 lines of code
though.

CParticle

Hi, Thanks to all.

Yes Particle if you could post it here or to my email:
(e-mail address removed)
with some explanations, I'll be thankfull for that´. Thank you.

Dani
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,832
Latest member
GlennSmall

Latest Threads

Top