Using XML Operation Tags to query by date

Problem 1:
When I use timestamps from items' XML to form queries on repositories, I receive SQL errors.
Problem 1 Example:
Query the PublishingRepository to find all active projects created on August 16.
In Dynamo Administration, navigate to /atg/epub/PublishingRepository
In the box labeled "Run XML Operation Tags on the Repository," enter the following tag:
    <query-items item-descriptor="project">status = "Active" AND creationDate = "08/16/2013"</query-items>
Result: java.sql.SQLDataException: ORA-01843: not a valid month
Problem 1 Solution:
Use this query instead:
<query-items item-descriptor="project">
status = "Active"
AND
creationDate = date("2013-08-16")
</query-items>
Problem 2:
Using the "<" operator to construct a less-than argument doesn't work.
Problem 2 Example:
Query the PublishingRepository to find all active projects created before August 16.
In Dynamo Administration, navigate to /atg/epub/PublishingRepository
In the box labeled "Run XML Operation Tags on the Repository," enter the following tag:
    <query-items item-descriptor="project">status = "Active" AND creationDate < date("2013-08-16")</query-items>
Result: SOURCE:org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
Problem 2 Solution:
For some reason, the ">" greater-than operator seems to work fine, even when the "<" less-than operator won't. You can switch around the order of the query to get the desired result:
<query-items item-descriptor="project">
status = "Active"
AND
date("2013-08-16") > creationDate
</query-items>

Problem 1:
When I use timestamps from items' XML to form queries on repositories, I receive SQL errors.
Problem 1 Example:
Query the PublishingRepository to find all active projects created on August 16.
In Dynamo Administration, navigate to /atg/epub/PublishingRepository
In the box labeled "Run XML Operation Tags on the Repository," enter the following tag:
    <query-items item-descriptor="project">status = "Active" AND creationDate = "08/16/2013"</query-items>
Result: java.sql.SQLDataException: ORA-01843: not a valid month
Problem 1 Solution:
Use this query instead:
<query-items item-descriptor="project">
status = "Active"
AND
creationDate = date("2013-08-16")
</query-items>
Problem 2:
Using the "<" operator to construct a less-than argument doesn't work.
Problem 2 Example:
Query the PublishingRepository to find all active projects created before August 16.
In Dynamo Administration, navigate to /atg/epub/PublishingRepository
In the box labeled "Run XML Operation Tags on the Repository," enter the following tag:
    <query-items item-descriptor="project">status = "Active" AND creationDate < date("2013-08-16")</query-items>
Result: SOURCE:org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
Problem 2 Solution:
For some reason, the ">" greater-than operator seems to work fine, even when the "<" less-than operator won't. You can switch around the order of the query to get the desired result:
<query-items item-descriptor="project">
status = "Active"
AND
date("2013-08-16") > creationDate
</query-items>

