XML Component URL

Hello,
I currently have 3.0.9.8 portal with 9iAS on Sun Solaris 2.8. I'm trying to create an XML Component. It works with static XML created in the XML code window and our customized XSL, however I'm trying to get dynamic XML from the data server by calling the procedures in DBMS_XMLQuery (which is from the XSU package) between Oracle tags in the "XML Code" area. Using the same XSL definition, we come up with no data being returned. Is there anything special we have to do to get this to work? Thanks,
Jon Reed
[email protected]

Jonanthan,
This enhancement has been taken care in the next release of Oracle 9iAS Portal.
Now the XML component, also supports parsing of Oracle tags given in URL.
(thanks for the suggestion given)
Thanks,
Balakrishnan.

Similar Messages

  • XML Component doesn't work (size limitation)

    Hello,
    I'm having problems with "large" XML documents in the XML Component. I have a XML document with 6 records, that fails with the following error:
    ORA-24345: A Truncation or null fetch error occurred
    If I cut the XML document down to 5 records it displays the output just fine. This definetly looks like a bug. I've cut and pasted this XML document into the "XML Code" section, and had it loaded via a URL in the "XML URL". Still I have the same problem.
    I looked at the code, and I noticed that the size for the variables in which to get the XML/XSL+DTD code retrieved into, is hard coded at 32767. Although this doesn't seem to be the source of my problem, 32767 is just too small for XML documents. Is there a patch for this problem, or do I just have to wait to the next release?

    I have the latest version that comes with 1.0.2.1 which is 3.0.8.
    The size of the file that I'm using is approximately 17K.
    I know that there are other ways of displaying XML with XSL, but unfortunatly, Netscape is what we currently use, so XML and XSL don't display easily.
    I'd like to know if this will be fixed in the next release or whether a patch will eventually be available. I was also wondering if there is date or approximation of when it will be fixed. I appreciate you taking the time to answer me.

  • Portal XML Component Error when pulling content from iFS

    Has anyone tried to use Portal's XML Component application to pull XML data out of iFS via URLs successfully? I'm using iFS 1.1.10 and 9iAS 1.0.2.2a. I've loaded an XML instance and XML style sheet in iFS (that parse fine in XMLSpy) and tried to display them using the Portal XML Component application. I've also tried to cut/paste the instance and style sheet in to the Component's GUI directly and received the same error. The component finds the files in iFS fine, but generates the following error:
    Start of root element expected. at oracle.xml.parser.v2.XMLError.flushErrors(XMLError.java) at oracle.xml.parser.v2.XMLError.error(XMLError.java) at oracle.xml.parser.v2.XMLError.error(XMLError.java) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java) at oracle.webdb.xmlcomp.XMLTransDoc.Transform(XMLTransDoc.java:136)
    Oracle's sample data works fine too..
    Seems like a basic error, but I can't correct it.. THanks in advance for any help, Tim

    At the start of the xml file u have to mention the version number of the xmldoc.
    Some thing like the following
    <?xml version="1.0"?>
    and then ur content.
    Try following the same thing, with the smaller amount of data to test for the functionality of the component.
    (but keep in mind the size limitation bug has been fixed in the next release of Oracle 9iAS Portal only i.e., 9.0.2).
    And let us know, what problem u are facing.
    Thanks,
    Balakrishnan.

  • Portal XML Component Application Parse Error

    Has anyone tried to use Portal's XML Component application to pull XML data out of iFS via URLs successfully? I've loaded an XML instance and XML style sheet in iFS (that parse fine in XMLSpy) and tried to display them using the Portal XML Component application. I've also tried to cut/paste the instance and style sheet in to the Component's GUI directly and received the same error. The component finds the files in iFS fine, but generates the following error:
    Start of root element expected. at oracle.xml.parser.v2.XMLError.flushErrors(XMLError.java) at oracle.xml.parser.v2.XMLError.error(XMLError.java) at oracle.xml.parser.v2.XMLError.error(XMLError.java) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java) at oracle.webdb.xmlcomp.XMLTransDoc.Transform(XMLTransDoc.java:136)
    Oracle's sample data works fine too..
    Seems like a basic error, but I can't correct it.. THanks in advance for any help, Tim

    trying files again..
    XML instance:
    <US_FOREIGN_MISSION>
         <ap>
              <metadata>
                   <administrative>
                        <identifiers/>
                        <publisher>
                             <organization agency="AFMIC"/>
                        </publisher>
                        <dates/>
                   </administrative>
                   <descriptive>
                        <security/>
                        <title>
                             <portionmark/>
                             <text/>
                        </title>
                        <subtitle>
                             <portionmark>
                                  <US-SECURITY>
                                       <US-CLASS CLASS="UNCLASSIFIED"/>
                                  </US-SECURITY>
                             </portionmark>
                             <text>U.S. Foreign Mission</text>
                        </subtitle>
                        <locations>
                             <country CCODE="GRC"/>
                        </locations>
                        <subjects>
                             <code/>
                        </subjects>
                   </descriptive>
              </metadata>
              <apsummary>
                   <unknown/>
              </apsummary>
              <amplification>
                   <para>
                        <portionmark>
                             <US-SECURITY>
                                  <US-CLASS CLASS="UNCLASSIFIED"/>
                             </US-SECURITY>
                        </portionmark>
                        <text>No information available.</text>
                   </para>
              </amplification>
         </ap>
         <US_EMBASSY>
              <ap>
                   <metadata>
                        <administrative>
                             <identifiers/>
                             <publisher>
                                  <organization agency="MCIA"/>
                             </publisher>
                             <dates/>
                        </administrative>
                        <descriptive>
                             <security/>
                             <title>
                                  <portionmark/>
                                  <text/>
                             </title>
                             <subtitle>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>U.S. Embassy</text>
                             </subtitle>
                             <locations>
                                  <country CCODE="GRC"/>
                             </locations>
                             <subjects>
                                  <code/>
                             </subjects>
                        </descriptive>
                   </metadata>
                   <apsummary>
                        <summary>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>The U.S. Ambassador is Thomas M.T. Niles and the                     Embassy is located
    at 91 Vasilissis Sophias Boulevard, 10160 Athens; telephone                     [30] (1) 721-2951,
    8401; fax [30] (1) 645-6282. The mailing address is PSC 108,                     Athens; APO
    AE 09842. The Consulate General is in Thessaloniki at the Plateia                     Commercial
    Center, 43 Tsimiski Street, 7th floor; telephone [30] (31)                     242-905.</text>
                             </para>
                             <media>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <graphic file="http://198.83.203.22/public/Graphics/Embassy.jpg" exhibit_id="U.S. Embassy" hplace="center" vplace="none"/>
                                  <title>
                                       <portionmark>
                                            <US-SECURITY>
                                                 <US-CLASS CLASS="UNCLASSIFIED"/>
                                            </US-SECURITY>
                                       </portionmark>
                                       <text>U.S. Embassy</text>
                                  </title>
                             </media>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>Chief of Mission: Ambassador                     Thomas M.T. Niles</text>
                             </para>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>Local Address: 91 Vasilissis Sophias                     Boulevard, 10160 Athens</text>
                             </para>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>Mailing Address: PSC 108, Athens; APO AE                     09842</text>
                             </para>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>Embassy Telephone: [30] (1) 721-2951,                     8401</text>
                             </para>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>FAX: [30] (1) 645-6282</text>
                             </para>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>Consulate: Thessaloniki</text>
                             </para>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>Consulate Address: Plateia Commercial                     Center, 43 Tsimiski Street,
    7th floor </text>
                             </para>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>Consulate Telephone:                     [30] (31) 242-905</text>
                             </para>
                        </summary>
                   </apsummary>
              </ap>
         </US_EMBASSY>
         <FOREIGN_CONSULATE>
              <ap>
                   <metadata>
                        <administrative>
                             <identifiers/>
                             <publisher>
                                  <organization agency="AFMIC"/>
                             </publisher>
                             <dates/>
                        </administrative>
                        <descriptive>
                             <security/>
                             <title>
                                  <portionmark/>
                                  <text/>
                             </title>
                             <subtitle>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>Foreign Consulate</text>
                             </subtitle>
                             <locations>
                                  <country CCODE="GRC"/>
                             </locations>
                             <subjects>
                                  <code/>
                             </subjects>
                        </descriptive>
                   </metadata>
                   <apsummary>
                        <unknown/>
                   </apsummary>
                   <amplification>
                        <para>
                             <portionmark>
                                  <US-SECURITY>
                                       <US-CLASS CLASS="UNCLASSIFIED"/>
                                  </US-SECURITY>
                             </portionmark>
                             <text>No information available.</text>
                        </para>
                   </amplification>
              </ap>
         </FOREIGN_CONSULATE>
         <FOREIGN_MISSION>
              <ap>
                   <metadata>
                        <administrative>
                             <identifiers/>
                             <publisher>
                                  <organization agency="CIA"/>
                             </publisher>
                             <dates/>
                        </administrative>
                        <descriptive>
                             <security/>
                             <title>
                                  <portionmark/>
                                  <text/>
                             </title>
                             <subtitle>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>Foreign Mission</text>
                             </subtitle>
                             <locations>
                                  <country CCODE="GRC"/>
                             </locations>
                             <subjects>
                                  <code/>
                             </subjects>
                        </descriptive>
                   </metadata>
                   <apsummary>
                        <summary>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>There is no information available.</text>
                             </para>
                        </summary>
                   </apsummary>
              </ap>
         </FOREIGN_MISSION>
         <US_CONSULATE>
              <ap>
                   <metadata>
                        <administrative>
                             <identifiers/>
                             <publisher>
                                  <organization agency="MCIA"/>
                             </publisher>
                             <dates/>
                        </administrative>
                        <descriptive>
                             <security/>
                             <title>
                                  <portionmark/>
                                  <text/>
                             </title>
                             <subtitle>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>U.S. Consulate</text>
                             </subtitle>
                             <locations>
                                  <country CCODE="GRC"/>
                             </locations>
                             <subjects>
                                  <code/>
                             </subjects>
                        </descriptive>
                   </metadata>
                   <apsummary>
                        <summary>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>There is no information available.</text>
                             </para>
                        </summary>
                   </apsummary>
              </ap>
         </US_CONSULATE>
         <TRAVEL_ADVISORIES>
              <ap>
                   <metadata>
                        <administrative>
                             <identifiers/>
                             <publisher>
                                  <organization agency="JICTRANS"/>
                             </publisher>
                             <dates/>
                        </administrative>
                        <descriptive>
                             <security/>
                             <title>
                                  <portionmark/>
                                  <text/>
                             </title>
                             <subtitle>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>Travel Advisories</text>
                             </subtitle>
                             <locations>
                                  <country CCODE="GRC"/>
                             </locations>
                             <subjects>
                                  <code/>
                             </subjects>
                        </descriptive>
                   </metadata>
                   <apsummary>
                        <summary>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>There is no information available.</text>
                             </para>
                        </summary>
                   </apsummary>
              </ap>
         </TRAVEL_ADVISORIES>
         <ENTRY_REQUIREMENTS>
              <ap>
                   <metadata>
                        <administrative>
                             <identifiers/>
                             <publisher>
                                  <organization agency="MCIA"/>
                             </publisher>
                             <dates/>
                        </administrative>
                        <descriptive>
                             <security/>
                             <title>
                                  <portionmark/>
                                  <text/>
                             </title>
                             <subtitle>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>Entry Requirements</text>
                             </subtitle>
                             <locations>
                                  <country CCODE="GRC"/>
                             </locations>
                             <subjects>
                                  <code/>
                             </subjects>
                        </descriptive>
                   </metadata>
                   <apsummary>
                        <summary>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>A passport is required for tourist or business stays                     of up to 3
    months. An AIDS test is required for performing artists and students                     on
    Greek scholarships; U.S. test results are not accepted.</text>
                             </para>
                        </summary>
                   </apsummary>
                   <analysis>
                        <para>
                             <portionmark>
                                  <US-SECURITY>
                                       <US-CLASS CLASS="UNCLASSIFIED"/>
                                  </US-SECURITY>
                             </portionmark>
                             <text>Visas are not necessary but a passport is required                     for tourist or
    business stays of up to 3 months. An AIDS test is required for                     performing
    artists and students on Greek scholarships; U.S. test results are                     not
    accepted. </text>
                        </para>
                   </analysis>
              </ap>
              <VACCINATIONS>
                   <ap>
                        <metadata>
                             <administrative>
                                  <identifiers/>
                                  <publisher>
                                       <organization agency="AFMIC"/>
                                  </publisher>
                                  <dates/>
                             </administrative>
                             <descriptive>
                                  <security/>
                                  <title>
                                       <portionmark/>
                                       <text/>
                                  </title>
                                  <subtitle>
                                       <portionmark>
                                            <US-SECURITY>
                                                 <US-CLASS CLASS="UNCLASSIFIED"/>
                                            </US-SECURITY>
                                       </portionmark>
                                       <text>Vaccinations</text>
                                  </subtitle>
                                  <locations>
                                       <country CCODE="GRC"/>
                                  </locations>
                                  <subjects>
                                       <code/>
                                  </subjects>
                             </descriptive>
                        </metadata>
                        <apsummary>
                             <summary>
                                  <para>
                                       <portionmark>
                                            <US-SECURITY>
                                                 <US-CLASS CLASS="UNCLASSIFIED"/>
                                            </US-SECURITY>
                                       </portionmark>
                                       <text>Immunization against hepatitis A and B and typhoid                     fever is recommended.
    For other entry questions, contact the Greek Embassy in                     Washington,
    D.C., telephone (202) 939-5800; Greek consulates in other U.S.                     cities;
    Greek embassies and consulates around the world; or visit Website                     http://www.greekembassy.org
    . </text>
                                  </para>
                             </summary>
                        </apsummary>
                        <analysis>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>Immunization against hepatitis A and B and typhoid                     fever is recommended.
    For other entry questions, travelers should contact the                     Embassy of Greece
    at 2221 Massachusetts Avenue NW, Washington DC 20008,                     telephone (202)
    939-5800; Greek consulates in Atlanta, Boston, Chicago,                     Houston, Los
    Angeles, New Orleans, New York, and San Francisco; or Greek                     embassies
    and consulates around the world. Additional information is available                     
    at website: http://www.greekembassy.org.</text>
                             </para>
                        </analysis>
                   </ap>
              </VACCINATIONS>
              <CUSTOMS_RESTRICTIONS>
                   <ap>
                        <metadata>
                             <administrative>
                                  <identifiers/>
                                  <publisher>
                                       <organization agency="MCIA"/>
                                  </publisher>
                                  <dates/>
                             </administrative>
                             <descriptive>
                                  <security/>
                                  <title>
                                       <portionmark/>
                                       <text/>
                                  </title>
                                  <subtitle>
                                       <portionmark>
                                            <US-SECURITY>
                                                 <US-CLASS CLASS="UNCLASSIFIED"/>
                                            </US-SECURITY>
                                       </portionmark>
                                       <text>Customs Restrictions</text>
                                  </subtitle>
                                  <locations>
                                       <country CCODE="GRC"/>
                                  </locations>
                                  <subjects>
                                       <code/>
                                  </subjects>
                             </descriptive>
                        </metadata>
                        <apsummary>
                             <summary>
                                  <para>
                                       <portionmark>
                                            <US-SECURITY>
                                                 <US-CLASS CLASS="UNCLASSIFIED"/>
                                            </US-SECURITY>
                                       </portionmark>
                                       <text>There are duty-free limits on tobacco, alcohol over                     44 proof,
    wine, perfume, eau de cologne, and gifts; there are no limits on                     duty-paid
    goods, for personal use, from European Union (EU) countries. Plants                     
    with soil, pistols, and rifles may not be brought into the country; shotguns
                        must be registered upon arrival. Prescription drugs must have a letter
    from                     prescribing doctor and be declared upon entry. Medications containing
    codeine                     are illegal; exporting artifacts or antiquities without permission
    is also                     illegal.</text>
                                  </para>
                             </summary>
                        </apsummary>
                        <analysis>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>Duty-free limits are 200 cigarettes, 50 cigars, 100                     cigarillos,
    or 250 grams of tobacco; 1 liter of alcohol over 44 proof or 2                     liters
    of wine; 50 grams of perfume and 250 milliliters of eau de cologne, and      
              gifts of total value less than Dr25,000. There are no limits on duty-paid
    goods                     from European Union (EU) countries, provided they are solely for
    personal use.                     Importing plants with soil is forbidden. Pistols and rifles
    may not be brought                     into the country; shotguns must be registered upon
    arrival. Prescription drugs                     must be accompanied with a letter from the
    prescribing doctor and be declared                     upon entry. Medications containing
    codeine are illegal and possessors face                     fines and imprisonment. Exporting
    artifacts or antiquities without the Athens                     Archaeological Service&#x2019;s
    permission is illegal and vigorously prosecuted.                     </text>
                             </para>
                        </analysis>
                   </ap>
              </CUSTOMS_RESTRICTIONS>
              <AVIATION_SAFETY_OVERSIGHT>
                   <ap>
                        <metadata>
                             <administrative>
                                  <identifiers/>
                                  <publisher>
                                       <organization agency="JICTRANS"/>
                                  </publisher>
                                  <dates/>
                             </administrative>
                             <descriptive>
                                  <security/>
                                  <title>
                                       <portionmark/>
                                       <text/>
                                  </title>
                                  <subtitle>
                                       <portionmark>
                                            <US-SECURITY>
                                                 <US-CLASS CLASS="UNCLASSIFIED"/>
                                            </US-SECURITY>
                                       </portionmark>
                                       <text>Aviation Safety Oversight</text>
                                  </subtitle>
                                  <locations>
                                       <country CCODE="GRC"/>
                                  </locations>
                                  <subjects>
                                       <code/>
                                  </subjects>
                             </descriptive>
                        </metadata>
                        <apsummary>
                             <summary>
                                  <para>
                                       <portionmark>
                                            <US-SECURITY>
                                                 <US-CLASS CLASS="UNCLASSIFIED"/>
                                            </US-SECURITY>
                                       </portionmark>
                                       <text>The U.S. Federal Aviation Administration has given                     Greek Airways,
    the national air carrier, a safety rating of 2, which is                     conditionally
    unsatisfactory. For further information, contact the U.S.                     Department
    of Transportation at 1-800-322-7873 or visit Website                     http://www.faa.gov/avr/iasa/index.htm
    . For information regarding U.S. DoD policy on specific carriers, contact
    DoD at 1&#x2013;618&#x2013;256&#x2013;4801.</text>
                                  </para>
                             </summary>
                        </apsummary>
                        <analysis>
                             <para>
                                  <portionmark>
                                       <US-SECURITY>
                                            <US-CLASS CLASS="UNCLASSIFIED"/>
                                       </US-SECURITY>
                                  </portionmark>
                                  <text>The U.S. Federal Aviation Administration has given                the national
    air carrier, Greek Airways, a safety rating of 2, which is                     conditionally
    unsatisfactory. For further information travelers may contact the                     U.S.
    Department of Transportation at 1-800-322-7873, or visit the FAA internet
                        website at http://www.faa.gov/avr/iasa/index.htm . The U.S. Department
    of Defense assesses some carriers for suitability as official provides of
    air services. For information regarding Do<?Pub _newline?>D policy on specific
    carriers, travelers may contact DoD at 1&#x2013;618&#x2013;256&#x2013;4801.</text>
                             </para>
                        </analysis>
                   </ap>
              </AVIATION_SAFETY_OVERSIGHT>
         </ENTRY_REQUIREMENTS>
    </US_FOREIGN_MISSION>

  • XML Component FileNotFoundException Error

    I am using 9iAS r2 and am trying to use the XML Component. The source for my XML is a URL, this point to Oracle Reports and is working an produces valid XML, the XSL is static (entered in the dialog box).
    When I try and run the XML Component I get the following error:
    java.io.FileNotFoundException: http://XXXXX:7779/reports/rwservlet?exp5&p_lmtnum=12 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java) at oracle.webdb.xmlcomp.XMLTransDoc.Transform(XMLTransDoc.java:129)
    If I take the XML that the above URL returns and paste it into the XML source dialogue box everything runs fine. Also if I save the XML the above URL returns to a file and store it on the same server as a static file it runs fine.
    I have also tried setting the caching on Reports so the XML is returned almost without any significant delay.
    Any ideas,
    Jon

    The problems turned out to be related to an authtication error. The XML component was not passing the authtication through to reports, despite being logged in to create the XML component.
    If I added authid=user/pwd to the report request query string this resolved the problem,
    Jon

  • Query-based  xml component in Portal

    Hi
    Is there anybody who suceeded in building up an xml component based on a query outside or inside a stored procedure?
    Let's suppose I'd like to use a cursor in the <ORACLE> tag in order to select all elements from a table..
    it seems like the reading loop is completely ignored in the xml component in Portal: by printing a hand-made raw like: htp.p('<NAME>|| CURSOR.NAME_ELEMENT ||</NAME>'); in a loop I get a single raw in the final table:
    '||cursor.name_element||'
    I also tried to make the selection inside a stored procedure and tried to run this from the xml component in the oracle section: I got no error, but still nothing is displayed.
    Furthermore I'm not able to call an XML URL: I have this string displayed:
    >>
    java.security.AccessControlException: the Permission (java.util.PropertyPermission http.proxySet write) has not been granted by dbms_java.grant_permission to SchemaProtectionDomain(PORTAL30|PolicyTableProxy(PORTAL30)) at java.security.AccessControlContext.checkPermission(AccessControlContext.java) at java.security.AccessController.checkPermission(AccessController.java) at java.lang.SecurityManager.checkPermission(SecurityManager.java) at oracle.aurora.rdbms.SecurityManagerImpl.checkPermission(SecurityManagerImpl.java) at java.lang.System.setProperty(System.java) at oracle.webdb.xmlcomp.XMLTransDoc.Transform(XMLTransDoc.java:48)
    >>
    Please help

    XML Component works this way :
    1) All the XML tags data are presented in the XSL form.
    2) If the tag contains <ORACLE> then it will be just treated as sql query or pl/sql block and the output of that will be rendered within that style.
    Remember that <ORACLE> tag is just used as the same way as it is used for Dynamic Pages.
    The only advantage being the data can from database within this tag.
    What you are asking is, the reference should be there for XML tags even when it is running inside pl/sql block ?
    Yha, we can have this as an enhancement and may be addressed in the future releases of portal.

  • XML Component not found

    Hi all,
    >
    I'm having a problem that is very strange. When I create a XML
    Component with urls to both xml and xsl documents, and try to run it,
    the browser says page not found.
    I've made a few experiences and there are a few peculiar behaviers such
    as if the xsl file only references 3 tags (titulo,autor,subtitulo) it
    works fine:
    <xsl:for-each select="CONTEUDO/NOTICIA">
    <xsl:value-of select="TITULO"/>
    > <xsl:value-of select="AUTOR"/>
    > <xsl:value-of select="SUBTITULO"/><p/>
    </xsl:for-each>
    if I reference 4 tags the error apears.... (the xml file size is 104 k)
    My platform is Windows 2000, my database is 8173 and 9ias 10222a.
    Any ideas ???
    Thanx in advance
    Susana

    Susanna,
    Is this related to the XML provider configuration file? Or is this just an XML file you are trying to run in general? If this is just a general XML file, you may want to try posting your question to the 9iAS general form (Products > Application Server > General).
    Thanks,
    James

  • XML Structure in XML Component

    Hi,
    I'm trying to build an XML component in Portal 9.0.2.
    What I need to know is the structure of the XML generated by SQL placed inside the <ORACLE> tags so I can parse it with the XSL style sheet.
    All the examples I've seen (about 2) show the sql coming out in one lump in a table, but I want to be able to parse individual columns from the SQL. All I seem to get is a default presentation of the data.
    Any Ideas ?

    Hi,
    This is not possible currently. There is an enhancement filed for this.
    Thanks,
    Sharmila

  • How to access backing bean of a xml component , in a managed bean of ADF

    Hi,
    We wrote a xml component in JSF and this component is used in ADF project by including the component as jar .
    In a master detail page , we need to update the value of the xml component, when the master row is changed. How to do this.
    We are trying to do this by accessing the backing bean of the xml component in ADF project's managed bean. So when ever the row changes, we can access the managed bean in ADF and then can set the value of the xml component by accessing it's backing bean
    But i can't access the backing bean instance of the xml component in the ADF managed bean. Could you let me know how to do this. Thanks .

    Thanks for the response Shay. The xml component is added as a custom component , with a separate faces-config.xml file . This component is added to ADF project as a jar with a custom tag.
    In the ADF project , i'm having different managed beans and i can access them from a different managed bean.
    The issue is, i can't access the added custom component's backing bean which is available from a different jar , defined in a separate faces-config.xml file . This backing bean is defined with request scope.

  • ORACLE in XML component

    Any suggestions please.
    I have just discovered the XML component and have some work which I want to do with XML.
    Is it possible to get the style sheet to work on the result of the <ORACLE></ORACLE> action?
    Can it do anything with this sort of instruction:
    <xsl:template match="oracle"> <!--processing for each record-->
    <ul><xsl:value-of select="oracle"/></ul></xsl:template>
    or only print out the contents of this sort of instruction:
    <xsl:for-each select="product"> <!--each product-->
    <td><xsl:value-of select="ORACLE"/>
    </td></xsl:for-each>
    Can I use this component to work on a result of a SQL command in any way?

    If am not wrong, you want the style sheet should be re-applied on the resultant output of Oracle tags.
    Yha, that is known issue filed for the future releases of Portal.
    But currently, it is not supported.
    Thanks,
    Balakrishnan.

  • Best way to fill CLOB with external XML from URL

    There seem to be a number of great tools available for pl/sql developers in the 8i DB environment and I am tryng to get a handle on them. So far I have worked with XSQL servlet (not PL/SQL), XML Parser and XSU.
    The problem I have is to fill a clob from an external xml file via a url and then make that clob available for DBMS_XMLSave to insert into DB. What is the best way to do this? I am thinking maybe I have to use utl_http or utl_tcp to fill the CLOB since I can't seem to find a method in the pl/sql XDK?
    XSU - can easily generate CLOB from a query but in this case it is not a query, it is XML from url
    XMlparser - can read in from a url using parse() but the document returned is a DOMDocument rather than CLOB.
    -quinn

    There seem to be a number of great tools available for pl/sql developers in the 8i DB environment and I am tryng to get a handle on them. So far I have worked with XSQL servlet (not PL/SQL), XML Parser and XSU.
    The problem I have is to fill a clob from an external xml file via a url and then make that clob available for DBMS_XMLSave to insert into DB. What is the best way to do this? I am thinking maybe I have to use utl_http or utl_tcp to fill the CLOB since I can't seem to find a method in the pl/sql XDK?
    XSU - can easily generate CLOB from a query but in this case it is not a query, it is XML from url
    XMlparser - can read in from a url using parse() but the document returned is a DOMDocument rather than CLOB.
    -quinn

  • Write XML Component

    Hello All,
    I have an XML component with a local .xml file set as the source.
    <mx:XML id="propXML" source="Properties.xml" />
    It seems relatively straight forward to make changes to the value of a node, but I was wondering how I can save these changes back to the xml file stored locally?
    propXML.node = "new value";
    Save?
    Thank you for any help.
    Cheers,
    David

    You can't write to the local file system in Flex. Are you creating an AIR app? If so then you can write to the local file system. In Flex, you can't even open a file from the local file shystem, only when you are developing the app in FlexBuilder.

  • XML component linked with another - param problem

    Hi all!
    I am trying to put a link from one XML component to another. The second page has a parameter (p_id_mod_er) in the XML code :
    <?xml version = '1.0'?>
    BUTS><ORACLE>
    declare
    tmp varchar2(3000);
    begin
    select buts into tmp from fiche where id_mod_er = :p_id_mod_er;
    htp.print(tmp);
    end;
    </ORACLE></BUTS>
    When I test it in customize mode, it works perfectly.
    Now I need to pass the parameter p_id_mod_er to open this page from another using a link or a button.
    I tried this :
    Update
    When I test the main XML component (first page) I encountered this error :
    oracle.xml.parser.v2.XMLParseException: Expected ';'. at oracle.xml.parser.v2.XMLError.flushErrors(XMLError.java:145) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:263) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:245) at oracle.webdb.xmlcomp.XMLTransDoc.Transform(XMLTransDoc.java:75)
    I know it is working fine when XML_POPUP_BUTS has no parameter :
    Update
    and this is doing nothing :
    Update
    Is there another way to create my link and pass parameters to the XML part of my XML_POPUP_BUTS page???
    Any suggestion would be welcome.
    Adrian

    Hi there mike_mauer,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iPhone: Troubleshooting activation issues
    http://support.apple.com/kb/TS3424
    -Griff W.

  • Creation of the rss xml feed url and the xml itself

    Hello all.
    I know this question has been answered before I think and I get most of the answer, BUT
    I want to put my podcasts on the itunes lib and know that I have to submit the rss xml.
    My issue is that I don't know where I put it physically.
    I publish a web site thru iweb, no problem. If I add a blank page to the site and call the page "rss.xml", then add a text box to the page, then place the xml for the podcast in it. Will that work if i submit the entire URL to itunes?
    I created the blank page and called the page rss.xml, then navigated to the page and in the address bar the last part of the URL was".html". That does not seem correct, but I am pretty much new to this so I am not sure.
    Please help if you can.
    Here is my website:
    http://web.mac.com/davescida/iWeb/Early_riser/rss.xml.html
    I just don't know what I am doing wrong and I don't think it should be this hard...
    Thanks much
    Dave

    I'm quite new to the whole podcast thing and it took me a while to wrap my head around exactly what and RSS feed is, how it works and what you do with it. I'm still learning.
    However, here's what I do now: the XML file is like its own web page. You can't create a blank HTML document and just name it RSS feed or whatever. You need to either hand code the file or use an RSS feed creator program. There are some shareware programs that do that, but I am having difficulty with them. Think of the XML file as the exact same thing as an HTML file (web page). So you need to place the file on your web site or web srever that is hosting your podcast. For example, my podcast audio file is located inside a folder on my web site called "podcast". The XML file (RSS feed file) is also located inside that folder. Therefore the web address is: http://www.mysite.com/podcast/mypodcast.xml
    That is what gets submitted to podcast directories and to iTunes. If it is created correctly, that XML document will contain ALL of the information needed to tell everyone about your podcast (description, etc.) and where the audio file actualy is so it can be downloaded automatically by iTunes.
    I hope this makes sense.

  • XML to URL Encoded (XSLT?)

    I have some data in a Document object and need to convert it to URL encoded format so, for example this:
    <share>
    <code>GSK</code>
    <price>13.34</price>
    </share>
    becomes something like...
    &code=GSK&price=13.34& ...
    I've been looking into doing this with XSLT but have run into difficulties. Do you think this is the best way of solving this problem, or is there another easier way?
    Thanks.

    I did something similar, basically takes a incoming XML file and output a HTML with certain link containing XML element value as query string. One of the things you have to be careful is, like Dr. Clap mentioned, to properly encode the value. I accompolished by using java extension in my XSL.
    For example:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
              xmlns:encode="java.net.URLEncoder"
              extension-element-prefixes="encode"
              version="1.0">
         <xsl:template match="/">
              <xsl:variable name="myURL" select="concat('?blah=', encode:encode($myValueFromXML))" >
         </xls:template>
    </xsl:stylesheet>

