Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Fri, 28 Dec 2007 06:38:00 -0800,    group: microsoft.public.exchange.development        back       


Re: WebDav & Distribution List   
Thanks 

but to write DL completely to Exchange - do we need href of each contact in 
DL?

-sumeet

"Henning Krause [MVP - Exchange]" wrote:

> Hello,
> 
> distribution lists do not work this way.
> 
> With Exchange 2003, the easiest way is to use an OWA command (see 
> http://www.infinitec.de/articles/exchange/exchangedistlist.aspx). This won't 
> work for Exchange 2007, but Exchange 2007 has WebServices for this.
> 
> Kind regards,
> Henning Krause
> 
> "steve040876"  wrote in message 
> news:1192220345.052354.161020@k35g2000prh.googlegroups.com...
> > I'm reading all contacts from my contacts folder via WebDab and it
> > works. Now when i found a DL, i want to enumerate all contact
> > contained in it but i always get "Bad request" error ...
> >
> > Code snippet:
> > ......
> > MSXML::IXMLHttpRequestPtr pXMLHttpReq=NULL;
> > hr=pXMLHttpReq.CreateInstance("Msxml2.XMLHTTP");
> >
> > sUrl="http://mail.mysite,com/exchange/usermailbox";
> > vUser="username";
> > vPassoword="pwd";
> > vAsync=false;
> > pXMLHttpReq->open("SEARCH", sUrl, vAsync,vUser, vPassword);
> >
> > //The request string... for clearity i did not escape backslash... in
> > real code the are \"
> > sRequest="
> > <?xml version="1.0"?><D:searchrequest xmlns:M="http://
> > schemas.microsoft.com/mapi/" xmlns:D = "DAV:" ><D:sql>SELECT
> > "urn:schemas:contacts:cn", "urn:schemas:contacts:members",
> > "DAV:displayname" FROM "http://mail.mysite,com/exchange/usermailbox/
> > Contatti/PROVONA%20LISTONA.EML" WHERE "DAV:ishidden" = false AND
> > "DAV:isfolder" = false AND "DAV:contentclass" = 'urn:content-
> > classes:group'</D:sql></D:searchrequest>"
> >
> > pXMLHttpReq->send(sRequest);
> >
> >
> >
> > I get "Bad request error"
> > 
> 
>
date: Fri, 28 Dec 2007 06:38:00 -0800   author:   sumeetpk

Re: WebDav & Distribution List   
i was able to create a DL in 2k7 using PROPPATCH method.
but how do we add the contact in the distribution list?

-sumeet

"sumeetpk" wrote:

> 
> Thanks 
> 
> but to write DL completely to Exchange - do we need href of each contact in 
> DL?
> 
> -sumeet
> 
> "Henning Krause [MVP - Exchange]" wrote:
> 
> > Hello,
> > 
> > distribution lists do not work this way.
> > 
> > With Exchange 2003, the easiest way is to use an OWA command (see 
> > http://www.infinitec.de/articles/exchange/exchangedistlist.aspx). This won't 
> > work for Exchange 2007, but Exchange 2007 has WebServices for this.
> > 
> > Kind regards,
> > Henning Krause
> > 
> > "steve040876"  wrote in message 
> > news:1192220345.052354.161020@k35g2000prh.googlegroups.com...
> > > I'm reading all contacts from my contacts folder via WebDab and it
> > > works. Now when i found a DL, i want to enumerate all contact
> > > contained in it but i always get "Bad request" error ...
> > >
> > > Code snippet:
> > > ......
> > > MSXML::IXMLHttpRequestPtr pXMLHttpReq=NULL;
> > > hr=pXMLHttpReq.CreateInstance("Msxml2.XMLHTTP");
> > >
> > > sUrl="http://mail.mysite,com/exchange/usermailbox";
> > > vUser="username";
> > > vPassoword="pwd";
> > > vAsync=false;
> > > pXMLHttpReq->open("SEARCH", sUrl, vAsync,vUser, vPassword);
> > >
> > > //The request string... for clearity i did not escape backslash... in
> > > real code the are \"
> > > sRequest="
> > > <?xml version="1.0"?><D:searchrequest xmlns:M="http://
> > > schemas.microsoft.com/mapi/" xmlns:D = "DAV:" ><D:sql>SELECT
> > > "urn:schemas:contacts:cn", "urn:schemas:contacts:members",
> > > "DAV:displayname" FROM "http://mail.mysite,com/exchange/usermailbox/
> > > Contatti/PROVONA%20LISTONA.EML" WHERE "DAV:ishidden" = false AND
> > > "DAV:isfolder" = false AND "DAV:contentclass" = 'urn:content-
> > > classes:group'</D:sql></D:searchrequest>"
> > >
> > > pXMLHttpReq->send(sRequest);
> > >
> > >
> > >
> > > I get "Bad request error"
> > > 
> > 
> >
date: Tue, 1 Jan 2008 23:22:00 -0800   author:   sumeetpk

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us