XML URL Component
Hi
I am running Oracle Portal 3.0.9.8 under NT 4.0 Environment Accessing Oracle 8.1.7.1.1.
The capacity of the server is 512 MB RAM and 750 MHZ.
I am using the XML component in an effort to access an external content provider (Web site) and capture the required information in XML Format for further processing through the XSL.
My questions are as follows :
1 - I am publishing the XML Component as a portlet inside a page. 50% of the time, I am getting the Portlet timeout error and 50% I am getting the required information. I Increase the timeout of the application provider which contains this XML Component from 20 to 30 Second. Even though , I am still getting this "timeout" error. Moreover, I am also checking the Bandwidth of the network to ensure that the response time of the Requested Web site is quite acceptable (< 4 second). Meanwhile, could you please help me in providing hints that helps me To solve this issue.
2 - In the XML URL , I am mentionning the URL address of the External Web site (Content provider). Unfortunately, a part of this URL address is changing on daily basis. Is there a way , to cature this "part" from a table inside the database. Please advise.
Thanks in advance for your support
null
Hi
The Patch Set For 3.0.9.8.1 has been installed. The issue of the Time out error has been minimized but I am still getting it from time to time.
As per the patchset , two new parameters can be accepted by the Parallel Page Engine :
minStall and minTimeiout. My questions are as follows :
1 - It is assumed that these two parameters
have default values? Isn't it ?
2 - Shall I need to add entries regarding
these parameters in the zone.properties
file or the PPE will take it by default?
3 - What is the difference between the
minTimeout and the requestTime
parameters.
Regards
Similar Messages
-
Hi,
I am trying to pass some parameters to xml url in xml component build. I am not able to see these parameters in bind variables...
How can i do this?
Thanks,
SamirHi
The Patch Set For 3.0.9.8.1 has been installed. The issue of the Time out error has been minimized but I am still getting it from time to time.
As per the patchset , two new parameters can be accepted by the Parallel Page Engine :
minStall and minTimeiout. My questions are as follows :
1 - It is assumed that these two parameters
have default values? Isn't it ?
2 - Shall I need to add entries regarding
these parameters in the zone.properties
file or the PPE will take it by default?
3 - What is the difference between the
minTimeout and the requestTime
parameters.
Regards -
Hello,
I'm trying to create iphone app.
When I try to load xml url from desktop emulator it works like a charm.
But when I debug on the iphone device it throws error.
Error #2032
I have setup a crossdomain.xml file but that doesn't fix the issue.
I have no idea what to do from now?
I'm using the latest flash builder 4.5.1 and air 2.7 sdk i think.
Hope someone knows what to do
Thanks.Sorry everyone.
I pointed to the wrong url.
I was pointing to my local ip and not external url
Thanks again for trying to help me. -
CS5.5 can't find the XML Connector Component - what give
I'm working on a actionscript 2 file in flash CS5.5 and can't find the XML Connector Component any place. What happened to it? How are you suppose to get a round it missing. Is there someplace I can download the .swc file and install it? converting to action script 3 is not an option in this case.
thanks
JoelThanks for the reply...
But I can't find any information on using the URLLoader class in Actionscript 2. This is an Actionscript 2 project that I don't have the time or the knowlage to try convert to AS3. What I need is the AS2 XML Connector Component, I just can't find it anyplace in CS5.5. Where did they move it to? or is it gone?. The cs5.5 help files link me over to the AS2 reference guide. I found lots of references to it in the AS 2 guide in the cs5.5 help files but they all start with....
Confirm that your Publish Settings specify ActionScript 2.0.
Add an instance of the XMLConnector component to your application and give it an instance name.
So the problem is, I can't find an "instance" of the XML Connector Component any place in flash CS5.5. I do see all the parameters and the trigger method listed in the script window but can't find the "component". All the sample scripts I've found on using the XMLconnect have a line to import the component and when I try to use them it throws an error.
In fact I can't find any of the "Data" components that were in my older copy of flash. So I asume that Adobe , in their collective wisdom, decided we didn't need them any more so I guess the question needs to be...
Given that this project must use actionscript 2, and that the XML connector Component appearently doesn't exsist any more. How do I do the job it did to get an XML file into my AS2 flash project. if I can get it loaded I can use the inspector, as I use to I assume, to bind it. Any code example or links to some would be appreciated.
thanks
Joel -
I can't see XML DB component trying to install it in database 9i
Hi
We are trying to install APEX on our old database 9.2.0.4 (patched to 9.2.0.8).
APEX install requires XML DB component in database, but we're pretty sure that it's not installed
(there is no user XDB and 'select comp_name from dba_registry' doesn't show signal of that component).
Original CDs are lost, so we downloaded from e-Delivery the following files:
B14882-01
B14883-01
B14884-01
But when we go to Universal Installer, XML DB component is not shown in installed/not-intalled list.
Our box is an ORACLE UNBREAKABLE LINUX Enterprise 4.5 x86-64 bits
Does this component have another name?
How do we install XML DB component?
Thanks in advance
OscarHi,
Check the following link will help you
http://lbdwww.epfl.ch/f/teaching/courses/oracle9i/appdev.920/a96620/appaman.htm
Or
check the following note:
https://metalink2.oracle.com/metalink/plsql/f?p=130:14:7431989769142239402::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,243554.1,1,1,1,helvetica
XML FAQ's
https://metalink2.oracle.com/metalink/plsql/f?p=130:14:7431989769142239402::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,416132.1,1,0,1,helvetica
Regards,
Taj
Edited by: Mohammed Taj on Jul 11, 2009 8:43 PM
Edited by: Mohammed Taj on Jul 11, 2009 8:48 PM -
JDev 10g - Security - web.xml - URL pattern matching
Hello,
I use JDeveloper 10.1.3.4. It's 4 hours I try to figure out what is going on:
I set security constraint in web.xml:
<security-constraint>
<web-resource-collection>
<web-resource-name>books</web-resource-name>
<url-pattern>faces/app/books/*</url-pattern>
<url-pattern>faces/*/app/books/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>books</role-name>
</auth-constraint>
</security-constraint>
User is logged in with role "books" for sure.
http://192.168.0.109:8988/lib/faces/app/books/page.jspx can be seen
but dialogs can't be seen, url is : http://192.168.0.109:8988/lib/faces/__ADFv__?_afPfm=1.5&_t=fred&_vir=/app/books/Search.jspx&loc=en&_rtrnId=2it redirects to login page.
Another thing, when I set only one url pattern : faces/app/books/*.jspx
I can't even see faces/app/books/page.jspx page!
It's very curious, have to be something else somewhere to set, because in SRDemo app this 2 cases don't cause problems.
Bart
snowface.net - snowboard equipement reviewsHi,
dialogs are not opened by a GET request, which is what container managed authorization looks at. It basically bypasses this kind of security, which means that developers should check manually on teh command component that launches teh dialog if the authenticated user is allowed to do this. Also note that the default JSfnavigation is by postback which means you have to set all navigation to use the redirect flag to make it work with container managed security
Frank -
NEWBIE: AS3/XML DataGrid Component interaction
So heres the situation:
I'm trying to create a simple newsreader using a Flash
DataGrid component in which data is loaded via EXTERNAL XML
attributes. And it works fine...got 2 columns, "subject" and "date
posted", and the appropriate data being sent to the right place.
So heres the problem:
I'd like to link those rows, when the user clicks on any
individual row, to load the "URL" attribute that the XML has
defined. Feels like there's an easy solution but i just can't put
my finger on it:
Is this possible? Code below:
< LexHead />Whay are you using a different formatted xml for the dummy
than the real data. Using internal data for testing is a fine
technique, but i needs to be the same format as the real data.
Otherwise how will you know when you get the code right?
I have an example that uses HTTPService to get an xml file
from the server, uses a tree to display/edit the nodes, a dynamic
dataGrid for displaying/editing the attributes, and HTTPService to
send it back to the server. The backend is JSP, so to run that
you'd need a J2EE web server like Tomcat, but the tree and property
explorer might be useful.
Semd me an email and I will send it to you directly.
Tracy -
Hi Guys,
Would appreciate any help here. Basically my web application recieved XML from a URL, and transforming it straight from the URL was causing problems. So I've found a way around it but its too cpu intensive for my liking.
I now convert the URL to a string, convert the string to a byte array, and then stream the byte array.
So basically I'm asking, is there a better way of converting the URL to an input stream than my code below...
URL source = null;
SAXBuilder builder;
org.jdom.Document doc;
source = new URL(xslFile);
builder = new SAXBuilder();
doc = builder.build(source);
String xslData = Xml.getRawString(doc);
byte [] barrBt = xslData.getBytes();
ByteArrayInputStream barrInputStream2 = new ByteArrayInputStream(barrBt);
processor.process(xmlDomSource,
new StreamSource(barrInputStream2),
_request,
_response,
_xslParameters,
thisSessionInfo);Seems to me a better way to do it would be to solve the problems associated with parsing directly from the URL. They should be solvable since if your code can read from the URL then so can the parser.
However if you want to save some processing time, don't convert the XML from bytes to String and then back to bytes again. (You also run the risk of damaging the XML because you may not be doing those conversions with the encoding declared in the XML, but that's a separate problem.) -
How to replace back slash ( / ) from xml url path
Hi,
I got an xml file from other site that generate url starting
with back slash ( / ) . I want to replace that trialing slash. How
do I replace through as3.
I tried the replace() method no luck with the /
Here is what I'm tiring to do:
Look at the code
Anybody know how can i generate
http://www.domain.com/images/image1.jpgThe as3corelib contains a URI class you can use for this type
operation.
http://code.google.com/p/as3corelib/downloads/list -
Hey guys im trying to load some http url from an xml file into an actionscript function..
Its xml gallery i was successfull in loading the pics the description but im stuck at the url....
The XML file is structured this way....
<Node
myURL="images/cow.jpg"
myTitle="Cow"
myDesc=" libero sed dapibus aliquet, quam risus luctus lacus, vitae tincidunt dui diam dictum mauris. Morbi tempor, Nunc eleifend sapien ut odio pharetra eu aliquet eros fermentum. Proin et nisi vel risus eleifend pulvinar. "
myThumb="images/thumbs/cow_thumb.jpg"
onlinelink="http://vaughntucker.com/exflowers/"
offlinelink="projects/web.swf"
/>
I need to place the on and offline links into a onclick button fuction in flash.
so i imported the xml data it works fine for the title so i used the same code for the url
here it is...
allOnlinelink.push(element .@onlinelink);
allOfflinelink.push(element .@offlinelink);
the next function pulls the url of the current index
var currentWeb:String = allOnlinelink[currentIndex];
var currentCD:String = allOfflinelink[currentIndex];
then i create a url request
var Weblink:URLRequest = new URLRequest(currentWeb);
var Cdlink:URLRequest = new URLRequest(currentCD);
then i attach it to the onclick function
function WebUrl(event:MouseEvent):void
var req:URLRequest = new URLRequest(currentCD);
navigateToURL(req);
I got error undefined Property currentCDim confused....helpAttached is the entire script if you need it....
thanks... -
Is xml dissembler component can convert flatfile to xml file in biztalk
Hi please see the subject line
actually, in disassembler stage only one will execute based on "First match" criteria.
i don't understand why you are trying to use xml disassembler. for it.
all that you need is, in your schema at record level, set max occur to 1.
And create separate header and trailer schemas and set those properties in your flat file disassembler component. that's it, it should debatch all your records in your message.
No need to use xml disassmbler.
Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
Vertical XML Data Component?
Anyone know of a component that I can use to display XML data
in vertical columns, side by side for comparison without reworking
the XML - something like a spreadsheet layout or any comparison
tool you'd see on the web.
thanks,
Mark"MarkF13" <[email protected]> wrote in
message
news:gqbjav$cne$[email protected]..
> Ahhh - I forgot one thing. The rows have to be
"connected". So when
> there's
> more than one line in the cell, and the height of that
cell grows, the
> whole
> row has to grow with it, so all items remain aligned no
matter how long
> the
> "table" gets.
>
> I ran into this a few weeks ago when I started this
project and had
> apparently
> forgotten about it.
Try doing it more like this then:
<Repeater id="rp" dataProvider="{_xlc.getItemAt[0]}">
<HBox>
<Label text="{(rp.currentItem as XML).text()}" />
<Label text="{(_xlc.getItemAt[1].child(rp.currentIndex)
as
XML).text()}"/>
</HBox>
</Repeater>
HTH;
Amy -
Hard-coded playlist XML url into Flashvar?
Hey All,
So right now, I have a video player that pulls in all sorts
of info (flv url, caption file url, video title, description,
preview image, etc.) through an external xml file (playlist.xml).
It works great, but I need to change the coding so it's not
hard-coded into the FLA, rather from the embed code for the swf.
Any idea how I can do this?
Here's the chunk of AS3 code that's involved in the original
loading of the XML data as well as the html text too.
Thanks!
JoeI tried the solution here:
http://www.actionscript.org/forums/showthread.php3?t=185370
But couldn't get it to work... Still looking.
Joe -
Problems using XML URL data service on Jdev
Not sure if this is the right forum for this but couldn't find specific forum on XML.
I"m using Jdev Studio Edition Version 11.1.1.4.0 (Win 2008 Server). I'm followng the tutorial (http://www.oracle.com/technetwork/developer-tools/jdev/ccset10-all-091120.html) which treaches how to create a URL service to read RSS feeds.
My real question is about any guidance in creating proper XML schemas. I've read the documentation from wr.org but I"m still not sure about any key rules to follow for creating XML schemas and if XML schemas are a muust for using XML DB to read content from the internet.
Following the instructions I created the following XML schema:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.example.org"
targetNamespace="http://www.example.org"
elementFormDefault="qualified">
<xsd:element name="rss">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="channel" type="channel"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="channel">
<xsd:sequence>
<xsd:element name="lastBuildDate" type="xsd:string"></xsd:element>
<xsd:element name="title" type="xsd:string"></xsd:element>
<xsd:element name="link" type="xsd:string"></xsd:element>
<xsd:element name="description" type="xsd:string"></xsd:element>
<xsd:element name="managingEditor" type="xsd:string"></xsd:element>
<xsd:element name="language" type="xsd:string"></xsd:element>
<xsd:element name="item" type="item" minOccurs="0" maxOccurs="100"></xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="item">
<xsd:sequence>
<xsd:element name="title" type="xsd:string"></xsd:element>
<xsd:element name="link" type="xsd:string"></xsd:element>
<xsd:element name="description" type="xsd:string"></xsd:element>
<xsd:element name="pubDate" type="xsd:string"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
When trying to run the page I get the following trace:
Target URL -- http://127.0.0.1:7101/Application1-Project1-context-root/faces/newsPage.jspx
Tag: Definition
<XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
<XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
<XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
<XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
<XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
<XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
<XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
<XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
Any idea what I am doing wrong? Thanks, JHi Jay,
Most of XML parsers mainly support UTF-8 encoding by default. So if the source is Windows 1252 encoded, the parser might fail.
There are two potential solutions (including but not limited to):
1) Use encoding tools/functions to translate the source with UTF-8 encoded.
2) Change ADF configurations to see if ADF can deal with Windows 1252 encoded source. Also people in ADF forum may have suggestions from their point of view.
Best regards,
Rucong Zhao
Oracle Berkeley DB XML -
UpdateConfig.xml URL: How to predict it?
Hey there,
I'm writing a tool that builds AIR files server-side. The apps UI are generic but their content change from app to app. To do so I have to create unique app.xml files for each, and I also have to create unique updateConfig.xml files for each (to use with the Licencing Service).
My problem is I can't seem to understand how to determine the <url> value to use:
This page says we have to use a specific format: http://apprepo.adobe.com/updates/[your.appid.here]/update.xml
When I upload an app using this format I get an error saying I should rather use this format: http://apprepo.adobe.com/apprepo/201011/updates/[your.appid.here]/update.xml?version=2.5
Since my apps (AIR 2.5) are compiled server-side I'd like, as much as possible, not to have to write those updateConfig.xml files manually.
So here are my questions:
What is the format to use?
Is the /201011/ part of the URL some kind of date code?
Will it change in the future?
Are the docs up-to-date?
Thanks in advance for your help!1. What is the format to use?
Since your applications are built using AIR 2.5 then you should use this format:
http://apprepo.adobe.com/apprepo/201011/updates/[your.appid.here]/update.xml?version=2.5
IMPORTANT: replace [your.appid.here] with your application id.
2. Is the
/201011/ part of the URL some kind of date code?
This is an internal value which you a user need not be concerned about. Please do not change it. It must be 201011.
3. Will it change in the future?
NO.
4. Are the docs up-to-date?
YES.
Maybe you are looking for
-
Hi, I've come across strange query like that: select * from table where SYSDATE > uwn_data AND CASE WHEN TRUNC (SYSDATE) - TRUNC (uwn_data) > 0 THEN 25 ELSE TO_NUMBER (TO_CHAR (SYSDATE, 'hh24')) END >= trw_godzina_od thats something new for me, looks
-
Hrcm vers 8.49:Use of doSaveNow() in FieldChange and component
Hello, I 've created a custom return to previous page button, and wish to add to it the save functionality as well, using the following code at component level, If %Component = "OTE_CASEINSERT_CMP" Then MessageBox(0, "", 0, 0, " ote back button fired
-
[SOLVED]Installing Catalyst
Hello, When I try to install catalyst-utils from the AUR, after I get to choose if I want to remove libgl I get the following errors: error: failed to prepare transaction (could not satisfy dependencies) :: ati-dri: requires libgl=7.11 :: intel-dri:
-
Dear All, After migration SNMPv2 to SNMPv3, we are getting below error message in monitoring tool. 1) Agent Interface Up (linkUp Trap) on interface 10113 Can any one help on this. Regards, Prasad
-
Loading external configuration when compiling AIR
I'm developing an AIR app using Flex Builder 3, but I'm using a deployment script (Capistrano) to deploy both the AIR file and the backend (Ruby on Rails) to various servers. The problem is that the AIR file needs to be able to point to different add