exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

create "public Folder(Contact)" by using webDAV

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Development
Author Message
jeff



Joined: 05 Aug 2007
Posts: 9

PostPosted: Fri Nov 16, 2007 1:55 pm    Post subject: create "public Folder(Contact)" by using webDAV Reply with quote

Hi All,

I want to create a public folder(Contact) programatically by using WebDAV

I use MkCOLMEthod, however, my Query is wrong, how to write a Query?

my Query is:

String query =" xmlns:a=\"DAV:\" " +
"xmlns:n0=\"http://schemas.microsoft.com/exchange\">" +
"" +
" " +
"IPF.Contact " +
//"Sample0x2fFolder " +
" " +
" " +
"";

It return 400 Error, my application is Java.

Thanks in advanced

Archived from group: microsoft>public>exchange2000>development
Back to top
View user's profile Send private message
Glen Scales [MVP]



Joined: 05 Aug 2007
Posts: 92

PostPosted: Tue Nov 20, 2007 7:38 pm    Post subject: Re: create "public Folder(Contact)" by using webDAV Reply with quote

One of your property names is wrong should be outlookfolderclass not
outlookfoldersclass eg something like

xmlns:ex='http://schemas.microsoft.com/exchange/'>
IPF.Contact


I wouldn't worry about setting the displayname its will use the name from
the URL.

Cheers
Glen

"jeff" wrote in message @microsoft.com...
> Hi All,
>
> I want to create a public folder(Contact) programatically by using WebDAV
>
> I use MkCOLMEthod, however, my Query is wrong, how to write a Query?
>
> my Query is:
>
> String query =" > xmlns:a=\"DAV:\" " +
> "xmlns:n0=\"http://schemas.microsoft.com/exchange\">" +
> "" +
> " " +
> "IPF.Contact "
> +
> //"Sample0x2fFolder " +
> " " +
> " " +
> "";
>
> It return 400 Error, my application is Java.
>
> Thanks in advanced

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Tom or Mindy? Create IPM.DistList with WebDav and VB.NET?? Hi. Would be very grateful if anyone could point me in the right direction... I am trying to create a personal distribution list in a users contacts folder with webdav (Why is this so carefully left out of the Exchange SDK?) I figured out that http://sche

WEBDAV: how to get a Multiline body in webdav created appoin I am using webdav to create an appointment and post it to a clanedar. When I pass a regular string with carriage returns and linefeeds to the field they do not display. If I try to pass an html formatted string in the fie

Public folder contain .(dot) throw exception Hi, I am using to get public folder details from exchange. If a folder is named like MyIni.Ini, MyApp.exe and so On, WebDav throw exception. Could you please tell me the escape character for .(dot ) to use? Thank you Regards

WebDav Authentication I'm attempting to write a WebDAV to access contacts, but it is failing when I try the I receive a WebException and conversion from string to double where indicated below I've verified the path to the DL

PROPPATCH method - webdav again.. Hello All, I am trying to create a contact in user's contacts folder using webdav and java. I wrote something similar to: but I get: HTTP/1.1 400 Bad Request. I don't know if I understand properly xml schema used in
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group