Maybe you are looking for

  • IPod Shuffle 2nd gen with Error (-50)

    My wife and I each have an 2nd gen ipod shuffle.  I cannot add songs onto either one, it give me an error message.  I have updated iTunes and checked for updates for my ipod.  It says that it is syncing with the computer and my ipod shows up on itune

  • Why does my screen keep dimming and brightening?

    I'm just sitting here in front of my fire during a mid-March snow storm in Maine, and my screen keeps dimming and then brightening.  It's getting quite annoying. What is going on?

  • LO's extraction and HR extraction  7.0 flow

    Dear All, Any one suggest LO's and HR extraction is it possible in 7.0 LO's extraction and HR extraction  7.0 flow Installing the Standard Business Content any one knows please reply me ASAP. Any standard Transformations are available In BI 7.0 pleas

  • HDMI video capture card

    I need to specify a HDMI video capture card to work with Adobe Flash for the DCO application on a Dell T3500 PC. The system also includes a Black Magic Designs H.264 Pro Recorder for recording training sessions. Can anyone recommend a card that will

  • Serious Problem with Start-up Classes

    Hi, I'm using Start-up classes (implementing com.evermind.server.OC4JStartup) to automatically cache some metadata on Server Start-up. Its a great feature and works really well on OC4J Standalone, but I'm having difficulties getting it to work with t