Logical operation in xml path query

Hello
If I have this XML data
<a>
<b>
<c>
     <d>United States</d>
     <f>1</f>
     <g>Creditcard</g>
     <h>Will ship only within country</h>
     <k>something</k>
</c>
<c>
     <d>United States</d>
     <f>2</f>
     <g>MasterCard</g>
     <h>international</h>
     <k>something</k>
</c>
<c>
     <d>United States</d>
     <f>2</f>
     <g>MasterCard</g>
     <h>international</h>
     <k>something</k>
</c>
<c>
     <d>United States</d>
     <f>2</f>
     <g>MasterCard</g>
     <h>international</h>
     <k>something</k>
</c>
<c>
     <d>United States</d>
     <f>2</f>
     <g>MasterCard</g>
     <h>international</h>
     <k>something</k>
</c>
</b>
</a>
and I have this query:
Q1: //c[NOT [[[/d="United States" AND /f="1" AND /g="Creditcard"] OR h="Will ship only within country"]]]
How to write xml/sql query for it to retrive THE COUNT of the result , count of "c"
Q2: //c[NOT [[[/d="United States" AND /f="1" AND /g="Creditcard"] OR h="Will ship only within country"]]]/k
How to write xml/sql query for it to retrive THE COUNT of the result , count of "c/k"
Thank you

