Hey,
I've found an interesting problem. I'm trying to issue the following query.
SELECT a.r_object_id, b.full_format FROM dm_document a , dmr_content b where a.r_object_id in ('092c039a800361a9') AND ANY b.parent_id = a.r_object_id
When I run this query in repoint/idql32 it returns:
r_object_id,full_format,
"092c039a800361a9","msw8"
"092c039a800361a9","pdf"
However if I run the same query against the QueryService I get the raw response pasted below (essentially both rows are 'pdf'). Anyone run into anything similar. This happens when there are more r_object_id in the 'in' clause as well, I've just simplified the query to trouble shoot it. Interestingly enough:
"SELECT r_object_id, parent_id, full_format FROM dmr_content where any parent_id in ('092c039a800361a9')"
works properly, though that means I have to deal with a StringArrayProperty.
--------------------------------------------------------------------
POST /services/core/QueryService HTTP/1.1
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
User-Agent: Axis2
Host: ausydnveyeapu01
Transfer-Encoding: chunked
6a4
<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<axis2ns15:ServiceContext xmlns:axis2ns15="http://context.core.datamodel.fs.documentum.emc.com/"
xmlns="http://context.core.datamodel.fs.documentum.emc.com/"
xmlns:ns5="http://content.core.datamodel.fs.documentum.emc.com/"
xmlns:ns6="http://core.datamodel.fs.documentum.emc.com/"
xmlns:ns2="http://properties.core.datamodel.fs.documentum.emc.com/"
xmlns:ns3="http://profiles.core.datamodel.fs.documentum.emc.com/"
xmlns:ns4="http://query.core.datamodel.fs.documentum.emc.com/">
<axis2ns15:Identities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="RepositoryIdentity" repositoryName="eDocs_UAT"
password="xxxxx" userName="xxxxx" />
</axis2ns15:ServiceContext>
</soapenv:Header>
<soapenv:Body>
<ns7:execute xmlns:ns7="http://core.services.fs.documentum.emc.com/"
xmlns:ns6="http://profiles.core.datamodel.fs.documentum.emc.com/"
xmlns:ns5="http://content.core.datamodel.fs.documentum.emc.com/"
xmlns:ns4="http://core.datamodel.fs.documentum.emc.com/"
xmlns:ns3="http://properties.core.datamodel.fs.documentum.emc.com/"
xmlns:ns2="http://query.core.datamodel.fs.documentum.emc.com/">
<query xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ns2:PassthroughQuery"
queryString="SELECT a.r_object_id, b.full_format FROM dm_document a , dmr_content b where a.r_object_id in ('092c039a800361a9') AND ANY b.parent_id = a.r_object_id">
<ns2:repositories>eDocs_UAT</ns2:repositories>
</query>
<execution cacheStrategyType="NO_CACHE_STRATEGY"
maxResultPerSource="0" maxResultCount="100"
startingIndex="0" />
</ns7:execute>
</soapenv:Body>
</soapenv:Envelope>
0
HTTP/1.1 200 OK
Date: Thu, 01 Oct 2009 07:04:15 GMT
Server: IBM_HTTP_Server
Transfer-Encoding: chunked
Content-Type: text/xml;charset=utf-8
Content-Language: en-AU
812
<?xml version="1.0"?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns5:executeResponse xmlns:ns2="http://query.core.datamodel.fs.documentum.emc.com/"
xmlns:ns3="http://properties.core.datamodel.fs.documentum.emc.com/"
xmlns:ns4="http://core.datamodel.fs.documentum.emc.com/"
xmlns:ns5="http://core.services.fs.documentum.emc.com/"
xmlns:ns6="http://content.core.datamodel.fs.documentum.emc.com/"
xmlns:ns7="http://profiles.core.datamodel.fs.documentum.emc.com/"
xmlns:ns8="http://rt.fs.documentum.emc.com/">
<return>
<ns2:dataPackage>
<ns4:DataObjects transientId="1084113054"
type="UNDEFINED">
<ns4:Identity repositoryName="eDocs_UAT"
valueType="OBJECT_ID">
<ns4:ObjectId id="092c039a800361a9" />
</ns4:Identity>
<ns4:Properties isInternal="false">
<ns3:Properties xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ns3:StringProperty" isTransient="false"
name="r_object_id">
<ns3:Value>092c039a800361a9</ns3:Value>
</ns3:Properties>
<ns3:Properties xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ns3:StringProperty" isTransient="false"
name="full_format">
<ns3:Value>pdf</ns3:Value>
</ns3:Properties>
</ns4:Properties>
</ns4:DataObjects>
<ns4:DataObjects transientId="1084113054"
type="UNDEFINED">
<ns4:Identity repositoryName="eDocs_UAT"
valueType="OBJECT_ID">
<ns4:ObjectId id="092c039a800361a9" />
</ns4:Identity>
<ns4:Properties isInternal="false">
<ns3:Properties xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ns3:StringProperty" isTransient="false"
name="r_object_id">
<ns3:Value>092c039a800361a9</ns3:Value>
</ns3:Properties>
<ns3:Properties xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ns3:StringProperty" isTransient="false"
name="full_format">
<ns3:Value>pdf</ns3:Value>
</ns3:Properties>
</ns4:Properties>
</ns4:DataObjects>
</ns2:dataPackage>
<ns2:queryStatus isCompleted="true" hasMoreResults="false">
<ns2:RepositoryStatusInfos hasMoreResults="false"
resultsCount="-1" hitCount="0" status="SUCCESS"
name="eDocs_UAT" />
</ns2:queryStatus>
</return>
</ns5:executeResponse>
</S:Body>
</S:Envelope>
0