Retrieve data from BW with an XML interface
Hello all,
Is it possible to retrieve data from BW with an XML interface ? And if so, how can we do this ?
Kind regards,
Marc
Thanks Edan,
Can you please example as how to access the ODS object in the BW using ABAP? Please note that we would initiate the call from another XAPP system and update the data into the CRM system.
Also please provide an example as how the BAPI can acces the cube data in BW.
I assume that we will be writing both the BAPI and the ABAP code( as an RFC) in the BW sysyem and call those from the XAPPS to get data out of BW Cube and ODS respectively.
Thanks
Arunava
Similar Messages
-
Problems with retrieving data from tables with 240 and more records
Hi,
I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.
I installed Oracle 11.2.0 Client and I started to have problems with retrieving data from tables.
First I used the same connection string, driver and so on (O10 Oracle 10g) then I tried ORA Oracle but with no luck. The result is like this:
I'm able to connect to database. I'm able to retrieve data but from small tables (e.g. with 110 records it works perfectly using both O10 and ORA drivers). When I try to retrieve data from tables with like 240 and more records retrieval simply hangs (nothing happens at all - no error, no timeout). Application seems to hang forever.
I'm using Powerbuilder to connect to Database (either PB10.5 using O10 driver or PB12 using ORA driver). I used DBTrace, so I see that query hangs on the first FETCH.
So for the retrievals that hang I have something like:
(3260008): BIND SELECT OUTPUT BUFFER (DataWindow):(DBI_SELBIND) (0.186 MS / 18978.709 MS)
(3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
(3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=1
(3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
(3260008): EXECUTE:(DBI_DW_EXECUTE) (192.982 MS / 19171.691 MS)
(3260008): FETCH NEXT:(DBI_FETCHNEXT)
and this is the last line,
while for retrievals that end, I have FETCH producing time, data in buffer and moving to the next Fetch until all data is retrieved
On the side note, I have no problems with retrieving data either by SQL Developer or DbVisualizer.
Problems started when I installed 11.2.0 Client. Even if I want to use 10.0.1 Client, the same problem occurs. So I guess something from 11.2.0 overrides 10.0.1 settings.
I will appreciate any comments/hints/help.
Thank you very much.pgoel wrote:
I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.Earlier (before installing new stuff) did you ever try retrieving data from big tables (like 240 and more records), if yes, was it working?Yes, with Oracle 10g client (before installing 11g) I was able to retrieve any data, either it was 10k+ records or 100 records. Installing 11g client changed something that even using old 10g client (which I still have installed) fails to work. The same problem occur no matter I'm using 10g or 11g client now. Powerbuilder hangs on retrieving tables with more than like 240 records.
Thanks. -
Retrieving data from TCP/IP in xml and displaying values?
Hey, I am using a program to retrieve data from a machine and outputting it in xml to the localhost. On a seperate computer, I am trying to create a client application to read the xml data from that IP host and just output the important values instead of the whole script. I am new to Labview and programming, has anyone written a program similar to what I am trying to accomplish? I searched for it but couldn't quite find what I was looking for. I really could use some help with trying to figure this out and appreciate any help or advice you could give me.
Where did you search? There are examples that ship with LabVIEW that show you how to do client-server applications using TCP/IP. Did you try those? You would need to add the parsing of the data you receive (i.e., the XML).
-
Retrieve data from Notes with append only attribute using jsom
How can I retrieve the data in a Notes field which has the "Append Only" attribute set to TRUE, using the SharePoint jsom api?
Hi IH20,
You can use SPServices to get the version values of the note field:
http://spservices.codeplex.com/wikipage?title=GetListItems
Thanks,
Qiao Wei
TechNet Community Support -
Is there a possibility to retreve Data from the OPC Server with the XML Interface
Is there a possibility to connect a OPC/DA server with the help of the XML interface with Labview?
I need to retrieve Data from a OPC Server running on Linux, so i got no Dcom System an I need to use XML. The server is running and with OPC client-tools i can access de different data. So now I want to visualize all Data
that come from that server on Labview.
1. Is it possible to realize that?
2. Is a library or a demo vi available ?
Regards
DenselHi Densel,
Sure, you can use XML within LabVIEW, the question is which syntax do you use?
Are you able to send the XML statements via TCP/IP?
Regards, Christian -
Retrieving data from a relational table and CLOB as a whole XML file
I created the table lob_example and I have managed to insert XML document into it using XML SQL Utility. In this document I put contents of <DESCRIPTION> tag into CDATA section.
LOB_EXAMPLE
Name Null? Type
ID NOT NULL NUMBER
DESCRIPTION CLOB
NAME VARCHAR2(40)
But I could not retrieve this data properly. I can think of only one solution - to parse and build the whole XMLDocument. I found the suggestion of another solution to use Oracle8i views to do that in http://technet.oracle.com/tech/xml/infoocs/otnwp/about_oracle_xml_products.htm, but this text is not clear enough for me.
I would like to quote the fragment from document mentioned above, which is ambiguous for me:
"Combining XML Documents and Data Using Views
Finally, if you have a combination of structured and unstructured XML data, but still want to view and operate on it as a whole, you can use Oracle8i views. Views enable you to construct an object on the "fly" by combining XML data stored in a variety of ways. So, you can store structured data (such as employee data, customer data, and so on) in one location within object -relational tables, and store related unstructured data (such as descriptions and comments) within a CLOB. When you need to retrieve the data as a whole, you simply construct the structure from the various pieces of data with the use of type constructors in the view's select statement. The XML SQL Utility then enables retrieving the constructed data from the view as a single XML document."
The main question is - how to use type constructors in the view's select statement?Hello
Sorry for asking the same question again, but any responses would be greatly appreciated.
How to use type constructors in the view's select statement?
I could not find any answers for this question on Technet. Maybe the other approaches are more efficient to combine the part of data from CLOB with data from other column types?
Thank you -
Retrieving data from XML containing namespaces?
Hi,
I am using Yahoo Local Search Service which returns the XML
response. I want to retrieve data from the XML that I received. I
stuck at this point and unable to retrieve the response in to
datagrid. Does the namespaces in XML matter while retrieving data?
The response XML is as follows
<ResultSet xsi:schemaLocation="urn:yahoo:lcl
http://api.local.yahoo.com/LocalSearchService/V3/LocalSearchResponse.xsd"
totalResultsAvailable="224" totalResultsReturned="1"
firstResultPosition="1" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:yahoo:lcl">
<ResultSetMapUrl>
http://maps.yahoo.com/broadband/?q1=San+Jose%2C+CA+95112&tt=starbucks&tp=1</Result SetMapUrl>
<Result id="21590724">
<Title>Starbucks</Title>
<Address>145 W Santa Clara St</Address>
<City>San Jose</City>
<State>CA</State>
<Phone>(408) 288-8803</Phone>
<Latitude>37.335236</Latitude>
<Longitude>-121.892765</Longitude>
<Rating>
<AverageRating>4</AverageRating>
<TotalRatings>3</TotalRatings>
<TotalReviews>2</TotalReviews>
<LastReviewDate>1198029377</LastReviewDate>
<LastReviewIntro>My previous review had incorrect
data. That was not true, I am sorry, I didn't know. As far as food
and drink goes, Starbucks is pretty good.</LastReviewIntro>
</Rating>
<Distance>0.96</Distance>
<Url>
http://local.yahoo.com/info-21590724-starbucks-san-jose</Url>
<ClickUrl>
http://local.yahoo.com/info-21590724-starbucks-san-jose</ClickUrl>
<MapUrl>
http://maps.yahoo.com/maps_result?q1=145+W+Santa+Clara+St+San+Jose+CA&gid1=21590724</M apUrl>
<BusinessUrl>
http://www.starbucks.com/</BusinessUrl>
<BusinessClickUrl>
http://www.starbucks.com/</BusinessClickUrl>
<Categories>
<Category id="96926219">Cafes</Category>
<Category id="96926236">Restaurants</Category>
<Category id="96926169">Coffee Houses</Category>
</Categories>
</Result>
</ResultSet>
The code that I am writing to get Title and Address is as
follows.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="vertical"
backgroundAlpha="0" backgroundColor="#FFFFFF">
<mx:HTTPService
id="weatherService"
url="
http://local.yahooapis.com/LocalSearchService/V3/localSearch"
resultFormat="e4x"
result="resultHandler(event);"/>
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.rpc.events.ResultEvent;
[Bindable]
private var myResult:XML ;
private var temp:XMLNode;
private var list:ArrayCollection;
public function requestWeather():void {
weatherService.cancel();
var params:Object = new Object();
params.appid = "YahooDemo";
params.query = "starbucks";
params.zip = "95112";
params.results = "1"
weatherService.send(params);
public function resultHandler(event:ResultEvent):void {
myResult = XML( event.result);
temp = myResult.Result;
list = ArrayCollection(event.result);
]]>
</mx:Script>
<mx:Form width="400">
<mx:FormItem label="Get Local Data">
<mx:Button label="Get Data"
click="requestWeather();"/>
</mx:FormItem>
<mx:FormItem label="Address">
<mx:Text text="{myResult.Result.Address}"/>
</mx:FormItem>
<mx:FormItem label="Title">
<mx:Text text="{myResult.Result.Title}"/>
</mx:FormItem>
</mx:Form>
<mx:DataGrid
dataProvider="{myResult.Result}"
x="80" y="141" width="262" height="92"
id="shippingOptionsList" editable="false" enabled="true">
<mx:columns>
<mx:DataGridColumn headerText="Title" dataField="Title"
/>
<mx:DataGridColumn headerText="Address"
dataField="Address" />
</mx:columns>
</mx:DataGrid>
<mx:Label text="Response as it is"/>
<mx:TextArea id="resultFld" text="{myResult}" width="400"
height="152"/>
</mx:Application>
Can somebody help me to find where I am going wrong?
Thank you
-PranayHi Pranay,
It looks like your problem is indeed to do with the XML
namespace being used.
Try adding this line after the import statements:
namespace yahoo = "urn:yahoo:lcl";
(This is the namespace URI defined in the returned XML)
The result handler should then look like this:
public function resultHandler(event:ResultEvent):void {
use namespace yahoo;
myResult = XML( event.result);
temp = myResult.Result;
list = ArrayCollection(event.result); -
Is it possible to retrieve data from an Oracle db with an LDAP query?
Our application uses an LDAP query to retrieve data from Microsoft Active Directory. Is it also possible to retrieve data from an Oracle database with an LDAP query?
if you have Oracle Internet Directory, you will retrieve with ldapsearch data, which are physically stored in the database. But to select * from emp where ename='SCOTT', it is probably not possible.
At least I have never heard of such a product which translate ldap query in sql query. But feel free to write your own one in perl :-) -
Retrieving Data from SQLite and make link with the ID of the retrieved data?
Hello, first of all sorry if my english is bad as im from Mexico.
I using HTML/Javascript/SQLite, and im having an issue while retrieving data from SQLite, all my querys work right, but when i try to select an Id, the Name, Firstname, and Lastname and only use the Name, Firstname and Lastname to print on screen and the Id to use as a link or OnClick query with the id more info from the name of the person..
My SQLite query is the next one.
var sql = "SELECT [sis_persona].[idPersona], [sis_persona].[Nombre], [sis_persona].[Paterno], [sis_persona].[Materno] FROM [sis_persona] WHERE Nombre LIKE '"+ nombre1+"%' AND Paterno LIKE '"+ paterno1+"%' AND Materno LIKE '"+ materno1+"%' ORDER BY [sis_persona].[Nombre], [sis_persona].[Paterno], [sis_persona].[Materno] LIMIT 20";
And my ResultHandler is the next one:
row = document.createElement("tr");
cell = document.createElement("th");
cell.innerText = "Nombre";
row.appendChild(cell)
cell = document.createElement("th");
cell.innerText = "Paterno";
row.appendChild(cell)
cell = document.createElement("th");
cell.innerText = "Materno";
row.appendChild(cell)
tbl.appendChild(row);
var numRows = result.data.length;
for (var i = 0; i < numRows; i++)
// iterate over the columns in the result row object
row = document.createElement("tr");
for (col in result.data[i])
var ea = result.data[i];
cell = document.createElement("td");
var a = document.createElement( 'a' );
a.setAttribute('HREF','#');
var txt = document.createTextNode( ea.Nombre );
a.appendChild( txt );
a.onclick = function() {querytest(ea.idPersona);};
row.appendChild( a );
row.appendChild(cell);
cell = document.createElement("td");
var a = document.createElement( 'a' );
a.setAttribute('HREF','#');
var txt = document.createTextNode( ea.Paterno );
a.appendChild( txt );
a.onclick = function() {querytest(ea.idPersona);};
row.appendChild( a );
row.appendChild(cell);
cell = document.createElement("td");
var a = document.createElement( 'a' );
a.setAttribute('HREF','#');
var txt = document.createTextNode( ea.Materno );
a.appendChild( txt );
a.onclick = function() {querytest(ea.idPersona);};
row.appendChild( a );
row.appendChild(cell);
tbl.appendChild(row);
And this is where i have the problem, it print three times and i dont know how to take print only the result and make a link with the id from the query.
var ea = result.data[i];
cell = document.createElement("td");
var a = document.createElement( 'a' );
a.setAttribute('HREF','#');
var txt = document.createTextNode( ea.Nombre );
a.appendChild( txt );
a.onclick = function() {querytest(ea.idPersona);};
row.appendChild( a );
row.appendChild(cell);
Anyone have any ideas?
Sorry again if my english is bad.
Thanks in advanceHi Prashant,
Continuation to above my thread. There is a small correction.Directly in lsmw not possible. I uploaded using the same code of lsmw and made one report. Through that i uploaded the data directly selecting the file.
Regards,
Madhu. -
How to retrieve data from catsdb table and convert into xml using BAPI
How to retrieve data from catsdb table and convert into xml using BAPI
Points will be rewarded,
Thank you,
Regards,
Jagrut BharatKumar ShuklaHi,
This is not your requirment but u can try this :
CREATE OR REPLACE DIRECTORY text_file AS 'D:\TEXT_FILE\';
GRANT READ ON DIRECTORY text_file TO fah;
GRANT WRITE ON DIRECTORY text_file TO fah;
DROP TABLE load_a;
CREATE TABLE load_a
(a1 varchar2(20),
a2 varchar2(200))
ORGANIZATION EXTERNAL
(TYPE ORACLE_LOADER
DEFAULT DIRECTORY text_file
ACCESS PARAMETERS
(FIELDS TERMINATED BY ','
LOCATION ('data.txt')
select * from load_a;
CREATE TABLE A AS select * from load_a;
SELECT * FROM A
Regards
Faheem Latif -
hi experts!
How can I retrieve data from Adobe Interactive form? is it only through Guided Procedures we can get data?
My requirement is to get data from an Offline interactive form. Please give some idea regarding.
nikhiLHello Nikil,
GP is mainly suitable for offline adobe forms.
As you know, its very simple to read the data from an Adobe interactive form too.
The outline of this process is as below.
1) You can create an interface in SFP with the necessary data types and data elements that you need for your scenario.
2) Use this interface and create an Adobe interactive form in SFP itself.
3) When creating the form, u'll be asked to enter the interface name for the form. give the name of the interface.
4) Once the Adobe livecycle designed opens, you;ll find all the data elements appearing on the dataview of the designer. just drag and drop all the components are per your need.
5) give a submit button with the URL to submit it back to the GP process using %..(.....postprocessorURL...).%
6) Save and activate. Now you can take the XML code from the XML tab and paste it in a note pad and save it as an XDP file.
6) Use this XDP file for creating the CO of type Interactive form and choose the template for XDP file.
7) Choose the option for offline mode and send mail option in the CO creation.
8) include it in the process as needed.
9) The data from the form can be read from parameters of the CO. You can see this in the Parameters tab for the process.
10) Do the mapping as needed and then you can pass the value to the next step.
Let me know if you need more info.
Cheers,
Mandrake
The magician! -
Error while trying to retrieve data from BW BEx query
The following error is coming while trying to retrieve data from BW BEx query (on ODS) when the Characters are more than 50.
In BEx report there is a limitation but is it also a limitation in Webi report.
Is there any other solution for this scenario where it is possible to retrieve more than 50 Characters?
A database error occured. The database error text is: The MDX query SELECT { [Measures].[3OD1RJNV2ZXI7XOC4CY9VXLZI], [Measures].[3P71KBWTVNGY9JTZP9FTP6RZ4], [Measures].[3OEAEUW2WTYJRE2TOD6IOFJF4] } ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [ZHOST_ID2].[LEVEL01].MEMBERS, [ZHOST_ID3].[LEVEL01].MEMBERS ), [ZHOST_ID1].[LEVEL01].MEMBERS ), [ZREVENDDT__0CALDAY].[LEVEL01].MEMBERS ) ........................................................ failed to execute with the error Invalid MDX command with UNSUPPORTED: > 50 CHARACT.. (WIS 10901)Hi,
That warning / error message will be coming from the MDX interface on the BW server. It does not originate from BOBJ.
This question would be better asked to support component BW-BEX-OT-MDX
Similar discussion can be found using search: Limitation of Number of Objects used in Webi with SAP BW Universe as Source
Regards,
Henry -
Retrieve data from a dynamic page via loadURL
Hello.
I would like to ask you how it is possible to retrieve data
from a dynamic page (asp classic in my case) using the loadURL
method.
I would like to create an html authentication form (with
username and password fields). The loadURL method should call an
asp page and then pass to the usual function 'DoIfSucceded' the
results of the elaboration.
Of course I'm going to have a switch in the function in order
to make different actions depending from the results of the asp
page (authentication succeded or failed).
I had a look to the examples at this page:
Adobe
samples
Is there anyone who can explain clearly how the results data
must be written by the asp page and how the success function can
retrieve them ?
I thank you in advance for your help.loadURL() uses the the XMLHttpRequest Object so if the
content you return is XML, you have 2 choices for accessing your
data. You can either access it as a text string via the
XMLHttpRequest object's responseText property, or as a DOM document
via the XMLHttpRequest object's responseXML property:
function MySuccessCallback(req)
// If my data is XML, I can access the data that was sent
from the server
// as DOM elements via the XMLHttpRequest's responseXML
property.
var xmlDOM = req.xhRequest.responseXML;
// OR, you can access the data sent back from the server as
text via
// the XMLHttpRequest object's responseText property.
var xmlAsAString = req.xhRequest.responseText;
var req = Spry.Utils.loadURL("GET",
"/app/book.php?id=1&code=54321", true, MySuccessCallback);
If your serverside script wants to use some other format as a
response like JSON or plain text, then you can only access the data
as text via the responseText property.
--== Kin ==-- -
Retrieve data from a non-peoplesoft application using HTTP Get
I need to retrieve data from a non-peoplesoft application. They want us to submit a HTTP GET request to their URL with a series of parameters. I am thinking about using HTTP Targert connector to accomplish this. Does anyone have sample peoplecode?
Currently we are on 8.51.10 Tools...
If there is any better way .. please let me know ..I have used HTTP Get to get XML file from a government sanction list by hitting URL http://www.treasury.gov/ofac/downloads/sdn.xml
There is a delivered PS program that does that for vendor sanctions. I had to get the online setup correctly by creating a new custom Node with HTTP Target Connector. The program name is BSP_IMPORT. The below code is responsible for the calling the node and retrieving the data. Play around with the code below see if you can get it to meet your needs.
BSP_IMPORT_AET.BANKNODE.Value is just the custom external code that I created.
PMT_FLAT_FILE_INBOUND message is just a none rowset based message to use the web service call.
Local TR:FileUtilities:FTP &oFTPUtil = create TR:FileUtilities:FTP();
+/* HTTP */+
+/*******************************************************************************/+
Local Message &msgHTTP;
Local Message &msgResult;
+&msgHTTP = CreateMessage(Message.PMT_FLAT_FILE_INBOUND);+
+&oFTPUtil.PopulateFTPGetIBInfo(&msgHTTP, BSP_IMPORT_AET.BANKNODE.Value);+
+&msgResult = %IntBroker.ConnectorRequest(&msgHTTP);+
+/* check to see if the file is wrapped */+
+&strAllLines = &msgResult.GenXMLString();+
+&strAllLines = Substitute(&strAllLines, Char(26), " "); /* Added this line to remove invalid characters */+
+/*******************************************************************************/+
Edited by: Maher on Mar 20, 2012 3:28 PM -
Problem retrieving Data from a CDATA-Section using XMLDOM
Hello,
Ware: Oracle 8.1.7.4 64bit, XDK for PL/SQL Version 9.2.0.3, Solaris8 64bit
I can't retrieve Data from the CDATA-Section of an XML-String, neither with
getData(DOMCharacterData) or substringData. Also getLength fails. I get always
the following error:
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception: java.lang.ClassCastException
ORA-06512: at "XML_SCHEMA.XMLCHARDATACOVER", line 0
ORA-06512: at "XML_SCHEMA.XMLDOM", line 853
ORA-06512: at "SCHWABE.XML_TEST", line 47
ORA-06512: at line 1
I can successfully cast the DOMNode to a CharacterData with makeCharacterData
and check with isNull (DOMCharacterData) (returns FALSE).
My Testcase:
1) A Function which build a XML-Document:
CREATE OR REPLACE FUNCTION XML_ResponseCalc RETURN VARCHAR2 IS
doc VARCHAR2(32767);
BEGIN
doc :=
'<?xml version="1.0" encoding="UTF-8"?>
<RSDecEng>
<Version>1.00</Version>
<ResponseCalc>
<ID>00000000000000000014</ID>
<Burst>
<Definition>
<Count>1</Count>
<ID>
<Start>1</Start>
<Length>4</Length>
</ID>
<Var>
<Name>Risiko_1</Name>
<Start>5</Start>
<Length>5</Length>
</Var>
</Definition>
<Data>
<Length>9</Length>
<Count>5</Count>
<![CDATA[
1 0.001
2 0.002
3 0.003
4 0.004
5 0.005
6 0.006
7 0.007
8 0.008
9 0.009
10 0.010
]]>
</Data>
</Burst>
</ResponseCalc>
</RSDecEng>
2) The Procedure which parses the XML-Document (no Exception-Handling):
CREATE OR REPLACE PROCEDURE XML_TEST IS
Parser XML_SCHEMA.XMLParser.Parser;
DOMDocument XML_SCHEMA.XMLDOM.DOMDocument;
DOMNode XML_SCHEMA.XMLDOM.DOMNode;
DOMNodeItem XML_SCHEMA.XMLDOM.DOMNode;
DOMNodeList XML_SCHEMA.XMLDOM.DOMNodeList;
DOMCharacterData XML_SCHEMA.XMLDOM.DOMCharacterData;
TheDocument CLOB;
ID VARCHAR2(100);
Data VARCHAR2(200);
BEGIN
-- LOB
DBMS_LOB.CREATETEMPORARY(TheDocument, TRUE);
DBMS_LOB.WRITEAPPEND(TheDocument, LENGTH(XML_ResponseCalc), XML_ResponseCalc);
-- Parse
Parser := XML_SCHEMA.XMLParser.NewParser;
XML_SCHEMA.XMLParser.ParseCLOB(Parser, TheDocument);
DOMDocument := XML_SCHEMA.XMLParser.GetDocument(Parser);
XML_SCHEMA.XMLParser.FreeParser(Parser);
-- Node
DOMNode := XML_SCHEMA.XMLDOM.MakeNode(DOMDocument);
-- Get ID
DOMNodeList := XML_SCHEMA.XSLProcessor.SelectNodes
(DOMNode,'/RSDecEng/ResponseCalc/ID/text()');
IF XML_SCHEMA.XMLDOM.GetLength(DOMNodeList) > 0 THEN
DOMNodeItem := XML_SCHEMA.XMLDOM.Item(DOMNodeList, 0);
XML_SCHEMA.XMLDOM.WriteToBuffer(DOMNodeItem, ID);
SYS.DBMS_OUTPUT.PUT_LINE ('ID: '||ID);
END IF;
-- Get CDATA
DOMCharacterData := XML_SCHEMA.XMLDOM.MakeCharacterData(DomNode); -- <-- ok here...
IF NOT XML_SCHEMA.XMLDOM.isNull (DOMCharacterData) THEN -- <-- ...and here
Data := XML_SCHEMA.XMLDOM.GETDATA(DOMCharacterData); -- <-- ...but here Exception raise
END IF;
END;
I hope you can help me.
Thank you in advance
Markus SchwabeYou need to notice the definitions for makecharacterdata:
FUNCTION makeCharacterData(n DOMNode) RETURN DOMCharacterData;
PURPOSE
Casts given DOMNode to a DOMCharacterData
It only do the casting.
Maybe you are looking for
-
Problems while migrating PDK applications from Portal 7.1 to Portal 7.3
Hi All, I am facing a problem while migrating a PDK application from Portal 7.1 to Portal 7.3. Since Portal 7.3 doesnt support PAR files any more it provided with a tool to convert the PAR to an EAR file and deploy the resultant EAR to the new portal
-
Aperture 2 vs. iPhoto and Apple Mail
I thought I heard that Aperture 2 would have a "save to Aperture" option in Mail similar to iPhoto - I guess not. So I am trying to move entirely away from iPhoto to Aperture - How do folks deal with those great photos that come to them via e-mail. T
-
Unable to view a saved pdf in a folder
I saved a pdf from Safari into a folder. But when I open that folder to read the file, I cannot see it. I thought it did not save properly, so I went to the Website and downloaded it again to save int he same folder. But then, I see that file saved a
-
I've got a new MacBook and since I like tinkering and learning the OS without support I've already ended up reloading the system just so I know how the installation goes. But there is this thing I cannot fix, whenever I save images on the desktop, th
-
omeone meet the problem, I am not abble install mac OS 10.6 snow leopard on intel based machine, (intel core 2 duo, 2,8 ghz, 4GB RAM, 320 GB HDD, OSX 10.5.8) system every time wrote "OS X snow leopard cannot be install on this machine" please help, M