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 

Folder Details
Goto page 1, 2  Next
 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Development
Author Message
Raj



Joined: 05 Aug 2007
Posts: 21

PostPosted: Tue Jun 19, 2007 8:57 am    Post subject: Folder Details Reply with quote

Hi All,

I am using WebDav technology to get public folder detail - this include
folder and subfolders. But the XML I received from exchange also contain
'message' detail as well so that XML is very very big. How do I eliminate the
'message' detail from the recieved XML? I just want folder details. Following
is the query I used to get folder details.

xmlns:s='http://schemas.microsoft.com/exchange/security/'
xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
xmlns:f='http://schemas.microsoft.com/exchange/'>



Thanks

Rajesh

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



Joined: 05 Aug 2007
Posts: 363

PostPosted: Tue Jun 19, 2007 5:34 pm    Post subject: Re: Folder Details Reply with quote

"Raj" wrote in message @microsoft.com...
> Hi All,
>
> I am using WebDav technology to get public folder detail - this include
> folder and subfolders. But the XML I received from exchange also contain
> 'message' detail as well so that XML is very very big. How do I eliminate
> the
> 'message' detail from the recieved XML? I just want folder details.
> Following
> is the query I used to get folder details.
>
> > xmlns:s='http://schemas.microsoft.com/exchange/security/'
> xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
> xmlns:f='http://schemas.microsoft.com/exchange/'>
>
>
>
> Thanks
>
> Rajesh

Are you adding a Depth header to the request? Make sure that it is set to 0
..

Lee.

--
______________________________________

Outlook Web Access For PDA , OWA For WAP
www.leederbyshire.com
email a@t leederbyshire d.0.t c.0.m
______________________________________
Back to top
View user's profile Send private message
Raj



Joined: 05 Aug 2007
Posts: 21

PostPosted: Tue Jun 19, 2007 10:12 am    Post subject: Re: Folder Details Reply with quote

Hi Lee,

Thanks for the response. I am setting Depth Header to '1' becuase I want to
get details of all subfolders.

Thanks

Rajesh

"Lee Derbyshire [MVP]" wrote:

> "Raj" wrote in message
> @microsoft.com...
> > Hi All,
> >
> > I am using WebDav technology to get public folder detail - this include
> > folder and subfolders. But the XML I received from exchange also contain
> > 'message' detail as well so that XML is very very big. How do I eliminate
> > the
> > 'message' detail from the recieved XML? I just want folder details.
> > Following
> > is the query I used to get folder details.
> >
> > > > xmlns:s='http://schemas.microsoft.com/exchange/security/'
> > xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
> > xmlns:f='http://schemas.microsoft.com/exchange/'>
> >
> >
> >
> > Thanks
> >
> > Rajesh
>
> Are you adding a Depth header to the request? Make sure that it is set to 0
> ..
>
> Lee.
>
> --
> ______________________________________
>
> Outlook Web Access For PDA , OWA For WAP
> www.leederbyshire.com
> email a@t leederbyshire d.0.t c.0.m
> ______________________________________
>
>
>
Back to top
View user's profile Send private message
Lee Derbyshire [MVP]



Joined: 05 Aug 2007
Posts: 363

PostPosted: Tue Jun 19, 2007 7:26 pm    Post subject: Re: Folder Details Reply with quote

In that case, you'll need to do a SEARCH instead of a PROPFIND . With a
SEARCH, you can specify that you only want the properties of folders.

Lee.

"Raj" wrote in message @microsoft.com...
> Hi Lee,
>
> Thanks for the response. I am setting Depth Header to '1' becuase I want
> to
> get details of all subfolders.
>
> Thanks
>
> Rajesh
>
> "Lee Derbyshire [MVP]" wrote:
>
>> "Raj" wrote in message
>> @microsoft.com...
>> > Hi All,
>> >
>> > I am using WebDav technology to get public folder detail - this include
>> > folder and subfolders. But the XML I received from exchange also
>> > contain
>> > 'message' detail as well so that XML is very very big. How do I
>> > eliminate
>> > the
>> > 'message' detail from the recieved XML? I just want folder details.
>> > Following
>> > is the query I used to get folder details.
>> >
>> > >> > xmlns:s='http://schemas.microsoft.com/exchange/security/'
>> > xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
>> > xmlns:f='http://schemas.microsoft.com/exchange/'> >> > />
>> >
>> >
>> >
>> > Thanks
>> >
>> > Rajesh
>>
>> Are you adding a Depth header to the request? Make sure that it is set
>> to 0
>> ..
>>
>> Lee.
>>
>> --
>> ______________________________________
>>
>> Outlook Web Access For PDA , OWA For WAP
>> www.leederbyshire.com
>> email a@t leederbyshire d.0.t c.0.m
>> ______________________________________
>>
>>
>
Back to top
View user's profile Send private message
Raj



Joined: 05 Aug 2007
Posts: 21

PostPosted: Tue Jun 19, 2007 11:43 am    Post subject: Re: Folder Details Reply with quote

Hi Lee,

If that so, Could you please send me a sample query?
Will that change will return different xml file? - I dont want to change the
XML parser.

Thanks

Rajesh



"Lee Derbyshire [MVP]" wrote:

> In that case, you'll need to do a SEARCH instead of a PROPFIND . With a
> SEARCH, you can specify that you only want the properties of folders.
>
> Lee.
>
> "Raj" wrote in message
> @microsoft.com...
> > Hi Lee,
> >
> > Thanks for the response. I am setting Depth Header to '1' becuase I want
> > to
> > get details of all subfolders.
> >
> > Thanks
> >
> > Rajesh
> >
> > "Lee Derbyshire [MVP]" wrote:
> >
> >> "Raj" wrote in message
> >> @microsoft.com...
> >> > Hi All,
> >> >
> >> > I am using WebDav technology to get public folder detail - this include
> >> > folder and subfolders. But the XML I received from exchange also
> >> > contain
> >> > 'message' detail as well so that XML is very very big. How do I
> >> > eliminate
> >> > the
> >> > 'message' detail from the recieved XML? I just want folder details.
> >> > Following
> >> > is the query I used to get folder details.
> >> >
> >> > > >> > xmlns:s='http://schemas.microsoft.com/exchange/security/'
> >> > xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
> >> > xmlns:f='http://schemas.microsoft.com/exchange/'> > >> > />
> >> >
> >> >
> >> >
> >> > Thanks
> >> >
> >> > Rajesh
> >>
> >> Are you adding a Depth header to the request? Make sure that it is set
> >> to 0
> >> ..
> >>
> >> Lee.
> >>
> >> --
> >> ______________________________________
> >>
> >> Outlook Web Access For PDA , OWA For WAP
> >> www.leederbyshire.com
> >> email a@t leederbyshire d.0.t c.0.m
> >> ______________________________________
> >>
> >>
> >
>
>
>
Back to top
View user's profile Send private message
Lee Derbyshire [MVP]



Joined: 05 Aug 2007
Posts: 363

PostPosted: Tue Jun 19, 2007 7:49 pm    Post subject: Re: Folder Details Reply with quote

Here's one on MSDN.

http://msdn2.microsoft.com/en-us/library/aa123571.aspx

Note that you will need "DAV:isfolder" = true , since your are looking for
folder properties. The XML returned is very similar to what you already
getting.

Lee.

