473,396 Members | 1,918 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Exchange freebusy XML

I'm not sure if this is the right forum, maybe my questions is more Exchange
specific. Please point me into the correct direction.

I'm building a ASP.NET web page that should display users availibility based
on the information in Exchange. Im using the freebusy method
(http://msdn.microsoft.com/library/de...tatus_http.asp)
which returns the freebusy information as XML(?).

My code looks like this:

string url =
"http://exserver/public/?cmd=freebusy&start=2005-05-11T06:00:00Z&end=2005-05-11T17:00:00Z&interval=15&u=smtp:th*****@domain.com ";

HttpWebRequest req = (HttpWebRequest) WebRequest.Create(url);
req.Method = "GET";
req.ContentType = "text/xml";
req.Credentials = new NetworkCredential(user, psw, domain);

HttpWebResponse resp = (HttpWebResponse) req.GetResponse();

XmlTextReader reader = new XmlTextReader(resp.GetResponseStream());

XmlDocument doc = new XmlDocument();
doc.Load(reader);

When I execute the URL in IE, the response is displayed in the browser in
somehing that looks like XML. The problem is that this code fails on
doc.Load(reader), with the exception "The '0' character, hexadecimal value
0x30, cannot begin with a name".

I am suspecting that the XML excehange gives back isn't that well formatted,
but I'm not sure. I would really appreciate any help on this...

Nov 12 '05 #1
0 1174

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: steve | last post by:
// What I want to do Use enumerated types with the Interlocked.Exchange methods Suggestions please // My estimation of problem Seems like Interlocked.Exchange only works with ints,...
8
by: Rob Edwards | last post by:
When trying to add the Microsoft CDO for Exchange Management Library (aka CDOEXM.dll) I receive the following message: "A reference to 'Microsoft CDO for Exchange Management Library' could not be...
2
by: George Durzi | last post by:
We recently upgraded to Exchange2K3/W2K3 from Exchange2K/W2K, and some of my c# code that I used to access users' contacts using WebDAV has stopped working. I'm getting a 401 unauthorized error....
0
by: JB | last post by:
Hello All, I try to read the freebusy-information from Exchange into a dataset with the following line:...
8
by: Michel Posseth [MCP] | last post by:
Hi does someone has experience with this ?? i have made a lot of apps in the past that were capable of sending e-mails the server i then talked to was a Linux SMTP server and it worked great ...
1
by: Gerhard | last post by:
How can I create a new contact in exchange server from a vb.net web application?
2
by: Andy | last post by:
Hi, I'm trying to get a users free/busy status from exchange from within a website and using the code below, but when I run this a login page from MS Outlook Web Access is retrieved from the...
0
by: rnaimon | last post by:
I found the following information on this site, but I am unable to get it to work. All it brings back is the xml page with no data. I am running a Windows 2003 Server with Exchange 2003 Server. ...
0
by: Martin Kelley | last post by:
I have written code that retrieves the freebusy data including a field called ID which is a long hex character field. When I try to GetItem() passing the id in the request type I get "ID is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.