Severe xml inconsistency

HI gentlemen,
When trying to install basicDemo, I got in a mesh.
- Installing xdbUtility it does not create resource /sys/databaseSummary.xml because it already exists (from a first trial).
- On trying to delete it from Enterprise Manager I receive ORA-942 - not found. However it is listed under resources.
- When I select value(x) from XDB_DATABASE_SUMMARY x, I get reasonable answer, however ...<ServiceName>enable</ServiceName>... is nasty. What is "enable" here and why do I not have a normal construct instead?
- When I type C:\TEMP>lsnrctl status, several other services are listed but not "enable".
- And when I connect through ftp, and then
ftp> get /sys/databaseSummary.xml - this is mad. Again ORA-942.
- Finally, when trying to verify HTTP, ie
http://<myhost>:8080/sys/databaseSummary.xml, the page can not be displayed.
That means, I am fully prevented from exercising with the demo and learning.
Could you please help me a bit, where am I wrong and what to do?
Many thanks, regards from
Miklos HERBOLY
ftp> get /sys/databaseSummary.xml

login to the database using sql*plus with SYS user with SYSDBA privileges and issue.
dbms_xdb.deleteresource('/sys/databaseSummary.xml', 4)
this is force delete option.
then execute the below
create or replace view XDB_DATABASE_SUMMARY of xmltype
with object id
substr(extractValue(sys_nc_rowinfo$,'/Database/@Name'),1,14)
as select xmlelement
             "Database",
             XMLAttributes
                x.NAME as "Name",
                extractValue(config,'/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port') as "HTTP",
                extractValue(config,'/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port') as "FTP"
             XMLElement
                "Services",
                (Select XMLAGG
                           XMLForest(Value as "ServiceName")
                 From V$SYSTEM_PARAMETER
                 WHERE NUM = 491
             XMLElement
                "Hosts",
                (Select XMLAGG
                           XMLForest(HOST_NAME as "HostName")
                 From V$INSTANCE
FROM V$DATABASE x, (select dbms_xdb.cfg_get() config from dual)
declare
res boolean;
-- dbref ref xmltype;
   dbxml xmltype;
begin
   begin
     dbms_xdb.deleteResource('/sys/databaseSummary.xml');
   exception
     when others then
       null;
   end;
   select value(x)
   into dbxml
   from xdb_database_summary x;
   res := dbms_xdb.createResource('/sys/databaseSummary.xml',dbxml);
end;
select xdburitype('/sys/databaseSummary.xml').getClob() from dual
Check for the output here itself. Once your view creation is successful even you http should go through.

Similar Messages

  • Combine several XML files with same structure

    Hello,
    I have several XML files with the same structure and I want to combine them and create a new XML file to be bale to compare that information easily. It does not look very difficult but as I am very new in this I am not bale to get it
    The structure of my actual files would be something simlar to:
    Root->...-> Name->Address, Telephone
    And what I would like to have si something like
    Root->.... ->Address-> Name 1,Name 2....
    Root -> ...->Telephone-> Name 1, Name 2....
    Does anyone know how to do this.
    Thanks

    You could write a XSL transformation file that does this and transform your input file via
         * Transform XML file with a style sheet.
         * <p><b>Example:</b><p>
    <table align="center" bgcolor="#E0E0E0" border=1 cellpadding="10" cellspacing="0"><tr><td><pre style="margin-top:0; margin-bottom:0">
    XMLTransformer t = new XMLTransformer();
    FileOutputStream fos = new FileOutputStream("C:/Project/result.html");
    String xmlFile = "C:/Project/source.xml";
    String styleSheet = "C:/Project/stylesheet.xsl";
    t.transform(xmlFile, styleSheet, fos);
    </pre></td></tr></table>
         * @param xmlfile The XML file to transform.
         * @param style Stylesheet to use for transformation.
         * @param outputStream OutputStream to write the transformed result to.
        public void transform(String xmlfile, String style, OutputStream outputStream) {
            DocumentBuilderFactory factory =  DocumentBuilderFactory.newInstance();
            //factory.setNamespaceAware(true);
            //factory.setValidating(true);
                //todo: use inputstreams instead of file names
                try {
                    File stylesheet = new File(style);
                    File datafile   = new File(xmlfile);
                    DocumentBuilder builder = factory.newDocumentBuilder();
                    document = builder.parse(datafile);
                    // Use a Transformer for output
                TransformerFactory tFactory = TransformerFactory.newInstance();
                StreamSource stylesource = new StreamSource(stylesheet);
                Transformer transformer = tFactory.newTransformer(stylesource);
                DOMSource source = new DOMSource(document);
                StreamResult sr = new StreamResult(outputStream);
                transformer.transform(source, sr);
            } catch (TransformerConfigurationException tce) {
               // Error generated by the parser
               System.out.println ("\n**XMLTransformerr Factory error");
               System.out.println("   " + tce.getMessage() );
               // Use the contained exception, if any
               Throwable x = tce;
               if (tce.getException() != null) {
                   x = tce.getException();
               x.printStackTrace();
            } catch (TransformerException te) {
               // Error generated by the parser
               System.out.println ("\n** Transformation error");
               System.out.println("   " + te.getMessage() );
               // Use the contained exception, if any
               Throwable x = te;
               if (te.getException() != null) {
                   x = te.getException();
               x.printStackTrace();
             } catch (SAXException sxe) {
               // Error generated by this application
               // (or a parser-initialization error)
               Exception  x = sxe;
               if (sxe.getException() != null) {
                   x = sxe.getException();
               x.printStackTrace();
            } catch (ParserConfigurationException pce) {
                // Parser with specified options can't be built
                pce.printStackTrace();
            } catch (IOException ioe) {
               // I/O error
               ioe.printStackTrace();
        }//transform()

  • Several XML-levels (idoc) to one XML-level

    Hi.
    I've to create a message mapping for an order-Response (ORDERS05) Idoc to a customer-xml.
    Everything works fine instead of one problem.
    There are several XML-levels on the idoc-side which should be mapped to one-level xml on the customer-side.
    ...and it shouldn't be XSLT-Mapping.
    Here is an example:
    Source-IDOC-XML
    ===============
    E1EDP01 (items)
    .MENGE  (amount)
    .VPREI  (price)
    E1CUCFG (configuration)
    .E1CUVAL (characteristics)
    ..CHARC  (charac-name)
    ..VALUE  (charac-value)
    Target-Customer-XML
    ===================
    <header>
      <../>
      <../>
    </hader>
    <items>
      <matnr/>
      <amount/>
      <price/>
      <f1/>
      <f2/>
      <f3/>
    </items>
    E1EDP01 --> <items>
    .MENGE  --> <amount>
    .VPREI  --> <price>
    E1CUCFG --> ?
    .E1CUVAL--> ?
    ..CHARC --> ?
    ..VALUE --> ?
    And here is my problem. Depending on the field CHARC the field VALUE should got to the fields <f1>, <f2> and <f3>.
    Should I create a java-function in the mapping or is it also possible with contexts?
    Thanks for your help.
    Pascal

    Hi,
    IS the E1CUCFG segment not related to the P01 segment ?
    The under standing that i got is that configuration values for charactersitics F1,f2,f3 needs to put in the item lines....If yes, pls have the following mapping for F1, F2 & F3.
    CHARC(at IDOC context)='F1'
                               if --- useOneASMany ---F1
                              /       |       
          value(at IDOC Ctxt)         |        
                                     e1edp01    matnr(or a field in e1edp01 segment)
    for the other fields, F2, F3, give the corresponding condition in the equals function...
    Thanks,
    Renjith.

  • Messagesplit of IDOC to several XML messges

    Hello Folks,
    I have a following issue:
    I want to split an INVOICE Idoc to several XML Messages with the following condition:
    If INVOICE belongs to country  then the  xml message should be created..
    It works only if the INVOIC.xml belongs only to one country, but if the INVOIC.xml includes several IDOCs to several countries, then the message split does not work. All needed Information are mapped only to the first message instead to split to message 2 or message 3, which is found. How can I solve this?
    For instance salesorg in invoice belongs to UK  or Ireland, then the target-xml should be created see the mapping for the first message 1 below.
    But if there several IDOCs see Picture 3 which includes IDOCs for GB, Portugal and Italy for instance, it does not work. How should the mapping step should be correct? I also change the context of the ORG field to the IDOC Segment, because it refer to E1EDK14.
    Thanks in advance for your help
    Kind regards,
    Erkan

    Hi Erkan,
    Can you try with below logic,
    Invoice filed-----RemoveContext--------SplitByValue(Valuechange)-------Idoc
    Cheers,
    Giri

  • Technical sulution for displaying several xml messages

    (Using Jdeveloper 10.1.3.3.0 Databaseversion 9.2.0.6.0)
    I am searching for a technical solution to display several xml messages.
    In a table with a XMLType collumn are xml-messages stored with different structures.
    I am searching for a way to display this xml messages in, for example, Internet Explorer.
    Can anyone put me on the right track?
    Thanks in advance.
    Edited by: Erwin Snippert on 27-aug-2009 10:51

    Hello Frank,
    I`m a newbee on this area, can you give me an example?
    Thanks in advance.
    Erwin

  • Listening to several xml-events within one workflow

    We are running WLI20 and are using Sybase(11.5) as a respository database. We are
    having the following problem with eventnodes.
    1: Within one template we are using the action 'post external xml' to post three
    unique messages to the destination JMSQueue "com.bea.wlpi.EventQueue".
    2: In the same template we have added three eventnodes which are listening for
    the unique messages. The number of unique messages is the same as the number of
    eventnodes.
    We get the following result:
    All messages are sent to the JMSQueue(this is verified).
    Often one or more of the eventnodes does not receive the xml-message. It is no
    obvious pattern in which eventnode that doesn't receive the message. Once in a
    while all three eventnodes get their messages.
    Attached is a test template that will raise the problem.
    Have you got any ideas of how to solve this problem?
    [test.xml]

    I am also getting exactly the same behaviour. In one template I have 4
    tasks. each task posts intenral xml event and waits for the response with a
    unique key value.
    Sometimes the all the steps in the workflow get completed and with the same
    message input, one of the event does not invoked even though the XML message
    does contain the key-value that matches that event. I even verified this
    with the EventWatch table..
    Looks like there is problem. Pls WLI guys test it out.
    - Jagdish
    "tony lodge" <[email protected]> wrote in message
    news:[email protected]..
    Stian
    Although I do not have any idea what is causing the problem please try
    using addressed messaging and see what happens. Also, can you log asupport
    case so that I can create a debug version of the event listener so we can
    see what is actually making into WLI
    Tony
    "Stian Dahle" <[email protected]> wrote in message
    news:3b681540$[email protected]..
    We are running WLI20 and are using Sybase(11.5) as a respository
    database.
    We are
    having the following problem with eventnodes.
    1: Within one template we are using the action 'post external xml' to
    post
    three
    unique messages to the destination JMSQueue "com.bea.wlpi.EventQueue".
    2: In the same template we have added three eventnodes which are
    listening
    for
    the unique messages. The number of unique messages is the same as thenumber of
    eventnodes.
    We get the following result:
    All messages are sent to the JMSQueue(this is verified).
    Often one or more of the eventnodes does not receive the xml-message. Itis no
    obvious pattern in which eventnode that doesn't receive the message.
    Once
    in a
    while all three eventnodes get their messages.
    Attached is a test template that will raise the problem.
    Have you got any ideas of how to solve this problem?

  • Save several result of ora xml in a folder

    Hello,
    I would like to save the result of the ora xml query in one folder. I know that if the result is only one register (one xml file) is:
    1. Create a directory
    create or replace directory test_dir as 'c:\oracle\test';
    2. Run procedure
    CREATE OR REPLACE PROCEDURE Getloc3
    IS
    xmldoc CLOB;
    BEGIN
    SELECT XMLSerialize(DOCUMENT
    ... all xmlelement, xmlagg,..)
    INTO xmldoc
    FROM table;
    DBMS_XSLPROCESSOR.clob2file(xmlprolog||xmldoc,'TEST_DIR','index'||TO_CHAR(SYSDATE, 'YYYYMMDD-HH24MISS')||'.xml');
    END;
    That works if the result is only one register, how can I do if I have several xml file as the result query.
    Thanks

    That works if the result is only one register, how can I do if I have several xml file as the result query.Not sure what a register means to you.
    Do you want to say that the query returns multiple "rows" (or "records")?
    If so, just iterate over the result set with a FOR loop :
    FOR r IN (
      SELECT XMLSerialize(DOCUMENT
               XMLElement(
             ) as xmldoc
      FROM table_name
      WHERE ...
    LOOP
    DBMS_XSLPROCESSOR.clob2file(xmlprolog||r.xmldoc, 'TEST_DIR', 'index'||TO_CHAR(SYSDATE, 'YYYYMMDD-HH24MISS')||'.xml');
    END LOOP;

  • How to import multiple XML files into one inDesign document without copy/paste ?

    I use InDesign CS6, and I have several XML files with the same structure. Only the data are different.
    I created  an Indesign layout with some tagged placeholder frames on merge mode, for automated layout.
    Today for each XML file I have to create a new InDesign document to import the XML. Everything works fine. Then in order to have all Indesign layouts one after the other into a single Indesign layout, I have to use the copy/paste function.
    I mean for example, copy the contents of all documents to the first one. Or add pages of other documents to the first one, then delete spaces between each page.
    So my question is the following:
    How to repeat this process without copy/paste function, knowing that the
    number of XML files could be unknown.
    Thank you very much for your answer.

    Yes, effectively I would like to catalogue the files into one collection so i can save as one PDF and Print as one.:)
    I know I could save each AI as a pdf them then merge the pdf's together in acrobat, but I have nearly 100 files so would feel more comfortable seeing them all together before print / saving.
    My concern is that if I insert them in Ai, will the file resolution reduce? and will the ai still be editable and would it update the indesign file?
    Thanks for the quick reply

  • RE: GETTING AN ERROR WHILE LOADING ACL USING XML FILE

    I have generated several XML files (ACL) to load in the share services but when I do I get the following error message:
    "Errors occured during syncrhonization: [com.hyperion.planning.DuplicateUserException: Another user with the name admin already exists.]."
    I am not sure how to resolve this issue. Any help and/or assistant is greatly appreciate it.
    fsanchez

    Let me take that back. I have one or more user with admin privileges. Here is one of the sample XML files that I created.
    <? xml version = "1.0" encoding = "UTF-8" ?>
    <acls>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>ABN-NW PD</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READWRITE</accessMode>
    <flag>@IDESCENDANTS</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Actual</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READ</accessMode>
    <flag>MEMBER</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Balance Sheet</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READWRITE</accessMode>
    <flag>@IDESCENDANTS</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Budget</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READWRITE</accessMode>
    <flag>MEMBER</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Final</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READ</accessMode>
    <flag>MEMBER</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Income Statement</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READWRITE</accessMode>
    <flag>@IDESCENDANTS</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Property Director Budget Process</objectName>
    <objectType>SL_TASKLIST</objectType>
    <accessMode>READ</accessMode>
    <flag>MEMBER</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Property Directors</objectName>
    <objectType>SL_FORMFOLDER</objectType>
    <accessMode>READWRITE</accessMode>
    <flag>@IDESCENDANTS</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Statistical Accounts</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READWRITE</accessMode>
    <flag>@IDESCENDANTS</flag>
    <isUser>N</isUser>
    </acl>
    <acl>
    <name>ABN_NW_PD</name>
    <objectName>Working</objectName>
    <objectType>SL_DIMENSION</objectType>
    <accessMode>READWRITE</accessMode>
    <flag>MEMBER</flag>
    <isUser>N</isUser>
    </acl>
    </acls>

  • How to create an XML document from a String.

    Can anyone help,
         In the Microsoft XML Document DOM there is a load function load(string) which will create an XML document, but now we are switching to Java and I do not know how to create and XML document from a string, this string �xml document� is passed to my program from a webservice and I need to read several xml elements form it in a web server.
    This string is a well formatted XML document:
    <?xml version="1.0" encoding="UTF-8"?>
    <Countries NumberOfRecords="1" LanguageID="en-us">
         <Country>
              <CountryCode>AU</CountryCode>
              <CountryName>AUSTRALIA</CountryName>
         </Country>
    </Countries>

    Thanks PC!
    I made it work using:
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    factory.setIgnoringComments(true); // We want to ignore comments
    // Now use the factory to create a DOM parser
    DocumentBuilder parser = factory.newDocumentBuilder();
    //TransformThisStringBuffer is a string buffer wich contain the 'XML document (String)'
    InputStream in = new ByteArrayInputStream(TransformThisStringBuffer.toString().getBytes());
    // Parse the InputStream and build the document
    Document document = parser.parse(in);
    But which one is faster InputSource or InputStream, were would you put the "new InputSource(new StringReader(yourString))" in the above code?

  • Several itl files - itunes process runs but itunes wont open

    This is a little complicated and I have now run into several related issues.  This all started a few weeks ago when  I attempted to move my itunes library from one external hard drive to a new and larger external hard drive on my windows vista PC.  I copied/transfered all of what was on the older driver onto the new drive.  That's fine and dandy.  I also at the time did some maintenance removing old music folders and itunes library files from several years of use. I had all kinds of duplicate music files (that got copied over at the same time) and a horde of dead links and playlists too.  Very messy.  In short my library had become unmanageable a long time ago, its size of close to 500 gigs.
    Everything copied over and itunes opened and worked okay. 
    However problems have now happened after (and it may be coincidental) loading the latest version of iTunes.  And at the same time using several programs to attempt to find and delete duplicates, fix playlists, located files and dead tracks etc.  These included "iTunes Library Tool Kit" and duplicate file finder, plus Steve MacGuire's vbs scripts.
    It all came to a head now when the other day iTunes would open (you can see the process running in TaskManager) but the window would not open.  Basically I followed http://support.apple.com/kb/ts1717.  And it seems to have fixed the "not opening" issue.  However.  Before going through and recreating my library I realize I have several itl files and several xml files and all kinds of dead or old itunes music files. 
    So I guess I'm asking .... is there some way of going back to square one?  Scrubbing any and all history of iTunes, and having iTunes recreate my library as if my PC was new to Apple and iTunes? 
    If so what is my best approach?  Should I erase old folders and files first? 
    I've attached an example of what I found after searching for .itl files.  (lines 2 - 5 were moved to the desktop)  thats where they still reside, but I stopped and posted this inquiry before doing anything else. 
    Don't know if it matters I have my library also located in iCloud.

    Hi there. If you want a clean start I'd suggest you shift-start iTunes and create a new empty library at F\iTunes, make sure the media folder under Edit > Preferences > Advanced is set to F:\iTunes\iTunes Media and the options to Keep... & Copy... are enabled. I'd then move the existing media inside the iTunes Media folder before adding it to iTunes. Either use the Automatically Add to iTunes folder or move everything deeper inside, e.g. F:\iTunes\iTunes Media\Imports so that once iTunes has imported everything and moved it to where it thinks it belongs you can easily clean up any artwork, playlist files etc. that iTunes ignores.
    Note that a clean start like this will lose all ratings, play counts, playlists, date added information, and if you have any devices may mean that all media needs to be resynced. Chances are the media folders may still contain duplicates but these can be cleaned using my DeDuper script.
    Take a look at this backup tip... Ideally you would backup what you have before you get started, just in case you get over enthusiastic at some point, then redo the backup once you have the rebuilt library working as you want it.
    tt2

  • Help using XML as Dictionary key

    I'm not quite understanding the key in Dictionaries. I thought if the same key was passed twice it would still only create one pair in the dictionary. Can anyone explain this to me?
    With a key of a string or number it seems to work as I would expect, but the XML as key doesn't seem to work. The line in there that changes the title was just to check if the XML was being passed as a reference or value. It is a reference. So it seems like the dictionary should know the key is the same. Why doesn't it?
    I'm trying to create an index of the content in some XML Nodes and want to be sure that various nodes don't get added to the index more than once. I also My thinking was to use the XML node itself as as the key. It is the only thing I have in the data that is for sure unique. Is there a way to do what I want to do?
    var xmlData:XML=<data>
    <session>
    <title>Document 1</title>
    <desc> <![CDATA[blah blah blah]]></desc>
    </session>
    <session>
    <title>Document 2</title>
    <desc> <![CDATA[blah blah blah]]></desc>
    </session>
    </data>;
    var d:Dictionary=new Dictionary();
    var xml1:XML=xmlData.session[0];
    var xml2:XML=xmlData.session[0];
    addToDictionary(xml1);
    addToDictionary(xml2);
    xmlData.session[0].title="New title";
    for(var a:* in d){
              trace(a.title+": "+d[a]);
    function addToDictionary(xml:XML){
              d[xml]=int(Math.random()*500);
    traces
    New title: 2
    New title: 135

    If I change the assigment to:
    var xml1:XML=xmlData.session[0];
    var xml2:XML=xml1;
    addToDictionary(xml1);
    addToDictionary(xml2);
    Then it does work as I had hoped it might. In any event...
    I'm trying to make a (forward) index of some properties of each node in an XML—total word count, frequency of each word, etc. So later when my reverse index returns several XMLs I can quickly look up those data and compute a tf-idf for relevance ranking.
    I'm thinking the conversion toString() will slow the whole thing down? I'll give it a look-see.

  • Transmission of XML Documents in a vector via WebService using Axis

    Hello,
    I'm trying to transmit several XML documents (belonging to a DICOM-Study) from WebService Provider to WebService consumer.
    This is my server/provider:
    public static Vector<Document> returnPatientStudies(String PatientID)
    DocumentBuilderFactory factory  = DocumentBuilderFactory.newInstance();
    DocumentBuilder        builder  = factory.newDocumentBuilder();
    File x = new File(PATH + "patient.xml");
    Document document = builder.parse(x);
    DCM2XMLFiles.add(document);This code works fine if it's executed locally in a JAVA class or via http/GET (http://.../axis/services/Gateway?method=returnPatientStudies&PatientID=123456).
    After using Axis' WSDL2Java-Tool I wrote a client:
    public static void main(String[] args) {
    GatewayServiceLocator locator = new GatewayServiceLocator();
    try {
         Gateway gateway = locator.getGateway();
         Vector<Document> documents = Gateway.returnPatientStudies("123456");
    ... Everytime I try to invoke this client-side class, I get an "org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize."
    Obviously the client gets confused by the XML content of the vector I'm trying to transmit (this error also occurs if I transmit XML files constisting only of a single empty element <empty />).
    I think this is a simple problem, since one single XML Document can be transmitted and gets displayed on client side, but I don't have a clue how to solve this vector<Document> problem. Hope someone can help me.
    Thanks

    Hi thanks for your answer.
    I am striving to make this webservice as universal as possible. I have only been returning dumps to my calling page to try and get a view of what's going on inside the component when I call it as a webservice. I wouldn't dream or returnin these back the client.
    The major core of this idea was to create a single component that acts as a facade for a number of other components. Because of this the component needs to accept and return a dynamically variable number of arguments. Because of this I selected xml as this seemed like the ideal solution; I can pass in an out some xml that contains all the arguments. I was hoping to reuse some internal functions to provide external webservices, and use this facade architechture to add a layer of security and logging which doesn't exist with the current functions.
    Do you have any suggestions of how I could best acheive something along these lines? Has someone already created a framework or methodology for creating webservices with Coldfusion which would provide this sort of functionality out of the box?
    Thanks again
    Jim

  • Need help processing XML files

    I'm fairly new to Java and have never worked with XML. I need to process several XML files and display them in a matrix for comparison and I'm not sure if I need to understand SAX, DOM or some other API. I'm not creating the files, I'm just parsing them to put into a table so they can be displayed for comparison. I could be processing up to several hundreds of files, so performance would also be an issue.
    I'm just looking for options and possible areas I can begin to look for help. Can anyone tell me which APIs would help me acheive my goal?
    Any help would be greatly appreciated.
    Thanks

    Thanks for the response Kev. I guess a better diescription of the problem would be to say that I want to display the attributes and values of the differnet files in a matrix.
    For example...
    Here are 2 sample xml files with the same tags and attributes.
    XML FILE A
    <tag1 name="Fred", country="ca">
    <tag2 group-name="Group 1">
    <tag3 color ="blue">
    </tag3>
    </tag2>
    </tag1>
    XML FILE B
    <tag1 name="Sue", country="us">
    <tag2 group-name="Group 2">
    <tag3 color="red">
    </tag3>
    </tag2>
    </tag1>
    I would like to have them displayed as follows...
    XML FILE A XML FILE B
    tag1 name           Fred Sue
    tag1 country           ca us
    tag2 group-name          Group 1 Group 2
    tag3 Color          Blue     Red
    HTML tags didn't work, so the matrix is bunched together, but I think you get the idea. My question is, which would be better to use SAX or DOM. I could be running this on as many as 50 or 60 files, so the matrix could get very large and performance could be an issue as multiple users could be doing this comparison at the same time.

  • How do you deal with this Exception in Java xml transformation

    I was trying to use a java class to do a multiple transformation on and xml file that consists of several xml codes as files.
    This is the Error i got
    Exception in thread "main" java.lang.OutOfMemoryError

    Increase the memory maximum java is allowed to consume, e.g.
    java -Xmx512m ...for a maximum of 512 Megs.
    Regards

Maybe you are looking for

  • What exactly are unscaledWidth and unscaledHeight in mobile item renderers?

    Hello, What exactly are unscaledWidth and unscaledHeight that get passed to the measure() method for a mobile item renderer? I am guessing renderers start at  "default" width and height (so unscaled) which get scaled based on DPI. Is that it? Thank y

  • Can't do Publish/Publish Setting a movie in Flash CS3

    I installed Flash CS3 while still keeping Flash 8. When I try to publish/publish setting a movie, an alert pops up saying 'No valid HTML Templates are available to complete this operation'. Probably there was a conflict so I uninstalled both Flash CS

  • Uiadump32 - issue with 64 bit windows 7 recovery?

    My daughter has a HP DV6 Laptop model 2010sa. The hard drive has failed but when we use the recovery disks we get an error about uiadump32 failing. When I use the recovery DVDs for the laptop, it loads them and then restarts a couple of times. BUT, w

  • Tool for generating ER diagrams

    Hi , I need a free tool for generating ER diagrams. Using Tool TOAD i can do but, i Have 1000 objects in one schema where i need to generate er diagrams by grouping 10 objects at a time. to do so i need to uncheck the remaining Objects manually. in a

  • Saving or exporting messages

    I have a couple of conversations on my iPhone that I'd like to save for posterity's sake but I can't seem to figure out how to do this.  Ideally I could export the thread into one PDF file that I could read at my leisure.  But as far as I can tell th