"Raj" wrote in message @microsoft.com...
> Hi Lee,
>
> If that so, Could you please send me a sample query?
> Will that change will return different xml file? - I dont want to change
> the
> XML parser.
>
> Thanks
>
> Rajesh
>
>
>
> "Lee Derbyshire [MVP]" wrote:
>
>> In that case, you'll need to do a SEARCH instead of a PROPFIND . With a
>> SEARCH, you can specify that you only want the properties of folders.
>>
>> Lee.
>>
>> "Raj" wrote in message
>> @microsoft.com...
>> > Hi Lee,
>> >
>> > Thanks for the response. I am setting Depth Header to '1' becuase I
>> > want
>> > to
>> > get details of all subfolders.
>> >
>> > Thanks
>> >
>> > Rajesh
>> >
>> > "Lee Derbyshire [MVP]" wrote:
>> >
>> >> "Raj" wrote in message
>> >> @microsoft.com...
>> >> > Hi All,
>> >> >
>> >> > I am using WebDav technology to get public folder detail - this
>> >> > include
>> >> > folder and subfolders. But the XML I received from exchange also
>> >> > contain
>> >> > 'message' detail as well so that XML is very very big. How do I
>> >> > eliminate
>> >> > the
>> >> > 'message' detail from the recieved XML? I just want folder details.
>> >> > Following
>> >> > is the query I used to get folder details.
>> >> >
>> >> > >> >> > xmlns:s='http://schemas.microsoft.com/exchange/security/'
>> >> > xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
>> >> > xmlns:f='http://schemas.microsoft.com/exchange/'> >> >> > />
>> >> >
>> >> >
>> >> >
>> >> > Thanks
>> >> >
>> >> > Rajesh
>> >>
>> >> Are you adding a Depth header to the request? Make sure that it is
>> >> set
>> >> to 0
>> >> ..
>> >>
>> >> Lee.
>> >>
>> >> --
>> >> ______________________________________
>> >>
>> >> Outlook Web Access For PDA , OWA For WAP
>> >> www.leederbyshire.com
>> >> email a@t leederbyshire d.0.t c.0.m
>> >> ______________________________________
>> >>
>> >>
>> >
>>
>>
>>
Back to top
View user's profile Send private message
Raj



Joined: 05 Aug 2007
Posts: 21

PostPosted: Tue Jun 19, 2007 1:04 pm    Post subject: Re: Folder Details Reply with quote

Hi Lee,

Thank you for the link

I used the sample code from the link to test but I am getting null
ResponseStream.

this my query string

"\"SELECT
\"DAV:displayname\" FROM
\"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\" WHERE \"DAV:isfolder\" = false "

I set Request Method to 'Search' as well.

Thank you

Rajesh

"Lee Derbyshire [MVP]" wrote:

> Here's one on MSDN.
>
> http://msdn2.microsoft.com/en-us/library/aa123571.aspx
>
> Note that you will need "DAV:isfolder" = true , since your are looking for
> folder properties. The XML returned is very similar to what you already
> getting.
>
> Lee.
>
> "Raj" wrote in message
> @microsoft.com...
> > Hi Lee,
> >
> > If that so, Could you please send me a sample query?
> > Will that change will return different xml file? - I dont want to change
> > the
> > XML parser.
> >
> > Thanks
> >
> > Rajesh
> >
> >
> >
> > "Lee Derbyshire [MVP]" wrote:
> >
> >> In that case, you'll need to do a SEARCH instead of a PROPFIND . With a
> >> SEARCH, you can specify that you only want the properties of folders.
> >>
> >> Lee.
> >>
> >> "Raj" wrote in message
> >> @microsoft.com...
> >> > Hi Lee,
> >> >
> >> > Thanks for the response. I am setting Depth Header to '1' becuase I
> >> > want
> >> > to
> >> > get details of all subfolders.
> >> >
> >> > Thanks
> >> >
> >> > Rajesh
> >> >
> >> > "Lee Derbyshire [MVP]" wrote:
> >> >
> >> >> "Raj" wrote in message
> >> >> @microsoft.com...
> >> >> > Hi All,
> >> >> >
> >> >> > I am using WebDav technology to get public folder detail - this
> >> >> > include
> >> >> > folder and subfolders. But the XML I received from exchange also
> >> >> > contain
> >> >> > 'message' detail as well so that XML is very very big. How do I
> >> >> > eliminate
> >> >> > the
> >> >> > 'message' detail from the recieved XML? I just want folder details.
> >> >> > Following
> >> >> > is the query I used to get folder details.
> >> >> >
> >> >> > > >> >> > xmlns:s='http://schemas.microsoft.com/exchange/security/'
> >> >> > xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
> >> >> > xmlns:f='http://schemas.microsoft.com/exchange/'> > >> >> > />
> >> >> >
> >> >> >
> >> >> >
> >> >> > Thanks
> >> >> >
> >> >> > Rajesh
> >> >>
> >> >> Are you adding a Depth header to the request? Make sure that it is
> >> >> set
> >> >> to 0
> >> >> ..
> >> >>
> >> >> Lee.
> >> >>
> >> >> --
> >> >> ______________________________________
> >> >>
> >> >> Outlook Web Access For PDA , OWA For WAP
> >> >> www.leederbyshire.com
> >> >> email a@t leederbyshire d.0.t c.0.m
> >> >> ______________________________________
> >> >>
> >> >>
> >> >
> >>
> >>
> >>
>
>
>
Back to top
View user's profile Send private message
Raj



Joined: 05 Aug 2007
Posts: 21

PostPosted: Tue Jun 19, 2007 1:19 pm    Post subject: Re: Folder Details Reply with quote

sorry, corrext query is

"\"SELECT
\"DAV:displayname\" FROM
\"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\" WHERE \"DAV:isfolder\" = true "


"Raj" wrote:

> Hi Lee,
>
> Thank you for the link
>
> I used the sample code from the link to test but I am getting null
> ResponseStream.
>
> this my query string
>
> "\"SELECT
> \"DAV:displayname\" FROM
> \"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\" WHERE \"DAV:isfolder\" = false "
>
> I set Request Method to 'Search' as well.
>
> Thank you
>
> Rajesh
>
> "Lee Derbyshire [MVP]" wrote:
>
> > Here's one on MSDN.
> >
> > http://msdn2.microsoft.com/en-us/library/aa123571.aspx
> >
> > Note that you will need "DAV:isfolder" = true , since your are looking for
> > folder properties. The XML returned is very similar to what you already
> > getting.
> >
> > Lee.
> >
> > "Raj" wrote in message
> > @microsoft.com...
> > > Hi Lee,
> > >
> > > If that so, Could you please send me a sample query?
> > > Will that change will return different xml file? - I dont want to change
> > > the
> > > XML parser.
> > >
> > > Thanks
> > >
> > > Rajesh
> > >
> > >
> > >
> > > "Lee Derbyshire [MVP]" wrote:
> > >
> > >> In that case, you'll need to do a SEARCH instead of a PROPFIND . With a
> > >> SEARCH, you can specify that you only want the properties of folders.
> > >>
> > >> Lee.
> > >>
> > >> "Raj" wrote in message
> > >> @microsoft.com...
> > >> > Hi Lee,
> > >> >
> > >> > Thanks for the response. I am setting Depth Header to '1' becuase I
> > >> > want
> > >> > to
> > >> > get details of all subfolders.
> > >> >
> > >> > Thanks
> > >> >
> > >> > Rajesh
> > >> >
> > >> > "Lee Derbyshire [MVP]" wrote:
> > >> >
> > >> >> "Raj" wrote in message
> > >> >> @microsoft.com...
> > >> >> > Hi All,
> > >> >> >
> > >> >> > I am using WebDav technology to get public folder detail - this
> > >> >> > include
> > >> >> > folder and subfolders. But the XML I received from exchange also
> > >> >> > contain
> > >> >> > 'message' detail as well so that XML is very very big. How do I
> > >> >> > eliminate
> > >> >> > the
> > >> >> > 'message' detail from the recieved XML? I just want folder details.
> > >> >> > Following
> > >> >> > is the query I used to get folder details.
> > >> >> >
> > >> >> > > > >> >> > xmlns:s='http://schemas.microsoft.com/exchange/security/'
> > >> >> > xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
> > >> >> > xmlns:f='http://schemas.microsoft.com/exchange/'> > > >> >> > />
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> > Thanks
> > >> >> >
> > >> >> > Rajesh
> > >> >>
> > >> >> Are you adding a Depth header to the request? Make sure that it is
> > >> >> set
> > >> >> to 0
> > >> >> ..
> > >> >>
> > >> >> Lee.
> > >> >>
> > >> >> --
> > >> >> ______________________________________
> > >> >>
> > >> >> Outlook Web Access For PDA , OWA For WAP
> > >> >> www.leederbyshire.com
> > >> >> email a@t leederbyshire d.0.t c.0.m
> > >> >> ______________________________________
> > >> >>
> > >> >>
> > >> >
> > >>
> > >>
> > >>
> >
> >
> >
Back to top
View user's profile Send private message
Lee Derbyshire [MVP]



