| Author |
Message |
Ron Harter
Guest
|
Posted:
Thu Nov 18, 2004 4:56 am Post subject:
desperatly need help with query and SELECT statement |
|
|
The following query gets a error when executed. The problem is with the
http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
namespace.
Did I set this up right? How do I get properties in the offending namespace?
SELECT "DAV:href", "http://schemas.jpmobile.com/webdav/surewave-guid",
"DAV:parentname", "http://schemas.microsoft.com/mapi/proptag/x65e20102",
"urn:schemas:httpmail:textdescription",
"http://schemas.microsoft.com/mapi/priority",
"http://schemas.microsoft.com/mapi/subject",
"http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
/x00008105", "/x00008101", "DAV:getlastmodified" FROM SCOPE("shallow
traversal of "http://XCH/exchange/rharter"') WHERE "DAV:getlastmodified" >
CAST("2004-10-17T21:49:13.306Z" as 'dateTime') AND "DAV:contentclass"=
CAST("urn:content-classes:task" as 'string') ORDER BY "DAV:getlastmodified"
ASC
Desperate in Dallas
--
Ron Harter
JP Mobile. Inc.
|
|
| Back to top |
|
 |
Michael
Guest
|
Posted:
Thu Nov 18, 2004 11:51 am Post subject:
Re: desperatly need help with query and SELECT statement |
|
|
As I see problem is following property without namespace part:
"/x00008101"
Michael
-------------------------------
If you need WebDAV API for Exchange server, use our component "WebDAV .NET
for Exchange".
Check out http://www.independentsoft.com
"Ron Harter" <ron.harter@jpmobile.com> wrote in message
news:eBcZ8iPzEHA.2624@TK2MSFTNGP11.phx.gbl...
| Quote: | The following query gets a error when executed. The problem is with the
http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
namespace.
Did I set this up right? How do I get properties in the offending
namespace?
SELECT "DAV:href", "http://schemas.jpmobile.com/webdav/surewave-guid",
"DAV:parentname", "http://schemas.microsoft.com/mapi/proptag/x65e20102",
"urn:schemas:httpmail:textdescription",
"http://schemas.microsoft.com/mapi/priority",
"http://schemas.microsoft.com/mapi/subject",
"http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
/x00008105", "/x00008101", "DAV:getlastmodified" FROM SCOPE("shallow
traversal of "http://XCH/exchange/rharter"') WHERE "DAV:getlastmodified"
CAST("2004-10-17T21:49:13.306Z" as 'dateTime') AND "DAV:contentclass"=
CAST("urn:content-classes:task" as 'string') ORDER BY
"DAV:getlastmodified"
ASC
Desperate in Dallas
--
Ron Harter
JP Mobile. Inc.
|
|
|
| Back to top |
|
 |
Ron Harter
Guest
|
Posted:
Thu Nov 18, 2004 11:20 pm Post subject:
Re: desperatly need help with query and SELECT statement |
|
|
That was an error when I did the cut and paste, here is the actual query
SELECT "DAV:href", "http://schemas.jpmobile.com/webdav/surewave-guid",
"DAV:parentname", "http://schemas.microsoft.com/mapi/proptag/x65e20102",
"urn:schemas:httpmail:textdescription",
"http://schemas.microsoft.com/mapi/priority",
"http://schemas.microsoft.com/mapi/subject",
"http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
/x00008105",
""http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046
}/x00008101", "DAV:getlastmodified" FROM SCOPE("shallow traversal of
"http://XCH/exchange/rharter/Tasks"') WHERE "DAV:getlastmodified"
CAST("2004-10-17T21:49:13.306Z" as 'dateTime') AND
"DAV:contentclass"=CAST("urn:content-classes:task" as 'string') ORDER BY
"DAV:getlastmodified" ASC
Can anyone see a problem with this query
--
Ron Harter
JP Mobile. Inc.
ron.harter@jpmobile.com
"Michael" <michael@discussions.microsoft.com> wrote in message
news:ee3gHLTzEHA.2040@tk2msftngp13.phx.gbl...
| Quote: | As I see problem is following property without namespace part:
"/x00008101"
Michael
-------------------------------
If you need WebDAV API for Exchange server, use our component "WebDAV .NET
for Exchange".
Check out http://www.independentsoft.com
"Ron Harter" <ron.harter@jpmobile.com> wrote in message
news:eBcZ8iPzEHA.2624@TK2MSFTNGP11.phx.gbl...
The following query gets a error when executed. The problem is with the
http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
namespace.
Did I set this up right? How do I get properties in the offending
namespace?
SELECT "DAV:href", "http://schemas.jpmobile.com/webdav/surewave-guid",
"DAV:parentname", "http://schemas.microsoft.com/mapi/proptag/x65e20102",
"urn:schemas:httpmail:textdescription",
"http://schemas.microsoft.com/mapi/priority",
"http://schemas.microsoft.com/mapi/subject",
"http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
/x00008105", "/x00008101", "DAV:getlastmodified" FROM SCOPE("shallow
traversal of "http://XCH/exchange/rharter"') WHERE
"DAV:getlastmodified"
CAST("2004-10-17T21:49:13.306Z" as 'dateTime') AND "DAV:contentclass"=
CAST("urn:content-classes:task" as 'string') ORDER BY
"DAV:getlastmodified"
ASC
Desperate in Dallas
--
Ron Harter
JP Mobile. Inc.
|
|
|
| Back to top |
|
 |
