Hello, i have a problem with query for method GetHitlist on TCP webservice. I have this query:
<?xml version="1.0" encoding="utf-16" ?>
<search>
<queries>
<query>
<from>
<itemtype name="PFCP:CMSpecialDocuments" />
<itemtype name="PFCP:ClientAppendixPP" />
<itemtype name="PFCP:ClientContractPP" />
<itemtype name="PFCP:ClientRequestPP" />
<itemtype name="PFCP:ElectronicDocumentsBody" />
<itemtype name="PFCP:OutgoingPaperCorrespondece" />
<itemtype name="PFCP:PhoneCallsRecords" />
<itemtype name="PFCP:SMSRecords" />
</from>
<select>
<property name="PFCP:ID" />
<property name="PFCP:DocumentDate" />
<property name="PFCP:ClientContractId" />
</select>
<where>
<and>
<equal>
<property name="PFCP:ClientContractId" as="Relation" />
<literal value="789" datatype="INTEGER" />
</equal>
<greater>
<property name="PFCP:DocumentDate" as="Relation" />
<literal value="20070517" datatype="String" />
</greater>
</and>
</where>
</query>
</queries>
</search>
And TCP fired this Exception:
Tcp.Common.Unspecifiedcom.opentext.ecm.tcp.ws.TcpException: Tcp.Common.Unspecified: An unspecified error has occurred!
Params: {MESSAGE=Query for entities with '<query repository="T1"><from><itemtype name="PFCP:CMSpecialDocuments"/><itemtype name="PFCP:ClientAppendixPP"/><itemtype name="PFCP:ClientContractPP"/><itemtype name="PFCP:ClientRequestPP"/><itemtype name="PFCP:ElectronicDocumentsBody"/><itemtype name="PFCP:OutgoingPaperCorrespondece"/><itemtype name="PFCP:PhoneCallsRecords"/><itemtype name="PFCP:SMSRecords"/><itemtype name="/T1/PFCP:CMSpecialDocuments"/><itemtype name="/T1/PFCP:ClientAppendixPP"/><itemtype name="/T1/PFCP:ClientContractPP"/><itemtype name="/T1/PFCP:ClientRequestPP"/><itemtype name="/T1/PFCP:ElectronicDocumentsBody"/><itemtype name="/T1/PFCP:OutgoingPaperCorrespondece"/><itemtype name="/T1/PFCP:PhoneCallsRecords"/><itemtype name="/T1/PFCP:SMSRecords"/></from><select><property name="PFCP:ID"/><property name="PFCP:DocumentDate"/><property name="PFCP:ClientContractId"/></select><order/><where><and><and><equal casesensitive="true"><property name="PFCP:ClientContractId"/><literal value="null"/></equal><greater casesensitive="true"><property name="PFCP:DocumentDate"/><literal datatype="String" value="20070518"/></greater></and><or><and><isa><literal datatype="String" value="/T1/PFCP:ClientAppendixPP"/></isa></and><and><isa><literal datatype="String" value="/T1/PFCP:ClientContractPP"/></isa></and><and><isa><literal datatype="String" value="/T1/PFCP:PhoneCallsRecords"/></isa></and><and><isa><literal datatype="String" value="/T1/PFCP:ClientRequestPP"/></isa></and><and><isa><literal datatype="String" value="/T1/PFCP:SMSRecords"/></isa></and><and><isa><literal datatype="String" value="/T1/PFCP:CMSpecialDocuments"/></isa></and><and><isa><literal datatype="String" value="/T1/PFCP:ElectronicDocumentsBody"/></isa></and><and><isa><literal datatype="String" value="/T1/PFCP:OutgoingPaperCorrespondece"/></isa></and></or></and></where><special><keyvalue key="Rights" value="(((PFCP:ClientContractId=='null') AND (PFCP:DocumentDate>'20070518')) AND (((isA '/T1/PFCP:ClientAppendixPP')) OR ((isA '/T1/PFCP:ClientContractPP')) OR ((isA '/T1/PFCP:PhoneCallsRecords')) OR ((isA '/T1/PFCP:ClientRequestPP')) OR ((isA '/T1/PFCP:SMSRecords')) OR ((isA '/T1/PFCP:CMSpecialDocuments')) OR ((isA '/T1/PFCP:ElectronicDocumentsBody')) OR ((isA '/T1/PFCP:OutgoingPaperCorrespondece'))))"/></special></query>' failed because of (DMS:010134) Cannot perform query because it contains a syntax error!, KEY=, DEFAULT_FORMAT=}
When i read it, i saw, than the xml from exception message is diferent, see picture, when attributes of literal for property PFCP:ClientContractID are wrong, but i send right attributes. Can somebody help me, please? Thanks a lot.