Similar Messages

  • Using XML extraction from Oracle and XSLT data transformation

    Hi
    How can transfer data ie: Using XML extraction from Oracle and XSLT data transformation with java application?
    usually i use to do querying sql, getting data from table assinging to model class then send it to UI. how can i go for XML extraction form oracle?
    thanks

    Sorry, I don't understand what exactly you want to do. And I'm under the impression that you might not know exactly what you want to do as well. Could you explain a bit more detailed what you want to achieve?

  • Problem when using About Operator in Contains Query

    Hi,
    I'm new to Oracle and this forums too. I have a problem when using about operator in contains query.
    I create a table with some records and then create a context index on 'name' column.
    CREATE TABLE my_items (
      id           NUMBER(10)      NOT NULL,
      name         VARCHAR2(200)   NOT NULL,
      description  VARCHAR2(4000)  NOT NULL,
      price        NUMBER(7,2)     NOT NULL
    ALTER TABLE my_items ADD (
      CONSTRAINT my_items_pk PRIMARY KEY (id)
    CREATE SEQUENCE my_items_seq;
    INSERT INTO my_items VALUES(my_items_seq.nextval, 'Car', 'Car description', 1);
    INSERT INTO my_items VALUES(my_items_seq.nextval, 'Train', 'Train description', 2);
    INSERT INTO my_items VALUES(my_items_seq.nextval, 'Japan', 'Japan description', 3);
    INSERT INTO my_items VALUES(my_items_seq.nextval, 'China', 'China description', 4);
    COMMIT;
    EXEC ctx_ddl.create_preference('english_lexer','basic_lexer');
    EXEC ctx_ddl.set_attribute('english_lexer','index_themes','yes');
    EXEC ctx_ddl.set_attribute('english_lexer','theme_language','english');
    CREATE INDEX my_items_name_idx ON my_items(name) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS('lexer english_lexer');
    EXEC ctx_ddl.sync_index('my_items_name_idx');Then I perform contains query to retrieve record :
    SELECT count(*) FROM my_items WHERE contains(name, 'Japan', 1) > 0;
    COUNT(*)
          1
    SELECT count(*) FROM my_items WHERE contains(name, 'about(Japan)', 1) > 0;
    COUNT(*)
          1But the problem is when I using ABOUT operator like in Oracle's English Knowledge Base Category Hierarchy it return 0
    SELECT count(*) FROM my_items WHERE contains(name, 'about(Asia)', 1) > 0;
    COUNT(*)
          0
    SELECT count(*) FROM my_items WHERE contains(name, 'about(transportation)', 1) > 0;
    COUNT(*)
          0I can't figure out what 's wrong in my query or in my index.
    Any help will be appreciated.
    Thanks,
    Hieu Nguyen
    Edited by: user2944391 on Jul 10, 2009 3:25 AM

    Hello (and welcome),
    You'd be best asking this question in the Oracle Text forum, here:
    Text
    And by the way, it will help others to analyse if you put {noformat}{noformat} (lowercase code in curly brackets) before and after your code snippets.
    Good luck!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Using XML-based object structures to represent data in code/at run-time

    Hello,
    I have quite a "high level" question which has be bothering me for some time, and I haven't found the subject tackled in any books. I believe J2SE/J2EE is not an important divide here.
    Lets say I want to develop a J2SE game application with two programs: a "level designer", and a "level viewer", and I want to store the level files in an XML format.
    My question, and I use this example only to try and illustrate it, is:
    when coding the level designer or viewer, is it reasonable to use an XML-based object hierarchy for representing a level in code/at run-time, i.e. using the standard Java DOM APIs? Or should one (as I would have done before XML came along) develop a set of classes much closer to modelling the real form of a level, and then add a means to convert those objects to/from to XML format?
    This second option of course I would use/would have used if I wasn't thinking about XML, but isn't it sometimes easier to just read in an XML file into a DOM representation and just use the data straight out of that structure, rather than go through the bother of parsing the XML into a set of unrelated objects defined by a different family of classes? What shapes your decision here? And if the second option is best, what is the easiest way of converting to/from the XML?
    Thank you for any advice.
    Greg

    Hi Christian,
    Can I ask: what about if your domain was quite 'close' to an object/DOM representation of XML?
    For instance, what if a game operated by acting out a theatrical script, a spoken conversation, between two characters, perhaps somehow influenced at points by the user, and a particular level was just a different script for the characters.
    One could imagine that the object representation of this would in the end be quite similar to how you'd represent XML, i.e. like a tree of nodes, where each node was a line from the script, and some nodes were a decision point where different nodes could be chosen from.
    Would you still want to avoid using XML-based classes to represent the underlying 'game', or is there a point where you would 'give it' to the similarity and use existing XML structures directly?
    Thank you for any advice
    Greg

  • Error when using "inlist operator" in the query filter of Webi 3.1

    Hi,
    We are currently in the process of migrating Deski to webi (BOXI 3.1).
    The problem is, Deski is using the "inlist" operator which is working fine but after migrating to webi the inlist operator in the query filter is throwing the below error,
    *Error Message :*
    A database error occured. The database error text is: ORA-00907: missing right parenthesis. (WIS 10901)
    Appreciate your assistance on this.
    Thanks !
    Regards,
    Perialt

    Karthik ,
    Yes I am seeing an additional paranthesis in Webi SQL query.
    For example plz consider the product table below,
    SELECT
    Product.ID,
    Product.Name
    FROM Product
    WHERE
    Product.Name IN ( @Prompt('4) Name:','C','Product\Name-M',multi,free)  )
    As a work around in Custom SQL, If I remove the paranthesis the below query is running fine in webi
    SELECT
    Product.ID,
    Product.Name
    FROM Product
    WHERE
      Product.Name IN  @Prompt('4) Name:','C','Product\Name-M',multi,free) 
    But I want a permanent solution.

  • Need advice on using XML transformation tags in a JSF page

    Hello,
    I have created a connection to the National Weather Web service that return data in a XML string. I want to transform this string with XSLT but I'm not sure which tag library to use that is compatible with ADF.
    Thanks

    OC4J XML Taglib
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtAnchor.1005726/vtTopicFile.developing_with_ojsp%7Cxmlxsl%7Ehtml/

  • How to use Airthmetic operator in hibernate Query

    Hi everybody,I am writing a hibernate query that multiply two attributes and takes it sum, but when I use * operator,it gives error "* only allowed inside aggregate function in SELECT " . HQL query is :
    Select
    sum(postab.subtotal),
    sum(postab.tax),
    sum(postab.total),
    count(postab.checknum) ,
    Sum((postab.subtotal)*(loc.royalty)/100)
    From
    com.infonox.hibernate.Location as loc,
    com.infonox.hibernate.Postables as postab
    where loc.restaurantid = postab.restaurantid
    Line which is creating problem is
    Sum((postab.subtotal)*(loc.royalty)/100)
    Is there any other way to take product of two attributs? your help will be greatly appreciated as it is really stumbling block in my project. Thanks in advance

    Sum((postab.subtotal)*(loc.royalty)/100)
    Is there any other way to take product of two
    attributs? your help will be greatly appreciated as
    it is really stumbling block in my project. Thanks in
    advanceSuch a stumbling block should have inspired more activity on your part.
    I'd try rewriting it like this:
    sum(postab.subtotal*loc.royalty/100)[/b]%

  • Using XML sequence Tag with updatexml() errors when called as function?

    Hello,
    I'm having a very difficult time with this error. I was hoping someone could shed some light onto why this is happening. It is 100% reproducible on my end. When I run the problematic code, I am given a "ORA-03113: end-of-file on communication channel" which is actually due to
    "ORA-07445: exception encountered: core dump [kolasaRead()+66] [SIGSEGV] [ADDR:0x64] [PC:0x2250968] [Address not mapped to object] []"
    Set up scripts:*
    CREATE TABLE test (id   NUMBER
                            ,xml  XMLTYPE);
    CREATE OR REPLACE FUNCTION test_replace_metadata(p_metadata                 IN XMLTYPE)
          RETURN XMLTYPE
       IS
          l_metadata_xml                          XMLTYPE;
       BEGIN
          l_metadata_xml := p_metadata;
          SELECT UPDATEXML(l_metadata_xml
                          ,'/DICOM_OBJECT/*[@tag="00100020"]/text()'
                          ,'1010101010101010101'
                          ,'xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0"')
            INTO l_metadata_xml
            FROM DUAL;
          RETURN l_metadata_xml; 
      END test_replace_metadata;
    To select the resulting rows:*
    select rownum
               ,id
               ,xml
               --,var
               ,TO_CHAR(EXTRACTVALUE(xml
                   ,'/DICOM_OBJECT/*[@name="Patient ID"]'
                   ,'xmlns=http://xmlns.oracle.com/ord/dicom/metadata_1_0')) "PatientID"
           from test
          order by rownum desc
    The following code works:*
    DECLARE                
    l_metadata VARCHAR2(32767)
                := '<?xml version="1.0"?>
    <DICOM_OBJECT xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/ord/dicom/metadata_1_0 http://xmlns.oracle.com/ord/dicom/metadata_1_0">
      <LONG_STRING tag="00100020" definer="DICOM" name="Patient ID" offset="816" length="6">#00100020#</LONG_STRING>
      <SEQUENCE xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" tag="00082218" definer="DICOM" name="Anatomic Region Sequence" offset="694" length="76">
                        <ITEM>
                          <SHORT_STRING tag="00080100" definer="DICOM" name="Code Value" offset="722" length="8">T-AA000</SHORT_STRING>
                          <SHORT_STRING tag="00080102" definer="DICOM" name="Coding Scheme Designator" offset="738" length="4">SRT</SHORT_STRING>
                          <LONG_STRING tag="00080104" definer="DICOM" name="Code Meaning" offset="750" length="4">Eye</LONG_STRING>
                        </ITEM>
                      </SEQUENCE>
    </DICOM_OBJECT>';
    l_metadata_xml XMLTYPE;
    BEGIN   
         l_metadata_xml := xmltype(l_metadata, 'http://xmlns.oracle.com/ord/dicom/metadata_1_0');
          SELECT UPDATEXML(l_metadata_xml
                          ,'/DICOM_OBJECT/*[@name="Patient ID"]/text()'
                          ,'dayodayodayo'
                          ,'xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0"')
            INTO l_metadata_xml
            FROM DUAL;
       INSERT INTO test(id
                        ,xml)
           VALUES (7
                  ,l_metadata_xml);       
    END;    
    This code doesn't work, and gives the error mentioned:*
    DECLARE                
    l_metadata VARCHAR2(32767)
                := '<?xml version="1.0"?>
    <DICOM_OBJECT xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/ord/dicom/metadata_1_0 http://xmlns.oracle.com/ord/dicom/metadata_1_0">
      <LONG_STRING tag="00100020" definer="DICOM" name="Patient ID" offset="816" length="6">#00100020#</LONG_STRING>
      <SEQUENCE xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" tag="00082218" definer="DICOM" name="Anatomic Region Sequence" offset="694" length="76">
                        <ITEM>
                          <SHORT_STRING tag="00080100" definer="DICOM" name="Code Value" offset="722" length="8">T-AA000</SHORT_STRING>
                          <SHORT_STRING tag="00080102" definer="DICOM" name="Coding Scheme Designator" offset="738" length="4">SRT</SHORT_STRING>
                          <LONG_STRING tag="00080104" definer="DICOM" name="Code Meaning" offset="750" length="4">Eye</LONG_STRING>
                        </ITEM>
                      </SEQUENCE>
    </DICOM_OBJECT>';
    l_metadata_xml XMLTYPE;
    BEGIN   
       l_metadata_xml := xmltype(l_metadata, 'http://xmlns.oracle.com/ord/dicom/metadata_1_0');
       --This is the difference from the above code                       
       l_metadata_xml := test_replace_metadata(l_metadata_xml);                                   
       INSERT INTO test(id
                        ,xml)
           VALUES (7
                  ,l_metadata_xml);       
    END;            
    This is the full text of the error message:*
    "ORA-03113: end-of-file on communication channel
    Process ID: 10847
    Session ID: 321 Serial number: 33192"Looking into the trace files, I saw this information (This is from a different occurance, but it has remained the same):
    Trace file (omitted)
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORACLE_HOME = /opt/app/oracle/product/11.1.0/db_1/
    System name:     Linux
    Node name:     (omitted)
    Release:     2.6.18-92.el5
    Version:     #1 SMP Tue Apr 29 13:16:15 EDT 2008
    Machine:     x86_64
    Instance name: (omitted)
    Redo thread mounted by this instance: 1
    Oracle process number: 53
    Unix process pid: 22883, image: (omitted)
    *** 2009-06-24 13:47:31.198
    *** SESSION ID:(omitted)
    *** CLIENT ID:(omitted)
    *** SERVICE NAME:(omitted)
    *** MODULE NAME:(omitted)
    *** ACTION NAME:(omitted)
    Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x64] [PC:0x2250968, kolasaRead()+66]
    DDE: Problem Key 'ORA 7445 [kolasaRead()+66]' was flood controlled (0x6) (incident: 70951)
    ORA-07445: exception encountered: core dump [kolasaRead()+66] [SIGSEGV] [ADDR:0x64] [PC:0x2250968] [Address not mapped to object] []
    ssexhd: crashing the process...
    Shadow_Core_Dump = PARTIAL  Why is this happening? Also, When I remove the call to the function or if I remove the SEQUENCE element from the xml everything works fine.
    Any ideas?
    Edited by: rcdev on Jun 25, 2009 2:17 PM - Added code blocks for readability.
    Edited by: rcdev on Jun 25, 2009 2:28 PM

    In short, something inside Oracle is blowing up that shouldn't be, hence the ORA-7445. I did a search on MetaLink but it didn't turn up anything for your version and the internal function that is blowing up. Given you are on 11.1.0.7, I'm going to assume you have some service contract with Oracle and so can open a SR with them. That would be your best bet for getting it resolved given the internal Oracle error you are encountering.
    The next best option would be to post this question on the {forum:id=34} forum given some of the people that watch that forum.

  • How to use EQUIV operator in a query?

    i want to list products whose names like 'Windows XP' or 'WindowsXP', following is my query:
    select * from product
    where contains(product_name,'Windows XP = WindowsXP',1) > 0
    but this query only return the products whose name contain 'Windows XP'. the result is something likes
    select * from product
    where contains(product_name,'Windows (XP = WindowsXP)',1) > 0
    so i modified it to :
    select * from product
    where contains(product_name,'(Windows XP) = (WindowsXP)',1) > 0
    it's error
    Error report:
    SQL Error: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-50900: text query parser error on line 1, column 26
    DRG-50921: EQUIV operand not a word or another EQUIV expression
    29902. 00000 - "error in executing ODCIIndexStart() routine"
    *Cause:    The execution of ODCIIndexStart routine caused an error.
    *Action:   Examine the error messages produced by the indextype code and
    take appropriate action.

    Equiv only works for individual terms. Since there is a space between Windows and XP, they are two terms. You can use synonyms for phrases containing multiple terms, as shown below.
    SCOTT@orcl_11g> CREATE TABLE product (product_name  VARCHAR2 (30))
      2  /
    Table created.
    SCOTT@orcl_11g> INSERT ALL
      2  INTO product VALUES ('Windows XP')
      3  INTO product VALUES ('WindowsXP')
      4  INTO product VALUES ('Unix')
      5  SELECT * FROM DUAL
      6  /
    3 rows created.
    SCOTT@orcl_11g> BEGIN
      2    CTX_THES.CREATE_THESAURUS ('name_thes');
      3    CTX_THES.CREATE_RELATION ('name_thes', 'Windows XP', 'SYN', 'WindowsXP');
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> CREATE INDEX product_name_idx ON product (product_name)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  /
    Index created.
    SCOTT@orcl_11g> SELECT * FROM product
      2  WHERE  CONTAINS (product_name, 'SYN (Windows XP, name_thes)') > 0
      3  /
    PRODUCT_NAME
    Windows XP
    WindowsXP
    SCOTT@orcl_11g> SELECT * FROM product
      2  WHERE  CONTAINS (product_name, 'SYN (WindowsXP, name_thes)') > 0
      3  /
    PRODUCT_NAME
    Windows XP
    WindowsXP
    SCOTT@orcl_11g>

  • How to use LIKE Operator with my query requriment

    HI all,
    I have a requirement as follows
    EMPID ENAME JOB SAL
    10 RAJ KAMAL MANAGER 25000
    20 KAMAL RAJ NAYAK CLERK 4000
    30 NARENDAR GUPTA ANALYST 20000
    40 ASHUTOSH GUPTA DEVELOPER 10000
    50 ASHUTOSH NAYAR PROGRAMMER 15000
    i am searching enames such that i need to get the whole name even if i search with just a single LETTER/WORD immaterial of the order they exist in the name for which i need to get the whole name.(INFACT WORD comparision)
    ex:
    1) select * from emp where ename like '%ka%'
    i am getting:
    10 RAJ KAMAL MANAGER 25000
    20 KAMAL RAJ NAYAK CLERK 4000
    This is not what i need i need just word camparision not letters comparision let me tell you...
    select * from emp where ename like '%amal%'
    Even for this query ill get the same output.. this is not my option to go..
    I need just word comparision with starting letter and immaterial of the word position in the name
    If it is possible to do with query please let me know..
    Thanking you
    Narendar Vishwanatham

    Full example:
    SQL> ed
    Wrote file afiedt.buf
      1  with e as (select 10 as empid, 'RAJ KAMAL' as ename, 'MANAGER' as job, 25000 as sal from dual union all
      2             select 20, 'KAMAL RAJ NAYAK', 'CLERK', 4000 from dual union all
      3             select 30, 'NARENDAR GUPTA', 'ANALYST', 20000 from dual union all
      4             select 40, 'ASHUTOSH GUPTA', 'DEVELOPER', 10000 from dual union all
      5             select 50, 'ASHUTOSH NAYAR', 'PROGRAMMER', 15000 from dual)
      6  -- END OF TEST DATA
      7  select *
      8  from e
      9* where regexp_like(ename,'(^| )KA( |$)')
    SQL> /
    no rows selected
    SQL> ed
    Wrote file afiedt.buf
      1  with e as (select 10 as empid, 'RAJ KAMAL' as ename, 'MANAGER' as job, 25000 as sal from dual union all
      2             select 20, 'KAMAL RAJ NAYAK', 'CLERK', 4000 from dual union all
      3             select 30, 'NARENDAR GUPTA', 'ANALYST', 20000 from dual union all
      4             select 40, 'ASHUTOSH GUPTA', 'DEVELOPER', 10000 from dual union all
      5             select 50, 'ASHUTOSH NAYAR', 'PROGRAMMER', 15000 from dual)
      6  -- END OF TEST DATA
      7  select *
      8  from e
      9* where regexp_like(ename,'(^| )KAMAL( |$)')
    SQL> /
         EMPID ENAME           JOB               SAL
            10 RAJ KAMAL       MANAGER         25000
            20 KAMAL RAJ NAYAK CLERK            4000
    SQL>

  • Using XML Export to create dynamic Spry data sets

    I'm following this tutorial
    http://www.adobe.com/devnet/dreamweaver/articles/spry_xml_export_03.html
    And the final output is like this
    http://www.adobe.com/devnet/dreamweaver/articles/spry_xml_export/fig04.gif
    mine just looks like this
    http://76.163.23.86/export.php
    i.e all the data is just printed out line after line
    Any ideas?
    Thanks
    Hurst Vanrooj

    Sorry about this I've been viewing it in SAFARI but In
    Firefox it works!!!!
    Bizare!
    Hurst Vanrooj

  • Can i use crystal reports standard to query ODBC datasources

    Post Author: Andy Forrest
    CA Forum: Data Connectivity and SQL
    Dear all,
    I'm struggling to identify if i can use crystal reports standard to query ODBC data-sources, the only information i can find is the following :-
    An intuitive solution that provides basic report design functionality off of PC-based data sources, Crystal Reports XI Standard Edition will provide you with access to data stored in personal data sources.
    This gives the impression that i cant access any data other than local data, can anyone give me a definitive answer or point me to somewhere that explains in a little more detail.  We are about to purchase some copies but need to ensure crystal reports standard can access ODBC data sources.  We are replacing crystal reports 8 standard edition and need to ensure previous reports will still run.
    Thanks in advance for any assistance.
    Cheers
    Andy

    Post Author: foghat
    CA Forum: Data Connectivity and SQL
    Well, you can certainly connect to ODBC with Crystal XI Developer.  I'd be very surprised if you couldn't with the Standard version as well.  Not the definitive answer you were looking for, I suppose.

  • Forte4j XML Operations, benefit??

    I just read the "Building Web Services" Documentation
    (http://forte.sun.com/ffj/documentation/)
    Can someone please tell me the benefit of using XML Operations in building Web-Services??
    Why not use Method calls on the Session Beans??
    grz. Sander

    ...sorry, I already found the answer on page 17/18.
    Because I now know what it is: I think that they use very strange examples. I think that the examples should match the purpose of XML Operations. Fortunately they don' t.....
    (but that complaint is probably not in the right topic....)
    sorry again..

  • Step by step procedure to use dimension operator

    Hi,
    Is there any link ,where I can find step by step procedure to use dimension operator.. that is mapping data from source table to operator and from operator to table
    What attribute should we map into dimension key column???
    please help me out with this
    Thanks
    Edited by: rishiraj on Jan 4, 2012 4:40 AM
    Edited by: rishiraj on Jan 4, 2012 5:01 AM

    The dimension data object in the design tree is all about the semantics of the object - the description of hierarchies, levels, attributes PLUS how it is bound to some persistence.
    The dimension operator object in a mapping is all about how the semantic object is loaded with data. Source to Dimension operator (under the covers OWB knows the semantics of the dimension and how it is bound to some persistence so can generate the expanded mapping).
    There is an OBE below that is still pertinent to 11gR2 to understand some of this;
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/owb/owb10gr2_obe_series/owb10g.htm
    You should only map business key columns (to identify a level), attributes for each level, and hierarchy relationship columns. The surrogate key columns are populated under the hood by OWB.
    Cheers
    David

  • How to achive in this data in oracle using xml tag ?

    hi All ,
    i am using sql 3.1
    i have one question that how can i achieve this below XML tag using XML query. this below  whatever i am showing here data is one table . how can i achieve this things using XML tag like xml forest or whatever may be
    please help me .
    ---code
    <Metadata>
    <Dept Deptno="10">
      <Name>Administration</Name>
      <Location>Seattle</Location>
      <Employees>
       <Emp empid="200">
        <FirstName>Jennifer</FirstName>
        <LastName>Whalen</LastName>
       </Emp>
      </Employees>
    </Dept>
    <Dept Deptno="20">
      <Name>Marketing</Name>
      <Location>Toronto</Location>
      <Employees>
       <Emp empid="201">
        <FirstName>Michael</FirstName>
        <LastName>Hartstein</LastName>
       </Emp>
       <Emp empid="202">
        <FirstName>Pat</FirstName>
        <LastName>Fay</LastName>
       </Emp>
      </Employees>
    </Dept>
    </metadata>
    Thanks
    Damby

    please reply

Maybe you are looking for

  • Drag and drop not working 1 day after installing OS 10.8.5

    MacBook Pro 17", 2010, Upgraded from 10.6.8 to 10.8.5. Seemed to work OK. Next day, I noticed files & folders attach to cursor. When I hit esc key, folder returnes to original position. Photoshop also has problems with selection tool. Tried repairing

  • Transfering multiple fields from help in table control

    Hi everyone. I have a table control in a dynpro. The table control has many fields: x, y, z ... I have a module in PROCESS ON VALUE REQUEST for a field "x". The module calls a function to search values for field "x" and for field "y". How can I trans

  • Access to the JAVA Stack of PI system

    Hi, User want access to JAVA Stack in PI System. Below is the message while user try to logon to Integration Builder in SAP NetWeaver for the PI Portal: "No authorization for this action". Kindly let us know how access to JAVA stack is possible? Than

  • Post with clearing through transaction code f-04

    Hi While clearing the Gl account Manually with transaction code F-04 we are getting the Error Consolidated companies SASA and ' ' are different Diagnosis The number of the affiliated company must be clear for the selected document type for all line i

  • My applications folder is suddenly empty, what happened and how do I fix it?

    I was moving things around on my desktop and folders and now my applications folder is empty. All programs are still working, but I can't see any of them. What happened and how do I fix it? I'd greatly appreciate the help! Brianna