Michael
Guest
|
Posted:
Fri Nov 19, 2004 2:32 am Post subject:
Re: desperatly need help with query and SELECT statement |
|
|
"DAV:href" is non-searchable property. Remove it from SELECT.
You do not need to put it in SELECT because you will get is as part of
MultiStatus response
Michael
-------------------------------
If you need WebDAV API for Exchange server,
use our component "WebDAV .NET for Exchange".
Check out http://www.independentsoft.com
"Ron Harter" <ron.harter@jpmobile.com> wrote in message
news:OzhQYLZzEHA.1452@TK2MSFTNGP11.phx.gbl...
| Quote: | That was an error when I did the cut and paste, here is the actual query
SELECT "DAV:href", "http://schemas.jpmobile.com/webdav/surewave-guid",
"DAV:parentname", "http://schemas.microsoft.com/mapi/proptag/x65e20102",
"urn:schemas:httpmail:textdescription",
"http://schemas.microsoft.com/mapi/priority",
"http://schemas.microsoft.com/mapi/subject",
"http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
/x00008105",
""http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046
}/x00008101", "DAV:getlastmodified" FROM SCOPE("shallow traversal of
"http://XCH/exchange/rharter/Tasks"') WHERE "DAV:getlastmodified"
CAST("2004-10-17T21:49:13.306Z" as 'dateTime') AND
"DAV:contentclass"=CAST("urn:content-classes:task" as 'string') ORDER BY
"DAV:getlastmodified" ASC
Can anyone see a problem with this query
--
Ron Harter
JP Mobile. Inc.
ron.harter@jpmobile.com
"Michael" <michael@discussions.microsoft.com> wrote in message
news:ee3gHLTzEHA.2040@tk2msftngp13.phx.gbl...
As I see problem is following property without namespace part:
"/x00008101"
Michael
-------------------------------
If you need WebDAV API for Exchange server, use our component "WebDAV
..NET
for Exchange".
Check out http://www.independentsoft.com
"Ron Harter" <ron.harter@jpmobile.com> wrote in message
news:eBcZ8iPzEHA.2624@TK2MSFTNGP11.phx.gbl...
The following query gets a error when executed. The problem is with
the
http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
namespace.
Did I set this up right? How do I get properties in the offending
namespace?
SELECT "DAV:href", "http://schemas.jpmobile.com/webdav/surewave-guid",
"DAV:parentname",
"http://schemas.microsoft.com/mapi/proptag/x65e20102",
"urn:schemas:httpmail:textdescription",
"http://schemas.microsoft.com/mapi/priority",
"http://schemas.microsoft.com/mapi/subject",
"http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
/x00008105", "/x00008101", "DAV:getlastmodified" FROM SCOPE("shallow
traversal of "http://XCH/exchange/rharter"') WHERE
"DAV:getlastmodified"
CAST("2004-10-17T21:49:13.306Z" as 'dateTime') AND "DAV:contentclass"=
CAST("urn:content-classes:task" as 'string') ORDER BY
"DAV:getlastmodified"
ASC
Desperate in Dallas
--
Ron Harter
JP Mobile. Inc.
|
|
|
| Back to top |
|
 |
