Loading Oracle Schema into XML Schema format
Hello,
I'd like to load the Oracle schema information (tables/views, columns, and constraints) into XML Schema format, then read in the XML Schema information to instantiate objects which will be used to build adhoc/dynamic queries. I have the dynamic query part working, but it was not clear to me how to convert the Oracle schema to XML Schema then XML Schema to custom objects. Does anyone have experience with this or ideas as to how to go about this?
Thanks,
Use the Oracle WebRowSet. The WebRowSet interface extends the RowSet interface and is the XML document representation of a RowSet object. A WebRowSet object represents a set of fetched database table rows, including the database metadata, which may be modified without being connected to the database.
http://www.oracle.com/technology/sample_code/tutorials/jdbc10g/webrowset/files/WebRowset.pdf
Refer chapter 10.
http://www.packtpub.com/j2ee-development-with-oracle-jdeveloper-jdbc-4.0/book
Ouput including medata as XML document:
http://www.java2s.com/Code/Java/Database-SQL-JDBC/OutputWebRowSetinXML.htm
Similar Messages
-
Tool or mechanism to put the Oracle metadata into XML format
Hi,
Is there any tool or mechanism provided by Oracle to put the Oracle metadata into XML format?I mean metadata here represents Database objects like Tables, Columns, Schemas, stored procedures, Table spaces etc.
Regards,
DayakarFrom 9i and onwards, the dbms_metadata package will do this.
Either use the documentation or Morgan's library [http://www.psoug.org/reference] for further info
Sybrand Bakker
Senior Oracle DBA -
Outbound oracle data into xml file
Hi Odie,
Your previous inputs for xml inbound was working fine, in the similar way now I need outbound the oracle apps data into .xml file format. For that I've written one sample script like this. I thought of making use of the utl_file option in Oracle apps.
declare
l_log_handle UTL_FILE.FILE_TYPE;
l_log_name varchar2(50);
l_path_2 varchar2(40);
l_global_file varchar2(50);
l_time number:=1;
cursor cur1 is
select xmltype(cursor(select * from fnd_menus where rownum <101)) a from dual;
--select menu_id from fnd_menus where rownum<100;
begin
BEGIN
SELECT DECODE (INSTR (VALUE, ','),
0, VALUE,
SUBSTR (VALUE, 1, (INSTR (VALUE, ',', 1)) - 1)
INTO l_path_2
FROM v$parameter
WHERE NAME = 'utl_file_dir';
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('Error while getting Unix Path ' || SQLERRM);
END;
l_log_name := 'XGBIZ_'||TO_CHAR (SYSDATE, 'YYMMDD')||l_time;
l_log_name := CONCAT(l_log_name,'.xml');
l_global_file := l_log_name;
l_log_handle := UTL_FILE.FOPEN(l_path_2,l_log_name,'W');
for cur2 in cur1 loop
UTL_FILE.PUT_LINE(l_log_handle, cur2);
end loop;
utl_file.fclose_all;
EXCEPTION
WHEN UTL_FILE.INVALID_OPERATION THEN
dbms_output.put_line('Invalid Operation For '|| l_global_file);
UTL_FILE.FCLOSE_ALL;
WHEN UTL_FILE.INVALID_PATH THEN
dbms_output.put_line('Invalid Path For '|| l_global_file);
UTL_FILE.FCLOSE_ALL;
WHEN UTL_FILE.INVALID_MODE THEN
dbms_output.put_line('Invalid Mode For '|| l_global_file);
UTL_FILE.FCLOSE_ALL;
WHEN UTL_FILE.INVALID_FILEHANDLE THEN
dbms_output.put_line('Invalid File Handle '|| l_global_file);
UTL_FILE.FCLOSE_ALL;
WHEN UTL_FILE.WRITE_ERROR THEN
dbms_output.put_line('Invalid Write Error '|| l_global_file);
UTL_FILE.FCLOSE_ALL;
WHEN UTL_FILE.READ_ERROR THEN
dbms_output.put_line('Invalid Read Error '|| l_global_file);
UTL_FILE.FCLOSE_ALL;
WHEN UTL_FILE.INTERNAL_ERROR THEN
dbms_output.put_line('Internal Error');
UTL_FILE.FCLOSE_ALL;
WHEN OTHERS THEN
dbms_output.put_line('Other Error '||'SQL CODE: '||SQLCODE||' Messg: '||SQLERRM);
UTL_FILE.FCLOSE_ALL;
end;
when running this script I am getting error
ERROR at line 30:
ORA-06550: line 30, column 2:
PLS-00306: wrong number or types of arguments in call to 'PUT_LINE'
ORA-06550: line 30, column 2:
PL/SQL: Statement ignored
if in the cursor declaration happen to use 'select menu_id from fnd_menus ' a plain record then it is successfully creating.
If tried again revert to actual select statement ' select xmltype(cursor(select * from fnd_menus where rownum <101)) a from dual'
then its erring out as above said.
Please give me your valuable inputs in this regard.
Thanks & Regards
NagendraHi,
There are multiple ways to generate XML documents from relational data.
Here are some :
-- SQL/XML functions : XMLElement, XMLAgg, XMLAttributes etc.
-- DBMS_XMLGEN package
select dbms_xmlgen.getXML('SELECT * FROM scott.emp')
from dual;-- XMLType constructor over a REF CURSOR (the one you chose)
select xmlserialize(document
xmltype(
cursor(
select *
from scott.emp
as clob
from dual;-- From a DBUriType
select xmlserialize(document
dburitype('/SCOTT/EMP').getXML()
as clob
from dual;-- From XQuery using ora:view function
select xmlserialize(document
xmlquery('<ROWSET>{ora:view("SCOTT","EMP")}</ROWSET>' returning content)
as clob indent size = 1
from dual;If a column is NULL in the result set, those methods (except XMLElement) won't create the corresponding element.
There's an option available for the XQuery method, but only in version 11.2.
So if you want to output empty elements, you'll have to use DBMS_XMLGEN with setNullHandling method :
DECLARE
ctx DBMS_XMLGEN.ctxHandle;
v_out CLOB;
rc SYS_REFCURSOR;
BEGIN
OPEN rc FOR
SELECT *
FROM scott.emp
ctx := DBMS_XMLGEN.newContext(rc);
DBMS_XMLGEN.setNullHandling(ctx, DBMS_XMLGEN.EMPTY_TAG);
v_out := DBMS_XMLGEN.getXML(ctx);
DBMS_XMLGEN.closeContext(ctx);
CLOSE rc;
DBMS_XSLPROCESSOR.clob2file(v_out, 'TEST_DIR', 'test_out.xml');
END;
I thought of making use of the utl_file option in Oracle apps.You could, but you might find DBMS_XSLPROCESSOR.clob2file procedure more convenient for that (see above).
All you have to do is serializing the XML in a CLOB variable, and call the procedure.
WHERE NAME = 'utl_file_dir';The "utl_file_dir" init. parameter is deprecated since 10g, use directory objects instead. -
How to load oracle data into SQL SERVER 2000?
how to load oracle data into SQL SERVER 2000.
IS THERE ANY UTILITY AVAILABLE?Not a concern for an Oracle forum.
Als no need for SHOUTING.
Conventional solutions are
- dump the data to a csv file and load it in Mickeysoft SQL server
- use Oracle Heterogeneous services
- use Mickeysoft DTS
Whatever you prefer.
Sybrand Bakker
Senior Oracle DBA -
Load Clob datatype into xml db
Hi All,
Please can I know how to load clob datatype in xml database.
In Oracle Data Integrator mapping, my source is clob column and target is xml db.
I get error “incompatible data type in conversion”.
Please can I get some help in resolving the issue.
Thanks.Also tried
http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/t_xml.htm
getStringVal funtion
but it cannot handle more than 4000 characters.
Please can I know how to map clob source to xml db in ODI -
How to SaveAs the MSword file into xml file format using Java APIS?
Hello all,
I want to convert MSword file into Xml format using java APIS or any other inbuilt APIS that i can integrate in Java code.Sorry, that doesn't make much sense.
The XML you gave is a configuration file for txt2xml utility. It doesn't represent the output format.
Are you a user of this utility? -
How to conver the oracle data into xml files
Hi All,
I have a table for ex emp, now i want to generate every row into an xml file. could anyone pls help...
ex:- emp table
eno ename sal
1 bond 3000
2 kiran 2000
3 jai 1000
4 henry 500
o/p :- i have to get a column in 4 different files for this 4 rows.
1.xml file should contain data <ID>1</ID><eNAME>bond</eNAME><sal>3000</sal>
2.xml file should contain data <ID>2</ID><eNAME>kiran</eNAME><sal>2000</sal>
3.xml file should contain data <ID>3</ID><eNAME>jai</eNAME><sal>1000</sal>
4.xml file should contain data <ID>1</ID><eNAME>bond</eNAME><sal>500</sal>
regards,
Badri.You can do it like this :
begin
for r in (
select empno
, xmlserialize(content xmlforest(empno as "ID", ename, sal)) as xmlcontent
from scott.emp
loop
dbms_xslprocessor.clob2file(r.xmlcontent, 'TEST_DIR', to_char(r.empno) || '.xml');
end loop;
end; -
How to convert text file into xml file format with and check that with DTD
I have an text file with | seperator . I have to convert this to an xml file and check with DTD present with me..
plz help me outcan i get some code that how to compare the xml with dtd or just give the DTD name with an XML
-
How to transfer Oracle table into XML?
Hello all,
Can anyone give some inputs on this issue of transferring the Oracel table/database in XML?
Thanks in advance
Himanshustart with select xmlElement((xmlforest()) from your tables. The docs have detailed explanations on these and other xml functions and packages.
ben -
Error while loading valid, schema-related document into xdb
Hi Mark.
I tried to load other xml documents (ftp://ftp.tigr.org/pub/data/a_thaliana/ath1/PSEUDOCHROMOSOMES/) into the xdb.
The documents are related to the same schema as the documents i used until now.
I had to change the schema a bit. Three elements (protein_sequence, cds_sequence, transcript_sequence) are now stored as CLOB instead of VARCHAR2.
My first idea was, that the new documents are not valid, but they are.
The old documents still work. I get an ORA-00600 everytime.
I tried to get some information from the trace file but this did not help really.
I don't believe this will help you but i post it anyway:
Dump file d:\oracle\admin\pdw\udump\pdw_s000_6388.trc
Mon Jan 02 09:21:36 2006
ORACLE V9.2.0.7.0 - Production vsnsta=0
vsnsql=12 vsnxtr=3
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Instance name: pdw
Redo thread mounted by this instance: 1
Oracle process number: 10
Windows thread id: 6388, image: ORACLE.EXE
*** 2006-01-02 09:21:36.218
*** SESSION ID:(23.9078) 2006-01-02 09:21:36.187
QMHD escaped text too long: dstlen=0 dstbuf=/
QMHD escaped text too long: dstlen=0 dstbuf=home
QMHD escaped text too long: dstlen=0 dstbuf=public
QMHD escaped text too long: dstlen=0 dstbuf=sys
QMHD escaped text too long: dstlen=0 dstbuf=xdbconfig.xml
QMHD escaped text too long: dstlen=0 dstbuf=/
QMHD escaped text too long: dstlen=0 dstbuf=home
QMHD escaped text too long: dstlen=0 dstbuf=public
QMHD escaped text too long: dstlen=0 dstbuf=sys
QMHD escaped text too long: dstlen=0 dstbuf=xdbconfig.xml
QMHD escaped text too long: dstlen=0 dstbuf=home
QMHD escaped text too long: dstlen=0 dstbuf=RSCHULZE
QMHD escaped text too long: dstlen=0 dstbuf=PDV70
QMHD escaped text too long: dstlen=0 dstbuf=SCOTT
QMHD escaped text too long: dstlen=0 dstbuf=SCOTT1
QMHD escaped text too long: dstlen=0 dstbuf=SCOTT2
QMHD escaped text too long: dstlen=0 dstbuf=hbachman
QMHD escaped text too long: dstlen=0 dstbuf=pdw_biowh31
QMHD escaped text too long: dstlen=0 dstbuf=pdw_stage
QMHD escaped text too long: dstlen=0 dstbuf=pdw_tigr_chromosome
QMHD escaped text too long: dstlen=0 dstbuf=uniprot
QMHD escaped text too long: dstlen=0 dstbuf=pdw_tigr_chromosome
QMHD escaped text too long: dstlen=0 dstbuf=data
QMHD escaped text too long: dstlen=0 dstbuf=xsd
QMHD escaped text too long: dstlen=0 dstbuf=data
QMHD escaped text too long: dstlen=0 dstbuf=seq1.txt
QMHD escaped text too long: dstlen=0 dstbuf=seq2.txt
QMHD escaped text too long: dstlen=0 dstbuf=seq3.txt
QMHD escaped text too long: dstlen=0 dstbuf=seq4.txt
QMHD escaped text too long: dstlen=0 dstbuf=seq5.txt
*** 2006-01-02 09:36:57.421
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [kokbgcip1], [196609], [63], [], [], [], [], []
Current SQL statement for this session:
INSERT /*+ NO_REF_CASCADE */ INTO "PDW_TIGR_CHROMOSOME"."SYS_NT0upV7+xbRnu3KquZIaRFgQ=="("NESTED_TABLE_ID","ARRAY_INDEX","SYS_NC_ROWINFO$") VALUES(:1,:2,:3)
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
ksedmp+327 CALLrel ksedst+0
ksfdmp.108+14 CALLrel ksedmp+0 3
_kgerinv+131 CALLreg 00000000 D3E4368 3
kgeasnmierr+19 CALLrel kgerinv+0 D3E4368 4BE2A94 1AF86D4 2
4B56B40
kokbgcip+343 CALLrel kgeasnmierr+0 D3E4368 4BE2A94 1AF86D4 2 4
30001 4 3F
qerocImageIterStar CALLrel kokbgcip+0
t+160
qerocStart+265 CALLrel qerocImageIterStar 237701B4 D3E41E0
t+0
_kokbint+242 CALL??? 00000000 81DFD20 1
kokbeva+338 CALLrel kokbint+0 237700B8 237700FC
..1.42_2.filter.9+1 CALLreg 00000000 D3E41E0
101
insolev.73+164 CALLrel evaopn2+0 237700B8
insbrp.73+1558 CALLrel insolev.73+0 2374A8B4 81DDFF8 1
insrow+173 CALLrel insbrp.73+0
insdrv.73+1302 CALLrel insrow+0 81DDFF8 4B584E4 0
..1.6_1.filter.73+2 CALLrel _insdrv.73+0 81DDFF8
28
..1.5_2.except.29+1 CALLrel _insexe+0 2374A8B4 4B58730
6740
..1.2_1.filter.25+3 CALLrel _opiexe+0 4 3 4B58B24
347
opikpr+512 CALLrel opiall0+0 65 22 4B58D20 0 0 4B58DB8 9C
20 0 0 0 0 0
..1.1_1.filter.34+1 CALLreg 00000000 65 14 4B59980
356
rpidrus.43+167 CALLrel opiodr+0 65 14 4B59980 0
_skgmstack+113 CALLreg 00000000 4B590A0
rpidru+109 CALLrel skgmstack+0 4B590B8 D3E41F0 F618 59941C
4B590A0
_rpiswu2+839 CALLreg 00000000 4B59498
kprball+1537 CALLrel rpiswu2+0 1EA8DD18 102 4B59414 4
1E833D34 102 4B59414 0 59932C
5991DC 4B59498 8
kokbint+1766 CALLrel kprball+0 4B59980 500
kokbeva+338 CALLrel kokbint+0 2374E498 2374E4DC
..1.42_2.filter.9+1 CALLreg 00000000 D3E41E0
101
insolev.73+164 CALLrel evaopn2+0 2374E498
insbrp.73+1558 CALLrel insolev.73+0 25EC7468 7D0BD90 1
insrow+173 CALLrel insbrp.73+0
insdrv.73+1302 CALLrel insrow+0 7D0BD90 4B5AD78 0
..1.6_1.filter.73+2 CALLrel _insdrv.73+0 7D0BD90
28
..1.5_2.except.29+1 CALLrel _insexe+0 25EC7468 4B5AFC4
6740
..1.2_1.filter.25+3 CALLrel _opiexe+0 4 3 4B5B3B8
347
opikpr+512 CALLrel opiall0+0 65 22 4B5B5B4 0 0 4B5B64C 77
20 0 0 0 0 0
..1.1_1.filter.34+1 CALLreg 00000000 65 14 4B5BE70
356
rpidrus.43+167 CALLrel opiodr+0 65 14 4B5BE70 0
_skgmstack+113 CALLreg 00000000 4B5B934
rpidru+109 CALLrel skgmstack+0 4B5B94C D3E41F0 F618 59941C
4B5B934
_rpiswu2+839 CALLreg 00000000 4B5BD2C
kprball+1537 CALLrel rpiswu2+0 1EA8DD18 102 1EA891BC 4
1E833D34 102 1EA8923C 0
59932C 5991DC 4B5BD2C 9
qmskInsertXmlType+ CALLrel kprball+0 4B5BE70 180
1203
qmskStoreXobWithIm CALLrel qmskInsertXmlType+
age+526 0
qmskStoreXob+16 CALLrel qmskStoreXobWithIm
age+0
qmskFlushXob+22 CALLrel qmskStoreXob+0 4BFCFCC 4BE6698 0
_qmeSaveContents+44 CALLreg 00000000
6
qmePreSave+2417 CALLrel qmeSaveContents+0 4BFE790 2 1
_qmtEventFire+259 CALLreg 00000000 D3E4368 3 4BFE8B0
qmxiWriteXobToImag CALLrel qmtEventFire+0 D3E4368 3 4BFE8B0
eInternal+60
qmxiWriteXobToImag CALLrel qmxiWriteXobToImag D3E4368 4B5D418 0 4BFE8B0
eWithHeap+82 eInternal+0 700ECBC 4B5D398 4B5D364
4B5D384 60A09FC 4B5C37C 0 6
D3E4368 C 4B5D418
qmxtgGetOpqImageFr CALLrel qmxiWriteXobToImag D3E4368 4B5D418 0 4BFE8B0
omXob+430 eWithHeap+0 700ECBC 4B5D398 4B5D364
4B5D384 4B5D470 C 6 700ECF8
4B5D418
qmskStoreXobWithIm CALLrel qmxtgGetOpqImageFr
age+370 omXob+0
qmskStoreXob+16 CALLrel qmskStoreXobWithIm
age+0
qmskFlushXob+22 CALLrel qmskStoreXob+0 4BFE8B0 4BFF740 4B5D6FC
_qmeInsertResRow+22 CALLreg 00000000
5
qmeInsertRes+1831 CALLrel qmeInsertResRow+0
qmeLinkInternal+47 CALLrel qmeInsertRes+0
12
qmeCreOrBindRes+33 CALLrel qmeLinkInternal+0 4BFE790 60A5D14 1DFE0323 1D 0
1 1 0 4B5D7A0 4B5D85C 0 0
qmeCreateRes+115 CALLrel qmeCreOrBindRes+0 4BFE790 60A5D14 1DFE0304 1F
1DFE0323 1D 0 1 0 4B5D85C 0 0
4B5D85C 0
qmeuCreateOrUpdate CALLrel qmeCreateRes+0 4BFE790 1DFE0304 1F 1DFE0323
Res+2232 1D 0 0 0
qmhput+393 CALLrel _qmeuCreateOrUpdate
Res+0
_qmhProcessRequestD CALLreg 00000000 1DFE4398
ata+2576
qmpsrun+1220 CALL??? 00000000
opitsk+838 CALLrel qmps_run+0 D3E4368
opiino+698 CALLrel opitsk+0 0 0 D3EA5C8 278A650 3 0
..1.1_1.filter.34+1 CALLreg 00000000 3C 4 4B5F448
356
opirip+662 CALLrel opiodr+0 3C 4 4B5F448 0
opidrv+654 CALLrel opirip+0 32 0 0
sou2o+25 CALLrel opidrv+0
opimai+336 CALLrel sou2o+0 4B5FE1C 32 0 0
BackgroundThreadSt CALLrel opimai+0
art@4+356
77E7B385 CALLreg 00000000
--------------------- Binary Stack Dump ---------------------
========== FRAME [1] (_ksedmp+327 -> _ksedst+0) ==========
Dump of memory from 0x04B56A68 to 0x04B56AE0
4B56A60 04B56AE0 00522AC8 [.j...*R.]
4B56A70 00000000 00000000 00000000 00000000 [................]
4B56A80 FFFFFFFF 0000003F 0D3E4444 01AF86D4 [....?...DD>.....]
4B56A90 0D3E444C 04B56ADC 0283676E 0D3E4444 [LD>..j..ng..DD>.]
4B56AA0 0D3E444C 00000000 00000000 01AF86D4 [LD>.............]
4B56AB0 00000002 00000009 0D3E4368 04BE2A94 [........hC>..*..]
4B56AC0 01A89F00 0D3E41E0 04B56A74 0D3E4368 [.....A>.tj..hC>.]
4B56AD0 04B571F8 015DDE00 02775F44 FFFFFFFF [.q....].D_w.....]
========== FRAME [2] (_ksfdmp.108+14 -> _ksedmp+0) ==========
Dump of memory from 0x04B56AE0 to 0x04B56AEC
4B56AE0 04B56AEC 0078468B 00000003 [.j...Fx.....]
========== FRAME [3] (_kgerinv+131 -> 00000000) ==========
Dump of memory from 0x04B56AEC to 0x04B56B0C
4B56AE0 04B56B0C [.k..]
4B56AF0 02836849 0D3E4368 00000003 081B3444 [Ih..hC>.....D4..]
4B56B00 0D3E41E0 081B3444 081B3444 [.A>.D4..D4..]
========== FRAME [4] (_kgeasnmierr+19 -> _kgerinv+0) ==========
Dump of memory from 0x04B56B0C to 0x04B56B28I have a new problem:
Due to the changes of the schema ( transcript_sequence ... stored as clob) i got an error in a view.
ORA-00932 : incosistent datatypes
The error occurs in V007 in the following rows
extractValue(value(tu),'/TU/TRANSCRIPT_SEQUENCE'),
extractValue(value(model),'/MODEL/CDS_SEQUENCE'),
extractValue(value(model),'/MODEL/PROTEIN_SEQUENCE')
But in V005 there is no error althought there is the row extractValue(value(tu),'/TU/TRANSCRIPT_SEQUENCE'),
the views
create or replace view V007_MODEL(FEAT_NAME,
GENE_SYNONYM,
GENE_SYNONYM_SYN_TYPE,
CHROMO_LINK,
TU_DATE,
TU_COORDSET_END5,
TU_COORDSET_END3,
TRANSCRIPT_SEQUENCE,
URL,
URL_URLNAME,
CURATED,
MODEL_COMMENT,
MODEL_FEAT_NAME,
PUB_LOCUS,
CDNA_SUPPORT_ACCESSION,
CDNA_SUPPORT_ACCESSION_DBXREF,
CDNA_SUPPORT_ACCESSION_IS_FLI,
CDNA_SA_UNIQUE_TO_ISOFORM,
CDNA_SA_ANNOT_INCORP,
MODEL_GENE_SYNONYM,
MODEL_GENE_SYNONYM_SYN_TYPE,
MODEL_CHROMO_LINK,
MODEL_DATE,
MODEL_COORDSET_END5,
MODEL_COORDSET_END3,
MA_AT_METHOD,
MA_AT_ATT_SCORE,
MA_AT_ATT_SCORE_DESC)
CDS_SEQUENCE,
PROTEIN_SEQUENCE)
as
select
distinct
extractValue(value(tu) ,'/TU/FEAT_NAME'),
extractValue(value(tu_gene_synonym) ,'/GENE_SYNONYM/text()'),
extractValue(value(tu_gene_synonym) ,'/GENE_SYNONYM/@SYN_TYPE'),
extractValue(value(tu_chromo_link) ,'/CHROMO_LINK/text()'),
extractValue(value(tu) ,'/TU/DATE'),
extractValue(value(tu) ,'/TU/COORDSET/END5'),
extractValue(value(tu) ,'/TU/COORDSET/END3'),
extractValue(value(tu) ,'/TU/TRANSCRIPT_SEQUENCE'),
extractValue(value(url) ,'/URL/text()'),
extractValue(value(url) ,'/URL/@URLNAME'),
extractValue(value(model) ,'/MODEL/@CURATED'),
extractValue(value(model) ,'/MODEL/@COMMENT'),
extractValue(value(model) ,'/MODEL/FEAT_NAME'),
extractValue(value(model) ,'/MODEL/PUB_LOCUS'),
extractValue(value(accession) ,'/ACCESSION/text()'),
extractValue(value(accession) ,'/ACCESSION/@DBXREF'),
extractValue(value(accession) ,'/ACCESSION/@IS_FLI'),
extractValue(value(accession) ,'/ACCESSION/@UNIQUE_TO_ISOFORM'),
extractValue(value(accession) ,'/ACCESSION/@ANNOT_INCORP'),
extractValue(value(model_gene_synonym),'/GENE_SYNONYM/text()'),
extractValue(value(model_gene_synonym),'/GENE_SYNONYM/@SYN_TYPE'),
extractValue(value(model_chromo_link) ,'/CHROMO_LINK/text()'),
extractValue(value(model) ,'/MODEL/DATE'),
extractValue(value(model) ,'/MODEL/COORDSET/END5'),
extractValue(value(model) ,'/MODEL/COORDSET/END3'),
extractValue(value(attribute_type) ,'/ATTRIBUTE_TYPE/@METHOD'),
extractValue(value(att_score) ,'/ATT_SCORE/text()'),
extractValue(value(att_score) ,'/ATT_SCORE/@DESC')--,
extractValue(value(model) ,'/MODEL/CDS_SEQUENCE'),
extractValue(value(model) ,'/MODEL/PROTEIN_SEQUENCE')
from TIGR t,
table(xmlsequence(extract(value(t) ,'/TIGR/PSEUDOCHROMOSOME'))) p,
table(xmlsequence(extract(value(p) ,'/PSEUDOCHROMOSOME/ASSEMBLY/GENE_LIST/PROTEIN_CODING/TU'))) tu,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_SYNONYM'))) (+) tu_gene_synonym,
table(xmlsequence(extract(value(tu) ,'/TU/CHROMO_LINK'))) (+) tu_chromo_link,
table(xmlsequence(extract(value(tu) ,'/TU/URL'))) (+) url,
table(xmlsequence(extract(value(tu) ,'/TU/MODEL'))) model,
table(xmlsequence(extract(value(model) ,'/MODEL/CDNA_SUPPORT/ACCESSION'))) (+) accession,
table(xmlsequence(extract(value(model) ,'/MODEL/GENE_SYNONYM'))) (+) model_gene_synonym,
table(xmlsequence(extract(value(model) ,'/MODEL/CHROMO_LINK'))) (+) model_chromo_link,
table(xmlsequence(extract(value(model) ,'/MODEL/MODEL_ATTRIBUTE/ATTRIBUTE_TYPE'))) (+) attribute_type,
table(xmlsequence(extract(value(attribute_type),'/ATTRIBUTE_TYPE/ATT_SCORE'))) (+) att_score,
table(xmlsequence(extract(value(model) ,'/MODEL/EXON'))) exon
create or replace view V005_GENE_INFO(FEAT_NAME,
GENE_SYNONYM,
GENE_SYNONYM_SYN_TYPE,
CHROMO_LINK,
TU_DATE,
TU_COORDSET_END5,
TU_COORDSET_END3,
TRANSCRIPT_SEQUENCE,
URL,
URL_URLNAME,
LOCUS,
ALT_LOCUS,
PUB_LOCUS,
GENE_NAME,
GENE_NAME_IS_PRIMARY,
COM_NAME,
COM_NAME_CURATED,
COM_NAME_IS_PRIMARY,
GENE_INFO_COMMENT,
PUB_COMMENT,
EC_NUM,
EC_NUM_IS_PRIMARY,
GENE_SYM,
GENE_SYM_IS_PRIMARY,
IS_PSEUDOGENE,
FUNCT_ANNOT_EVIDENCE_TYPE,
FAE_ASSIGN_ACC,
FAE_ASSIGN_ACC_ASSIGN_METHOD,
GENE_INFO_DATE)
as
select
extractValue(value(tu) ,'/TU/FEAT_NAME'),
extractValue(value(gene_synonym) ,'/GENE_SYNONYM/text()'),
extractValue(value(gene_synonym) ,'/GENE_SYNONYM/@SYN_TYPE'),
extractValue(value(chromo_link) ,'/CHROMO_LINK/text()'),
extractValue(value(tu) ,'/TU/DATE'),
extractValue(value(tu) ,'/TU/COORDSET/END5'),
extractValue(value(tu) ,'/TU/COORDSET/END3'),
extractValue(value(tu) ,'/TU/TRANSCRIPT_SEQUENCE'),
extractValue(value(url) ,'/URL/text()'),
extractValue(value(url) ,'/URL/@URLNAME'),
extractValue(value(tu) ,'/TU/GENE_INFO/LOCUS'),
extractValue(value(alt_locus) ,'/ALT_LOCUS/text()'),
extractValue(value(tu) ,'/TU/GENE_INFO/PUB_LOCUS'),
extractValue(value(gene_name) ,'/GENE_NAME/text()'),
extractValue(value(gene_name) ,'/GENE_NAME/@IS_PRIMARY'),
extractValue(value(com_name) ,'/COM_NAME/text()'),
extractValue(value(com_name) ,'/COM_NAME/@CURATED'),
extractValue(value(com_name) ,'/COM_NAME/@IS_PRIMARY'),
extractValue(value(tu) ,'/TU/GENE_INFO/COMMENT'),
extractValue(value(tu) ,'/TU/GENE_INFO/PUB_COMMENT'),
extractValue(value(ec_num) ,'/EC_NUM/text()'),
extractValue(value(ec_num) ,'/EC_NUM/@IS_PRIMARY'),
extractValue(value(gene_sym) ,'/GENE_SYM/text()'),
extractValue(value(gene_sym) ,'/GENE_SYM/@IS_PRIMARY'),
extractValue(value(tu) ,'/TU/GENE_INFO/IS_PSEUDOGENE'),
extractValue(value(funct_annot_evidence),'/FUNCT_ANNOT_EVIDENCE/@TYPE'),
extractValue(value(assign_acc) ,'/ASSIGN_ACC/text()'),
extractValue(value(assign_acc) ,'/ASSIGN_ACC/@ASSIGN_METHOD'),
extractValue(value(tu) ,'/TU/GENE_INFO/DATE')
from TIGR t,
table(xmlsequence(extract(value(t) ,'/TIGR/PSEUDOCHROMOSOME'))) p,
table(xmlsequence(extract(value(p) ,'/PSEUDOCHROMOSOME/ASSEMBLY/GENE_LIST/PROTEIN_CODING/TU'))) tu,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_SYNONYM'))) (+) gene_synonym,
table(xmlsequence(extract(value(tu) ,'/TU/CHROMO_LINK'))) (+) chromo_link,
table(xmlsequence(extract(value(tu) ,'/TU/URL'))) (+) url,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_INFO/ALT_LOCUS'))) (+) alt_locus,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_INFO/GENE_NAME'))) (+) gene_name,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_INFO/COM_NAME'))) com_name,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_INFO/EC_NUM'))) (+) ec_num,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_INFO/GENE_SYM'))) (+) gene_sym,
table(xmlsequence(extract(value(tu) ,'/TU/GENE_INFO/FUNCT_ANNOT_EVIDENCE'))) (+) funct_annot_evidence,
table(xmlsequence(extract(value(funct_annot_evidence),'/FUNCT_ANNOT_EVIDENCE/ASSIGN_ACC'))) (+) assign_acc
I have a second question.
Usually I use WEBDAV or FTP to load the xml documents.
There are 5 documents for TIGR Arabidopsis. Now it works to load the documents into the xdb. I usually use WEBDAV. But when I load the first document I get an error. Nevertheless the document is shredded. Because the WEBDAV error message is not meaningful, I used PL/SQL.
I tried it like this
insert into TIGR values (xmltype(bfilename(USER,'/home/pdw_tigr_chromosome/data/CHR1.R5v01212004wos.xml'),nls_charset_id('AL32UTF8')))
( I deleted the expressions " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="tigrxml.xsd" " in the document before).
But this didn't work.
So I tried
insert into TIGR values (xmltype(xdbURIType('/home/pdw_tigr_chromosome/data/CHR1.R5v01212004wos.xml').getClob(),'tigrxml.xsd',1,1))
and it worked. But it seemed to need more time than per WEBDAV or FTP ( but probably I err ). It took 1h 48m for a 74MB file.
When I load the documents with PL/SQL the document is not shredded. At least the document has its original size when i have a look at the repository per WEBDAV and not the usual 0 bytes. But the data is correctly stored in the xmltype table TIGR
Message was edited by:
Nick_MD -
RELAX NG or Schematron schemas for Pages XML file format?
Hey, I have been following with interest for over a year - more like two years - the whole "where are the XML schemas" for Keynote 1, and then Pages and Keynote 2.
Apparently there is some difficulty obtaining them and I would guess that means defining them. Because if Apple had their hands on them, they would be out - and up to date - by now.
XML Schema (.xsd) files are pretty painful to generate. There is a much simpler and and yet even more powerful schema format called "Relax NG". Assuming someone knows what the grammar is that Pages will willingly/successfully slurp up - they could probably create a .rnc file from scratch pretty quickly. The learning curve is pretty short for basic stuff and the amount of typing required is at least 40% less than when you create a .xsd file.
Some things do not lend themselves to grammar based schemas like XSD, RNG, or RNC.
Instead, a rule based schema language works better. Schematron is very good for this. The suffix for this file type is ".sch". The web site is easy to get to - just type schematron in your web browser's address field and press enter. Specs are all there.
There is a program called Examplotron that creates a Schematron schema for you, given an XML file that is a sample. Of course, making rules from one example is not the same as knowing all the rules. The more different kinds of stuff you have in the file though, the better your chances are of getting a decent start going. Examplotron lives on the web at examplotron.org in case you are curious.
OxygenXML is a very, very good XML editor and schema development environment. I have used it and a bunch of others. It is my favorite, by far.
Someone at Apple should get on this. If it is too hard to create an XML Schema file - then please, please - try to create an RNG, RNC, or SCH file.
If Apple cannot do it, then perhaps the user community could take a crack at it. However, it is a little bit like trying to document the laws of a country by watching what the government people do, what people do who do not get arrested, and what people do who do get arrested.
You are not certain to see an example of every law being broken - for starters, so you will miss some. (One hopes you will not see every law that exists broken!)
You are also not going to be able to tell what laws have influenced behavior that is lawful.
So, for both reasons, you might unwittingly "break the laws" of this hypothetical land. In that case, you might be executed, fined, imprisoned, or as is the case still in some countries - have your hand chopped off!
In the case of feeding a file based on mistaken assuptions to Pages, it certainly will not do what you want it do do. In theory, it might even crash, lose some data, pop up an error - or worse maybe not pop up an error, or corrupt its internal structures and become unstable. Or seem to work but fail to write the whole file out again. Or write out something that it cannot read in again - or does not reconstitute into the document that you used to have.
Granted, there is a brute force technique that can be employed. You can write an AppleScript that gets pages to create a document that exercises every possible style and feature and logical ordering and nesting of things.
Then you can study the XML that generates, or even feed to to Examplotron or a DTD generator.
Doing so would probably be a way to get a good start going.
Without any schema, there is no way to know if a complex program-generated Pages document will work right with pages.
Granted, such program-generated documents can be generated with Applescripts. But if one already has some XML that one wants to blend in, for example - then it would be better to do it with XSLT. Or Java. Or whatever.
Unfortunately, you really have to know what XML is legal in pages - and you have to know the grammar or rules for what Pages expects.
So, any XSD coming from Apple in the near future - or any interest at Apple in completing a .rnc or .rng schema if it gets mostly done by customer(s) and then handed off to Apple to finish?XML converter (an add on to Inbound Refinery) could be used to display the contents with your XSLT choices but analyzing the file to prevent checkin would take data validation that would be custom. The CS does not care the file format or file type for checkin. Others have looked for analysis of file extension to stop checkin of certain extensions. This has been custom. I think there may be enhancement requests from customers for this kind of validation for the CS but it does not exist in the core yet.
-
How to convert Oracle scheme into UML
I created Oracle scheme with Toad database modeler. I'm interested how I can convert it into UML diagram? Is there any tool that can convert it?
You can use some Tools :-
1-altova
2-microsoft visio, its contain features that allow you to convert to UML -
What is the t.code for convert Idoc into XML schema
Hi all,
How to convert IDOC as XML schema?
there is one T.code is there for convert IDOC into Xml schem ,I forgot that,
plz tell me if anybody knows that t.code. Very Urgent
Thanks in Advance
rambabu.AWE60
Let me know if you need any other help with that.
Best Regards,
Steve Hardeman -
Web.xml cant load the schema
i am using servlet 2.4 and tomcat 5.5 and struts 1.2.9, wheni tried to build my application , it is not working, when the viewed the web.xml file in XML editor it is givinh "Can't Load the Schema", any help would be
greatelly appreciated..............
the web.xml file is as below
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="XMLSchema-instance.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<display-name>Rdp</display-name>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>com.rdp.util.RDServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/config/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>validate</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>programe-name</param-name>
<param-value>Rdp</param-value>
</init-param>
<init-param>
<param-name>application</param-name>
<param-value>ApplicationResources</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
</web-app>i am using servlet 2.4 and tomcat 5.5 and struts 1.2.9, wheni tried to build my application , it is not working, when the viewed the web.xml file in XML editor it is givinh "Can't Load the Schema", any help would be
greatelly appreciated..............
the web.xml file is as below
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="XMLSchema-instance.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<display-name>Rdp</display-name>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>com.rdp.util.RDServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/config/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>validate</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>programe-name</param-name>
<param-value>Rdp</param-value>
</init-param>
<init-param>
<param-name>application</param-name>
<param-value>ApplicationResources</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
</web-app> -
XSD Resolution problem - Unable to load Translation schemas
Hi,
I've run into a very strange kind of problem (not to say some are less strange then others). Let me explain the context of the situation.
I've got a BPEL process calling two plsql packages on ORA database, one Java web service running on the same weblogic server and couple of other services (eg. notification services, jdbc select/insert, etc.). There is no problem with the last listed, but definitely something wrong with the web service and the plsql callouts.
When I deploy the BPEL process and execute it, the first two instances always fail. The same happens when I restart the server, the errors are repeated after a certain period as well (for example over night). The process always fails EXACTLY TWICE, before running normally. Every other instance executed after the two initial failures runs WITHOUT the following error.
I mentioned there are two plsql callouts in the process, earlier the first instance failed on the second one and the second instance failed on the first. Now, it mostly fails on the second callout. I've made no significant changes in the code. Perhaps the strangest thing about this is that it fails when invoking the plsql package but the error concerns xsd definitions of the web service that plays no role at this stage.
All my services are correctly deployed, I deleted all interface definitions from MDS repository and redeployed SOA bundle again before installing each service.
I think it has something to do with generated xsd definitions by the java web service (it's the http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 and http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 from following stack trace), but I can't figure out what exactly is wrong with them.
Anybody come accross a similar error? Thanks for tips, I've run out of ideas.
Error Message: {http://schemas.oracle.com/bpel/extension}bindingFault
Fault ID default/S50001KontrolaSouboruBS!1.0*soa_be986963-f9d9-412d-b692-43804a35b3ee/KontrolaSouboru/830023-BpInv18-BpSeq8.12-2
Fault Time 14-Feb-2012 11:11:16
Non Recoverable System Fault :
<bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'LogFile' failed due to: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.db.DBStoredProcedureInteractionSpec due to: XSD Resolution problem. XSD Resolution problem. Unable to load Translation schemas from for http://xmlns.oracle.com/pcbpel/adapter/db/TST_IP/LOG_FILE/LOG_FILE/ due to: Different schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and oramds:/apps/LCRInterface/DataObjects/Common/V1/Common.xsd elementFormDefault values are differentDifferent schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and http://localhost:8001/soa-infra/services/default/S50035NotifikaceChybyBS/apps/LCRInterface/DataObjects/Common/V1/Common.xsd elementFormDefault values are differentDifferent schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and oramds:/apps/LCRInterface/DataObjects/Common/V1/DataTypes.xsd elementFormDefault values are differentDifferent schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and http://localhost:8001/soa-infra/services/default/S50035NotifikaceChybyBS/apps/LCRInterface/DataObjects/Common/V1/DataTypes.xsd elementFormDefault values are differentGlobal element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListByMaskRespDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 7] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 82] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:7] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:82] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 9] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 36] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:9] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:36] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}SaveFileDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 19] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 21] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:19] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:21] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListRespDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 11] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 51] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:11] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:51] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListByMaskDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 5] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 66] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:5] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:66] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetTextFileDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 13] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 112] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:13] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:112] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetTextFileRespDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 15] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 127] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:15] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:127] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}RenameFileDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 17] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 97] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:17] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:97] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListRespDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 115] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 52] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:117] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:54] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}RenameFileDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 175] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 98] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:177] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:100] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetTextFileRespDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 153] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 128] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:155] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:130] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListByMaskRespDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 64] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 83] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:66] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:85] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}SaveFileDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 93] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 22] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:95] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:24] Please make sure all used XML schemas are imported/included correctly. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>Different schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and oramds:/apps/LCRInterface/DataObjects/Common/V1/Common.xsd elementFormDefault values are differentDifferent schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and http://localhost:8001/soa-infra/services/default/S50035NotifikaceChybyBS/apps/LCRInterface/DataObjects/Common/V1/Common.xsd elementFormDefault values are differentDifferent schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and oramds:/apps/LCRInterface/DataObjects/Common/V1/DataTypes.xsd elementFormDefault values are differentDifferent schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and http://localhost:8001/soa-infra/services/default/S50035NotifikaceChybyBS/apps/LCRInterface/DataObjects/Common/V1/DataTypes.xsd elementFormDefault values are differentGlobal element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListByMaskRespDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 7] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 82] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:7] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:82] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 9] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 36] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:9] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:36] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}SaveFileDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 19] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 21] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:19] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:21] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListRespDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 11] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 51] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:11] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:51] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListByMaskDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 5] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 66] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:5] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:66] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetTextFileDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 13] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 112] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:13] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:112] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetTextFileRespDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 15] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 127] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:15] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:127] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}RenameFileDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 17] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 97] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:17] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:97] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListRespDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 115] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 52] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:117] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:54] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}RenameFileDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 175] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 98] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:177] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:100] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetTextFileRespDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 153] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 128] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:155] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:130] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListByMaskRespDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 64] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 83] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:66] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:85] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}SaveFileDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 93] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 22] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:95] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:24] </detail></part><part name="code"><code>null</code></part></bindingFault></bpelFault>I had similar issue, when i deployed composite using Jdeveloper. The problem was with my adf-config.xml pointing to dev server and all my references in my composite.xml referring to test server.
I changed property of 'oracle.mds.persistence.stores.db.DBMetadataStore' in adf-config.xml to test server. After adf-config.xml change in Jdev my compilation went smooth.
Note: If above changes doesn't work, try restarting JDeveloper, sometimes the changes in adf-config.xml is not getting effect immediately.
Regards,
Ziaur Rahuman S
Edited by: Ziaur Rahuman on Feb 13, 2013 10:58 PM
Maybe you are looking for
-
Hello, I have 2 power adapters for my ibook, the one that came with it originally & one I bought as an extra. They are both 45W apple ones. I have had problems with my ibook powering up & after replacing the dc-in board to no avail I have been told i
-
Sending components on a PM03 task for subcontracting
Hi, Is it possible to send components on a PM03 (external services) operation for subcontracting? To be more clear: we've defined the following starting scenario's: 1) send an item for an analysis - positiontype L / PM02 operation 2) send an item for
-
Macbook Memory Upgrade, can I use this memory in my Pismo or Titanium PB?
I just bought a Macbook. I love it. I ordered a 1G of ram. Can I use the 512 memory from the original configuration in my Pismo powerbook or my Titanium powerbook?
-
Repeating the output in sales order
Hi, When we create a sales order and save it , the output is issued through output type. We are now facing an issue. when we do some changes in the sales order (manually or batch job), the output is not re-triggred. how to re-trigger the output. It c
-
Invoke ODI Scenario (11g) in BPEL (11g)
Hello - I'm developing a BPEL process to load data from SQL Server to Oracle database using ODI . And after that I'm doing more orchestration in the BPEL process. I'm using 1) Oracle Data Integrator 11g (11.1.1.3) 2) Oracle SOA Suite 11g (Web Logic S