Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - create exchange public folder contact

Reply
 
Old 11-20-2008   #1 (permalink)
krasman


 
 

create exchange public folder contact

hi everyone,

i hope you might help me on this one. i need to create a contact in a
exchange public folder using dotnet (vb or c#) and exchange 2003, without
using outlook object model. i'm searching for a few hours and can't find a
clear example on how to do it. i've already seen code blocks using webdav,
directory services, but always related with creating active directory users
or mail enabling users, not exactly what i'm looking for.

TIA

krasman



My System SpecsSystem Spec
Old 11-20-2008   #2 (permalink)
Patrice


 
 

Re: create exchange public folder contact

Try perhaps around :

http://msdn.microsoft.com/en-us/libr...EXCHG.65).aspx (Creating
Folders (WebDAV) )

I'm not sure which kind of folders it creates but my guess would be just
that it depends on the location and the managed code sample seems to create
in the /public folder so I guess this would be this...

Also it lloks like this is really much more easier to work with Exchange
2007 as it seems to expose much of it using webservices...

I made a quikc search and it loks like Exchange 2003 SP2 brings support for
web services whihc could be much easier depending on the extend to which
yo'ull use webdav.

Finally you should have also third party librairies that are already
construction webdev requests for you...

Good luck.

--
Patrice


"krasman" <krasman@xxxxxx> a écrit dans le message de groupe de
discussion : #HnavZySJHA.3880@xxxxxx
Quote:

> hi everyone,
>
> i hope you might help me on this one. i need to create a contact in a
> exchange public folder using dotnet (vb or c#) and exchange 2003, without
> using outlook object model. i'm searching for a few hours and can't find a
> clear example on how to do it. i've already seen code blocks using webdav,
> directory services, but always related with creating active directory
> users or mail enabling users, not exactly what i'm looking for.
>
> TIA
>
> krasman
>
>
My System SpecsSystem Spec
Old 11-20-2008   #3 (permalink)
Patrice


 
 

Re: create exchange public folder contact

Nope, no web services in SP2...

IMO you'll cry when seeing how the plumbing is done for you with Exchange
2007 :

http://msdn.microsoft.com/en-us/library/aa563302.aspx

--
Patrice

"Patrice" <http://www.chez.com/scribe/> a écrit dans le message de groupe de
discussion : 9187F416-B744-4813-9EE9-62D07DED3F2D@xxxxxx...
Quote:

> Try perhaps around :
>
> http://msdn.microsoft.com/en-us/libr...EXCHG.65).aspx (Creating
> Folders (WebDAV) )
>
> I'm not sure which kind of folders it creates but my guess would be just
> that it depends on the location and the managed code sample seems to
> create in the /public folder so I guess this would be this...
>
> Also it lloks like this is really much more easier to work with Exchange
> 2007 as it seems to expose much of it using webservices...
>
> I made a quikc search and it loks like Exchange 2003 SP2 brings support
> for web services whihc could be much easier depending on the extend to
> which yo'ull use webdav.
>
> Finally you should have also third party librairies that are already
> construction webdev requests for you...
>
> Good luck.
>
> --
> Patrice
>
>
> "krasman" <krasman@xxxxxx> a écrit dans le message de groupe de
> discussion : #HnavZySJHA.3880@xxxxxx
Quote:

>> hi everyone,
>>
>> i hope you might help me on this one. i need to create a contact in a
>> exchange public folder using dotnet (vb or c#) and exchange 2003, without
>> using outlook object model. i'm searching for a few hours and can't find
>> a clear example on how to do it. i've already seen code blocks using
>> webdav, directory services, but always related with creating active
>> directory users or mail enabling users, not exactly what i'm looking for.
>>
>> TIA
>>
>> krasman
>>
>>
>
My System SpecsSystem Spec
Old 11-20-2008   #4 (permalink)
Glen Scales [MVP]


 
 

Re: create exchange public folder contact

Have a look at http://support.microsoft.com/kb/313119 this says 2000 but
will work fine one 2003

Cheers
Glen

"Patrice" <http://www.chez.com/scribe/> wrote in message
news:3608F620-0DF1-431D-ADF0-1557CB02525D@xxxxxx
Quote:

> Nope, no web services in SP2...
>
> IMO you'll cry when seeing how the plumbing is done for you with Exchange
> 2007 :
>
> http://msdn.microsoft.com/en-us/library/aa563302.aspx
>
> --
> Patrice
>
> "Patrice" <http://www.chez.com/scribe/> a écrit dans le message de groupe
> de discussion : 9187F416-B744-4813-9EE9-62D07DED3F2D@xxxxxx...
Quote:

>> Try perhaps around :
>>
>> http://msdn.microsoft.com/en-us/libr...EXCHG.65).aspx (Creating
>> Folders (WebDAV) )
>>
>> I'm not sure which kind of folders it creates but my guess would be just
>> that it depends on the location and the managed code sample seems to
>> create in the /public folder so I guess this would be this...
>>
>> Also it lloks like this is really much more easier to work with Exchange
>> 2007 as it seems to expose much of it using webservices...
>>
>> I made a quikc search and it loks like Exchange 2003 SP2 brings support
>> for web services whihc could be much easier depending on the extend to
>> which yo'ull use webdav.
>>
>> Finally you should have also third party librairies that are already
>> construction webdev requests for you...
>>
>> Good luck.
>>
>> --
>> Patrice
>>
>>
>> "krasman" <krasman@xxxxxx> a écrit dans le message de groupe de
>> discussion : #HnavZySJHA.3880@xxxxxx
Quote:

