From: brabuhr@... Date: 2010-07-16T05:21:21+09:00 Subject: Re: sample ruby program to talk to an exchange server On Thu, Jul 15, 2010 at 4:29 AM, Dani Dani wrote: > 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.