For example :
SQL> with sample_data as (
  2      select xmltype('<a>
  3      <b>
  4      <c>
  5           <d>United States</d>
  6           <f>1</f>
  7           <g>Creditcard</g>
  8           <h>Will ship only within country</h>
  9           <k>something</k>
10      </c>
11      <c>
12           <d>United States</d>
13           <f>2</f>
14           <g>MasterCard</g>
15           <h>international</h>
16           <k>something</k>
17      </c>
18      <c>
19           <d>United States</d>
20           <f>2</f>
21           <g>MasterCard</g>
22           <h>international</h>
23           <k>something</k>
24      </c>
25      <c>
26           <d>United States</d>
27           <f>2</f>
28           <g>MasterCard</g>
29           <h>international</h>
30           <k>something</k>
31      </c>
32      <c>
33           <d>United States</d>
34           <f>2</f>
35           <g>MasterCard</g>
36           <h>international</h>
37           <k>something</k>
38      </c>
39      </b>
40      </a>') xmldoc
41      from dual
42  )
43  select count(*)
44  from sample_data
45     , xmltable(
46         '//c[not(((d="United States" and f="1" and g="Creditcard") or h="Will ship only within country"))]'
47         passing xmldoc
48       ) x ;
  COUNT(*)
         4

Similar Messages

  • Execute SQL Task - FOR XML PATH query error

    I have the following query
    SELECT pl.Id,
    pl.StartTime,
    pl.EndTime,
    pl.PackageName,
    pl.Computer,
    pl.Operator,
    CASE WHEN (CHARINDEX('stack trace', pl.ErrorDescription) > 0) Then
        SUBSTRING(pl.ErrorDescription, 0, CHARINDEX('stack trace', pl.ErrorDescription))
        ELSE
        pl.ErrorDescription
        END as ErrorDescription
    ISNULL(ErrorFile,'') as ErrorFile,
    'Not Applicable' as SourceSystem
    FROM etl.PackageLog as pl
    WHERE pl.Processed = 0
    ORDER BY pl.StartTime, pl.PackageName
    FOR XML PATH('Row'), ROOT(N'FieldingCounts')
    in a Execute SQL Task and i get the following error:
    [Execute SQL Task] Error: Executing the query "SELECT pl.Id,
    pl.StartTime,
    pl.EndTime,
    pl.Package..." failed with the following error: "An invalid character was found in text content.
    ". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
    The query execute without problem in database and in the ssis package doens't run because of the column
    CASE WHEN (CHARINDEX('stack trace', pl.ErrorDescription) > 0) Then
        SUBSTRING(pl.ErrorDescription, 0, CHARINDEX('stack trace', pl.ErrorDescription))
        ELSE
        pl.ErrorDescription
        END as ErrorDescription
    Any help to overcome the problem?
    Thanks

    Hi,
    It looks like that you must be trying to set the result of the query to some variable from the Execute SQL Task. If yes, make sure that the target variable is of the correct data type where XML string  can fit into. Considering that in SSIS, we have
    some limit for XML strings.
    Please let me know if it doesn't help.
    Thanks,
    Nimit

  • XML PATH QUERY - works 9i - fails 10g - solution/ideas ???

    OERR: ORA-19025 EXTRACTVALUE returns value of only one node
    Doc ID: 194549.1
    HI guys - not XML develoer ................ but I wrote this and works fine on 9i RDBMS
    Just ported to 10g and get above error ???
    Why ??
    Thoughts on fix ??
    select *
    from (select extractvalue(xmltype(text),'//*[@value="id"]')
    ,extractvalue(xmltype(text),'//*[@value="id_num"]')
    ,extractvalue(xmltype(text),'//*[@value="name"]')
    ,extractvalue(xmltype(text),'//*[@value="last"]')
    ,extractvalue(xmltype(text),'//*[@value="first"]')
    ,extractvalue(xmltype(text),'//*[@value="abn"]')
    ,extractvalue(xmltype(text),'//*[@value="addr1"]')
    ,extractvalue(xmltype(text),'//*[@value="addr2"]')
    ,extractvalue(xmltype(text),'//*[@value="postcode"]')
    ,extractvalue(xmltype(text),'//*[@value="sex"]')
    from gap.invoices
    order by to_date(LAST_UPDATE_DATE) desc )
    where rownum < 2

    because of the *. you must specify a node name
    here is a sample to be more clear
    SQL> desc x
    Name Type Nullable Default Comments
    ~~~~ ~~~~~~~ ~~~~~~~~ ~~~~~~~ ~~~~~~~~
    NODE XMLTYPE Y
    SQL> select * from x where rownum=1;
    NODE
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    <TOP>
    <DATAID>111080</DATAID>
    </TOP>
    SQL> select extractvalue(node, '//*') as node from x where extract(node, '//DATAID/text()').getNumberVal() = 111080;
    select extractvalue(node, '//*') as node from x where extract(node, '//DATAID/text()').getNumberVal() = 111080
    ORA~19025: EXTRACTVALUE returns value of only one node
    SQL> select extractvalue(node, '//DATAID') as node from x where extract(node, '//DATAID/text()').getNumberVal() = 111080;
    NODE
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    111080
    SQL>

  • How to use varaible in place of logical operator in query

    Hi Experts,
    How can we use a variable in place of logical operator (OR, AND) ?
    For ex:
    select * from sflight where carrid = 'LH' AND connid = 100.
    data x type string.
    x = 'AND'.
    Now, I want to replace AND with the variable x.
    Query will be:
    select * from sflight where carrid = 'LH'  x connid = 100.
    I am doing this because user can select any logical operator while creating the search criteria at run time .
    I already tried this but i am getting following compilation error:
    Error: Incorrect expression used in place of logical expression.

    hi,
    Check out this sample code
    Display of flight connections after input of airline and flight number:
    PARAMETERS: carr_id TYPE spfli-carrid,
                conn_id TYPE spfli-connid.
    DATA:       where_clause TYPE  STRING,
                and(4),
                wa_spfli TYPE spfli.
    IF carr_id IS NOT INITIAL.
      CONCATENATE 'CARRID = ''' carr_id '''' INTO where_clause.
      and = ' AND'.
    ENDIF.
    IF conn_id IS NOT INITIAL.
      CONCATENATE where_clause and ' CONNID = ''' conn_id ''''
        INTO where_clause.
    ENDIF.
    SELECT * FROM spfli INTO wa_spfli WHERE (where_clause).
      WRITE: / wa_spfli-carrid, wa_spfli-connid, wa_spfli-cityfrom,
               wa_spfli-cityto, wa_spfli-deptime.
    ENDSELECT.
    Regards,
    Santosh

  • Query regarding FOR XML PATH

    I have found a script that contains the following:
    stuff(
    select
    ', ' +
    fielda
    from
    tablea
    for
    xml path (''),
    type).value
    'nvarchar(max)')
    ,1,2,
    anotherfield
    This will concatenate field a and the stuff will remove the leading comma.
    I have amended the script to the following and it still works:
    Stuff(
    select
    ', ' +
    fielda
    from
    tablea
    for
    xml path (''))
    ,1,2,
     Afield,
    Please could somebody tell me why the following has been inserted after the
    for xml path ('')
    section
    type).value
    ('.', 'nvarchar(max)')

    Erland - I just did a quick test. The differences weren't as bad as the subtree estimates would have indicated but they weren't exactly close either. The typed version (on average) took just over twice as long to execute.
    Test conditions were as follows:
    AdventureWorks2012 database 
    On average, the non-typed version executed in ~190 ms and the typed version executes in ~405 ms.
    Test bed was the following:
    @@VERSION = 
    Microsoft SQL Server 2012 - 11.0.2218.0 (X64) 
    Jun 12 2012 13:05:25 
    Copyright (c) Microsoft Corporation
    Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: )
    Hardware = 
    Processor: Core i7-4770K @ 3.50GHz (4 physical cores / 8 logical cores)
    Ram: 16.0 GB @ 2400 MHz
    HD: SSD
    Here are the two test scripts that I used... (each run in it own SSMS tab)
    -- Typed version --
    DECLARE @BegDT DATETIME2(7) = SYSDATETIME()
    SELECT
    sod1.SalesOrderID,
    STUFF((
    SELECT ', ' + CAST(sod2.ProductID AS VARCHAR(8))
    FROM Sales.SalesOrderDetail sod2
    WHERE sod1.SalesOrderID = sod2.SalesOrderID
    FOR XML PATH(''), TYPE).value('.', 'varchar(max)'), 1, 2, '') AS csv
    FROM
    Sales.SalesOrderDetail sod1
    GROUP BY
    sod1.SalesOrderID
    SELECT DATEDIFF(ms, @BegDT, SYSDATETIME()) AS ExecTimeMS
    -- Non-typed version --
    DECLARE @BegDT DATETIME2(7) = SYSDATETIME()
    SELECT
    sod1.SalesOrderID,
    STUFF((
    SELECT ', ' + CAST(sod2.ProductID AS VARCHAR(8))
    FROM Sales.SalesOrderDetail sod2
    WHERE sod1.SalesOrderID = sod2.SalesOrderID
    FOR XML PATH('')), 1, 2, '') AS csv
    FROM
    Sales.SalesOrderDetail sod1
    GROUP BY
    sod1.SalesOrderID
    SELECT DATEDIFF(ms, @BegDT, SYSDATETIME()) AS ExecTimeMS
    If you see holes in my test approach, please let me know.
    Thanks,
    Jason
    Jason Long

  • Logical and physical file paths

    Hi,
    can anyone elobrate me  on what are logical and physical file
    paths ?

    hi,
    Follow this link
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3deb358411d1829f0000e829fbfe/frameset.htm
    File format determination (Required / optional fields and field checks).
    Logical File Path configuration through transaction 'FILE'. A new physical file path should be created on operating system level or an existing one can be used if agreed. The Basis team member should create a new file path at operating system level, if required.
    Hope this helps, Do reward.

  • Nqs error 59001: Binary logical operation error in OBIEE 11g

    Hi,
    Requirement: Need to calculate YTD for invoiced amount and Prior YTD for invoiced amount and last year total invoiced amount.
    Logic we used: For YTD Invoiced amount we used “Year To Date” time series function in rpd.
    For Prior YTD we used “Ago function on Calculated YTD column”.
    For Last Year Invoiced amount we used “ CASE function and dynamic variables” as:
    CASE WHEN year=valueOf(previous_year) THEN invoiced_amount END;
    Now, when I’m creating a report, I’m getting the following error as:
    *[nQSError: 43119] Query Failed: [nQSError: 59001] Binary Logical operation is not permitted on VARBINARY, INTEGER operand(s). (HY000)*
    Please help me to solve this, i need to release the instance by EOD

    Hi,
    As per my understanding the ValueOf(previous_year) is double precesion so it wont allow to use binary logical operator.Change to integer becos we can manage year with interger data type.
    [nQSError: 59001] Binary Logical operation is not permitted on DOUBLE PRECISION, VARBINARY operand(s).
    mark if helpful/correct
    thanks,
    prassu

  • Diff between logical and physical file path

    Hi ,
    Could you please explain difference between logical and physical file path's and their importance in ABAP.
    Thanks and regards,
    shyla

    Hi
    The function module FILE_GET_NAME convert a logical path into its corresponding physical path.
    The advantage of using logical pathes within your applications is obivous:
    If you need to change the physical path you just adjust it within transaction FILE yet no changes are required to your application.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/ab3a57df3b11d189fc0000e829fbbd/frameset.htm
    The file names that you use in ABAP statements for processing files are physical names. This means that they must be syntactically correct filenames for the operating system under which your R/3 System is running. Once you have created a file from an ABAP program with a particular name and path, you can find the same file using the same name and path at operating system level.
    Since the naming conventions for files and paths differ from operating system to operating system, ABAP programs are only portable from one operating system to another if you use the tools described below.
    To make programs portable, the R/3 System has a concept of logical filenames and paths. These are linked to physical files and paths. The links are created in special tables, which you can maintain according to your own requirements. In an ABAP program, you can then use the function module FILE_GET_NAME to generate a physical filename from a logical one.
    Maintaining platform-independent filenames is part of Customizing. For a full description, choose Tools ® Business Engineer ® Customizing, followed by
    Implement. projects ® SAP Reference IMG. On the next screen, choose Basis Components System Administration ® Platform-independent File Names.
    For a more detailed description of the function module FILE_GET_NAME, enter its name on the initial screen of the Function Builder and choose Goto Documentation. On the next screen, choose Function module doc.
    Another way of maintaining platform-independent filenames is to use the Transaction FILE. The following sections provide an overview of the transaction.
    To create a logical filename, choose Logical filename definition, client-independent from the Navigation group box in Transaction FILE, then choose New entries. You define logical filenames
    You can either define a logical filename and link it to a logical path (as displayed here), or you can enter the full physical filename in the Physical file field. In the latter case, the logical filename is only valid for one operating system. The rules for entering the complete physical filename are the same as for the definition of the physical path for the logical file. To display further information and a list of reserved words, choose Help.
    If you link a logical path to a logical file, the logical file is valid for all syntax groups that have been maintained for that logical path. The filename specified under Physical file replaces the reserved word  in the physical paths that are assigned to the logical path. To make the name independent of the operating system, use names that begin with a letter, contain up to 8 letters, and do not contain special characters.
    Save your changes.

  • Logical Operator list to end users

    Hi,
    Is there any way that we can provide Logical operator also in the filter/prompt, for the end user in WebI on top of a SAP BW universe?
    Ex: User has to select a logical operator(like <,<=,>,>=,= etc) and value for a 'Net Due Date' filter
    Tried searching the forum, but did not get the proper work around.
    Thank you in advance.
    ---Veera

    are you talking about adding filters in webi reports?
    i think its easy,
    just in the query itself you can add filter and make it as prompt.
    but you have to select the operator, case this is something you have to do into the query itself.
    users can not do this when they are running the report.
    but there is another option which is "Quick Filter" in there users can add quick filters and select operators as they like.
    good luck

  • Logical operator 'like'

    I have a small query where I have to retrieve vendor details not including the vendors starting with '9'.
    I have written the below query for that.
    select b~lifnr  " Vendor number
         into corresponding fields of table gi_output_vendors
    from  lfa1
    where  lifnr   not like  '9%'.
    But the output I am getting contains vendor numbers '0000950000' where I wanted to eliminate these type of numbers also. i.e, I don't want to consider leading zeroes.
    So, the below code I have written for that.
    The problem is with if condition or delete statement  'like' logical operator is not being allowed.
    loop at gi_output_vendors into wa_output_vendors.
    shift wa_output_vendors-lifnr left deleting leading '0'.
    if wa_output_vendors-lifnr like '9%'   " didn't work delete gi_output_vendors from wa_output_vendors   where
                  lifnr like '9%'. "didn't work
    endif.
    endloop.
    When I use 'like' with 'if' condition or 'delete' statement, I am getting error saying that 'Like operator is not allowed'.
    How could I deal with this situation.
    Thanks in advance.
    Vishnu Priya

    If you can guarantee the 9 will always be in the same place then it would be better to use offset logic or something like 'lifnr NOT LIKE '00009'' - incidentally, I believe the % wildcard only replaces one character so '9%' will be looking for a 2 char string containing a 9 followed by ONE other character.  Using '9' will look for a 9 followed by any number of other characters. Since lifnr is a 10 char field (according to your example) '9%' will always fail. I would suggest using the Data Browser (SE11) selection screens to try out some of the possibilities and see what works.
    Hope that's of some help!
    Andy
    By the way, I wouldn't recommend using '9' becasue this will look for a 9 <b>anywhere</b> in the lifnr field i.e. it could exclude a perfectly valid number just because it ends in a 9!
    Message was edited by: Andrew Wright
    Sorry, ignore me, in SQL you should use % and not * for multiple characters.  However, the same applies if you can guarantee the position of the 9.
    Message was edited by: Andrew Wright

  • Special character ( , ) in XML Path (' ')

    Hi ,
    some times my query use the  >  or <   for few records. But XML path is not supporting these values can you please help me with this.  Below is the example for what i am working on .
    create table #test (id int ,NAME varchar(50),NAME1 varchar(50),NAME2 varchar(50))
    insert into #test
    values( 1,NULL,'TEST1','TEST1')
    ,( 2, 'TEST1',NULL,'TEST12')
    ,( 3,'TEST2','TEST13',NULL)
    ,( 4,'TEST2 > ', NULL,NULL)
    ,( 5,NULL,'TEST15',NULL)
    ,( 6,NULL, NULL, 'TEST6')
    ,( 7,'TEST8', 'TEST9', 'TEST7')
    ,( 8,NULL, NULL, NULL)
    WITH unpivo AS (
       SELECT id, CASE n WHEN 1 THEN NAME 
                         WHEN 2 THEN NAME1
                         WHEN 3 THEN NAME2
                  END AS anyname, n
       FROM   #test
       CROSS APPLY (VALUES(1), (2), (3)) AS n(n)
    SELECT t.id, CASE WHEN len(u.concat) > 4
                      THEN substring(u.concat, 1, len(u.concat) -
    4)
                      ELSE ''
                 END
    FROM   #test t
    CROSS  APPLY (SELECT u.anyname + ' AND '
                  FROM   unpivo u
                  WHERE  u.id = t.id
                  ORDER  BY u.n
                  FOR XML PATH('')) AS u(concat)
     where id = 4
     DROP TABLE #test

    Naomi's solution should work well with:  FOR
    XML PATH(''),
    type).value('.','varchar(max)'))
    You can concatenate the columns without using XML.
    SELECT
    Stuff(ISNULL(NAME +' AND ', '')+ISNULL( NAME1 +' AND ', '')+ ISNULL( NAME2+' AND ',''),
    len(ISNULL(NAME +' AND ', '')+ISNULL( NAME1 +' AND ', '')+ ISNULL( NAME2+' AND ',''))-3,4,'')
    --Or,
    Replace(Stuff(ISNULL(NAME +'|', '')+ISNULL( NAME1 +'|', '')+ ISNULL( NAME2+'|',''),
    len(ISNULL(NAME +'|', '')+ISNULL( NAME1 +'|', '')+ ISNULL( NAME2+'|','')),1,''), '|',' AND ')
    --SQL Server 2012 , 2014
    , ISNULL(Replace(Stuff(concat(name+'|', name1+'|',name2+'|' ), Len(concat(name+'|', name1+'|',name2+'|' )),1,''), '|',' AND '),'') from #test

  • Java.lang.NoClassDefFoundError: oracle/xml/sql/query/OracleXMLQuery

    Hello, all.
    I get this error message:
    java.lang.NoClassDefFoundError: oracle/xml/sql/query/OracleXMLQuery
    at oracle.xml.xsql.actions.XSQLQueryHandler.handleAction(Compiled Code) ...
    when trying to view an xsql page with the jswdk 1.0.1 web server. (I have no problems when using Web-to-go)
    Classpath includes:
    C:\jdk1.1.8\lib\classes.zip;
    C:\xsql\lib\oraclexsql.jar;
    C:\xsql\lib\xmlparserv2.jar;
    C:\xsql\lib\xsu111.jar;
    C:\xsql\lib\classes111.zip;
    C:\xsql\lib;
    What could be the problem?
    Mateja
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
    Only thing I can think of is that maybe your server classpath is getting too long. I recall one of the Java Web Server releases having a classpath length limit that caused strange errors like this because that .jar files you thought were on your classpath were getting their path names truncated so the Java VM cannot find the JAR's.
    Try putting xsu111.jar earlier in the list of JAR's and/or try shortening the classpath (perhaps by using SUBST'd drive letters or softlinks on Unix to shorten the path names).<HR></BLOCKQUOTE>
    Putting the xsu11.jar file towards the start of the path did not help.
    I have rewriten the entire bat file that creates the CLASSPATH and starts the server and things now seem to work. There must have been some error in the original bat file, that I just couldn't see.
    Anyway - I thank you for your help.
    null

  • [nQSError: 59001] Binary Logical operation is not permitted

    Hi All,
    I am querying 3 columns in a report.
    E.g.
    Sales -> Directly pulled from the database column
    Prior Month Sales -> AGO("Sales subject area"."Key Measures"."sales", "Sales subject area".Time_Dimension."Month", 1)
    Current YTD ->
    (CASE WHEN "Sales subject area".Time_Dimension."Year" = VALUEOF("CURRENT_YEAR") AND "Sales subject area".Time_Dimension."Month Number" <= VALUEOF("CURRENT_MONTH") THEN "Sales subject area"."Key Measures"."Sales" ELSE 0 END )
    I get the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 59001] Binary Logical operation is not permitted on VARBINARY, INTEGER operand(s). (HY000)
    Please let me know how to go about this.

    The Data types are as follows:
    1. Sales = Double
    2. Month = Varchar
    3. Month Num is calculated column from -> MOD("Sales Subject Area".Calendar.TimeID, 100) and time id is "Int"
    The Rpd variables are:
    1. Current Year = CAST(SUBSTRING(CAST(MAX(YEARMONTH) AS VARCHAR),1,4) AS INTEGER)
    2. Current Month = CAST(SUBSTRING(CAST(MAX(YEARMONTH) AS VARCHAR),,6) AS INTEGER)
    3. Prior Year = CAST(SUBSTRING(CAST(MAX(YEARMONTH) AS VARCHAR),1,4)-1 AS INTEGER)
    Basically we dont want to use TODATE function as it is not working properly for Prior YTD.

  • Biztalk WCF-SQL polling sample using a FOR XML Path

    I've been searching in the web for a sample that uses FOR XML "PATH" to poll the SQL database . The result returned from my query is a parent child data and FOR XML PATH is the best choice to structure it in that way . I guess I'm missing something while
    generating the schemas from this stored procedure.
    I guess Dan Rosanova has touched on this concept (http://social.technet.microsoft.com/wiki/contents/articles/3480.aspx)
    , but its using XML Auto. Again there is no sample available so makes things a bit difficult.
    Can someone point to a sample walkthrough , generating the schemas and then later using it in the application.
    Thanks
    Anthstone

    I used XMLPolling and it worked for me. you can go for XMLPolling. Steps to be followed:
    1) Create the SP which will have the SELECT query similar to below:
    ;WITH XMLNAMESPACES (default 'http://yourcustomnamespace')
     Select * from Employee FOR XML PATH('YourCustomRootNode') 
    2) Create a schema out of the table using the following query
    Select * from Employee for
    xml
    auto,
    xmlschema 
    3) Re-name the root name and namespace as per you mentioned in point#1 (YourCustomRootNode)
    4) Create an Envelope Schema and refer the schema from point#3. Also make a note of the root node name and namespace that we need to specify
    in the admin console.
    5) Assign the Body XPath to debatch. Refer
    this.  Deploy the solution.
    6) In the Admin console, add the Root Node Name and namespace mentioned in point#4 under "XmlStoredProcedureRoodNodeName" and "XmlStoredProcedureRoodNodeNamespace"
    There you go. I did this for debatching. You can do for nomarl batch message instead of Envelope create a normal document schema.
    Thanks
    SKGuru

  • cm:search is not returning any result when logical operator '!' is used.

    <cm:search is not returning any result when logical operator '!' is used.
    I am using BEA 9.1 content management services API. When I run the following query I am not receiving any results. Also no error or exceptions are seen in the weblogic or cmspi log.
    The query is <cm:search id="docs" query="!(object_name like 'Sport*')" />

    HI cam 
    Thanks for your reply, but i found the problem it was because my server administrator password has changed by network guys... and because of it crawler unable to access the content 
    I wrote my solution here i hope it will help other people 
    http://bvs-sharepoint.blogspot.com/2015/03/sharepoint-search-is-not-returning.html
    RB

Maybe you are looking for