Posted By: Ralf XmlType support - 10/26/04 01:24 PM
We have the following problem:

TOracleDataSet that retrieves the content of a view. This view contains two fields: an integer and a XmlType-field. The Xmltype-field works fine for a simple view, but the following view (containing SQL/XML) leads to an error:

CREATE VIEW VIEW_TEST_XML AS
select t.id as xml_id,
XMLElement("xmlblob"
) as xmldoc
from test t

retrieving the content in a dataset leads to

ORA-24909: call in progress

while performing TXMLType.GetXML
Posted By: Marco Kalter Re: XmlType support - 10/26/04 09:29 PM
I will check it out. Can you let me know your Oracle Client and Server version, and your Direct Oracle Access version?
Posted By: Ralf Re: XmlType support - 10/27/04 05:04 PM
Oracle client and server: 9.2.0.5
DOA : latest download 4.0.6

btw: The xmltype itself is not the problem. The use the SQL/XML functions is the problem. I have other views with xmltype-fields and that works fine (which uses the same function TXMLType.GetXML).

Thanks in advance
Posted By: Ralf Re: XmlType support - 11/01/04 06:37 PM
Can you reproduce the problem?
Posted By: Marco Kalter Re: XmlType support - 11/01/04 10:48 PM
Not yet, but I still need to test this on 9.2.0.5.
Posted By: Ralf Re: XmlType support - 11/04/04 12:18 PM
Any progress?
Posted By: Marco Kalter Re: XmlType support - 11/04/04 08:55 PM
I just tested this on a 9.2.0.5 client and server, and it works okay too. Can you let me know your Oracle Server OS and also send me the TEST table definition?
Posted By: Ralf Re: XmlType support - 11/05/04 01:46 PM
Server OS is Windows 2000 Professional SP4

The same error occurs for:

CREATE VIEW VIEW_TEST_XML AS
select XMLElement("xmlblob"
) as xmldoc
from dual
/

So the test table has no influence.
Posted By: Ralf Re: XmlType support - 11/05/04 01:49 PM
We tested it on 2 different machines (same OS, DOA and Oracle) and it fails on both.
Posted By: Ralf Re: XmlType support - 11/09/04 12:34 PM
Were you able to reproduce our problem?
Posted By: Marco Kalter Re: XmlType support - 11/09/04 11:16 PM
No, I cannot reproduce this.
Posted By: Ralf Re: XmlType support - 11/10/04 05:13 PM
Mmm, just downloaded TOAD and used the same select, which results in an internal error frown
SQL+ however shows the correct result!

Any pointers on where the problem could be?
Posted By: Marco Kalter Re: XmlType support - 11/10/04 11:30 PM
It might be an Oracle Net issue. You could try the same from a 10g client.
Posted By: bibi Re: XmlType support - 09/27/05 12:31 PM
Hi
i have the same problem, the Query i try to execute is:

select xmlelement("XXX" , customer_id) as xml from invoice

i get the error:
ORA-24909: call in progress. Current operation cancelled

and the connection to oracle is lost and i cant reconnect.

i am using doa 4.0.3
Oracle Server: 9.2.0.6.0

its run ok in sqlplus, and also in sql navigator (gives (ORAXML) cells results in grid)
in toad it runs (gives ADT cells results in grid) but no values are shown in the output cells in the grid.

i am using windows 2000 SP 4
Posted By: Marco Kalter Re: XmlType support - 09/27/05 09:49 PM
What is your Oracle Client version?
Posted By: bibi Re: XmlType support - 09/28/05 04:55 PM
My Oracle Client version: 9.2.0.4.0
Posted By: Marco Kalter Re: XmlType support - 09/28/05 10:07 PM
Does it help if you use a 10g client?
Posted By: bibi Re: XmlType support - 10/02/05 03:40 PM
we dont use this version in our company, so i cant check it.

this is a simple query on a simple table:

select xmlelement("XXX" , customer_id) as xml from invoice

customer_id is a number datatype
Posted By: bibi Re: XmlType support - 10/09/05 04:19 PM
any solution?
Posted By: Marco Kalter Re: XmlType support - 10/10/05 09:36 PM
At the moment none, other than upgrading to a 10g client.
© Allround Automations forums