W3C home > Mailing lists > Public > ietf-dav-versioning@w3.org > April to June 2009

not able to connect outlook load balancer url using WEBDAV

From: Narasimha bayanaboina <narsim10_mca@yahoo.com>
Date: Tue, 12 May 2009 10:15:59 -0700 (PDT)
Message-ID: <111294.34190.qm@web57607.mail.re1.yahoo.com>
To: ietf-dav-versioning@w3.org

 
Hi,

Iam trying to connect microsoft exchange server using WEBDAV . Iam able to connect backend server urls as well as front end urls . but Iam not able to connect Load balancer URLs and Iam getting 302 Redirection status code. i have written a class called ExchangeDAV4JURLConnection  that extends HttpURLConnection

my code looks like this .any help can be apreciated 

webdavurlconnection = newExchangeDAV4JURLConnection(url, url.getHost(), i != -1 ? i : 80); webdavurlconnection.setRequestProperty(
webdavurlconnection.setRequestProperty(
webdavurlconnection.setRequestProperty("Depth", "1");"Host", url.getHost());"Content-Type", "text/xml");//encode credentials using base64webdavurlconnection.setRequestProperty(
webdavurlconnection.setRequestMethod(
webdavurlconnection.setDoOutput(
webdavurlconnection.setConnectTimeout(1000);
OutputStream outputstream = webdavurlconnection.getOutputStream();
BufferedWriter bufferedwriter = 
bufferedwriter.write(query);
 
 
thanks,
narasim"Authorization", (newStringBuilder()).append("Basic ").append(Credentials.base64Encode(domain)).toString());"SEARCH");true);newBufferedWriter(newOutputStreamWriter(outputstream, "UTF-8"));


      
Received on Tuesday, 12 May 2009 17:23:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:49 UTC