Joined: 05 Aug 2007
Posts: 363

PostPosted: Wed Jun 20, 2007 5:29 pm    Post subject: Re: Folder Details Reply with quote

I think the location is wrong (at least, I've never seen one sent to
/Exadmin before). Try something like this:

\"Http://ExchangeServer1/Public/Rajesh%20Folder/\"


"Raj" wrote in message @microsoft.com...
> sorry, corrext query is
>
> "\" > \"DAV:\">SELECT
> \"DAV:displayname\" FROM
> \"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\"
> WHERE \"DAV:isfolder\" = true "
>
>
> "Raj" wrote:
>
>> Hi Lee,
>>
>> Thank you for the link
>>
>> I used the sample code from the link to test but I am getting null
>> ResponseStream.
>>
>> this my query string
>>
>> "\" >> \"DAV:\">SELECT
>> \"DAV:displayname\" FROM
>> \"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\"
>> WHERE \"DAV:isfolder\" = false "
>>
>> I set Request Method to 'Search' as well.
>>
>> Thank you
>>
>> Rajesh
>>
>> "Lee Derbyshire [MVP]" wrote:
>>
>> > Here's one on MSDN.
>> >
>> > http://msdn2.microsoft.com/en-us/library/aa123571.aspx
>> >
>> > Note that you will need "DAV:isfolder" = true , since your are looking
>> > for
>> > folder properties. The XML returned is very similar to what you
>> > already
>> > getting.
>> >
>> > Lee.
>> >
>> > "Raj" wrote in message
>> > @microsoft.com...
>> > > Hi Lee,
>> > >
>> > > If that so, Could you please send me a sample query?
>> > > Will that change will return different xml file? - I dont want to
>> > > change
>> > > the
>> > > XML parser.
>> > >
>> > > Thanks
>> > >
>> > > Rajesh
>> > >
>> > >
>> > >
>> > > "Lee Derbyshire [MVP]" wrote:
>> > >
>> > >> In that case, you'll need to do a SEARCH instead of a PROPFIND .
>> > >> With a
>> > >> SEARCH, you can specify that you only want the properties of
>> > >> folders.
>> > >>
>> > >> Lee.
>> > >>
>> > >> "Raj" wrote in message
>> > >> @microsoft.com...
>> > >> > Hi Lee,
>> > >> >
>> > >> > Thanks for the response. I am setting Depth Header to '1' becuase
>> > >> > I
>> > >> > want
>> > >> > to
>> > >> > get details of all subfolders.
>> > >> >
>> > >> > Thanks
>> > >> >
>> > >> > Rajesh
>> > >> >
>> > >> > "Lee Derbyshire [MVP]" wrote:
>> > >> >
>> > >> >> "Raj" wrote in message
>> > >> >> @microsoft.com...
>> > >> >> > Hi All,
>> > >> >> >
>> > >> >> > I am using WebDav technology to get public folder detail - this
>> > >> >> > include
>> > >> >> > folder and subfolders. But the XML I received from exchange
>> > >> >> > also
>> > >> >> > contain
>> > >> >> > 'message' detail as well so that XML is very very big. How do I
>> > >> >> > eliminate
>> > >> >> > the
>> > >> >> > 'message' detail from the recieved XML? I just want folder
>> > >> >> > details.
>> > >> >> > Following
>> > >> >> > is the query I used to get folder details.
>> > >> >> >
>> > >> >> > >> > >> >> > xmlns:s='http://schemas.microsoft.com/exchange/security/'
>> > >> >> > xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
>> > >> >> > xmlns:f='http://schemas.microsoft.com/exchange/'> >> > >> >> > />
>> > >> >> >
>> > >> >> >
>> > >> >> >
>> > >> >> > Thanks
>> > >> >> >
>> > >> >> > Rajesh
>> > >> >>
>> > >> >> Are you adding a Depth header to the request? Make sure that it
>> > >> >> is
>> > >> >> set
>> > >> >> to 0
>> > >> >> ..
>> > >> >>
>> > >> >> Lee.
>> > >> >>
>> > >> >> --
>> > >> >> ______________________________________
>> > >> >>
>> > >> >> Outlook Web Access For PDA , OWA For WAP
>> > >> >> www.leederbyshire.com
>> > >> >> email a@t leederbyshire d.0.t c.0.m
>> > >> >> ______________________________________
>> > >> >>
>> > >> >>
>> > >> >
>> > >>
>> > >>
>> > >>
>> >
>> >
>> >
Back to top
View user's profile Send private message
Raj



Joined: 05 Aug 2007
Posts: 21

PostPosted: Wed Jun 20, 2007 1:41 pm    Post subject: Re: Folder Details Reply with quote

Hi Lee,

I am using exchange administratice account to get folder details and to use
that account, I should go for the url exadmin/admin/....


Regards

Raj


"Lee Derbyshire [MVP]" wrote:

