Xml file automaticaly changes in jdevloper
Hi,
Am having a big problem,what ever am creating (AM,VO,VL) its xml file changes after paticular time interval so am not able modify the components and they through error,
i want to know wheather is this a bug in oracle or some thing wrong am doiing.
Thanks
Sounds weird. Use a fresh copy of Jdev and test.
--Shiv
Similar Messages
-
Hi, All:
I wondering why the XML file size changed after go through DB using CLOB. The original size is 1KB, but after I use the PUT and GET method, the size changed to 8KB. There is a lot of space appened to the content.
Thanks a lot!Can you provide an example of the code you are using for the put / get method. In SQL*PLUS I do not see what you are talking about
SQL> create or replace directory xmltemp as 'c:\temp'
2 /
SQL> drop table xmltest
2 /
SQL> host dir c:\temp\testcase.xml
Volume in drive C has no label.
Volume Serial Number is 8CC2-E429
Directory of c:\temp
02/01/2006 04:48 AM 1,174 testcase.xml
1 File(s) 1,174 bytes
0 Dir(s) 23,780,163,584 bytes free
SQL> --
SQL> host type c:\temp\testcase.xml
<PurchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xfiles:8080/home/SCOTT/poSource/x
sd/purchaseOrder.xsd">
<Reference>EABEL-20030409123336251PDT</Reference>
<Actions>
<Action>
<User>EZLOTKEY</User>
</Action>
</Actions>
<Reject/>
<Requestor>Ellen S. Abel</Requestor>
<User>EABEL</User>
<CostCenter>R20</CostCenter>
<ShippingInstructions>
<name>Ellen S. Abel</name>
<address>300 Oracle Parkway
Redwood Shores
CA
94065
USA</address>
<telephone>650 506 7300</telephone>
</ShippingInstructions>
<SpecialInstructions>Counter to Counter</SpecialInstructions>
<LineItems>
<LineItem ItemNumber="1">
<Description>Samurai 2: Duel at Ichijoji Temple</Description>
<Part Id="37429125526" UnitPrice="29.95" Quantity="3"/>
</LineItem>
<LineItem ItemNumber="2">
<Description>The Red Shoes</Description>
<Part Id="37429128220" UnitPrice="39.95" Quantity="4"/>
</LineItem>
<LineItem ItemNumber="3">
<Description>A Night to Remember</Description>
<Part Id="715515009058" UnitPrice="39.95" Quantity="1"/>
</LineItem>
</LineItems>
</PurchaseOrder>
SQL> --
SQL> create table xmltest of xmltype
2 /
SQL> insert into xmltest values (xmltype(bfilename('XMLTEMP','testcase.xml'),nls_charset_id('AL32UTF8'),null,1,1))
2 /
SQL> commit
2 /
SQL> select dbms_lob.getLength(value(x).getClobVal())
2 from xmltest x
3 /
1193
SQL> set long 100000
SQL> set echo off
SQL> set pages 0
SQL> set lines 150
SQL> set heading off
SQL> set feedback off
SQL> set trimspool on
SQL> spool c:\temp\testcase.xml.out
SQL> --
SQL> select object_value
2 from xmltest
3 /
<PurchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xfiles:8080/home/SCOTT/poSource/x
sd/purchas
eOrder.xsd">
<Reference>EABEL-20030409123336251PDT</Reference>
<Actions>
<Action>
<User>EZLOTKEY</User>
</Action>
</Actions>
<Reject/>
<Requestor>Ellen S. Abel</Requestor>
<User>EABEL</User>
<CostCenter>R20</CostCenter>
<ShippingInstructions>
<name>Ellen S. Abel</name>
<address>300 Oracle Parkway
Redwood Shores
CA
94065
USA</address>
<telephone>650 506 7300</telephone>
</ShippingInstructions>
<SpecialInstructions>Counter to Counter</SpecialInstructions>
<LineItems>
<LineItem ItemNumber="1">
<Description>Samurai 2: Duel at Ichijoji Temple</Description>
<Part Id="37429125526" UnitPrice="29.95" Quantity="3"/>
</LineItem>
<LineItem ItemNumber="2">
<Description>The Red Shoes</Description>
<Part Id="37429128220" UnitPrice="39.95" Quantity="4"/>
</LineItem>
<LineItem ItemNumber="3">
<Description>A Night to Remember</Description>
<Part Id="715515009058" UnitPrice="39.95" Quantity="1"/>
</LineItem>
</LineItems>
</PurchaseOrder>
SQL> spool off
SQL> --
SQL> set echo on
SQL> host dir c:\temp\testcase.xml.out
Volume in drive C has no label.
Volume Serial Number is 8CC2-E429
Directory of c:\temp
06/11/2006 01:53 PM 1,313 testcase.xml.out
1 File(s) 1,313 bytes
0 Dir(s) 23,780,163,584 bytes free
SQL> --
SQL> host type c:\temp\testcase.xml.out
SQL> --
SQL> select object_value
2 from xmltest
3 /
<PurchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xfiles:8080/home/SCOTT/poSource/x
sd/purchas
eOrder.xsd">
<Reference>EABEL-20030409123336251PDT</Reference>
<Actions>
<Action>
<User>EZLOTKEY</User>
</Action>
</Actions>
<Reject/>
<Requestor>Ellen S. Abel</Requestor>
<User>EABEL</User>
<CostCenter>R20</CostCenter>
<ShippingInstructions>
<name>Ellen S. Abel</name>
<address>300 Oracle Parkway
Redwood Shores
CA
94065
USA</address>
<telephone>650 506 7300</telephone>
</ShippingInstructions>
<SpecialInstructions>Counter to Counter</SpecialInstructions>
<LineItems>
<LineItem ItemNumber="1">
<Description>Samurai 2: Duel at Ichijoji Temple</Description>
<Part Id="37429125526" UnitPrice="29.95" Quantity="3"/>
</LineItem>
<LineItem ItemNumber="2">
<Description>The Red Shoes</Description>
<Part Id="37429128220" UnitPrice="39.95" Quantity="4"/>
</LineItem>
<LineItem ItemNumber="3">
<Description>A Night to Remember</Description>
<Part Id="715515009058" UnitPrice="39.95" Quantity="1"/>
</LineItem>
</LineItems>
</PurchaseOrder>
SQL> spool off
SQL> --
SQL>
SQL>Also, if I do a WebDav or FTP put/get I do not see a problem either.
C:\TEMP>ftp
ftp> open localhost 2100
Connected to mdrake-lap.
220- mdrake-lap
Unauthorised use of this FTP server is prohibited and may be subject to civil and criminal prosecution
220 mdrake-lap FTP Server (Oracle XML DB/Oracle Database) ready.
User (mdrake-lap:(none)): scott
331 pass required for SCOTT
Password:
230 SCOTT logged in
ftp> cd /public/testdir
250 CWD Command successful
ftp> rm testcase.xml
550 /public/testdir/testcase.xml : Not a directory.
ftp> del testcase.xml
250 DELE Command successful
ftp> put testcase.xml
200 PORT Command successful
150 ASCII Data Connection
226 ASCII Transfer Complete
ftp: 1174 bytes sent in 0.02Seconds 73.38Kbytes/sec.
ftp> ls -l
200 PORT Command successful
150 ASCII Data Connection
-rw-r--r-- 1 SCOTT oracle 1174 JUN 11 11:01 testcase.xml
226 ASCII Transfer Complete
ftp: 68 bytes received in 0.01Seconds 4.53Kbytes/sec.
ftp> get testcase.xml testcase.xml.out
200 PORT Command successful
150 ASCII Data Connection
226 ASCII Transfer Complete
ftp: 1174 bytes received in 0.00Seconds 1174000.00Kbytes/sec.
ftp> !dir testcase.xml
Volume in drive C has no label.
Volume Serial Number is 8CC2-E429
Directory of C:\TEMP
02/01/2006 04:48 AM 1,174 testcase.xml
1 File(s) 1,174 bytes
0 Dir(s) 23,780,032,512 bytes free
ftp> !dir testcase.xml.out
Volume in drive C has no label.
Volume Serial Number is 8CC2-E429
Directory of C:\TEMP
06/11/2006 02:01 PM 1,174 testcase.xml.out
1 File(s) 1,174 bytes
0 Dir(s) 23,780,032,512 bytes free
ftp> quit
221 QUIT Goodbye.
C:\TEMP> -
Does web server bounce required if xml file is changes
Hi All,
A quick question. I have changed the query of a VO and it doesnt have any row or vo impl class. Only xml file is moved to server. I cant see any data. Do I have to bounce web server? If not how can I test my vo object is working file?
Thanks in advance.
HiteshPlease be more specific when you say "I have made some changes in VO object I can see those changes and I have also created custom views but I cant see values from that view".
You don't need to upload server.xml unless you have added a new VO to AM.
--Shiv -
Change query string in ireport xml file?
greetings all
iam newbie to xml
first i want to add the xml file to a packge named first,how to do that?
second i want to change the query string to be
"select * from report where month= "+textfield.getText()
here's the code:
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Created with iReport - A designer for JasperReports -->
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport
name="Untitled_report_2"
columnCount="1"
printOrder="Vertical"
orientation="Portrait"
pageWidth="595"
pageHeight="842"
columnWidth="535"
columnSpacing="0"
leftMargin="30"
rightMargin="30"
topMargin="20"
bottomMargin="20"
whenNoDataType="NoPages"
isTitleNewPage="false"
isSummaryNewPage="false">
<property name="ireport.scriptlethandling" value="0" />
<property name="ireport.encoding" value="UTF-8" />
<import value="java.util.*" />
<import value="net.sf.jasperreports.engine.*" />
<import value="net.sf.jasperreports.engine.data.*" />
<queryString><![CDATA[SELECT * FROM report]]></queryString>
<field name="category" class="java.lang.String"/>
<field name="values" class="java.lang.Integer"/>
<field name="series" class="java.lang.String"/>
<background>
<band height="0" isSplitAllowed="true" >
</band>
</background>
<title>
<band height="0" isSplitAllowed="true" >
</band>
</title>
<pageHeader>
<band height="0" isSplitAllowed="true" >
</band>
</pageHeader>
<columnHeader>
<band height="0" isSplitAllowed="true" >
</band>
</columnHeader>
<detail>
<band height="201" isSplitAllowed="true" >
<stackedBar3DChart>
<chart hyperlinkTarget="Self" >
<reportElement
x="32"
y="21"
width="394"
height="144"
key="element-1"/>
<box></box>
<chartLegend textColor="#000000" backgroundColor="#FFFFFF" >
</chartLegend>
</chart>
<categoryDataset>
<dataset >
</dataset>
<categorySeries>
<seriesExpression><![CDATA[$F{series}]]></seriesExpression>
<categoryExpression><![CDATA[$F{category}]]></categoryExpression>
<valueExpression><![CDATA[$F{values}]]></valueExpression>
<itemHyperlink >
</itemHyperlink>
</categorySeries>
</categoryDataset>
<bar3DPlot >
<plot />
<categoryAxisFormat>
<axisFormat >
</axisFormat>
</categoryAxisFormat>
<valueAxisFormat>
<axisFormat >
</axisFormat>
</valueAxisFormat>
</bar3DPlot>
</stackedBar3DChart>
</band>
</detail>
<columnFooter>
<band height="3" isSplitAllowed="true" >
</band>
</columnFooter>
<pageFooter>
<band height="0" isSplitAllowed="true" >
</band>
</pageFooter>
<summary>
<band height="0" isSplitAllowed="true" >
</band>
</summary>
</jasperReport>the xml file
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Created with iReport - A designer for JasperReports -->
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport
name="test"
columnCount="1"
printOrder="Vertical"
orientation="Portrait"
pageWidth="595"
pageHeight="842"
columnWidth="535"
columnSpacing="0"
leftMargin="30"
rightMargin="30"
topMargin="20"
bottomMargin="20"
whenNoDataType="NoPages"
isTitleNewPage="false"
isSummaryNewPage="false">
<property name="ireport.scriptlethandling" value="0" />
<property name="ireport.encoding" value="UTF-8" />
<import value="java.util.*" />
<import value="net.sf.jasperreports.engine.*" />
<import value="net.sf.jasperreports.engine.data.*" />
<queryString><![CDATA[SELECT * FROM report WHERE category BETWEEN 'week1' AND 'week4']]></queryString>
<field name="category" class="java.lang.String"/>
<field name="values" class="java.lang.Integer"/>
<field name="series" class="java.lang.String"/>
<background>
<band height="0" isSplitAllowed="true" >
</band>
</background>
<title>
<band height="50" isSplitAllowed="true" >
<staticText>
<reportElement
x="158"
y="7"
width="183"
height="37"
key="staticText-1"/>
<box></box>
<textElement>
<font size="14"/>
</textElement>
<text><![CDATA[ Report]]></text>
</staticText>
</band>
</title>
<pageHeader>
<band height="50" isSplitAllowed="true" >
</band>
</pageHeader>
<columnHeader>
<band height="30" isSplitAllowed="true" >
</band>
</columnHeader>
<detail>
<band height="4" isSplitAllowed="true" >
</band>
</detail>
<columnFooter>
<band height="2" isSplitAllowed="true" >
</band>
</columnFooter>
<pageFooter>
<band height="0" isSplitAllowed="true" >
</band>
</pageFooter>
<summary>
<band height="194" isSplitAllowed="true" >
<stackedBar3DChart>
<chart hyperlinkTarget="Self" >
<reportElement
x="49"
y="-6"
width="369"
height="200"
key="element-1"/>
<box></box>
<chartLegend textColor="#000000" backgroundColor="#FFFFFF" >
</chartLegend>
</chart>
<categoryDataset>
<dataset >
</dataset>
<categorySeries>
<seriesExpression><![CDATA[$F{series}]]></seriesExpression>
<categoryExpression><![CDATA[$F{category}]]></categoryExpression>
<valueExpression><![CDATA[$F{values}]]></valueExpression>
<itemHyperlink >
</itemHyperlink>
</categorySeries>
</categoryDataset>
<bar3DPlot >
<plot />
<categoryAxisFormat>
<axisFormat >
</axisFormat>
</categoryAxisFormat>
<valueAxisFormat>
<axisFormat >
</axisFormat>
</valueAxisFormat>
</bar3DPlot>
</stackedBar3DChart>
</band>
</summary>
</jasperReport>the java code:
import java.sql.*;
import net.sf.jasperreports.view.JasperViewer;
import net.sf.jasperreports.engine.xml.JRXmlLoader;
import net.sf.jasperreports.engine.JasperCompileManager;
import net.sf.jasperreports.engine.JasperFillManager;
import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.engine.design.JasperDesign;
import net.sf.jasperreports.engine.JasperReport;
import java.io.OutputStream;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
class ReportDriver {
public static void createAndShowGUI(){
Object[]obj={"1","2"};
JComboBox combo=new JComboBox(obj);
JFrame frame=new JFrame("Test");
JButton button=new JButton("Show Report");
frame.setLayout(new FlowLayout());
frame.setLocationRelativeTo(null);
frame.add(combo);
frame.add(button);
frame.setSize(150,100);
frame.setVisible(true);
button.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
show_report();
public static void show_report(){
try{
Class.forName("com.mysql.jdbc.Driver");
Connection c = DriverManager.getConnection("jdbc:mysql://localhost/library", "root", "");
}catch(Exception ex) {ex.printStackTrace();}
try{
JasperDesign jasperDesign = JRXmlLoader.load("F:\\Program Files\\Xinox Software\\JCreatorV4\\MyProjects\\chart2\\src\\report.xml");
JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
Connection c = DriverManager.getConnection("jdbc:mysql://localhost/library", "root", "");
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, null, c);
JasperViewer.viewReport(jasperPrint);
}catch(Exception ex) {
String connectMsg = "Could not create the report " + ex.getMessage() + " " + ex.getLocalizedMessage();
System.out.println(connectMsg);
public static void main(String[] args) {
createAndShowGUI();
}the problem is i want when the user selects 2 from the combobox and presses the button
the where clause in the xml file is changed to BETWEEN 'week5' AND 'week8',how to do that? -
Change MessageType name in xml file
Hi experts,
I have developed a receiver interface that creates an xml file and put it on an external server.
Now other side says that this tag:
<ns0:MT_MexElectronicInvoice_EDICOM xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice">
is not correct, they want another description:
<ns0:MT_MexElectronicInvoice_myFirm xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice">
My question is: is possible to change MessageType tag in xml file without changing the message type structure name in Integration Repository?
thanks
fabiouse another mapping which has the target MT as <ns0:MT_MexElectronicInvoice_myFirm xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice">
Add this mapping after the original mapping in your interface/operation mapping.
This will be the easiest way to handle this requirement as you will only need to do a one to one mapping.
Another option will be to write a java mapping to do a simple replace function for the string <ns0:MT_MexElectronicInvoice_EDICOM xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice"> to <ns0:MT_MexElectronicInvoice_myFirm xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice"> -
Can we change the web.xml file name???????
can we change the name web.xml and struts-config.xml file to other name.....if yes, then how..........
you can change the name of struts-congig.xml file
and change the strut-config file name in web.xml also.
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>And you also try rename the file web.xml and run the application and check what is happening... -
"PLS-00172: string literal too long" When Writing XML file into a Table
Hi.
I'm using DBMS_XMLStore to get a XML file into a db table. See the example below, I'm using that for my PL/SQL format. Problem is that because there're too many XML elements that I use in "xmldoc CLOB:= ...", I get "PLS-00172: string literal too long" error.
Can someone suggest a workaround?
THANKS!!!
DECLARE
insCtx DBMS_XMLStore.ctxType;
rows NUMBER;
xmldoc CLOB :=
'<ROWSET>
<ROW num="1">
<EMPNO>7369</EMPNO>
<SAL>1800</SAL>
<HIREDATE>27-AUG-1996</HIREDATE>
</ROW>
<ROW>
<EMPNO>2290</EMPNO>
<SAL>2000</SAL>
<HIREDATE>31-DEC-1992</HIREDATE>
</ROW>
</ROWSET>';
BEGIN
insCtx := DBMS_XMLStore.newContext('scott.emp'); -- get saved context
DBMS_XMLStore.clearUpdateColumnList(insCtx); -- clear the update settings
-- set the columns to be updated as a list of values
DBMS_XMLStore.setUpdateColumn(insCtx,'EMPNO');
DBMS_XMLStore.setUpdateColumn(insCtx,'SAL');
DBMS_XMLStore.setUpdatecolumn(insCtx,'HIREDATE');
-- Now insert the doc.
-- This will only insert into EMPNO, SAL and HIREDATE columns
rows := DBMS_XMLStore.insertXML(insCtx, xmlDoc);
-- Close the context
DBMS_XMLStore.closeContext(insCtx);
END;
/You ask where am getting the XML doc. Well, am not
getting the doc itself.I either don't understand or I disagree. In your sample code, you're certainly creating an XML document-- your local variable "xmldoc" is an XML document.
DBMS_XMLSTORE package needs
to know the canonical format and that's what I
hardcoded. Again, I either don't understand or I disagree... DBMS_XMLStore more or less assumes the format of the XML document itself-- there's a ROWSET tag, a ROW tag, and a then whatever column tags you'd like. You can override what tag identifies a row, but the rest is pretty much assumed. Your calls to setUpdateColumn identifies what subset of column tags in the XML document you're interested in.
Later in code I use
DBMS_XMLStore.setUpdateColumn to specify which
columns are to be inserted.Agreed.
xmldoc CLOB :=
'<ROWSET>
<ROW num="1">
<KEY_OLD> Smoker </KEY_OLD>
<KEY_NEW> 3 </KEY_NEW>
<TRANSFORM> Specified </TRANSFORM>
<KEY_OLD> Smoker </KEY_OLD>
<VALUEOLD> -1 </VALUEOLD>
EW> -1 </VALUENEW>
<DESCRIPTION> NA </DESCRIPTION>
</ROW>
ROWSET>';This is your XML document. You almost certainly want to be reading this from the file system and/or have it passed in from another procedure. If you hard-code the XML document, you're limited to a 32k string literal, which is almost certainly causing the error you were reporting initially.
As am writing this I'm realizing that I'm doing this
wrong, because I do need to read the XML file from
the filesystem (but insert the columns
selectively)...What I need to come up with is a proc
that would grab the XML file and do inserts into a
relational table. The XML file will change in the
future and that means that all my 'canonical format'
code will be broken. How do I deal with anticipated
change? Do I need to define/create an XML schema in
10g if am just inserting into one relat. table from
one XML file?What does "The XML file will change in the future" mean? Are you saying that the structure of the XML document will change? Or that the data in the XML document would change? Your code should only need to change if the structure of the document changes, which should be exceptionally uncommon and would only be an issue if you're adding another column that you want to work with, which would necessitate code changes.
I found an article where the issue of changing XML
file is dealt by using a XSL file (that's where I'd
define the 'canonical format'), but am having a
problem with creating one, because the source XML is
screwed up in terms of the format:
it's not <x> blah </x>
<x2> blah </x2>
x2="blah" x3="blah> ...etc
Can you point me in the right direction, please?You can certainly use something like the DBMS_XSLProcessor package to transform whatever XML document you have into an XML document in an appropriate format for the XMLStore package and pass that transformed XML document into something like your sample procedure rather than defining the xmldoc local variable with a hard-coded document. Of course, you'd need to write appropriate XSL code to do the actual transform.
Justin -
Importing xml file from FCP 7.0 to 6.0
Hi all.
I am sure many of you have figured this out, but after a few grey hairs today, I was finally able to open a clients project done in FCP 7.0 into my 6.0.
In text editor you need to open the xml file and change: <xmel version= "5"> to "4". Then save as an xml file and import into FCP. Everything came across fine including renders, effects, etc.
Cheers.GOOD TIP! And to add to it:
#46 - Supported XML versions
Shane's Stock Answer #46 - Final Cut Pro and versions of XML it supports
FCP4 supports XML version 1 only
FCP5 supports XML versions 1 and 2
FCP5.1 supports XML versions 1, 2 and 3
FCP6 supports XML versions 1, 2, 3 and 4
FCP7 supports XML versions 1, 2, 3, 4 and 5.
Shane -
Hi all,
In my SQL Server 2012 Management Studio, I executed the following code:
CREATE TABLE Products(
sku INT Primary KEY,
product_desc VARCHAR(30));
INSERT INTO Products (sku, product_desc)
SELECT X.product.query('SKU').value('.', 'INT'),
X.product.query('Desc').value('.', 'VARCHAR(30)')
FROM (
SELECT CAST(x AS XML)
FROM OPENROWSET(
BULK 'H:\ZenProducts.xml',
SINGLE_BLOB) AS T(x)
) AS T(x)
CROSS APPLY x.nodes('Products/Product') AS X(product);
SELECT sku, product_desc
FROM Products;
I got the following message:
Msg 9455, Level 16, State 1, Line 5
XML parsing: line 3, character 12, illegal qualified name character
I have no ideas why the "product" in the statement "SELECT X.product.query('SKU').value('.','INT')" is not legal qualified name charcter!!!??? Please kindly help, advise and respond.
Thanks in advance,
Scott ChangHi Manish, Thanks for your response.
Here is a copy of my ZenProducts.xml:
<Products>
<Product>
<SKU>1<</SKU>
<Desc>Book</Desc>
</Product>
<Product>
<SKU>2<</SKU>
<Desc>DVD</Desc>
</Product>
<Product>
<SKU>3<</SKU>
<Desc>Video</Desc>
</Product>
I found the wrong "<<" in my xml file and changed it to the right "<" for the statement<SKU>1</sku>. I executed the corrected code and I got the following new message:
Msg 2714, Level 16, State 6, Line 1
There is already an object named 'Products' in the database.
I don't know how to remove the old, existing the 'Products' object in the database and execute the corrected code again. Please kindly help, advise and tell me how to resolve this new problem.
Many Thanks,
Scott Chang
P. S. I played with another project to get the 'Products' object in my database before. Frankly, I don't know where the old 'Products' object and the database are. Please enlighten me in resolving this matter more clearly.
You welcome Scott, As Olaf mentioned in this post, there was already a table exists , so need to drop your Products table.
Apart from this, I guess either you did not pasted the full XML file or what, I needed to have the ( </Products>)closing tag in your XML file as follows.
<Products>
<Product>
<SKU>1</SKU>
<Desc>Book</Desc>
</Product>
<Product>
<SKU>2</SKU>
<Desc>DVD</Desc>
</Product>
<Product>
<SKU>3</SKU>
<Desc>Video</Desc>
</Product>
</Products>
You can use following script to drop if your
Products table is already existing.
if exists(select 1 from sys.tables where name ='Products')
drop table Products
CREATE TABLE Products(
sku INT Primary KEY,
product_desc VARCHAR(30));
INSERT INTO Products (sku, product_desc)
SELECT X.product.query('SKU').value('.', 'INT'),
X.product.query('Desc').value('.', 'VARCHAR(30)')
FROM (
SELECT CAST(x AS XML)
FROM OPENROWSET(
BULK 'H:\ZenProducts.xml',
SINGLE_BLOB) AS T(x)
) AS T(x)
CROSS APPLY x.nodes('Products/Product') AS X(product);
SELECT sku, product_desc
FROM Products;
Let us know if you face any other problem.
Thanks
Manish
Please click Mark as Answer if my post solved your problem and click
Vote as Helpful if this post was useful. -
IMSS Min Normalized Measure not appearing in imsmanifest.xml file
Hello,
The IMSS Min Normalized Measure line is not appearing in my imsmanifest.xml file. It used to, but since I upgraded to Captivate 5.5, I don't see it anymore. I have thoroughly checked my settings:
Reporting is enabled
SCORM 2004/Manifest/Default is selected
Report Status: Pass/Fail
Report to LMS as: Percent
Report Data: Quiz Results and Slide Views
Reporting Level: Interactions and score
Did Captivate 5.5 fix it so we don't have to add the minimum score into the zip file anymore? If not, how do I correct this so the line shows up?
Thanks,
BarbHi Melody,
What I've been told by Adobe is that Captivate 5.5 produces a different looking manifest file than previous versions of Captivate. For our LMS (Knowlagent), we require this line of coding so that we can manually input the minimum passing grade in a course.
Adobe said I could try to edit the default SCORM template to suit our LMS, but our LMS said it wasn't possible.
So instead, our LMS told us that if we adjusted the line of coding in each manifest file, it would work. And it has (it's just a little extra work each time you publish).
This is what you need to do:
Find the below block of code in your imsmanifest.xml file and change the value for satisfiedByMeasure from false (default) to true. Once that line is changed, in the same block of code paste in the minNormalizedMeasure line that was present in the file previously (both settings are highlighted below). The .80 is what we chose as our minimum passing grade (80%) but you can change that number to whatever you want.
<imsss:sequencing>
<imsss:objectives>
<imsss:primaryObjective objectiveID="PRIMARYOBJ" satisfiedByMeasure="true">
<imsss:minNormalizedMeasure>.80</imsss:minNormalizedMeasure>
</imsss:primaryObjective>
</imsss:objectives>
Hope that helps! Are you using Captivate 5.5 too? Which LMS are you using?
Thanks,
Barb -
Hi,
I have a scenario to include the web config "appsettigns" on the setparameter.xml file to change the values from Release Management workflow to before web deploy parameter transform process starts.
By default, DB connection string parameter's added on the setparameter.xml and I am able to successfully change them before deployment.
I have to get the below appsettings values on the webdploy package(setparameter.xml file). so that I can change the "Value" to promote the build from QA to PRO by passing customer values.
Webconfig - appsettings section
<appSettings>
<add key="StorageConnectionString" value="blogstorageconnectionstring" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="EmailSendTo" value="[email protected]" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
</appSettings>
Thanks in advance,
Logesh RHi Logeshr,
Do you have problem on deploying Web Packages about ASP.NET project? If so, I would recommend you submit questions on asp.net forum for effective response.
https://forums.asp.net/.
This forum is to discuss stuff on building project in visual studio. To save your time, the following page is talking about deploying web project,
http://www.asp.net/web-forms/overview/deployment/web-deployment-in-the-enterprise/deploying-web-packages, hope it useful.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hi:
I've been trying to get up to speed with JDOM, and while it seems pretty intuitive, I've been having a problem w/ modifying XML documents.
Namely, once I get a Document object from a (skeleton) XML file, do changes made to the Document object through, say, addContent() propagate to the original file? My gut feeling is no, although this was certainly what I had expected initially.
Here's a code fragment of what I had tried to do to populate a barebones XML file:
Document doc = builder.build(output);
// add 100 elements, all the same
for (int count = 0; count < 100; count++)
Element curr = new Element("book");
// create child nodes for book
Element title = new Element("title");
title.addContent("Book " + (count + 1));
Element author = new Element("author");
author.addContent("Author " + (count + 1));
Element price = new Element("price");
price.addContent("Price " + (count + 1));
curr.addContent(title);
curr.addContent(author);
curr.addContent(price);
doc.getRootElement().addContent( curr );
}Mikael,
This sounds like one of the many quirks (perhaps bugs) related to how FrameMaker handles non-FM files in books. The current book model doesn't play well with XML files as chapters and this seems like yet another problem. Apparently, if an xref does not target another .fm file in the book, Frame assumes that the target file is not in the book and therefore will not be in the book PDF.
There have been discussions here about this in the past. The solution that I use is to run an API client before publishing that converts all XML files to .fm files, and redirect all xrefs appropriately. Then, book features work as expected and PDFs come out as normal. This is not feasible, however, without the automation from the API client.
There may be some who would say that the best approach is to use XML and books the way that the designers did account for... that is, the whole book becomes an XML document with entity references to the separate chapters. In my work, though, this model was not appropriate... rather, I needed a binary FM book to act like a book, except with XML files as chapters. So, I think I understand your situation.
Is API programming or FrameScript an option for you? I think it may be the only way to get what you are looking for.
Russ -
Converting Dom Document object into XML file removes the DTD
Hi All
My xml is dtd. I have one xml file. i changed the node value after that i want to create a xml file with the same name. I created new xml file but i am not seeing the old dtd in the new file. This process is done with the help of jaxp.
My code is given below
File fileInput = new File("input.xml");
File fileOutput = new File("output.xml");
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setExpandEntityReferences(false);
DocumentBuilder builder = factory.newDocumentBuilder();
Document document = builder.parse(fileInput);
TransformerFactory tFactory = TransformerFactory.newInstance();
Transformer transformer = tFactory.newTransformer();
transformer.setOutputProperty(javax.xml.transform.OutputKeys.INDENT, "true");
transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
DOMSource source = new DOMSource(document);
FileOutputStream fos = new FileOutputStream(fileOutput);
StreamResult result = new StreamResult(fos);
transformer.transform(source, result);
Thanks in advanceThe Transformer API does not guarantee the preservation of that information. You may want to check the DOM L3 Load/Save package (http://java.sun.com/javase/6/docs/api/index.html). Alternatively, you may force things by setting the additional output properties 'doctype-public' and 'doctype-system'.
-
Hi, I'm a web designer attempting to use the find/replace function in an iTunes XML file to change a directory.
Seems simple enough:
find: file://localhost/Volumes/iTunes
replace: file://localhost/Volumes/iTunes/iTunesLibrary
The XML file is 41MB. It seems when I open it it only opens the first 8MB and just cuts off the rest of the code. (literally in the middle of an XML tag). I've tried this many times, allowing it to open overnight just to make sure it has enough time to load, but it always does the same thing. Perhaps there's another editor that can provide a find/replace function since Dreamweaver CS4 seems incapable of opening large files properly?
Dreamweaver CS4, MacBook Pro 2008, OS X 10.6.4Smultron, BBEdit. I believe that is "as designed" in DW.
Mylenium -
Error While doing reverse engineering on XML file
I am getting the error when I try to do reverse-engineering on a xml file.
I have set up topology like this:
JDBC Driver: com.sunnopsis.jdbc.driver.xml.SnpsXmlDriver
JDBC URL: jdbc:snps:xml?file=c:\Temp\hoy\CRM_CR_CURRENCY.xml&dtd=C:\Temp\hoy\ServiciosSerivaConsultasTypes0.xsd
The XSD file:
<?xml version = '1.0' encoding = 'UTF-8'?>
<xs:schema xmlns:s3="http://www.openuri.org/2006/12/wsdl/upgradedJWS" xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://co/com/bancodecredito/eai/serviciosLinea/seriva" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="" targetNamespace="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl" attributeFormDefault="unqualified" elementFormDefault="qualified">
<xs:element name="indicadoresResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="WS_ResultadoConsultaIndicadores">
<xs:complexType>
<xs:sequence>
<xs:element name="Error" type="xs:string"/>
<xs:element name="Descripcion" type="xs:string"/>
<xs:element name="indicadores" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="fecha" type="xs:string"/>
<xs:element name="descripcion" type="xs:string"/>
<xs:element name="tipoIndicador" type="xs:int"/>
<xs:element name="codigoIndicador" type="xs:int"/>
<xs:element name="codigoVertice" type="xs:int"/>
<xs:element name="plazo" type="xs:int"/>
<xs:element name="valor" type="xs:double"/>
<xs:element name="comportamiento" type="xs:int"/>
<xs:element name="formato" type="xs:int"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
and the xml file:
<?xml version = '1.0' encoding = 'UTF-8'?>
<m:indicadoresResponse xmlns:m="http://co/com/bancodecredito/eai/serviciosLinea/seriva">
<ns0:WS_ResultadoConsultaIndicadores xmlns:ns0="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl">
<ns0:Error>0</ns0:Error>
<ns0:Descripcion>Transacción exitosa</ns0:Descripcion>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>VALORACION (TRM VIGENTE) UVR/UVR</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>312</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>196.9975</ns0:valor>
<ns0:comportamiento>1</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>COMPRA (BID) UVR/UVR</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>313</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>196.9975</ns0:valor>
<ns0:comportamiento>1</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>VENTA (ASK) UVR/UVR</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>314</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>196.9975</ns0:valor>
<ns0:comportamiento>1</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>BID BANCO REPUBLICA EUR/EUR</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>396</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>1.4367</ns0:valor>
<ns0:comportamiento>1</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>ASK BANCO REPUBLICA EUR/EUR</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>397</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>1.4367</ns0:valor>
<ns0:comportamiento>1</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>TRM BANCO REPUBLICA EUR/EUR</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>398</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>1.4367</ns0:valor>
<ns0:comportamiento>1</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>BID BANCO REPUBLICA UVR/UVR</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>432</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>196.9975</ns0:valor>
<ns0:comportamiento>1</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>ASK BANCO REPUBLICA UVR/UVR</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>433</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>196.9975</ns0:valor>
<ns0:comportamiento>1</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>TRM BANCO REPUBLICA UVR/UVR</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>434</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>196.9975</ns0:valor>
<ns0:comportamiento>1</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>BID BANCO REPUBLICA USD/USD</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>390</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>1800.7300</ns0:valor>
<ns0:comportamiento>2</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>ASK BANCO REPUBLICA USD/USD</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>391</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>1801.2100</ns0:valor>
<ns0:comportamiento>2</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>TRM BANCO REPUBLICA USD/USD</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>395</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>1800.9700</ns0:valor>
<ns0:comportamiento>2</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>VALORACION (TRM VIGENTE) EUR/EUR</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>241</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>1.4267</ns0:valor>
<ns0:comportamiento>1</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>VALORACION (TRM VIGENTE) USD/USD</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>246</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>6.4573</ns0:valor>
<ns0:comportamiento>2</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>VALORACION (TRM VIGENTE) USD/USD</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>251</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>4.3000</ns0:valor>
<ns0:comportamiento>0</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>VALORACION (TRM VIGENTE) USD/USD</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>256</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>0.9913</ns0:valor>
<ns0:comportamiento>1</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>VALORACION (TRM VIGENTE) USD/USD</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>261</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>12.4332</ns0:valor>
<ns0:comportamiento>1</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>VALORACION (TRM VIGENTE) USD/USD</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>272</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>77.2692</ns0:valor>
<ns0:comportamiento>2</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>VALORACION (TRM VIGENTE) GBP/GBP</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>277</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>1.6341</ns0:valor>
<ns0:comportamiento>2</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>VALORACION (TRM VIGENTE) USD/USD</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>282</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>5.2216</ns0:valor>
<ns0:comportamiento>2</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>VALORACION (TRM VIGENTE) AUD/AUD</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>340</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>1.0198</ns0:valor>
<ns0:comportamiento>2</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
</ns0:WS_ResultadoConsultaIndicadores>
</m:indicadoresResponse>
When I try do reverse engineering I get:
java.sql.SQLException: class java.sql.SQLException
com.sunopsis.tools.core.exception.SnpsRuntimeException: ODI-40798 Tipo Desconocido: {0}element
What is the issue ?
When I change the xml file , and I remove the namespaces, so that xml file is changed like this:
<?xml version = '1.0' encoding = 'UTF-8'?>
<indicadoresResponse >
<WS_ResultadoConsultaIndicadores >
<Error>0</Error>
<Descripcion>Transacción exitosa</Descripcion>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>VALORACION (TRM VIGENTE) UVR/UVR</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>312</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>196.9975</valor>
<comportamiento>1</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>COMPRA (BID) UVR/UVR</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>313</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>196.9975</valor>
<comportamiento>1</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>VENTA (ASK) UVR/UVR</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>314</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>196.9975</valor>
<comportamiento>1</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>BID BANCO REPUBLICA EUR/EUR</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>396</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>1.4367</valor>
<comportamiento>1</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>ASK BANCO REPUBLICA EUR/EUR</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>397</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>1.4367</valor>
<comportamiento>1</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>TRM BANCO REPUBLICA EUR/EUR</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>398</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>1.4367</valor>
<comportamiento>1</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>BID BANCO REPUBLICA UVR/UVR</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>432</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>196.9975</valor>
<comportamiento>1</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>ASK BANCO REPUBLICA UVR/UVR</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>433</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>196.9975</valor>
<comportamiento>1</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>TRM BANCO REPUBLICA UVR/UVR</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>434</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>196.9975</valor>
<comportamiento>1</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>BID BANCO REPUBLICA USD/USD</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>390</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>1800.7300</valor>
<comportamiento>2</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>ASK BANCO REPUBLICA USD/USD</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>391</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>1801.2100</valor>
<comportamiento>2</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>TRM BANCO REPUBLICA USD/USD</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>395</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>1800.9700</valor>
<comportamiento>2</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>VALORACION (TRM VIGENTE) EUR/EUR</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>241</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>1.4267</valor>
<comportamiento>1</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>VALORACION (TRM VIGENTE) USD/USD</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>246</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>6.4573</valor>
<comportamiento>2</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>VALORACION (TRM VIGENTE) USD/USD</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>251</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>4.3000</valor>
<comportamiento>0</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>VALORACION (TRM VIGENTE) USD/USD</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>256</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>0.9913</valor>
<comportamiento>1</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>VALORACION (TRM VIGENTE) USD/USD</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>261</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>12.4332</valor>
<comportamiento>1</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>VALORACION (TRM VIGENTE) USD/USD</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>272</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>77.2692</valor>
<comportamiento>2</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>VALORACION (TRM VIGENTE) GBP/GBP</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>277</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>1.6341</valor>
<comportamiento>2</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>VALORACION (TRM VIGENTE) USD/USD</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>282</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>5.2216</valor>
<comportamiento>2</comportamiento>
<formato>3</formato>
</indicadores>
<indicadores>
<fecha>2011-08-10 00:00:00.0</fecha>
<descripcion>VALORACION (TRM VIGENTE) AUD/AUD</descripcion>
<tipoIndicador>3</tipoIndicador>
<codigoIndicador>340</codigoIndicador>
<codigoVertice>0</codigoVertice>
<plazo>0</plazo>
<valor>1.0198</valor>
<comportamiento>2</comportamiento>
<formato>3</formato>
</indicadores>
</WS_ResultadoConsultaIndicadores>
</indicadoresResponse>
It works!!!! I can do reverse engineering....What is the issue? I am running everthing with agent as Local
I really appreciate any hints.
Thanks in advance,
DeibysHi,
Try specifying the "re" (Root Element) parameter in the URL. For example re=indicadoresResponse
If it still fails could you post the full java error stack?
Good luck!
Jose
Maybe you are looking for
-
Hey everyone, Just a quick question, I don't think it's too serious of a problem for me, but recently when starting up my mid-2009 MacBook Pro, I've noticed that the 'MacOS' window always pops up after logging into my account, it hasn't become that m
-
Oracle -- SSO (single signon)
I am planning to use Oracle's SSO to setup multiple apps that pass login info from one app to the other when building an ERP with OrderEntry, AP, GL, Warehousing, Food Production Scheduling, etc. Can I post my 5MB app and pay you to show me how to ad
-
Question about Multiple Entries
We are thinking about signing up for FormsCentral to do a contest (among potentially other things). One important feature to us is that people are only allowed to submit the form one time. Does FormsCentral have the ability to do this? Thanks!
-
Hi After change the IP adress of the linux machine where the E-Biz 11i is install the forms don't work i.e. can not open a form. Any idea how to make it work again? Eyal
-
Integration between SAP server & External System
Dear all, would you explain the pros and cons of integration between SAP and external system. what types issue i can face on SAP and external system respectively. regards, diya