How to extract from XMLType

hi
I have XMLType field in DB. I must select data from this field but I am getting an error.
          OracleCallableStatement st = (OracleCallableStatement)conn.prepareCall (xmlQuery);
                ResultSet res = st.executeQuery();       
            XMLType  xmltype =null;
            OracleResultSet rs = (OracleResultSet) st.executeQuery(xmlQuery);
            while(rs.next()){
                                        xmltype =(XMLType) rs.getObject("candidate_details");
                        xmltype.extract("/name/text()","/employee").getStringVal();
                       I am getting the following exception:
java.sql.SQLException
     at oracle.xdb.XMLType.extract(XMLType.java:1427)
     at samplexmltype.XMLTypeForm.btnRead_actionPerformed(XMLTypeForm.java:494)
     at samplexmltype.XMLTypeForm.mav$btnRead_actionPerformed(XMLTypeForm.java)

If retval contains the whole response including envelope, then obviously it doesn't start at "TICKETCreateRespMsg". You have to use the full path, or a descendant axis, but the former is preferred.
Be aware of namespaces too, that's a common gotcha with XML.
SQL> set serveroutput on
SQL>
SQL> DECLARE
  2 
  3    retval xmltype := xmltype('<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  4  <env:Header/>
  5  <env:Body>
  6  <TICKETCreateRespMsg xmlns="http://www.testurl.com/webservices/">
  7  <body xmlns="">
  8  <CreateTicket>
  9  <TICKET_NO>A-32758628</TICKET_NO>
10  <SUMMARY>Test1</SUMMARY>
11  <ERROR_MSG>Test2</ERROR_MSG>
12  </CreateTicket>
13  </body>
14  </TICKETCreateRespMsg>
15  </env:Body>
16  </env:Envelope>');
17 
18    v_ticket_no varchar2(30);
19    v_summary   varchar2(30);
20    v_error_msg varchar2(30);
21 
22    v_ns_map    varchar2(200) := 'xmlns:env="http://schemas.xmlsoap.org/soap/envelope/", xmlns:ns1="http://www.testurl.com/webservices/"';
23    v_xpath     varchar2(200) := '/env:Envelope/env:Body/ns1:TICKETCreateRespMsg/body/CreateTicket';
24 
25 
26  BEGIN
27 
28   SELECT extractValue(retval, v_xpath || '/TICKET_NO', v_ns_map)
29        , extractValue(retval, v_xpath || '/SUMMARY', v_ns_map)
30        , extractValue(retval, v_xpath || '/ERROR_MSG', v_ns_map)
31   INTO v_ticket_no, v_summary, v_error_msg
32   FROM dual;
33 
34   dbms_output.put_line('TICKET_NO = '||v_ticket_no);
35   dbms_output.put_line('SUMMARY = '||v_summary);
36   dbms_output.put_line('ERROR_MSG = '||v_error_msg);
37 
38  END;
39  /
TICKET_NO = A-32758628
SUMMARY = Test1
ERROR_MSG = Test2
PL/SQL procedure successfully completedEdited by: odie_63 on 17 avr. 2012 13:07

Similar Messages

  • How to EXTRACT from one PHOTO to another

    How do I extract from one photo and place in another using PSE 19
    Message title was edited by: Brett N

    You probably mean PSE10 ---Typo?
    Use one of the selection tools, e.g. selection brush, lasso tool, to select the object on picture A.
    Go to Edit>copy to put it on the clipboard
    Open picture B
    Go to Edit>paste. A will be on its own layer
    Access the move tool to position A and to resize with the corner handles of the bounding box

  • NPD Metrics - how to extract from the database in a usable format

    Metrics for NPD activities and projects are stored in the database one row for each metric in each activity or project instance. If there are multiple metrics per activity instance, for example, extraction of those metrics yeilds only a list of metrics and values. I'd like to see it in more of a table style output. Can you provide some guidance on how to extract this from the DB using sql? Thx

    Here is the SQL that should help understand the structure. There are a few ways to pull this data in more of a column based approach. This should help you get started.
    select modml.baseName as MetricName, bases.name as Basis, ph.name as Phase,
    fy.name as FiscalYear, gl.Value as Value, UOM.ID as UOM, currml.Name as Currency
    from plmFieldExchangeGlobals gl
    inner join plmFieldExchangeDefinitions fed on fed.pkid = gl.FieldExchangeDefinitionPKID
    inner join plmFieldExchangeDefModels mod on mod.pkid = fed.fkFieldExchangeDefinitionModel
    inner join plmFieldExchDefinitionModelML modml on modml.fkFieldExchangeDefinitionModel = mod.pkid and modml.langID = 0
    inner join plmFieldExchangeBases bases on fed.fkFieldExchangeBasis = bases.pkid and bases.langID = 0
    inner join plmFieldExchangePhases ph on fed.fkFieldExchangePhase = ph.pkid and ph.langID = 0
    inner join plmFieldExchangeFiscalYears fy on fed.fkFieldExchangeFiscalYear = fy.pkid and fy.langID = 0
    left outer join UOM on UOM.pkid = mod.fkCommonUOM
    left outer join commonCurrenciesML currml on currml.fkCurrency = mod.fkCommonCurrency and currml.langID = 0
    where ProjectPKID = '320219992047-072a-4698-a553-de5ec124ff9c';
    Segal

  • How to Extract From Pool Tables

    Hi All,
    Can Somebody help with the Detailed Description how to extract the Data from Pool Tables from ECC to SAP BW
    Thanks
    Sam

    Option 1
    Create Infoset SQ02  on those tables and RSO2 - create generic ds
    Option 2 :Create functional Module and create generic ds using FM
    Replicate DS to BW and Build objects and map them in transformations and create dtp and IP
    Start extraction! .. please search for detailed steps in forum

  • Difficulty extracting from XMLTYPE column using XMLTABLE

    Hi Folks.
    I am currently trying to shred the contents of an XML document that is stored on our schema in a XMLType column. The XMLYTYPE column is pointing to several schemas that are registered within the database.
    If I take a subset of the XML from one of the files and create an XMLTYPE column on the fly, I am able to extract data using the XMLTABLE syntax. If I try the same thing on the XMLTYPE column in the table registered to schemas stored in the database I get no joy.
    Please see below for an example.
    Please note that this is only a small segment of the original XML document which is very large. The XML document has one <RTDRFileHeader> and <ConnectionList> nodes per document but many <Connection> nodes beneath the <ConnectionList>.
    My requirement is to RETRIEVE ALL the data contained in the <Connection> elements beneath the <ConnectionList>. How do I achieve this?
    CREATE TABLE ag_test2 as
    SELECT  XMLTYPE(
    '<RTDR xmlns:tadig-gen="https://infocentre.gsm.org/TADIG-GEN" xmlns="https://infocentre.gsm.org/TADIG-RTDR">
      <RTDRFileHeader>
        <Prefix>MRTDR</Prefix>
        <Sender>EDSCH</Sender>
        <Recipient>NXTMP</Recipient>
        <PMN>UKRAS</PMN>
        <ReportSeqNo>5</ReportSeqNo>
        <TADIGGenSchemaVersion>2.2</TADIGGenSchemaVersion>
        <RTDRSchemaVersion>1.1</RTDRSchemaVersion>
        <CreationTmstp>2009-09-04T04:04:00.000000+02:00</CreationTmstp>
      </RTDRFileHeader>
    <ConnectionList xmlns="https://infocentre.gsm.org/TADIG-RTDR">
    <Connection xmlns="https://infocentre.gsm.org/TADIG-RTDR">
          <VPMN>UKRAS</VPMN>
          <HPMN>LIEK9</HPMN>
          <FileItemList>
            <FileItem>
              <FileID>CDUKRASLIEK901274-00005-m</FileID>
              <ExchTmstp>2009-08-24T12:07:22.000000+02:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>1274</TAPSeqNo>
                  <NotifFileInd>true</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2009-08-24T12:52:10.000000+03:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2009-08-24T11:52:10.000000+02:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
            <FileItem>
              <FileID>CDUKRASLIEK901280-00005-m</FileID>
              <ExchTmstp>2009-08-30T12:14:39.000000+02:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>1280</TAPSeqNo>
                  <NotifFileInd>true</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2009-08-30T12:52:34.000000+03:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2009-08-30T11:52:34.000000+02:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
          </FileItemList>
        </Connection>
    </ConnectionList>
    </RTDR> ') as xml from dual
    Question: When I run the following query no rows are returned although the table is populated with XML segment above. Any explanation as to why and how can I resolve this?
    SELECT rtd2."VPMN"
          ,rtd2."Recipient"
          ,rtd2."ReportSeqNo"
    FROM   ag_test2  r
          ,XMLTABLE('/RTDR'
                    PASSING  r.xml
                    COLUMNS  "VPMN"       VARCHAR2(5)    PATH '/RTDRFileHeader/ConnectionList/Connection/VPMN' 
                            ,"Recipient"    VARCHAR2(5)  PATH '/RTDRFileHeader/Recipient'
                            ,"ReportSeqNo"  INTEGER      PATH '/RTDRFileHeader/ReportSeqNo'
                    ) rtd2; From my other investigations the following query works OK when the same XML segment is created dynamically by performing an SELECT XMLTYPE ... FROM DUAL compared to the method above. Can anybody provide an explanation?
    WITH t as (select XMLTYPE(
    '<RTDR>
      <RTDRFileHeader>
        <Prefix>MRTDR</Prefix>
        <Sender>EDSCH</Sender>
        <Recipient>NXTMP</Recipient>
        <PMN>UKRAS</PMN>
        <ReportSeqNo>5</ReportSeqNo>
        <TADIGGenSchemaVersion>2.2</TADIGGenSchemaVersion>
        <RTDRSchemaVersion>1.1</RTDRSchemaVersion>
        <CreationTmstp>2009-09-04T04:04:00.000000+02:00</CreationTmstp>
      </RTDRFileHeader>
    <ConnectionList>
    <Connection>
          <VPMN>UKRAS</VPMN>
          <HPMN>LIEK9</HPMN>
          <FileItemList>
            <FileItem>
              <FileID>CDUKRASLIEK901274-00005-m</FileID>
              <ExchTmstp>2009-08-24T12:07:22.000000+02:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>1274</TAPSeqNo>
                  <NotifFileInd>true</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2009-08-24T12:52:10.000000+03:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2009-08-24T11:52:10.000000+02:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
            <FileItem>
              <FileID>CDUKRASLIEK901280-00005-m</FileID>
              <ExchTmstp>2009-08-30T12:14:39.000000+02:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>1280</TAPSeqNo>
                  <NotifFileInd>true</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2009-08-30T12:52:34.000000+03:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2009-08-30T11:52:34.000000+02:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
          </FileItemList>
        </Connection>
    </ConnectionList>
    </RTDR> ') as xml from dual )
    SELECT rtd2."VPMN"
          ,rtd2."HPMN"
    FROM   t  r
          ,XMLTABLE('/RTDR/ConnectionList'
                    PASSING  r.xml
                    COLUMNS  "VPMN"       VARCHAR2(5)    PATH '/ConnectionList/Connection/VPMN' 
                            ,"HPMN"       VARCHAR2(5)    PATH '/ConnectionList/Connection/HPMN' 
                    ) rtd2;
    Any comments, suggestions, pointers gratefully received.
    Many thanks
    Kind regards
    Simon Gadd

    Simon
    It appears to work as expected for me in 11.2.0.1.0
    C:\xdb\customers\Mapeley>sqlplus /nolog @testcase %CD%
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Nov 18 14:26:56 2009
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    SQL> spool testase.log
    SQL> --
    SQL> connect / as sysdba
    Connected.
    SQL> --
    SQL> set define on
    SQL> set timing on
    SQL> --
    SQL> define USERNAME = MAPELEY
    SQL> --
    SQL> def PASSWORD = &USERNAME
    SQL> --
    SQL> def XMLDIR = &1
    SQL> --
    SQL> def USER_TABLESPACE = USERS
    SQL> --
    SQL> def TEMP_TABLESPACE = TEMP
    SQL> --
    SQL> drop user &USERNAME cascade
      2  /
    old   1: drop user &USERNAME cascade
    new   1: drop user MAPELEY cascade
    User dropped.
    Elapsed: 00:00:04.57
    SQL> grant create any directory, drop any directory, connect, resource, alter se
    ssion, create view to &USERNAME identified by &PASSWORD
      2  /
    old   1: grant create any directory, drop any directory, connect, resource, alte
    r session, create view to &USERNAME identified by &PASSWORD
    new   1: grant create any directory, drop any directory, connect, resource, alte
    r session, create view to MAPELEY identified by MAPELEY
    Grant succeeded.
    Elapsed: 00:00:00.03
    SQL> alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespa
    ce &TEMP_TABLESPACE
      2  /
    old   1: alter user &USERNAME default tablespace &USER_TABLESPACE temporary tabl
    espace &TEMP_TABLESPACE
    new   1: alter user MAPELEY default tablespace USERS temporary tablespace TEMP
    User altered.
    Elapsed: 00:00:00.00
    SQL> connect &USERNAME/&PASSWORD
    Connected.
    SQL> --
    SQL> create or replace directory XMLDIR as '&XMLDIR'
      2  /
    old   1: create or replace directory XMLDIR as '&XMLDIR'
    new   1: create or replace directory XMLDIR as 'C:\xdb\customers\Mapeley'
    Directory created.
    Elapsed: 00:00:00.01
    SQL> var SCHEMAURL       varchar2(256)
    SQL> VAR XMLSCHEMA       CLOB;
    SQL> VAR INSTANCE        CLOB;
    SQL> VAR DOCPATH         VARCHAR2(700)
    SQL> --
    SQL> set define off
    SQL> --
    SQL> alter session set events='31098 trace name context forever'
      2  /
    Session altered.
    Elapsed: 00:00:00.01
    SQL> declare
      2    XMLSCHEMA XMLTYPE := XMLTYPE(bfilename('XMLDIR','tadig_gen_2.2.xsd'),NLS_
    CHARSET_ID('AL32UTF8'));
      3  begin
      4    :SCHEMAURL:= 'tadig-gen-2.2.xsd';
      5    xdb_annotate_schema.disableDefaultTables(XMLSCHEMA);
      6    dbms_xmlschema.registerSchema
      7    (
      8      schemaurl       => :SCHEMAURL,
      9      schemadoc       => XMLSCHEMA,
    10      local           => TRUE,
    11      genTypes        => TRUE,
    12      genBean         => FALSE,
    13      genTables       => TRUE
    14    );
    15  end;
    16  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.17
    SQL> declare
      2    XMLSCHEMA XMLTYPE := XMLTYPE(bfilename('XMLDIR','tadig_rtdr.xsd'),NLS_CHA
    RSET_ID('AL32UTF8'));
      3  begin
      4    :SCHEMAURL:= 'tadig_rtdr.xsd';
      5    xdb_annotate_schema.addDefaultTable(XMLSCHEMA,'RTDR','RTDR_TABLE');
      6    xdb_annotate_schema.disableDefaultTables(XMLSCHEMA);
      7    dbms_xmlschema.registerSchema
      8    (
      9      schemaurl       => :SCHEMAURL,
    10      schemadoc       => XMLSCHEMA,
    11      local           => TRUE,
    12      genTypes        => TRUE,
    13      genBean         => FALSE,
    14      genTables       => TRUE
    15    );
    16  end;
    17  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:05.66
    SQL> select table_name
      2    from USER_XML_TABLES
      3  /
    TABLE_NAME
    RTDR_TABLE
    Elapsed: 00:00:00.04
    SQL> select count(*)
      2    from USER_NESTED_TABLES
      3  /
      COUNT(*)
            17
    Elapsed: 00:00:00.43
    SQL> desc RTDR_TABLE
    Name                                      Null?    Type
    TABLE of SYS.XMLTYPE(XMLSchema "tadig_rtdr.xsd" Element "RTDR") STORAGE Object-r
    elational TYPE "RTDR8050_T"
    SQL> --
    SQL> insert into RTDR_TABLE values (XMLTYPE(bfilename('XMLDIR','MRTDREDSCHNXTMPU
    KRAS00001.xml'),NLS_CHARSET_ID('AL32UTF8')))
      2  /
    1 row created.
    Elapsed: 00:00:16.91
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.01
    SQL> set autotrace on explain lines 256 long 100000 pages 0
    SQL> --
    SQL> SELECT rtd3."VPMN"
      2         ,rtd2."Recipient"
      3         ,rtd2."ReportSeqNo"
      4   FROM  RTDR_TABLE r
      5         ,XMLTABLE
      6         (
      7           xmlnamespaces
      8           (
      9             default 'https://infocentre.gsm.org/TADIG-RTDR'
    10           ),
    11           '/RTDR'
    12           PASSING  r.object_value
    13           COLUMNS
    14           "ConnectionXML" XMLTYPE      PATH 'ConnectionList/Connection'
    15          ,"Recipient"     VARCHAR2(5)  PATH 'RTDRFileHeader/Recipient'
    16          ,"ReportSeqNo"   INTEGER      PATH 'RTDRFileHeader/ReportSeqNo'
    17        ) rtd2
    18       ,XMLTABLE
    19         (
    20           xmlnamespaces
    21           (
    22             default 'https://infocentre.gsm.org/TADIG-RTDR'
    23           ),
    24           '/Connection'
    25           PASSING  rtd2."ConnectionXML"
    26           COLUMNS
    27           "VPMN"       VARCHAR2(6)    PATH 'VPMN'
    28        ) rtd3
    29   /
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    LIEK9  NXTMP           1
    ABWK9  NXTMP           1
    MCOK9  NXTMP           1
    CHEK7  NXTMP           1
    DJIK9  NXTMP           1
    SGPK9  NXTMP           1
    NAMK9  NXTMP           1
    SENK9  NXTMP           1
    NZLK9  NXTMP           1
    CIV55  NXTMP           1
    TURTK  NXTMP           1
    GINCL  NXTMP           1
    BFA03  NXTMP           1
    NER55  NXTMP           1
    DOMC9  NXTMP           1
    NGA55  NXTMP           1
    GRCCO  NXTMP           1
    GRCSH  NXTMP           1
    NLDPT  NXTMP           1
    BELTB  NXTMP           1
    BELMO  NXTMP           1
    BELKO  NXTMP           1
    FRAF1  NXTMP           1
    FRAF3  NXTMP           1
    ANDMA  NXTMP           1
    ESPAT  NXTMP           1
    ESPXF  NXTMP           1
    ESPTE  NXTMP           1
    HUNH1  NXTMP           1
    HUNH2  NXTMP           1
    HUNVR  NXTMP           1
    BIHMS  NXTMP           1
    BIHPT  NXTMP           1
    HRVT2  NXTMP           1
    HRVVI  NXTMP           1
    YUGMT  NXTMP           1
    YUGTS  NXTMP           1
    YUGTM  NXTMP           1
    ITASI  NXTMP           1
    INDAC  NXTMP           1
    INDJB  NXTMP           1
    INDJH  NXTMP           1
    INDRM  NXTMP           1
    INDDL  NXTMP           1
    INDH1  NXTMP           1
    INDWB  NXTMP           1
    INDA2  NXTMP           1
    INDA1  NXTMP           1
    INDA8  NXTMP           1
    INDA4  NXTMP           1
    INDA7  NXTMP           1
    INDA5  NXTMP           1
    INDA6  NXTMP           1
    INDA3  NXTMP           1
    PAKPL  NXTMP           1
    PAKTP  NXTMP           1
    PAKWA  NXTMP           1
    AFGAW  NXTMP           1
    AFGTD  NXTMP           1
    AFGAR  NXTMP           1
    LKA71  NXTMP           1
    LKADG  NXTMP           1
    JORUM  NXTMP           1
    SYR01  NXTMP           1
    SYRSP  NXTMP           1
    IRQAT  NXTMP           1
    SAUAJ  NXTMP           1
    SAUET  NXTMP           1
    SAUZN  NXTMP           1
    YEMSA  NXTMP           1
    YEMSP  NXTMP           1
    OMNGT  NXTMP           1
    OMNNT  NXTMP           1
    ARETC  NXTMP           1
    AREDU  NXTMP           1
    ISR01  NXTMP           1
    ISRCL  NXTMP           1
    ISRPL  NXTMP           1
    PSEJE  NXTMP           1
    MNGMC  NXTMP           1
    NPLM2  NXTMP           1
    IRNRI  NXTMP           1
    UZBDU  NXTMP           1
    UZB05  NXTMP           1
    UZB07  NXTMP           1
    TJK01  NXTMP           1
    TJKIT  NXTMP           1
    TJKBM  NXTMP           1
    TJK91  NXTMP           1
    KGZ01  NXTMP           1
    KGZNT  NXTMP           1
    TKMBC  NXTMP           1
    JPNJP  NXTMP           1
    KORKT  NXTMP           1
    KORKF  NXTMP           1
    VNMVT  NXTMP           1
    HKGH3  NXTMP           1
    HKGHT  NXTMP           1
    HKGSM  NXTMP           1
    HKGMC  NXTMP           1
    MACHT  NXTMP           1
    KHMSM  NXTMP           1
    KHMSH  NXTMP           1
    CHNCT  NXTMP           1
    ITAOM  NXTMP           1
    ITAGT  NXTMP           1
    ITAWI  NXTMP           1
    ROMCS  NXTMP           1
    ROMMR  NXTMP           1
    CHEC1  NXTMP           1
    CHEOR  NXTMP           1
    CZERM  NXTMP           1
    CZEET  NXTMP           1
    CZECM  NXTMP           1
    SVKGT  NXTMP           1
    SVKET  NXTMP           1
    SVKO2  NXTMP           1
    AUTPT  NXTMP           1
    AUTCA  NXTMP           1
    AUTHU  NXTMP           1
    GBRAJ  NXTMP           1
    GBRCN  NXTMP           1
    GBRVF  NXTMP           1
    GBRHU  NXTMP           1
    GBRME  NXTMP           1
    GBRJT  NXTMP           1
    GBRMT  NXTMP           1
    DNKTD  NXTMP           1
    DNKHU  NXTMP           1
    DNKIA  NXTMP           1
    SWETR  NXTMP           1
    SWEHU  NXTMP           1
    SWEIQ  NXTMP           1
    NORNC  NXTMP           1
    FINRL  NXTMP           1
    FINAM  NXTMP           1
    FINTF  NXTMP           1
    LTUOM  NXTMP           1
    LTUMT  NXTMP           1
    LTU03  NXTMP           1
    LVALM  NXTMP           1
    LVABC  NXTMP           1
    LVABT  NXTMP           1
    ESTEM  NXTMP           1
    ESTRB  NXTMP           1
    RUS01  NXTMP           1
    RUSNW  NXTMP           1
    RUS03  NXTMP           1
    RUSSC  NXTMP           1
    RUS07  NXTMP           1
    RUSKH  NXTMP           1
    RUS16  NXTMP           1
    RUS17  NXTMP           1
    RUST2  NXTMP           1
    RUSEC  NXTMP           1
    RUSUT  NXTMP           1
    RUSBD  NXTMP           1
    BLRMD  NXTMP           1
    BLR02  NXTMP           1
    BLRBT  NXTMP           1
    MDAVX  NXTMP           1
    MDAMC  NXTMP           1
    POLKM  NXTMP           1
    POL02  NXTMP           1
    POL03  NXTMP           1
    POLP4  NXTMP           1
    DEUD1  NXTMP           1
    DEUD2  NXTMP           1
    DEUE1  NXTMP           1
    DEUE2  NXTMP           1
    PRTOP  NXTMP           1
    PRTTM  NXTMP           1
    LUXPT  NXTMP           1
    LUXTG  NXTMP           1
    LUXVM  NXTMP           1
    IRLDF  NXTMP           1
    IRLH3  NXTMP           1
    ISLPS  NXTMP           1
    ISLTL  NXTMP           1
    ISLVW  NXTMP           1
    ISLOC  NXTMP           1
    ISLNO  NXTMP           1
    ALBAM  NXTMP           1
    ALBEM  NXTMP           1
    MLTGO  NXTMP           1
    CYPCT  NXTMP           1
    CYPSC  NXTMP           1
    GEOGC  NXTMP           1
    GEOMA  NXTMP           1
    ARM05  NXTMP           1
    BGR01  NXTMP           1
    BGRVA  NXTMP           1
    BGRCM  NXTMP           1
    TURTC  NXTMP           1
    TURTS  NXTMP           1
    TURIS  NXTMP           1
    SMOSM  NXTMP           1
    SVNMT  NXTMP           1
    MKDMM  NXTMP           1
    MKDCC  NXTMP           1
    LIEMK  NXTMP           1
    LIETG  NXTMP           1
    CANRW  NXTMP           1
    USAW6  NXTMP           1
    USACG  NXTMP           1
    USACB  NXTMP           1
    GUMHT  NXTMP           1
    SHIPS  NXTMP           1
    USAWW  NXTMP           1
    USARB  NXTMP           1
    MEXTL  NXTMP           1
    MEXMS  NXTMP           1
    JAMDC  NXTMP           1
    FRAF4  NXTMP           1
    VGBCC  NXTMP           1
    CUB01  NXTMP           1
    DOM01  NXTMP           1
    TTODL  NXTMP           1
    AZEAC  NXTMP           1
    AZEBC  NXTMP           1
    AZEAF  NXTMP           1
    KAZKT  NXTMP           1
    KAZKZ  NXTMP           1
    KAZ77  NXTMP           1
    INDA9  NXTMP           1
    INDBL  NXTMP           1
    INDF1  NXTMP           1
    INDAT  NXTMP           1
    INDE1  NXTMP           1
    INDHM  NXTMP           1
    INDCC  NXTMP           1
    INDMT  NXTMP           1
    INDSC  NXTMP           1
    INDRC  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    TWNTG  NXTMP           1
    BGDBL  NXTMP           1
    BGDWT  NXTMP           1
    MDV01  NXTMP           1
    MDVWM  NXTMP           1
    MYSBC  NXTMP           1
    MYSMI  NXTMP           1
    AUSTA  NXTMP           1
    AUSOP  NXTMP           1
    IDNLT  NXTMP           1
    IDNTS  NXTMP           1
    IDN89  NXTMP           1
    PHLGT  NXTMP           1
    PHLSR  NXTMP           1
    PHLDG  NXTMP           1
    THAWP  NXTMP           1
    THACO  NXTMP           1
    BRNBR  NXTMP           1
    EGYMS  NXTMP           1
    EGYEM  NXTMP           1
    DZAA1  NXTMP           1
    DZAOT  NXTMP           1
    DZAWT  NXTMP           1
    MARM1  NXTMP           1
    TUNTA  NXTMP           1
    LBY01  NXTMP           1
    GMBAC  NXTMP           1
    MLI02  NXTMP           1
    NERCT  NXTMP           1
    BENSP  NXTMP           1
    MUSEM  NXTMP           1
    LBR07  NXTMP           1
    SLECT  NXTMP           1
    GHAGT  NXTMP           1
    NGAET  NXTMP           1
    NGAMN  NXTMP           1
    CODVC  NXTMP           1
    CODCT  NXTMP           1
    AGOUT  NXTMP           1
    SUDMO  NXTMP           1
    SDNBT  NXTMP           1
    ETH01  NXTMP           1
    TZAMB  NXTMP           1
    UGAWT  NXTMP           1
    MOZ01  NXTMP           1
    MOZVC  NXTMP           1
    MDGCO  NXTMP           1
    MDGAN  NXTMP           1
    ZAFCC  NXTMP           1
    ZAFMN  NXTMP           1
    GTMSC  NXTMP           1
    SLVTP  NXTMP           1
    HNDME  NXTMP           1
    NICEN  NXTMP           1
    CRICR  NXTMP           1
    PANCW  NXTMP           1
    PANMS  NXTMP           1
    PERTM  NXTMP           1
    ARGCM  NXTMP           1
    ARGTP  NXTMP           1
    BRARN  NXTMP           1
    BRASP  NXTMP           1
    BRACS  NXTMP           1
    BRACL  NXTMP           1
    BRAV2  NXTMP           1
    BRAV1  NXTMP           1
    BRAV3  NXTMP           1
    BRATC  NXTMP           1
    CHLMV  NXTMP           1
    CHLSM  NXTMP           1
    COLCM  NXTMP           1
    GUYUM  NXTMP           1
    ECUPG  NXTMP           1
    PRYHT  NXTMP           1
    PRYNP  NXTMP           1
    URYAM  NXTMP           1
    ARETH  NXTMP           1
    NORMC  NXTMP           1
    NORAM  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    UKRAS  NXTMP           1
    641 rows selected.
    Elapsed: 00:00:01.15
    Execution Plan
    Plan hash value: 3612307998
    | Id  | Operation          | Name                           | Rows  | Bytes | Co
    st (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |                                |   641 |  2539K|
      9  (12)| 00:00:01 |
    |*  1 |  HASH JOIN         |                                |   641 |  2539K|
      9  (12)| 00:00:01 |
    |*  2 |   TABLE ACCESS FULL| RTDR_TABLE                     |     1 |  2045 |
      3   (0)| 00:00:01 |
    |   3 |   TABLE ACCESS FULL| SYS_NTeF0jsoIcQsOueVI+sFGk0g== |   641 |  1259K|
      5   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - access("SYS_ALIAS_0"."NESTED_TABLE_ID"="RTDR_TABLE"."SYS_NC0002300024$")
       2 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype('<privilege
                  xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.
    w3.org/2001/XMLSchema-insta
                  nce" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
                  http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xd
    b/dav.xsd"><read-properties
                  /><read-contents/></privilege>'))=1)
    Note
       - dynamic sampling used for this statement (level=2)
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64
    bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    C:\xdb\customers\Mapeley>

  • Xpath in BPEL: How to extract from message type to string

    Hi all,
    I am currently trying to extract all content from a special message type to a string. The special message is really just simple XML.
    However, I wish to convert the special domain specific message to a string to send to another partnerlink.
    I figured that it would be a simple matter of using an assign / copy operation using the special message and the ora:getContentAsString function.
    This does not work :-(
    I get the following error in the domain log:
    ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:getContentAsString(bpws:getVariableData('businessEventBody'))", the reason is FOTY0001: type error.
    Please verify the xpath query.
    Does anyone have any ideas on how to solve this?
    Regards,
    Aagaard

    <p>
    Hi,
    </p>
    <p>
    Let me explain the scenerio:
    </p>
    <p>
    I XSD I have is:
    </p>
    <p>
    &lt;xs:schema xmlns:xs="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>"
    targetNamespace="**************"
    &lt;xs:element name="OrdDesc"&gt;
    &lt;xs:complexType&gt;
    &lt;xs:sequence&gt;
    &lt;xs:element name="ord" type="number10" /&gt;
    &lt;xs:element name="ord_name" type="varchar2150" /&gt;
    &lt;xs:element name=ord_add1" type="varchar2240" minOccurs="0" /&gt;<br /><br /> &lt;xs:element name="ord_add2" type="varchar2240" minOccurs="0" /&gt;<br /><br /> &lt;xs:element name="ord_city" type="varchar2120" minOccurs="0" /&gt;<br /><br /> &lt;xs:element name="county" type="varchar2250" minOccurs="0" /&gt;<br /><br /> &lt;/xs:sequence&gt;<br /><br /> &lt;/xs:complexType&gt;<br /><br /> &lt;/xs:element&gt;<br /><br />&lt;/xs:schema&gt;<br /></p><br /><p><br /><br /><br />The runtime XML I would get:<br /></p><br /><p><br /><br /><br />&lt;?xml version="1.0" encoding="UTF-8" ?&gt;<br /><br />&lt;Messages&gt;<br /><br /> &lt;Message&gt;<br /><br /> &lt;family&gt;New&lt;/family&gt;<br /><br /> &lt;type&gt;OrderCreate&lt;/type&gt;<br /><br /> &lt;id&gt;22&lt;/id&gt;<br /><br /> &lt;messageID/&gt;<br /><br /> &lt;routingInfo/&gt;<br /><br /> &lt;messageData&gt;&lt;![CDATA[&lt;!DOCTYPE *************"&gt;<br /><br /> &lt;OrdDesc&gt;<br /><br />  &lt;ord&gt;22&lt;/wh&gt;<br /><br />  &lt;ord_name&gt;Ord1&lt;/wh_name&gt;<br /><br />  &lt;ord_add1&gt;Park Avenue&lt;/wh_add1&gt;<br /><br />  &lt;ord_add2/&gt;<br /><br />  &lt;ord_city&gt;XYZ&lt;/wh_city&gt;<br /><br />  &lt;county/&gt;<br /><br /> &lt;/OrdDesc&gt;]]&gt;&lt;/messageData&gt;<br /><br /> &lt;/Message&gt;<br /><br /> &lt;Message&gt;<br /><br /> &lt;family&gt;New&lt;/family&gt;<br /><br /> &lt;type&gt;OrderMod&lt;/type&gt;<br /><br /> &lt;id&gt;22&lt;/id&gt;<br /><br /> &lt;messageID/&gt;<br /><br /> &lt;routingInfo/&gt;<br /><br /> &lt;messageData&gt;&lt;![CDATA[&lt;!DOCTYPE *************"&gt;<br /><br /> &lt;OrdDesc&gt;<br /><br />  &lt;ord&gt;22&lt;/wh&gt;<br /><br />  &lt;ord_name&gt;Ord1&lt;/wh_name&gt;<br /><br />  &lt;ord_add1&gt;Park Avenue&lt;/wh_add1&gt;<br /><br />  &lt;ord_add2/&gt;<br /><br />  &lt;ord_city&gt;XYZ&lt;/wh_city&gt;<br /><br />  &lt;county/&gt;<br /><br /> &lt;/OrdDesc&gt;]]&gt;&lt;/messageData&gt;<br /><br /> &lt;/Message&gt;<br /><br />&lt;/Messages&gt;<br /></p><br /><p><br /><br /><br />Now, the Msg type(&lt;type&gt;OrderCreate&lt;/type&gt;) I am referring to is not the part of XSD, it gets generated at the time message is created. That's why I don't see that tag in the payload. Payload shows the elements of XSD. <br /></p><br /><p><br /><br /><br /><br /><br />Please help.<br /></p>

  • How to extract from dll

    I have created a dll file and i have stored an image file in it. I want to extract it i mean i want to use it in my program now what should i do to extract that image file from dll.

    I have created a dll file and i have stored an image file in it. Why?
    I want to extract it i mean i want to use
    it in my program now what should i do to extract that
    image file from dll.How would you normally extract an imagine from a dll. If you don't know, I suggest you not put it in the dll.

  • How to extract from a string ?

    Hello , I have this string and I need to extract 4 parts (in bold) from the string , my string is :
    '(invoice) dear client : tom cruise you Buy *408* from MENA.CA @ *6.93* 01/10/09 watheeqa'
    What is the best technique to do that?
    Thanks

    Hi,
    oais wrote:
    Hello , I have this string and I need to extract 4 parts (in bold) from the string , my string is :
    '(invoice) dear client : tom cruise you Buy *408* from MENA.CA @ *6.93* 01/10/09 watheeqa'
    What is the best technique to do that?
    ThanksThat depends on how you know the 4 parts are what you showed, and not
    '<b>(invoice) dear client: tom</b> cruise you Buy 408 from MENA.CA @ 6.93 01/10/09 watheeqa'
    or
    '<b>(invoice)</b> dear client: <b>tom cruise</b> you Buy 408 from MENA.CA <b>@</b> 6.93 01/10/09 <b>watheeqa</b>?'
    or
    '(invoice) dear client: <b>tom cruise</b> you Buy 408 from MENA.CA @ 6.93 <b>01/10/09 watheeqa</b>'
    Will there always be exactly four parts you need to pick?

  • Not in not taking effect - extracting from xmltype

    select distinct type,TO_CHAR(t1.add_dt,'DD-MON-YY') add_date ,
    TO_CHAR(l2.e_dt,'DD-MON-YY') e_date,name, d.d_nm
    from table1 t1 , table3 d,table2 t2 ,
    select distinct
    f.xmlcol.extract('//fDef/ns1:vD/ns1:vDesc/ns1:dName/text()','xmlns:ns1="http://abc.def.org/"').getStringVal() info
    from ftable f
    ) f_d,
    select distinct
    b.xmlcol.extract('//benchmarkRuleDef/ns1:dName/text()','xmlns:ns1="http://abc.def.org/"').getStringVal() info
    from btable b
    ) b_d
    where
    t2.id = t1.id
    and to_char(t1.id) =(d.xmlcol.extract('//c/R/val/text()').getStringVal())
    and d.d_nm NOT In (f_d.info)
    and d.d_nm NOT In (b_d.info)
    However, the last 2 lines are not taking effect. Example, I get 30 as info from query f_d. But in the end I have the condition and d.d_nm NOT In (f_d.info)
    - it still shows the record. Not In is not taking effect. Not sure what am i doing wrong here. Any help appreciated.

    Yes.
    If the query in that form doesn't return any rows then start disassembling the SQL to see where rows are being dropped/filtered at. Is q1 and q2 returning what you think? How's that compare to d.d_nm? Is the outer select/from finding the rows you want found? Is your d.xmlcol.extract('//c/R/val/text()').getStringVal()) returning what you think it should (put it as a column in the SELECT statement)?
    Without knowing more about your tables and data, that's the best I can offer. Start simplifying your SQL to see where if filters out the data you expect to see.

  • How to extract from the exception the reason for the failure

    I have a method that executes an sql update and fails.
    The description of the failure is:
    com.ibm.websphere.ce.cm.DuplicateKeyException: One or more values in the INSERT statement, UPDATE statement, or foreign key update caused by a DELETE statement are not valid because the primary key, unique constraint or unique index identified by "1" constrains table "XXX" from having duplicate rows for those columns.
    I didn't find a way of extracting the type of the exception (if there's one).
    I want to be able to assess the exception and to return a specific error message with
    the specific error explained.
    thanks
    Itamar

    One can alway catch the exceptions (java.sql.SQLException) and call its getErrorCode() method,
    but getMessage or getLocalizedMessage are fine also.
    In your case you have primary fields or indexes that require uniqueness of some fields across records.
    For instance if you have a composed primary key id+language and forget to INSERT the language.
    Off course you find the spot in the code by:
    try {
    } catch (....Exception e) {
        e.printStackTrace();
    }Another preventive way is to use PreparedStatements.

  • How to extract from string

    I know I have done this in CVI before..
    I just can't remember how I did it.. 
    (braindead today???!!!???)
    Here goes:
    Take a string:
    "Mary had a little lamb"
    FindPattern "little"
    resulting string:  ""Mary had a lamb"
    What I have works up to finding the pattern and it's location.
    -sigh-
    I know I'll kick myself because from what I recall, it's a very simple solution... I just can't think of it..
    And I vaguely remember the function name that I used...
    R
    Solved!
    Go to Solution.

    Thanks,
    I should have mentionned that the token in this case is a backspace '\b' character.
    The idea is to remove all backspace characters and the character preceding it.
    R
    Here's a sample of the data:
    [Counting] erozurozefozerczeroberozurozefozerczerobNumber of test Errors: 0

  • How to extract from YonYuu(u7528u53CB) U8 to BW

    Hi Chinese friends,
    I am now engaged in global DWH (BW) project in which data are gathered from branches in the world. One of the branches uses YonYuu(用友) as their system.
    what is the best way to extract data from YonYuu?
    it uses general DB like oracle, mssql so that I guess it is possible to extract directly from the DB. but I am not sure if it is practically very difficult becuase the modeling of yonyuu(ERP-U8) is too difficult.
    The data sources to be extracted is GL (hopefully like EC-PCA in SAP), order/back order, stock, purchase..
    I guess it is very general case to extract data from YonYuu ERP-U8 in China. So I hope if you share your experience in this case.
    Kind regards,
    Makoon

    If it uses general DBs like Oracle and MSS, then you should be able to connect via DB Connect.  If the data model is relational and you need to gather information from many tables, it may make sense to do some modeling on the source database.  For example, you can join tables via views and create the datasource from the view instead of the tables directly.  In any case, most of the time you have to wrap table in a view due to table/field name restrictions when using DB Connect.
    Regards,
    Mark

  • Variation of NthLargest - how to extract from a different field

    Relative beginner with Crystal and 1st post here - please excuse if answer obvious:
    I have 2 tables, one with static data describing contractors, the other with a table of rate history. So multiple rows per user, each with a  start date and the corresponding rate.
    I can extract the whole history easily enough but if I want to just show the most recent rate I have a problem:
    For the most recent start date I can create a field and use the formula NthLargest (1, {rates.startdate} )
    But for the corresponding rate, what do I do?
    Mike

    Group your data by contractor and sort start date descending.
    Place all your detail records in group footer and suppress details and group header
    Ian

  • 2LIS_05_Q0TASK, or how to extract from a new table

    Hi All,
    I would like to enhance the Quality Management (in Lo Cockpit) extractors with own data. I have standard table appends and an own table which represent a sublevel of the task table QMSM. The appends are ok, I can enhance the standard extractors. But how can I use my new table in the BI?
    The key of the new table is this:
    MANDT
    QMNUM
    MANUM
    OUTCM  (char10)
    CODE    (char10)
    Please help.

    Hello Laszlo,
    If I would have understood your question,
    Once you are done with the datasource enhancement you have to replicate the same into BW side and you have to map the new fields to Comm Stru and finally your data target (InfoCube / ODS)
    Thanks
    Chandran

  • Extraction from SAP R/3

    Hi Experts,
    I am currently working on a POC for a client that requires that we show them how to extract from SAPR3 using their own Structure.
    I have  a list of Entities that I need to enter into the Hierarchies tables: Setnode and Setleaf, CSKS/CSKT for these Entities. The kind of guidance that I would need is once I'm logged on to R3, what screens would I need to know where  to enter this particular information?
    Any useful answer will be rewarded with suitable points.
    Thanks in advance!

    Hi Experts,
    I am currently working on a POC for a client that requires that we show them how to extract from SAPR3 using their own Structure.
    I have  a list of Entities that I need to enter into the Hierarchies tables: Setnode and Setleaf, CSKS/CSKT for these Entities. The kind of guidance that I would need is once I'm logged on to R3, what screens would I need to know where  to enter this particular information?
    Any useful answer will be rewarded with suitable points.
    Thanks in advance!

Maybe you are looking for