>>> hi everyone,
>>>
>>> i hope you might help me on this one. i need to create a contact in a
>>> exchange public folder using dotnet (vb or c#) and exchange 2003,
>>> without using outlook object model. i'm searching for a few hours and
>>> can't find a clear example on how to do it. i've already seen code
>>> blocks using webdav, directory services, but always related with
>>> creating active directory users or mail enabling users, not exactly what
>>> i'm looking for.
>>>
>>> TIA
>>>
>>> krasman
>>>
>>>
>>
>

My System SpecsSystem Spec
Old 11-21-2008   #5 (permalink)
krasman


 
 

Re: create exchange public folder contact

Hi,

thank you all for your responses.

using http://msdn.microsoft.com/en-us/libr...EXCHG.65).aspx i was
able to create folders in exchange. but i need to create contacts inside a
public folder; not the folder itself. with
http://support.microsoft.com/kb/313119 i'm getting error 400 - bad request.
however, looks like the code creates a contact in administrator's contacts
(string sUri =
"http://ExchServer/Exchange/Administrator/Contacts/JoLynnDobney.eml". is
this true?

TIA


"Glen Scales [MVP]" <gscales@xxxxxx> wrote in message
news:OYxcWH2SJHA.5344@xxxxxx
Quote:

> Have a look at http://support.microsoft.com/kb/313119 this says 2000 but
> will work fine one 2003
>
> Cheers
> Glen
>
> "Patrice" <http://www.chez.com/scribe/> wrote in message
> news:3608F620-0DF1-431D-ADF0-1557CB02525D@xxxxxx
Quote:

>> Nope, no web services in SP2...
>>
>> IMO you'll cry when seeing how the plumbing is done for you with Exchange
>> 2007 :
>>
>> http://msdn.microsoft.com/en-us/library/aa563302.aspx
>>
>> --
>> Patrice
>>
>> "Patrice" <http://www.chez.com/scribe/> a écrit dans le message de groupe
>> de discussion : 9187F416-B744-4813-9EE9-62D07DED3F2D@xxxxxx...
Quote:

>>> Try perhaps around :
>>>
>>> http://msdn.microsoft.com/en-us/libr...EXCHG.65).aspx
>>> (Creating Folders (WebDAV) )
>>>
>>> I'm not sure which kind of folders it creates but my guess would be just
>>> that it depends on the location and the managed code sample seems to
>>> create in the /public folder so I guess this would be this...
>>>
>>> Also it lloks like this is really much more easier to work with Exchange
>>> 2007 as it seems to expose much of it using webservices...
>>>
>>> I made a quikc search and it loks like Exchange 2003 SP2 brings support
>>> for web services whihc could be much easier depending on the extend to
>>> which yo'ull use webdav.
>>>
>>> Finally you should have also third party librairies that are already
>>> construction webdev requests for you...
>>>
>>> Good luck.
>>>
>>> --
>>> Patrice
>>>
>>>
>>> "krasman" <krasman@xxxxxx> a écrit dans le message de groupe de
>>> discussion : #HnavZySJHA.3880@xxxxxx
>>>> hi everyone,
>>>>
>>>> i hope you might help me on this one. i need to create a contact in a
>>>> exchange public folder using dotnet (vb or c#) and exchange 2003,
>>>> without using outlook object model. i'm searching for a few hours and
>>>> can't find a clear example on how to do it. i've already seen code
>>>> blocks using webdav, directory services, but always related with
>>>> creating active directory users or mail enabling users, not exactly
>>>> what i'm looking for.
>>>>
>>>> TIA
>>>>
>>>> krasman
>>>>
>>>>
>>>
>>
>
>

My System SpecsSystem Spec
Old 11-21-2008   #6 (permalink)
Glen Scales [MVP]


 
 

Re: create exchange public folder contact

You need to change that URL to the folder you want to create the contact in
eg if you wanted to create contacts in a public contacts folder then you
would use "https://servername/public/contactsfolder/" the JoLynnDobney.eml
section of the URL you need to create yourself this needs to be a unique
value for each object in the folder. 400 errors generally point to problems
with malformed XML in the request you sending

Cheers
Glen

"krasman" <krasman@xxxxxx> wrote in message
news:uDMGAn8SJHA.588@xxxxxx
Quote:

> Hi,
>
> thank you all for your responses.
>
> using http://msdn.microsoft.com/en-us/libr...EXCHG.65).aspx i
> was able to create folders in exchange. but i need to create contacts
> inside a public folder; not the folder itself. with
> http://support.microsoft.com/kb/313119 i'm getting error 400 - bad
> request. however, looks like the code creates a contact in administrator's
> contacts (string sUri =
> "http://ExchServer/Exchange/Administrator/Contacts/JoLynnDobney.eml". is
> this true?
>
> TIA
>
>
> "Glen Scales [MVP]" <gscales@xxxxxx> wrote in message
> news:OYxcWH2SJHA.5344@xxxxxx
Quote:

>> Have a look at http://support.microsoft.com/kb/313119 this says 2000 but
>> will work fine one 2003
>>
>> Cheers
>> Glen
>>
>> "Patrice" <http://www.chez.com/scribe/> wrote in message
>> news:3608F620-0DF1-431D-ADF0-1557CB02525D@xxxxxx
Quote:

>>> Nope, no web services in SP2...
>>>
>>> IMO you'll cry when seeing how the plumbing is done for you with
>>> Exchange 2007 :
>>>
>>> http://msdn.microsoft.com/en-us/library/aa563302.aspx
>>>
>>> --
>>> Patrice
>>>
>>> "Patrice" <http://www.chez.com/scribe/> a écrit dans le message de
>>> groupe de discussion :
>>> 9187F416-B744-4813-9EE9-62D07DED3F2D@xxxxxx...
>>>> Try perhaps around :
>>>>
>>>> http://msdn.microsoft.com/en-us/libr...EXCHG.65).aspx
>>>> (Creating Folders (WebDAV) )
>>>>
>>>> I'm not sure which kind of folders it creates but my guess would be
>>>> just that it depends on the location and the managed code sample seems
>>>> to create in the /public folder so I guess this would be this...
>>>>
>>>> Also it lloks like this is really much more easier to work with
>>>> Exchange 2007 as it seems to expose much of it using webservices...
>>>>
>>>> I made a quikc search and it loks like Exchange 2003 SP2 brings support
>>>> for web services whihc could be much easier depending on the extend to
>>>> which yo'ull use webdav.
>>>>
>>>> Finally you should have also third party librairies that are already
>>>> construction webdev requests for you...
>>>>
>>>> Good luck.
>>>>
>>>> --
>>>> Patrice
>>>>
>>>>
>>>> "krasman" <krasman@xxxxxx> a écrit dans le message de groupe de
>>>> discussion : #HnavZySJHA.3880@xxxxxx
>>>>> hi everyone,
>>>>>
>>>>> i hope you might help me on this one. i need to create a contact in a
>>>>> exchange public folder using dotnet (vb or c#) and exchange 2003,
>>>>> without using outlook object model. i'm searching for a few hours and
>>>>> can't find a clear example on how to do it. i've already seen code
>>>>> blocks using webdav, directory services, but always related with
>>>>> creating active directory users or mail enabling users, not exactly
>>>>> what i'm looking for.
>>>>>
>>>>> TIA
>>>>>
>>>>> krasman
>>>>>
>>>>>
>>>>
>>>
>>
>>
>
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Public Folder w/ AD User info [exchange 2003] PowerShell
Cannot create contact groups (mailing lists)-cannot add contact to list Vista mail
Remove Public directory after disable Public Folder Sharing Vista networking & sharing
Microsoft Releases Public Betas of Exchange Server 2007 and Forefront Security for Exchange Server Vista News
Microsoft Releases Public Betas of Exchange Server 2007 and Forefront Security for Exchange Server Vista News


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46