Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2005

Tip: Looking for answers? Try searching our database.

Slide Exchange Exception

Thread view: 
tatilou - 08 Sep 2005 08:02 GMT
Hi,

I try to use Slide to connect an MS Exchange, I have an httpclient
exception.

any idea ?
my code is :

HttpURL hrl = new HttpURL(myhost);
hrl.setUserinfo(login,pwd);
NTCredentials creds = new NTCredentials(login, pwd, myURL, "" );
HostConfiguration hostConfig = new HostConfiguration();
hostConfig.setHost(IPURL); //Not url, just ip address or fully
qualified DN
HttpURL host = new HttpURL(myURL);
WebdavResource res = new WebdavResource(host, (Credentials)creds,
WebdavResource.DEFAULT, DepthSupport.DEPTH_1);
System.out.println("webdavresource");
File fn = new File("C:/remote-file");
System.out.println("newFile");
boolean result = res.getMethod(fn);
System.out.println("getMethod" + result);
res.close() ;

Thanks
tatilou5
Andrew Thompson - 08 Sep 2005 08:25 GMT
> I try to use Slide to connect an MS Exchange, I have an httpclient
> exception.
>
> any idea ?

Consult the help lists associated with the product, in this
case 'The Slide Developer List'..
<http://jakarta.apache.org/site/mail2.html#Slide>

HTH

Signature

Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
"If I could find the reason, I'd know the answer why"
Status Quo 'Gerdundula'



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.