Ron Harter
Guest
|
Posted:
Fri Nov 19, 2004 4:22 am Post subject:
Re: desperatly need help with query and SELECT statement |
|
|
I removed it and still not working. It was working with the DAV:href in the
query, it stopped working after I added the stuff to retrieve the properties
from the
http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/x00008105"
namespace. What kind of magic do I need to do to be able to get these
properties????????????????
Other people must have come up on this problem, I am using VS 6.0 and
MSXML4, application is in VC++
--
Ron Harter
JP Mobile. Inc.
ron.harter@jpmobile.com
--
Ron Harter
JP Mobile. Inc.
ron.harter@jpmobile.com
"Michael" <michael@discussions.microsoft.com> wrote in message
news:uaEXV3azEHA.576@TK2MSFTNGP14.phx.gbl...
| Quote: | "DAV:href" is non-searchable property. Remove it from SELECT.
You do not need to put it in SELECT because you will get is as part of
MultiStatus response
Michael
-------------------------------
If you need WebDAV API for Exchange server,
use our component "WebDAV .NET for Exchange".
Check out http://www.independentsoft.com
"Ron Harter" <ron.harter@jpmobile.com> wrote in message
news:OzhQYLZzEHA.1452@TK2MSFTNGP11.phx.gbl...
That was an error when I did the cut and paste, here is the actual query
SELECT "DAV:href", "http://schemas.jpmobile.com/webdav/surewave-guid",
"DAV:parentname", "http://schemas.microsoft.com/mapi/proptag/x65e20102",
"urn:schemas:httpmail:textdescription",
"http://schemas.microsoft.com/mapi/priority",
"http://schemas.microsoft.com/mapi/subject",
"http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
/x00008105",
""http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046
}/x00008101", "DAV:getlastmodified" FROM SCOPE("shallow traversal of
"http://XCH/exchange/rharter/Tasks"') WHERE "DAV:getlastmodified"
CAST("2004-10-17T21:49:13.306Z" as 'dateTime') AND
"DAV:contentclass"=CAST("urn:content-classes:task" as 'string') ORDER BY
"DAV:getlastmodified" ASC
Can anyone see a problem with this query
--
Ron Harter
JP Mobile. Inc.
ron.harter@jpmobile.com
"Michael" <michael@discussions.microsoft.com> wrote in message
news:ee3gHLTzEHA.2040@tk2msftngp13.phx.gbl...
As I see problem is following property without namespace part:
"/x00008101"
Michael
-------------------------------
If you need WebDAV API for Exchange server, use our component "WebDAV
.NET
for Exchange".
Check out http://www.independentsoft.com
"Ron Harter" <ron.harter@jpmobile.com> wrote in message
news:eBcZ8iPzEHA.2624@TK2MSFTNGP11.phx.gbl...
The following query gets a error when executed. The problem is with
the
http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
namespace.
Did I set this up right? How do I get properties in the offending
namespace?
SELECT "DAV:href",
"http://schemas.jpmobile.com/webdav/surewave-guid",
"DAV:parentname",
"http://schemas.microsoft.com/mapi/proptag/x65e20102",
"urn:schemas:httpmail:textdescription",
"http://schemas.microsoft.com/mapi/priority",
"http://schemas.microsoft.com/mapi/subject",
"http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
/x00008105", "/x00008101", "DAV:getlastmodified" FROM
SCOPE("shallow
traversal of "http://XCH/exchange/rharter"') WHERE
"DAV:getlastmodified"
CAST("2004-10-17T21:49:13.306Z" as 'dateTime') AND
"DAV:contentclass"=
CAST("urn:content-classes:task" as 'string') ORDER BY
"DAV:getlastmodified"
ASC
Desperate in Dallas
--
Ron Harter
JP Mobile. Inc.
|
|
|
| Back to top |
|
 |
Michael
Guest
|
Posted:
Fri Nov 19, 2004 11:40 am Post subject:
Re: desperatly need help with query and SELECT statement |
|
|
Try to replace properties with:
(task duedate)
http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/0x8105
and also
(task status)
http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046/0x8101
Michael
-------------------------------
If you need WebDAV API for Exchange server,
use our component "WebDAV .NET for Exchange".
Check out http://www.independentsoft.com
"Ron Harter" <ron.harter@jpmobile.com> wrote in message
news:eISTR0bzEHA.2600@TK2MSFTNGP09.phx.gbl...
| Quote: | I removed it and still not working. It was working with the DAV:href in
the
query, it stopped working after I added the stuff to retrieve the
properties
from the
http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/x00008105"
namespace. What kind of magic do I need to do to be able to get these
properties????????????????
Other people must have come up on this problem, I am using VS 6.0 and
MSXML4, application is in VC++
--
Ron Harter
JP Mobile. Inc.
ron.harter@jpmobile.com
--
Ron Harter
JP Mobile. Inc.
ron.harter@jpmobile.com
"Michael" <michael@discussions.microsoft.com> wrote in message
news:uaEXV3azEHA.576@TK2MSFTNGP14.phx.gbl...
"DAV:href" is non-searchable property. Remove it from SELECT.
You do not need to put it in SELECT because you will get is as part of
MultiStatus response
Michael
-------------------------------
If you need WebDAV API for Exchange server,
use our component "WebDAV .NET for Exchange".
Check out http://www.independentsoft.com
"Ron Harter" <ron.harter@jpmobile.com> wrote in message
news:OzhQYLZzEHA.1452@TK2MSFTNGP11.phx.gbl...
That was an error when I did the cut and paste, here is the actual
query
SELECT "DAV:href", "http://schemas.jpmobile.com/webdav/surewave-guid",
"DAV:parentname",
"http://schemas.microsoft.com/mapi/proptag/x65e20102",
"urn:schemas:httpmail:textdescription",
"http://schemas.microsoft.com/mapi/priority",
"http://schemas.microsoft.com/mapi/subject",
"http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
/x00008105",
""http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046
}/x00008101", "DAV:getlastmodified" FROM SCOPE("shallow traversal of
"http://XCH/exchange/rharter/Tasks"') WHERE "DAV:getlastmodified"
CAST("2004-10-17T21:49:13.306Z" as 'dateTime') AND
"DAV:contentclass"=CAST("urn:content-classes:task" as 'string') ORDER
BY
"DAV:getlastmodified" ASC
Can anyone see a problem with this query
--
Ron Harter
JP Mobile. Inc.
ron.harter@jpmobile.com
"Michael" <michael@discussions.microsoft.com> wrote in message
news:ee3gHLTzEHA.2040@tk2msftngp13.phx.gbl...
As I see problem is following property without namespace part:
"/x00008101"
Michael
-------------------------------
If you need WebDAV API for Exchange server, use our component
"WebDAV
.NET
for Exchange".
Check out http://www.independentsoft.com
"Ron Harter" <ron.harter@jpmobile.com> wrote in message
news:eBcZ8iPzEHA.2624@TK2MSFTNGP11.phx.gbl...
The following query gets a error when executed. The problem is
with
the
http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
namespace.
Did I set this up right? How do I get properties in the offending
namespace?
SELECT "DAV:href",
"http://schemas.jpmobile.com/webdav/surewave-guid",
"DAV:parentname",
"http://schemas.microsoft.com/mapi/proptag/x65e20102",
"urn:schemas:httpmail:textdescription",
"http://schemas.microsoft.com/mapi/priority",
"http://schemas.microsoft.com/mapi/subject",
"http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}
/x00008105", "/x00008101", "DAV:getlastmodified" FROM
SCOPE("shallow
traversal of "http://XCH/exchange/rharter"') WHERE
"DAV:getlastmodified"
CAST("2004-10-17T21:49:13.306Z" as 'dateTime') AND
"DAV:contentclass"=
CAST("urn:content-classes:task" as 'string') ORDER BY
"DAV:getlastmodified"
ASC
Desperate in Dallas
--
Ron Harter
JP Mobile. Inc.
|
|
|
| Back to top |
|
 |
|
|
|
|