> I think the location is wrong (at least, I've never seen one sent to
> /Exadmin before). Try something like this:
>
> \"Http://ExchangeServer1/Public/Rajesh%20Folder/\"
>
>
> "Raj" wrote in message
> @microsoft.com...
> > sorry, corrext query is
> >
> > "\" > > \"DAV:\">SELECT
> > \"DAV:displayname\" FROM
> > \"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\"
> > WHERE \"DAV:isfolder\" = true "
> >
> >
> > "Raj" wrote:
> >
> >> Hi Lee,
> >>
> >> Thank you for the link
> >>
> >> I used the sample code from the link to test but I am getting null
> >> ResponseStream.
> >>
> >> this my query string
> >>
> >> "\" > >> \"DAV:\">SELECT
> >> \"DAV:displayname\" FROM
> >> \"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\"
> >> WHERE \"DAV:isfolder\" = false "
> >>
> >> I set Request Method to 'Search' as well.
> >>
> >> Thank you
> >>
> >> Rajesh
> >>
> >> "Lee Derbyshire [MVP]" wrote:
> >>
> >> > Here's one on MSDN.
> >> >
> >> > http://msdn2.microsoft.com/en-us/library/aa123571.aspx
> >> >
> >> > Note that you will need "DAV:isfolder" = true , since your are looking
> >> > for
> >> > folder properties. The XML returned is very similar to what you
> >> > already
> >> > getting.
> >> >
> >> > Lee.
> >> >
> >> > "Raj" wrote in message
> >> > @microsoft.com...
> >> > > Hi Lee,
> >> > >
> >> > > If that so, Could you please send me a sample query?
> >> > > Will that change will return different xml file? - I dont want to
> >> > > change
> >> > > the
> >> > > XML parser.
> >> > >
> >> > > Thanks
> >> > >
> >> > > Rajesh
> >> > >
> >> > >
> >> > >
> >> > > "Lee Derbyshire [MVP]" wrote:
> >> > >
> >> > >> In that case, you'll need to do a SEARCH instead of a PROPFIND .
> >> > >> With a
> >> > >> SEARCH, you can specify that you only want the properties of
> >> > >> folders.
> >> > >>
> >> > >> Lee.
> >> > >>
> >> > >> "Raj" wrote in message
> >> > >> @microsoft.com...
> >> > >> > Hi Lee,
> >> > >> >
> >> > >> > Thanks for the response. I am setting Depth Header to '1' becuase
> >> > >> > I
> >> > >> > want
> >> > >> > to
> >> > >> > get details of all subfolders.
> >> > >> >
> >> > >> > Thanks
> >> > >> >
> >> > >> > Rajesh
> >> > >> >
> >> > >> > "Lee Derbyshire [MVP]" wrote:
> >> > >> >
> >> > >> >> "Raj" wrote in message
> >> > >> >> @microsoft.com...
> >> > >> >> > Hi All,
> >> > >> >> >
> >> > >> >> > I am using WebDav technology to get public folder detail - this
> >> > >> >> > include
> >> > >> >> > folder and subfolders. But the XML I received from exchange
> >> > >> >> > also
> >> > >> >> > contain
> >> > >> >> > 'message' detail as well so that XML is very very big. How do I
> >> > >> >> > eliminate
> >> > >> >> > the
> >> > >> >> > 'message' detail from the recieved XML? I just want folder
> >> > >> >> > details.
> >> > >> >> > Following
> >> > >> >> > is the query I used to get folder details.
> >> > >> >> >
> >> > >> >> > > >> > >> >> > xmlns:s='http://schemas.microsoft.com/exchange/security/'
> >> > >> >> > xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
> >> > >> >> > xmlns:f='http://schemas.microsoft.com/exchange/'> > >> > >> >> > />
> >> > >> >> >
> >> > >> >> >
> >> > >> >> >
> >> > >> >> > Thanks
> >> > >> >> >
> >> > >> >> > Rajesh
> >> > >> >>
> >> > >> >> Are you adding a Depth header to the request? Make sure that it
> >> > >> >> is
> >> > >> >> set
> >> > >> >> to 0
> >> > >> >> ..
> >> > >> >>
> >> > >> >> Lee.
> >> > >> >>
> >> > >> >> --
> >> > >> >> ______________________________________
> >> > >> >>
> >> > >> >> Outlook Web Access For PDA , OWA For WAP
> >> > >> >> www.leederbyshire.com
> >> > >> >> email a@t leederbyshire d.0.t c.0.m
> >> > >> >> ______________________________________
> >> > >> >>
> >> > >> >>
> >> > >> >
> >> > >>
> >> > >>
> >> > >>
> >> >
> >> >
> >> >
>
>
>
Back to top
View user's profile Send private message
Henning Krause [MVP - Exc



Joined: 05 Aug 2007
Posts: 142

PostPosted: Thu Jun 21, 2007 1:14 am    Post subject: Re: Folder Details Reply with quote

Hello,

the /Exadmin dir is quite useful. Some properties (like replication settings
of public folders) can only be set/retrieved using that folder. Not to
mention it completely circumvents MAPI security settings applied to the
folder Smile

But you must be an administrator to use the folder.

Considering the url
Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/

Server.EUR.COM must be the primary SMTP domain of the Exchange organization.

Best regards,
Henning Krause

"Lee Derbyshire [MVP]" wrote in
message @TK2MSFTNGP02.phx.gbl...
>I think the location is wrong (at least, I've never seen one sent to
>/Exadmin before). Try something like this:
>
> \"Http://ExchangeServer1/Public/Rajesh%20Folder/\"
>
>
> "Raj" wrote in message
> @microsoft.com...
>> sorry, corrext query is
>>
>> "\" >> \"DAV:\">SELECT
>> \"DAV:displayname\" FROM
>> \"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\"
>> WHERE \"DAV:isfolder\" = true "
>>
>>
>> "Raj" wrote:
>>
>>> Hi Lee,
>>>
>>> Thank you for the link
>>>
>>> I used the sample code from the link to test but I am getting null
>>> ResponseStream.
>>>
>>> this my query string
>>>
>>> "\" >>> \"DAV:\">SELECT
>>> \"DAV:displayname\" FROM
>>> \"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\"
>>> WHERE \"DAV:isfolder\" = false "
>>>
>>> I set Request Method to 'Search' as well.
>>>
>>> Thank you
>>>
>>> Rajesh
>>>
>>> "Lee Derbyshire [MVP]" wrote:
>>>
>>> > Here's one on MSDN.
>>> >
>>> > http://msdn2.microsoft.com/en-us/library/aa123571.aspx
>>> >
>>> > Note that you will need "DAV:isfolder" = true , since your are looking
>>> > for
>>> > folder properties. The XML returned is very similar to what you
>>> > already
>>> > getting.
>>> >
>>> > Lee.
>>> >
>>> > "Raj" wrote in message
>>> > @microsoft.com...
>>> > > Hi Lee,
>>> > >
>>> > > If that so, Could you please send me a sample query?
>>> > > Will that change will return different xml file? - I dont want to
>>> > > change
>>> > > the
>>> > > XML parser.
>>> > >
>>> > > Thanks
>>> > >
>>> > > Rajesh
>>> > >
>>> > >
>>> > >
>>> > > "Lee Derbyshire [MVP]" wrote:
>>> > >
>>> > >> In that case, you'll need to do a SEARCH instead of a PROPFIND .
>>> > >> With a
>>> > >> SEARCH, you can specify that you only want the properties of
>>> > >> folders.
>>> > >>
>>> > >> Lee.
>>> > >>
>>> > >> "Raj" wrote in message
>>> > >> @microsoft.com...
>>> > >> > Hi Lee,
>>> > >> >
>>> > >> > Thanks for the response. I am setting Depth Header to '1' becuase
>>> > >> > I
>>> > >> > want
>>> > >> > to
>>> > >> > get details of all subfolders.
>>> > >> >
>>> > >> > Thanks
>>> > >> >
>>> > >> > Rajesh
>>> > >> >
>>> > >> > "Lee Derbyshire [MVP]" wrote:
>>> > >> >
>>> > >> >> "Raj" wrote in message
>>> > >> >> @microsoft.com...
>>> > >> >> > Hi All,
>>> > >> >> >
>>> > >> >> > I am using WebDav technology to get public folder detail -
>>> > >> >> > this
>>> > >> >> > include
>>> > >> >> > folder and subfolders. But the XML I received from exchange
>>> > >> >> > also
>>> > >> >> > contain
>>> > >> >> > 'message' detail as well so that XML is very very big. How do
>>> > >> >> > I
>>> > >> >> > eliminate
>>> > >> >> > the
>>> > >> >> > 'message' detail from the recieved XML? I just want folder
>>> > >> >> > details.
>>> > >> >> > Following
>>> > >> >> > is the query I used to get folder details.
>>> > >> >> >
>>> > >> >> > >>> > >> >> > xmlns:s='http://schemas.microsoft.com/exchange/security/'
>>> > >> >> > xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
>>> > >> >> > xmlns:f='http://schemas.microsoft.com/exchange/'> >>> > >> >> > />
>>> > >> >> >
>>> > >> >> >
>>> > >> >> >
>>> > >> >> > Thanks
>>> > >> >> >
>>> > >> >> > Rajesh
>>> > >> >>
>>> > >> >> Are you adding a Depth header to the request? Make sure that it
>>> > >> >> is
>>> > >> >> set
>>> > >> >> to 0
>>> > >> >> ..
>>> > >> >>
>>> > >> >> Lee.
>>> > >> >>
>>> > >> >> --
>>> > >> >> ______________________________________
>>> > >> >>
>>> > >> >> Outlook Web Access For PDA , OWA For WAP
>>> > >> >> www.leederbyshire.com
>>> > >> >> email a@t leederbyshire d.0.t c.0.m
>>> > >> >> ______________________________________
>>> > >> >>
>>> > >> >>
>>> > >> >
>>> > >>
>>> > >>
>>> > >>
>>> >
>>> >
>>> >
>
>
Back to top
View user's profile Send private message
Lee Derbyshire [MVP]



Joined: 05 Aug 2007
Posts: 363

PostPosted: Thu Jun 21, 2007 5:40 pm    Post subject: Re: Folder Details Reply with quote

Okay, I see. I don't know why you get a NULL Response stream. What status
are you getting?


"Raj" wrote in message @microsoft.com...
> Hi Lee,
>
> I am using exchange administratice account to get folder details and to
> use
> that account, I should go for the url exadmin/admin/....
>
>
> Regards
>
> Raj
>
>
> "Lee Derbyshire [MVP]" wrote:
>
>> I think the location is wrong (at least, I've never seen one sent to
>> /Exadmin before). Try something like this:
>>
>> \"Http://ExchangeServer1/Public/Rajesh%20Folder/\"
>>
>>
>> "Raj" wrote in message
>> @microsoft.com...
>> > sorry, corrext query is
>> >
>> > "\" >> > \"DAV:\">SELECT
>> > \"DAV:displayname\" FROM
>> > \"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\"
>> > WHERE \"DAV:isfolder\" = true "
>> >
>> >
>> > "Raj" wrote:
>> >
>> >> Hi Lee,
>> >>
>> >> Thank you for the link
>> >>
>> >> I used the sample code from the link to test but I am getting null
>> >> ResponseStream.
>> >>
>> >> this my query string
>> >>
>> >> "\" >> >> \"DAV:\">SELECT
>> >> \"DAV:displayname\" FROM
>> >> \"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\"
>> >> WHERE \"DAV:isfolder\" = false "
>> >>
>> >> I set Request Method to 'Search' as well.
>> >>
>> >> Thank you
>> >>
>> >> Rajesh
>> >>
>> >> "Lee Derbyshire [MVP]" wrote:
>> >>
>> >> > Here's one on MSDN.
>> >> >
>> >> > http://msdn2.microsoft.com/en-us/library/aa123571.aspx
>> >> >
>> >> > Note that you will need "DAV:isfolder" = true , since your are
>> >> > looking
>> >> > for
>> >> > folder properties. The XML returned is very similar to what you
>> >> > already
>> >> > getting.
>> >> >
>> >> > Lee.
>> >> >
>> >> > "Raj" wrote in message
>> >> > @microsoft.com...
>> >> > > Hi Lee,
>> >> > >
>> >> > > If that so, Could you please send me a sample query?
>> >> > > Will that change will return different xml file? - I dont want to
>> >> > > change
>> >> > > the
>> >> > > XML parser.
>> >> > >
>> >> > > Thanks
>> >> > >
>> >> > > Rajesh
>> >> > >
>> >> > >
>> >> > >
>> >> > > "Lee Derbyshire [MVP]" wrote:
>> >> > >
>> >> > >> In that case, you'll need to do a SEARCH instead of a PROPFIND .
>> >> > >> With a
>> >> > >> SEARCH, you can specify that you only want the properties of
>> >> > >> folders.
>> >> > >>
>> >> > >> Lee.
>> >> > >>
>> >> > >> "Raj" wrote in message
>> >> > >> @microsoft.com...
>> >> > >> > Hi Lee,
>> >> > >> >
>> >> > >> > Thanks for the response. I am setting Depth Header to '1'
>> >> > >> > becuase
>> >> > >> > I
>> >> > >> > want
>> >> > >> > to
>> >> > >> > get details of all subfolders.
>> >> > >> >
>> >> > >> > Thanks
>> >> > >> >
>> >> > >> > Rajesh
>> >> > >> >
>> >> > >> > "Lee Derbyshire [MVP]" wrote:
>> >> > >> >
>> >> > >> >> "Raj" wrote in message
>> >> > >> >> @microsoft.com...
>> >> > >> >> > Hi All,
>> >> > >> >> >
>> >> > >> >> > I am using WebDav technology to get public folder detail -
>> >> > >> >> > this
>> >> > >> >> > include
>> >> > >> >> > folder and subfolders. But the XML I received from exchange
>> >> > >> >> > also
>> >> > >> >> > contain
>> >> > >> >> > 'message' detail as well so that XML is very very big. How
>> >> > >> >> > do I
>> >> > >> >> > eliminate
>> >> > >> >> > the
>> >> > >> >> > 'message' detail from the recieved XML? I just want folder
>> >> > >> >> > details.
>> >> > >> >> > Following
>> >> > >> >> > is the query I used to get folder details.
>> >> > >> >> >
>> >> > >> >> > >> >> > >> >> > xmlns:s='http://schemas.microsoft.com/exchange/security/'
>> >> > >> >> > xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
>> >> > >> >> > xmlns:f='http://schemas.microsoft.com/exchange/'> >> >> > >> >> > />
>> >> > >> >> >
>> >> > >> >> >
>> >> > >> >> >
>> >> > >> >> > Thanks
>> >> > >> >> >
>> >> > >> >> > Rajesh
>> >> > >> >>
>> >> > >> >> Are you adding a Depth header to the request? Make sure that
>> >> > >> >> it
>> >> > >> >> is
>> >> > >> >> set
>> >> > >> >> to 0
>> >> > >> >> ..
>> >> > >> >>
>> >> > >> >> Lee.
>> >> > >> >>
>> >> > >> >> --
>> >> > >> >> ______________________________________
>> >> > >> >>
>> >> > >> >> Outlook Web Access For PDA , OWA For WAP
>> >> > >> >> www.leederbyshire.com
>> >> > >> >> email a@t leederbyshire d.0.t c.0.m
>> >> > >> >> ______________________________________
>> >> > >> >>
>> >> > >> >>
>> >> > >> >
>> >> > >>
>> >> > >>
>> >> > >>
>> >> >
>> >> >
>> >> >
>>
>>
>>
Back to top
View user's profile Send private message
Raj



Joined: 05 Aug 2007
Posts: 21

PostPosted: Thu Jun 21, 2007 12:43 pm    Post subject: Re: Folder Details Reply with quote

Hi Lee,

The problem was related to bad request and fixed the XML but not completely
working fine for me

I begin with sample code from Microsoft and I noticed that when I request to
get details, I get details of subfolders only. I am not getting the details
of the requested folder. which is not the case with propFind.
I tried to create a SQL to get more complicated datas like security
descriptor, Folder size but getting resource not found error.

the propfind query is given below ,which is working fine.


xmlns:s='http://schemas.microsoft.com/exchange/security/'
xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
xmlns:f='http://schemas.microsoft.com/exchange/'>















I created equvalent search query for the same but it seems the namspace is
not catching correctly. Please help me on this query - getting resource not
found error

string sqlQuery = " \"DAV:\" xmlns:s=\"http://schemas.microsoft.com/exchange/security/\"
xmlns:E=\"http://schemas.microsoft.com/mapi/proptag/\"
xmlns:f=\"http://schemas.microsoft.com/exchange/\" >SELECT
\"d:displayname\",\"d:getlastmodified\",\"d:creationdate\" FROM
\""+stringFolderPath ;
sqlQuery = sqlQuery +"\" WHERE \"DAV:isfolder\" = true
"

Thanks

Rajesh



"Henning Krause [MVP - Exchange]" wrote:

> Hello,
>
> the /Exadmin dir is quite useful. Some properties (like replication settings
> of public folders) can only be set/retrieved using that folder. Not to
> mention it completely circumvents MAPI security settings applied to the
> folder Smile
>
> But you must be an administrator to use the folder.
>
> Considering the url
> Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/
>
> Server.EUR.COM must be the primary SMTP domain of the Exchange organization.
>
> Best regards,
> Henning Krause
>
> "Lee Derbyshire [MVP]" wrote in
> message @TK2MSFTNGP02.phx.gbl...
> >I think the location is wrong (at least, I've never seen one sent to
> >/Exadmin before). Try something like this:
> >
> > \"Http://ExchangeServer1/Public/Rajesh%20Folder/\"
> >
> >
> > "Raj" wrote in message
> > @microsoft.com...
> >> sorry, corrext query is
> >>
> >> "\" > >> \"DAV:\">SELECT
> >> \"DAV:displayname\" FROM
> >> \"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\"
> >> WHERE \"DAV:isfolder\" = true "
> >>
> >>
> >> "Raj" wrote:
> >>
> >>> Hi Lee,
> >>>
> >>> Thank you for the link
> >>>
> >>> I used the sample code from the link to test but I am getting null
> >>> ResponseStream.
> >>>
> >>> this my query string
> >>>
> >>> "\" > >>> \"DAV:\">SELECT
> >>> \"DAV:displayname\" FROM
> >>> \"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\"
> >>> WHERE \"DAV:isfolder\" = false "
> >>>
> >>> I set Request Method to 'Search' as well.
> >>>
> >>> Thank you
> >>>
> >>> Rajesh
> >>>
> >>> "Lee Derbyshire [MVP]" wrote:
> >>>
> >>> > Here's one on MSDN.
> >>> >
> >>> > http://msdn2.microsoft.com/en-us/library/aa123571.aspx
> >>> >
> >>> > Note that you will need "DAV:isfolder" = true , since your are looking
> >>> > for
> >>> > folder properties. The XML returned is very similar to what you
> >>> > already
> >>> > getting.
> >>> >
> >>> > Lee.
> >>> >
> >>> > "Raj" wrote in message
> >>> > @microsoft.com...
> >>> > > Hi Lee,
> >>> > >
> >>> > > If that so, Could you please send me a sample query?
> >>> > > Will that change will return different xml file? - I dont want to
> >>> > > change
> >>> > > the
> >>> > > XML parser.
> >>> > >
> >>> > > Thanks
> >>> > >
> >>> > > Rajesh
> >>> > >
> >>> > >
> >>> > >
> >>> > > "Lee Derbyshire [MVP]" wrote:
> >>> > >
> >>> > >> In that case, you'll need to do a SEARCH instead of a PROPFIND .
> >>> > >> With a
> >>> > >> SEARCH, you can specify that you only want the properties of
> >>> > >> folders.
> >>> > >>
> >>> > >> Lee.
> >>> > >>
> >>> > >> "Raj" wrote in message
> >>> > >> @microsoft.com...
> >>> > >> > Hi Lee,
> >>> > >> >
> >>> > >> > Thanks for the response. I am setting Depth Header to '1' becuase
> >>> > >> > I
> >>> > >> > want
> >>> > >> > to
> >>> > >> > get details of all subfolders.
> >>> > >> >
> >>> > >> > Thanks
> >>> > >> >
> >>> > >> > Rajesh
> >>> > >> >
> >>> > >> > "Lee Derbyshire [MVP]" wrote:
> >>> > >> >
> >>> > >> >> "Raj" wrote in message
> >>> > >> >> @microsoft.com...
> >>> > >> >> > Hi All,
> >>> > >> >> >
> >>> > >> >> > I am using WebDav technology to get public folder detail -
> >>> > >> >> > this
> >>> > >> >> > include
> >>> > >> >> > folder and subfolders. But the XML I received from exchange
> >>> > >> >> > also
> >>> > >> >> > contain
> >>> > >> >> > 'message' detail as well so that XML is very very big. How do
> >>> > >> >> > I
> >>> > >> >> > eliminate
> >>> > >> >> > the
> >>> > >> >> > 'message' detail from the recieved XML? I just want folder
> >>> > >> >> > details.
> >>> > >> >> > Following
> >>> > >> >> > is the query I used to get folder details.
> >>> > >> >> >
> >>> > >> >> > > >>> > >> >> > xmlns:s='http://schemas.microsoft.com/exchange/security/'
> >>> > >> >> > xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
> >>> > >> >> > xmlns:f='http://schemas.microsoft.com/exchange/'> > >>> > >> >> > />
> >>> > >> >> >
> >>> > >> >> >
> >>> > >> >> >
> >>> > >> >> > Thanks
> >>> > >> >> >
> >>> > >> >> > Rajesh
> >>> > >> >>
> >>> > >> >> Are you adding a Depth header to the request? Make sure that it
> >>> > >> >> is
> >>> > >> >> set
> >>> > >> >> to 0
> >>> > >> >> ..
> >>> > >> >>
> >>> > >> >> Lee.
> >>> > >> >>
> >>> > >> >> --
> >>> > >> >> ______________________________________
> >>> > >> >>
> >>> > >> >> Outlook Web Access For PDA , OWA For WAP
> >>> > >> >> www.leederbyshire.com
> >>> > >> >> email a@t leederbyshire d.0.t c.0.m
> >>> > >> >> ______________________________________
> >>> > >> >>
> >>> > >> >>
> >>> > >> >
> >>> > >>
> >>> > >>
> >>> > >>
> >>> >
> >>> >
> >>> >
> >
> >
>
>
Back to top
View user's profile Send private message
Lee Derbyshire [MVP]



Joined: 05 Aug 2007
Posts: 363

PostPosted: Fri Jun 22, 2007 5:25 pm    Post subject: Re: Folder Details Reply with quote

It's hard to say why you are getting Resource Not Found without seeing the
full Response. It may just be a single property that can't be found, or the
entire folder. Also, can't say why you only get properties of child items
without seeing more of the code. The Depth header of "1" should work, as
long as you aren't also setting "noroot". Basically, we need to see the
full Response.


"Raj" wrote in message @microsoft.com...
> Hi Lee,
>
> The problem was related to bad request and fixed the XML but not
> completely
> working fine for me
>
> I begin with sample code from Microsoft and I noticed that when I request
> to
> get details, I get details of subfolders only. I am not getting the
> details
> of the requested folder. which is not the case with propFind.
> I tried to create a SQL to get more complicated datas like security
> descriptor, Folder size but getting resource not found error.
>
> the propfind query is given below ,which is working fine.
>
>
> > xmlns:s='http://schemas.microsoft.com/exchange/security/'
> xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
> xmlns:f='http://schemas.microsoft.com/exchange/'>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> I created equvalent search query for the same but it seems the namspace is
> not catching correctly. Please help me on this query - getting resource
> not
> found error
>
> string sqlQuery = " > \"DAV:\" xmlns:s=\"http://schemas.microsoft.com/exchange/security/\"
> xmlns:E=\"http://schemas.microsoft.com/mapi/proptag/\"
> xmlns:f=\"http://schemas.microsoft.com/exchange/\" >SELECT
> \"d:displayname\",\"d:getlastmodified\",\"d:creationdate\" FROM
> \""+stringFolderPath ;
> sqlQuery = sqlQuery +"\" WHERE \"DAV:isfolder\" = true
> "
>
> Thanks
>
> Rajesh
>
>
>
> "Henning Krause [MVP - Exchange]" wrote:
>
>> Hello,
>>
>> the /Exadmin dir is quite useful. Some properties (like replication
>> settings
>> of public folders) can only be set/retrieved using that folder. Not to
>> mention it completely circumvents MAPI security settings applied to the
>> folder Smile
>>
>> But you must be an administrator to use the folder.
>>
>> Considering the url
>> Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/
>>
>> Server.EUR.COM must be the primary SMTP domain of the Exchange
>> organization.
>>
>> Best regards,
>> Henning Krause
>>
>> "Lee Derbyshire [MVP]" wrote in
>> message @TK2MSFTNGP02.phx.gbl...
>> >I think the location is wrong (at least, I've never seen one sent to
>> >/Exadmin before). Try something like this:
>> >
>> > \"Http://ExchangeServer1/Public/Rajesh%20Folder/\"
>> >
>> >
>> > "Raj" wrote in message
>> > @microsoft.com...
>> >> sorry, corrext query is
>> >>
>> >> "\" >> >> \"DAV:\">SELECT
>> >> \"DAV:displayname\" FROM
>> >> \"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\"
>> >> WHERE \"DAV:isfolder\" = true "
>> >>
>> >>
>> >> "Raj" wrote:
>> >>
>> >>> Hi Lee,
>> >>>
>> >>> Thank you for the link
>> >>>
>> >>> I used the sample code from the link to test but I am getting null
>> >>> ResponseStream.
>> >>>
>> >>> this my query string
>> >>>
>> >>> "\" >> >>> \"DAV:\">SELECT
>> >>> \"DAV:displayname\" FROM
>> >>> \"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\"
>> >>> WHERE \"DAV:isfolder\" = false "
>> >>>
>> >>> I set Request Method to 'Search' as well.
>> >>>
>> >>> Thank you
>> >>>
>> >>> Rajesh
>> >>>
>> >>> "Lee Derbyshire [MVP]" wrote:
>> >>>
>> >>> > Here's one on MSDN.
>> >>> >
>> >>> > http://msdn2.microsoft.com/en-us/library/aa123571.aspx
>> >>> >
>> >>> > Note that you will need "DAV:isfolder" = true , since your are
>> >>> > looking
>> >>> > for
>> >>> > folder properties. The XML returned is very similar to what you
>> >>> > already
>> >>> > getting.
>> >>> >
>> >>> > Lee.
>> >>> >
>> >>> > "Raj" wrote in message
>> >>> > @microsoft.com...
>> >>> > > Hi Lee,
>> >>> > >
>> >>> > > If that so, Could you please send me a sample query?
>> >>> > > Will that change will return different xml file? - I dont want to
>> >>> > > change
>> >>> > > the
>> >>> > > XML parser.
>> >>> > >
>> >>> > > Thanks
>> >>> > >
>> >>> > > Rajesh
>> >>> > >
>> >>> > >
>> >>> > >
>> >>> > > "Lee Derbyshire [MVP]" wrote:
>> >>> > >
>> >>> > >> In that case, you'll need to do a SEARCH instead of a PROPFIND .
>> >>> > >> With a
>> >>> > >> SEARCH, you can specify that you only want the properties of
>> >>> > >> folders.
>> >>> > >>
>> >>> > >> Lee.
>> >>> > >>
>> >>> > >> "Raj" wrote in message
>> >>> > >> @microsoft.com...
>> >>> > >> > Hi Lee,
>> >>> > >> >
>> >>> > >> > Thanks for the response. I am setting Depth Header to '1'
>> >>> > >> > becuase
>> >>> > >> > I
>> >>> > >> > want
>> >>> > >> > to
>> >>> > >> > get details of all subfolders.
>> >>> > >> >
>> >>> > >> > Thanks
>> >>> > >> >
>> >>> > >> > Rajesh
>> >>> > >> >
>> >>> > >> > "Lee Derbyshire [MVP]" wrote:
>> >>> > >> >
>> >>> > >> >> "Raj" wrote in message
>> >>> > >> >> @microsoft.com...
>> >>> > >> >> > Hi All,
>> >>> > >> >> >
>> >>> > >> >> > I am using WebDav technology to get public folder detail -
>> >>> > >> >> > this
>> >>> > >> >> > include
>> >>> > >> >> > folder and subfolders. But the XML I received from exchange
>> >>> > >> >> > also
>> >>> > >> >> > contain
>> >>> > >> >> > 'message' detail as well so that XML is very very big. How
>> >>> > >> >> > do
>> >>> > >> >> > I
>> >>> > >> >> > eliminate
>> >>> > >> >> > the
>> >>> > >> >> > 'message' detail from the recieved XML? I just want folder
>> >>> > >> >> > details.
>> >>> > >> >> > Following
>> >>> > >> >> > is the query I used to get folder details.
>> >>> > >> >> >
>> >>> > >> >> > >> >>> > >> >> > xmlns:s='http://schemas.microsoft.com/exchange/security/'
>> >>> > >> >> > xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
>> >>> > >> >> > xmlns:f='http://schemas.microsoft.com/exchange/'> >> >>> > >> >> > />
>> >>> > >> >> >
>> >>> > >> >> >
>> >>> > >> >> >
>> >>> > >> >> > Thanks
>> >>> > >> >> >
>> >>> > >> >> > Rajesh
>> >>> > >> >>
>> >>> > >> >> Are you adding a Depth header to the request? Make sure that
>> >>> > >> >> it
>> >>> > >> >> is
>> >>> > >> >> set
>> >>> > >> >> to 0
>> >>> > >> >> ..
>> >>> > >> >>
>> >>> > >> >> Lee.
>> >>> > >> >>
>> >>> > >> >> --
>> >>> > >> >> ______________________________________
>> >>> > >> >>
>> >>> > >> >> Outlook Web Access For PDA , OWA For WAP
>> >>> > >> >> www.leederbyshire.com
>> >>> > >> >> email a@t leederbyshire d.0.t c.0.m
>> >>> > >> >> ______________________________________
>> >>> > >> >>
>> >>> > >> >>
>> >>> > >> >
>> >>> > >>
>> >>> > >>
>> >>> > >>
>> >>> >
>> >>> >
>> >>> >
>> >
>> >
>>
>>
Back to top
View user's profile Send private message
Raj



Joined: 05 Aug 2007
Posts: 21

PostPosted: Mon Jun 25, 2007 6:41 am    Post subject: Re: Folder Details Reply with quote

I just copied the sample code from
http://msdn2.microsoft.com/en-us/library/aa123571.aspx


The path is given below and response XML not contain the EVAL Raj
Administrative folder details.
Http://ExchangeServer1/Exadmin/admin/Lab.EXLABORG.COM/PUBLIC%20FOLDERS/Eval%20Raj%20Administrative/


xmlns:c="xml:" xmlns:a="DAV:">


http://ExchangeServer1/Exadmin/admin/Lab.EXLABORG.COM/PUBLIC%20FOLDERS/Eval%20Raj%20Administrative/Administrative%202.0/

HTTP/1.1 200 OK

Administrative 2.0





http://ExchangeServer1/Exadmin/admin/Lab.EXLABORG.COM/PUBLIC%20FOLDERS/Eval%20Raj%20Administrative/Administrative%201.0/

HTTP/1.1 200 OK

Administrative 1.0





Regards

Raj


"Lee Derbyshire [MVP]" wrote:

> It's hard to say why you are getting Resource Not Found without seeing the
> full Response. It may just be a single property that can't be found, or the
> entire folder. Also, can't say why you only get properties of child items
> without seeing more of the code. The Depth header of "1" should work, as
> long as you aren't also setting "noroot". Basically, we need to see the
> full Response.
>
>
> "Raj" wrote in message
> @microsoft.com...
> > Hi Lee,
> >
> > The problem was related to bad request and fixed the XML but not
> > completely
> > working fine for me
> >
> > I begin with sample code from Microsoft and I noticed that when I request
> > to
> > get details, I get details of subfolders only. I am not getting the
> > details
> > of the requested folder. which is not the case with propFind.
> > I tried to create a SQL to get more complicated datas like security
> > descriptor, Folder size but getting resource not found error.
> >
> > the propfind query is given below ,which is working fine.
> >
> >
> > > > xmlns:s='http://schemas.microsoft.com/exchange/security/'
> > xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
> > xmlns:f='http://schemas.microsoft.com/exchange/'>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > I created equvalent search query for the same but it seems the namspace is
> > not catching correctly. Please help me on this query - getting resource
> > not
> > found error
> >
> > string sqlQuery = " > > \"DAV:\" xmlns:s=\"http://schemas.microsoft.com/exchange/security/\"
> > xmlns:E=\"http://schemas.microsoft.com/mapi/proptag/\"
> > xmlns:f=\"http://schemas.microsoft.com/exchange/\" >SELECT
> > \"d:displayname\",\"d:getlastmodified\",\"d:creationdate\" FROM
> > \""+stringFolderPath ;
> > sqlQuery = sqlQuery +"\" WHERE \"DAV:isfolder\" = true
> > "
> >
> > Thanks
> >
> > Rajesh
> >
> >
> >
> > "Henning Krause [MVP - Exchange]" wrote:
> >
> >> Hello,
> >>
> >> the /Exadmin dir is quite useful. Some properties (like replication
> >> settings
> >> of public folders) can only be set/retrieved using that folder. Not to
> >> mention it completely circumvents MAPI security settings applied to the
> >> folder Smile
> >>
> >> But you must be an administrator to use the folder.
> >>
> >> Considering the url
> >> Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/
> >>
> >> Server.EUR.COM must be the primary SMTP domain of the Exchange
> >> organization.
> >>
> >> Best regards,
> >> Henning Krause
> >>
> >> "Lee Derbyshire [MVP]" wrote in
> >> message @TK2MSFTNGP02.phx.gbl...
> >> >I think the location is wrong (at least, I've never seen one sent to
> >> >/Exadmin before). Try something like this:
> >> >
> >> > \"Http://ExchangeServer1/Public/Rajesh%20Folder/\"
> >> >
> >> >
> >> > "Raj" wrote in message
> >> > @microsoft.com...
> >> >> sorry, corrext query is
> >> >>
> >> >> "\" > >> >> \"DAV:\">SELECT
> >> >> \"DAV:displayname\" FROM
> >> >> \"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\"
> >> >> WHERE \"DAV:isfolder\" = true "
> >> >>
> >> >>
> >> >> "Raj" wrote:
> >> >>
> >> >>> Hi Lee,
> >> >>>
> >> >>> Thank you for the link
> >> >>>
> >> >>> I used the sample code from the link to test but I am getting null
> >> >>> ResponseStream.
> >> >>>
> >> >>> this my query string
> >> >>>
> >> >>> "\" > >> >>> \"DAV:\">SELECT
> >> >>> \"DAV:displayname\" FROM
> >> >>> \"Http://ExchangeServer1/Exadmin/admin/Server.EUR.COM/PUBLIC%20FOLDERS/Rajesh%20Folder/\"
> >> >>> WHERE \"DAV:isfolder\" = false "
> >> >>>
> >> >>> I set Request Method to 'Search' as well.
> >> >>>
> >> >>> Thank you
> >> >>>
> >> >>> Rajesh
> >> >>>
> >> >>> "Lee Derbyshire [MVP]" wrote:
> >> >>>
> >> >>> > Here's one on MSDN.
> >> >>> >
> >> >>> > http://msdn2.microsoft.com/en-us/library/aa123571.aspx
> >> >>> >
> >> >>> > Note that you will need "DAV:isfolder" = true , since your are
> >> >>> > looking
> >> >>> > for
> >> >>> > folder properties. The XML returned is very similar to what you
> >> >>> > already
> >> >>> > getting.
> >> >>> >
> >> >>> > Lee.
> >> >>> >
> >> >>> > "Raj" wrote in message
> >> >>> > @microsoft.com...
> >> >>> > > Hi Lee,
> >> >>> > >
> >> >>> > > If that so, Could you please send me a sample query?
> >> >>> > > Will that change will return different xml file? - I dont want to
> >> >>> > > change
> >> >>> > > the
> >> >>> > > XML parser.
> >> >>> > >
> >> >>> > > Thanks
> >> >>> > >
> >> >>> > > Rajesh
> >> >>> > >
> >> >>> > >
> >> >>> > >
> >> >>> > > "Lee Derbyshire [MVP]" wrote:
> >> >>> > >
> >> >>> > >> In that case, you'll need to do a SEARCH instead of a PROPFIND .
> >> >>> > >> With a
> >> >>> > >> SEARCH, you can specify that you only want the properties of
> >> >>> > >> folders.
> >> >>> > >>
> >> >>> > >> Lee.
> >> >>> > >>
> >> >>> > >> "Raj" wrote in message
> >> >>> > >> @microsoft.com...
> >> >>> > >> > Hi Lee,
> >> >>> > >> >
> >> >>> > >> > Thanks for the response. I am setting Depth Header to '1'
> >> >>> > >> > becuase
> >> >>> > >> > I
> >> >>> > >> > want
> >> >>> > >> > to
> >> >>> > >> > get details of all subfolders.
> >> >>> > >> >
> >> >>> > >> > Thanks
> >> >>> > >> >
> >> >>> > >> > Rajesh
> >> >>> > >> >
> >> >>> > >> > "Lee Derbyshire [MVP]" wrote:
> >> >>> > >> >
> >> >>> > >> >> "Raj" wrote in message
> >> >>> > >> >> @microsoft.com...
> >> >>> > >> >> > Hi All,
> >> >>> > >> >> >
> >> >>> > >> >> > I am using WebDav technology to get public folder detail -
> >> >>> > >> >> > this
> >> >>> > >> >> > include
> >> >>> > >> >> > folder and subfolders. But the XML I received from exchange
> >> >>> > >> >> > also
> >> >>> > >> >> > contain
> >> >>> > >> >> > 'message' detail as well so that XML is very very big. How
> >> >>> > >> >> > do
> >> >>> > >> >> > I
> >> >>> > >> >> > eliminate
> >> >>> > >> >> > the
> >> >>> > >> >> > 'message' detail from the recieved XML? I just want folder
> >> >>> > >> >> > details.
> >> >>> > >> >> > Following
> >> >>> > >> >> > is the query I used to get folder details.
> >> >>> > >> >> >
> >> >>> > >> >> > > >> >>> > >> >> > xmlns:s='http://schemas.microsoft.com/exchange/security/'
> >> >>> > >> >> > xmlns:E='http://schemas.microsoft.com/mapi/proptag/'
> >> >>> > >> >> > xmlns:f='http://schemas.microsoft.com/exchange/'> > >> >>> > >> >> > />
> >> >>> > >> >> >
> >> >>> > >> >> >
> >> >>> > >> >> >
> >> >>> > >> >> > Thanks
> >> >>> > >> >> >
> >> >>> > >> >> > Rajesh
> >> >>> > >> >>
> >> >>> > >> >> Are you adding a Depth header to the request? Make sure that
> >> >>> > >> >> it
> >> >>> > >> >> is
> >> >>> > >> >> set
> >> >>> > >> >> to 0
> >> >>> > >> >> ..
> >> >>> > >> >>
> >> >>> > >> >> Lee.
> >> >>> > >> >>
> >> >>> > >> >> --
> >> >>> > >> >> ______________________________________
> >> >>> > >> >>
> >> >>> > >> >> Outlook Web Access For PDA , OWA For WAP
> >> >>> > >> >> www.leederbyshire.com
> >> >>> > >> >> email a@t leederbyshire d.0.t c.0.m
> >> >>> > >> >> ______________________________________
> >> >>> > >> >>
> >> >>> > >> >>
> >> >>> > >> >
> >> >>> > >>
> >> >>> > >>
> >> >>> > >>
> >> >>> >
> >> >>> >
> >> >>> >
> >> >
> >> >
> >>
> >>
>
>
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
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

Script to apply mailbox folder permissions This is a repost as I may have posted this to an inappropriate group last time. Maybe you guys can help. Can anyone point me in the direction of a script/s that will allow the setting of permissions on mailbox folders (in E2K3). I am extracting the permi

create "public Folder(Contact)" by using webDAV Hi All, I want to create a public by using WebDAV I use MkCOLMEthod, however, my Query is wrong, how to write a Query? my Query is: String query ="
Problem creating Contacts in a Public Folder I'm trying to import contact information from a database into a Public Folder Contactlist using PROPPATCH, however I keep getting the error "Bad Request" regardless of how much or little information I put in the XML. I've pasted the short code for trying

Contacts System folder listed as sub folder of Calendar I have two users that have their contacts in Outlook listed as a subfolder of the Calendar. I cannot move the contacts to the the Mailbox - username directory in the client because it is a system folder and it returns an error that you can't move a syste
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Development All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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