Oracle Taleo使用OR和IncludedIn一起在C#中过滤?
我有一个复杂的搜索过滤器,使用C#查询Taleo Job Web服务。我想按位置筛选作业列表,但一个作业可能在多个位置可用。 作业有一个主位置和多个其他位置 我正在使用此sqxmlquery,但它引发了一个错误: 这一个可以自己工作Oracle Taleo使用OR和IncludedIn一起在C#中过滤?,c#,web-services,taleo,C#,Web Services,Taleo,我有一个复杂的搜索过滤器,使用C#查询Taleo Job Web服务。我想按位置筛选作业列表,但一个作业可能在多个位置可用。 作业有一个主位置和多个其他位置 我正在使用此sqxmlquery,但它引发了一个错误: 这一个可以自己工作 sqxmlquery.query.filterings.filtering[individualFilterCount] = new filtering() { Item = new includedIn
sqxmlquery.query.filterings.filtering[individualFilterCount] = new filtering()
{
Item = new includedIn
{
Items = new object[]
{
new field { path = "Requisition,JobInformation,OtherLocations,Name"},
new @string { Value = HttpUtility.UrlDecode(location) }
}
}
};
但是如果我把它和
sqxmlquery.query.filterings.filtering[individualFilterCount] = new filtering()
{
Item = new or
{
Items = new object[]
{
new equal
{
Items = new object[]
{
new field { path = "Requisition,JobInformation,PrimaryLocation,Location,Parent,Name" },
new @string { Value = HttpUtility.UrlDecode(location) }
}
},
new equal
{
Items = new object[]
{
new field { path = "Requisition,JobInformation,PrimaryLocation,Location,Name" },
new @string { Value = HttpUtility.UrlDecode(location) }
}
}
}
}
};
…它不工作并抛出错误:
System.Web.Services.Protocols.SoapException:'执行导出操作时出错:'
但这并不能解释真正的问题是什么
有什么想法吗