Simple XML import via url (not xml file, rather xml stream)?

Looking to solve this issue: have a web-based application and need to populate form with data in order to generate custom report. Understand I can create an xml file and have the pdf read this file. Want to avoid creation of file and get data directly from url (e.g. https://myserver/list/widgets/format/xml - this request will return the xml). I can do this in Flash by specifying a url as opposed to a flat file when importing data. Does LiveCycle offer the same feature?
Appreciate your time and responses!

Richard,
I guess a link or shortcut won't do the trick as it is still pointing to the actual file that is stored in the repository that is enabled in the xmlforms_filter....
What might be worth trying is to create 2 new File System repositories that point to the same File System.
For example: fsr_xml_plain and fsr_xml_fancy point to lets say  Windows: C:/my/test/folder or Unix: /my/test/folder...
Then you add the repository fsr_xml_fancy to the xmlforms_filter and you leave fsr_xml_plain out of it.
Now if you call https://server.url.com:50100/irj/go/km/docs/fsr_xml_fancy/file.xml then you get the formatted xml file
and if you call https://server.url.com:50100/irj/go/km/docs/fsr_xml_plain/file.xml then you get the unformatted plain xlm file
I don't know if above works as I don't have the time to validate it for you at this moment.
Good Luck,
Benjamin Houttuin

Similar Messages

  • XML-25003: Failed to find config file 'XSQLConfig.xml' in CLASSPATH

    I am getting XML-25003: Failed to find config file 'XSQLConfig.xml' in CLASSPATH in the employee information sample. I copied to 'XSQLConfig.xml' OC4J_HOME\j2ee\home\lib and still it not working.
    Where do I need to put the 'XSQLConfig.xml' file?

    Where did you put your 'XSQLConfig.xml'?

  • Can't receive variables from HTML to Flash in AS3 passed via URL (not Flashvars)

    hey all,
    can't seem to get AS3 to recognize variables passed via URL
    (not Flashvars). i can get vars passed with Flashvars in the
    javascript but I don't want to use that method. i'm simply
    extending the .swf call with .swf?var=123 in the embed and on the
    AS3 side i'm calling loaderInfo.parameters.var
    thought this would work but doesn't. what am i doing wrong?
    HTML:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
    width="1024" height="768" id="main" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="main.swf?var=123"
    /><param name="quality" value="best" /><param
    name="bgcolor" value="#ffffff" /> <embed
    src="main.swf?var=123" quality="best" bgcolor="#ffffff"
    width="1024" height="768" name="main" align="middle"
    allowScriptAccess="sameDomain" allowFullScreen="false"
    type="application/x-shockwave-flash" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>
    AS:
    t = new TextField();
    t.text = String(loaderInfo.parameters.var);
    thx in adv.
    michael

    appreciate you were going for brevity, but i think the
    answer's going to be hidden either in your complete html code or
    your complete AS code. without seeing this i can only keep
    guessing.
    that said, my latest guess is that you're not passing your
    variable within the AC_FL_RunContent function. there are two
    properties set in this function - src and movie, which contain your
    movie name, to which you can add any parameters you wish to pass.
    eg.
    'src', 'main?var=123',
    'movie', 'main?var=123',
    where main is the name of your swf and var the name of the
    parameter you wish to pass.
    if this function fails - if javascript isn't available in the
    browser, for example, or AC_RunActiveContent.js is missing, then
    the <object> tag you described is used. (this object tag is
    sitting inside a <noscript> tag.)

  • Error messages during XML import of Project Pro 2010 files

    Hi folks,
    I'm trying to diagnose a couple of sick Project Pro 2010 files loaded from Project Server by saving them locally as XML files and then reimporting (not connected to the server during import).  The anomalous behavior exhibited by both files
    is that one takes 15 minutes to load from the server, while another takes over 20 minutes. These are not typical load times for this server.  In both cases, Project consumes about 25% of the CPU during the load process. There's little network I/O
    while this goes on, and when externally linked schedules are loaded to the cache, they load very quickly.  Other than the long load times, the schedules appear to be behave normally, except for some very odd print preview behaviors in one of the schedules
    that I asked about in a different thread (among other things, the default print preview start date is 17 years after the default finish date, and the finish date is about 11 years before the schedule actually starts).
    The questions I'm asking here are about errors I see when I try to import the files exported as XML, and whether they might provide any clues as to what's causing the load time issues.
    When attempting to import one of the files saved as XML, a pop-up appears that says, "The actual finish date is before some of the previously entered timephased actual work values. If  you continue with this operation, Project will truncate
    some of the previously entered timephased actual work values. To continue, click OK..."
    When attempting to import the other file saved as XML, I get a series of pop-ups identifying a series of tasks that say, "The timephased edit will cause 'Develop Requirements Review Meeting Mi...' to start before 'Conduct Requirements Review"
    finishes.  As a result the task link cannot be honored.  You can: () Continue. Keep the timephased edit and ignore the link.  () Cancel. Ignore the timephased edit.  (OK/Cancel/Help)".
    Interestingly, both files contain external Project Server predecessor / successor links.  In the case of the first file, the XML import just appears to strip those out.  In the case of the second file, I get a long series of pop-ups (with
    some buggy text inserts) in pairs.  The first message in the pair is typically "An import error occurred.  The element <PredecessorLink> in the <Task> element with <UID>=611 has invalid data.  Verify that the file
    name and path are correct, and then try again. (OK)", where the indicated UID varies. The second pop-up in the pair appears to have a buggy text constructor and looks like this, with "[stet]" indicating the apparent buggy text inserts,
    "An import error occurred.  The element [stet] Verify that the file name and path are correct, and then try again. [stet] in the 309 element with <UID>=7 has invalid data. [stet] ^4 (OK)"
    In the second pop-up of the pair, the "xyz element" varies, but the "<UID>=7" reference and "^4"  are consistent. In the XML, UID 7 appears to refer to a calendar, a task which includes a number
    of entries similar to:
    <TimephasedData>
    <Type>24</Type>
    <UID>7</UID>
    <Start>2014-10-03T08:00:00</Start>
    <Finish>2014-10-04T08:00:00</Finish>
    <Unit>2</Unit>
    <Value>PT8H0M0S</Value>
    </TimephasedData>
    ... and to an assignment:
    <Assignment>
    <UID>7</UID>
    <TaskUID>10</TaskUID>
    <ResourceUID>-65535</ResourceUID>
    <PercentWorkComplete>100</PercentWorkComplete>
    which includes blocks like:
    <TimephasedData>
    <Type>2</Type>
    <UID>7</UID>
    <Start>2014-10-17T08:00:00</Start>
    <Finish>2014-10-17T17:00:00</Finish>
    <Unit>2</Unit>
    <Value>PT8H0M0S</Value>
    </TimephasedData>
    Eventually, the second file also does load with no external file links indicated.
    Again, I'm just looking for anything that might be a clue to the long Project Server load times.
    Thanks in advance,
    LP

    Slow performance can come from a number of different things. Without knowing more detailed information about your setup or workflow, it's difficult to accurately troubleshoot.
    -What kind of Mac are you using?
    -What is your source format?
    -Where is your source footage located?

  • Problem with XML import MDM 7.1 - Can't generate Xml Schema

    Hi All,
    When I try to open an XML file using Import manager, I'm getting some errors, as detailed below. I mention that I'm using MDM 7.1.
    The first error I received was the following:
    "Can't open C:/Program files/SAP MDM 7.1/Import Manager/XSD.exe". I copied the file xsd.exe in the Import Manager folder, as suggest here:
    Re: Import Manager Error.
    Afterwards, I received a new error:
    "Can't generate Xml Schema for: C:/Program files/SAP MDM 7.1/Import Manager/filename.xml"
    If anyone has faced the same problem - and solved it -, could you please help me find the reason for this behaviour?
    Regards,
    Laura

    Hi Laura,
    The error message "Can't generate Xml Schema"  might be related to DTD. the XML file has a directive for loading DTD.
    MDM doesnot support DTDs.
    Remove the DTD line and make sure there is only one root element in the XML file and try again.
    Hope this helps,
    Bes t Regards,
    Silpa Chillakuru

  • HTTP error: could not POST file in XMl spy

    Hello Experts,
      Scenario is : Soap -> XI -> R3 (Proxy).
    I have created a WSDL using the url as :
    http://pfodx100.xyz.dk:52000/XISOAPAdapter/MessageServlet?channel=:BS_Mob:Soap_Sender_Sync_CC
    (I have replaced here actual domain with xyz, also renamed CC, etc. But format for URL used is same as that shown above)
    when checked in XMLSPY, WSDL is valid.
    On sending a soap request to Server from XML spy i get error as :
    HTTP error: could not POST
    '/XISOAPAdapter/MessageServlet?channel=:BS_Mob:Soap_Sender_Sync_CC&amp;version=3.0&amp;Sender.Service=BS_MobileAp&amp;Interface=+http%3A%2F%2Fxyz.dk%2Fmobiletimereg%2Fxyz%5EOutboundInterface_Async" on server 'pfodx100.xyz.dk'
    On testing this URL via Internet Explorer, first I get a warning :
    "There is a problem with this website's security certificate"
    If I select "Continue to this website (not recommended). "
    IE prompts for : User name and PWD. On Entering uname and passward, i get the message as :
    Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_15_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
    Classname ModuleProcessor: null
    Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    Lookupname for remoteModuleProcessorLookupName: null
    ModuleProcessorClass not instantiated
    ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
    ModuleProcessorRemote not instantiated
    Please sugest.
    Regards,
    XI Queries.

    Hi,
    Just try this:
    Replace
    <m:ZPSA_CAT2_DATA_MT xmlns:m="http://kmd.dk/mobiletimereg/kmd">
                                     <PERSONAL_ID>12345</PERSONAL_ID>
                                     <DEVICE_TYPE>adff</DEVICE_TYPE>
                                     <PROFILE>UDF</PROFILE>
                                     <RELEASE_DATE>190909</RELEASE_DATE>
                                     <AGENT_OTYPE>String</AGENT_OTYPE>
                                     <AGENT_OBJID>String</AGENT_OBJID>
                                     <TEXT_FORMAT_IMP>String</TEXT_FORMAT_IMP>
                                     <I_CATSRECORDS>
                                                <WORKDATE>String</WORKDATE>
                                                <EMPLOYEENUMBER>String</EMPLOYEENUMBER>
                                                <SEND_CCTR>String</SEND_CCTR>
                                                <SENBUSPROC>String</SENBUSPROC>
                                                <ACTTYPE>String</ACTTYPE>
                                                <PO_NUMBER>String</PO_NUMBER>
                                                <PO_ITEM>String</PO_ITEM>
                                                <SERVICE>String</SERVICE>
                                                <REC_CCTR>String</REC_CCTR>
                                                <REC_ORDER>String</REC_ORDER>
                                                <NETWORK>String</NETWORK>
                                                <ACTIVITY>String</ACTIVITY>
                                                <SUB_ACTIVITY>String</SUB_ACTIVITY>
                                                <CAPA_CATEGORY>String</CAPA_CATEGORY>
                                                <SPLIT>String</SPLIT>
                                                <WORK_CNTR>String</WORK_CNTR>
                                                <WBS_ELEMENT>String</WBS_ELEMENT>
                                                <RECSALEORD>String</RECSALEORD>
                                                <RECITEM>String</RECITEM>
                                                <RECCOSTOBJ>String</RECCOSTOBJ>
                                                <RECBUSPROC>String</RECBUSPROC>
                                                <ABS_ATT_TYPE>String</ABS_ATT_TYPE>
                                                <WAGETYPE>String</WAGETYPE>
                                                <TRIPNO>String</TRIPNO>
                                                <OT_COMP_TYPE>String</OT_COMP_TYPE>
                                                <WORKTAXAREA>String</WORKTAXAREA>
                                                <VALUATION_BASIS>String</VALUATION_BASIS>
                                                <CURRENCY>String</CURRENCY>
                                                <CURRENCY_ISO>String</CURRENCY_ISO>
                                                <EXTRA_PAY_INDIC>String</EXTRA_PAY_INDIC>
                                                <PAYSCALEGROUP>String</PAYSCALEGROUP>
                                                <PAYSCALELEVEL>String</PAYSCALELEVEL>
                                                <BONUSTYPA>String</BONUSTYPA>
                                                <BONUSVALUE>String</BONUSVALUE>
                                                <POSITION>String</POSITION>
                                                <CO_AREA>String</CO_AREA>
                                                <TRANS_CURR>String</TRANS_CURR>
                                                <TRANS_CURR_ISO>String</TRANS_CURR_ISO>
                                                <PRICE>String</PRICE>
                                                <PLANT>String</PLANT>
                                                <CALC_MOTIVE>String</CALC_MOTIVE>
                                                <CATSHOURS>String</CATSHOURS>
                                                <UNIT>String</UNIT>
                                                <ISOCODE_UNIT>String</ISOCODE_UNIT>
                                                <STARTTIME>String</STARTTIME>
                                                <ENDTIME>String</ENDTIME>
                                                <PREVIOUS_DAY>String</PREVIOUS_DAY>
                                                <ALL_DAY_FLAG>String</ALL_DAY_FLAG>
                                                <REM_WORK>String</REM_WORK>
                                                <FCST_FIN_DATE>String</FCST_FIN_DATE>
                                                <FIN_CONF>String</FIN_CONF>
                                                <SHORTTEXT>String</SHORTTEXT>
                                                <PART_CONF>String</PART_CONF>
                                                <EXTSYSTEM>String</EXTSYSTEM>
                                                <EXTAPPLICATION>0</EXTAPPLICATION>
                                                <EXTDOCUMENTNO>String</EXTDOCUMENTNO>
                                                <STATKEYFIG>String</STATKEYFIG>
                                                <QUANTITY>String</QUANTITY>
                                                <UNITQ>String</UNITQ>
                                                <ISO_UNITQ>String</ISO_UNITQ>
                                                <AMOUNT>String</AMOUNT>
                                                <LONGTEXT>String</LONGTEXT>
                                                <FUND>String</FUND>
                                                <FUNC_AREA>String</FUNC_AREA>
                                                <GRANT_NBR>String</GRANT_NBR>
                                                <SEND_FUND>String</SEND_FUND>
                                                <SEND_FUNCTION>String</SEND_FUNCTION>
                                                <SEND_GRANT>String</SEND_GRANT>
                                                <CPR_GUID>String</CPR_GUID>
                                                <CPR_EXTID>String</CPR_EXTID>
                                                <CPR_OBJGUID>String</CPR_OBJGUID>
                                                <CPR_OBJGEXTID>String</CPR_OBJGEXTID>
                                                <CPR_OBJTYPE>String</CPR_OBJTYPE>
                                     </I_CATSRECORDS>
                                     <I_EXTENSION>
                                                <ROW>String</ROW>
                                                <ZZLOEBENUMMER>String</ZZLOEBENUMMER>
                                                <ZZLTXA1>String</ZZLTXA1>
                                                <ZZFRAVAERSTYPE>String</ZZFRAVAERSTYPE>
                                                <ZZKTEXT>String</ZZKTEXT>
                                                <ZZFRAVAERSTYPE2>String</ZZFRAVAERSTYPE2>
                                                <ZZTIMETYPE>String</ZZTIMETYPE>
                                                <ZZKZTXT>String</ZZKZTXT>
                                                <ZZ_EXT_GUID>String</ZZ_EXT_GUID>
                                     </I_EXTENSION>
                                     <I_WORKFLOW_TEXT>
                                                <LINE>String</LINE>
                                     </I_WORKFLOW_TEXT>
                                     <I_LONGTEXT>
                                                <ROW>String</ROW>
                                                <FORMAT_COL>String</FORMAT_COL>
                                                <TEXT_LINE>String</TEXT_LINE>
                                     </I_LONGTEXT>
                                     <KOMMUNEKODE>String</KOMMUNEKODE>
                          </m:ZPSA_CAT2_DATA_MT>
    with the structure taken from the Source of test tab. Also try putting some values in the nodes.
    But i think this is some basis problem. Please do consult with the basis too.
    Regards
    Suraj
    Edited by: S.R.Suraj on Sep 18, 2009 7:52 AM

  • XML data via JS not showing in I.E.?

    Hi there,
    I'm using Javascript to get the xml data and display it on the XHTML page.
    This works fine in all the latest versions of Firefox, Chrome, Safari and Opera....but as per usual not in Internet Explorer.
    UPDATE: forgot to mention.....I'm testing this from my machine and not live.   Could this be a reason why it's not working on I.E. because the files are on my computer and not on a server???
    Any advice greatly appreciated! HTML Code below...
    <div id="testimonials">
                    <h1>Testimonials</h1>
                    <script type="text/javascript">
                                    if (window.XMLHttpRequest)
                                      xhttp=new XMLHttpRequest();
                                    else // Internet Explorer 5/6
                                      xhttp=new ActiveXObject("Microsoft.XMLHTTP");
                                    xhttp.open("GET","resources/testimonials.xml",false);
                                    xhttp.send("");
                                    xmlDoc=xhttp.responseXML;
                                    var x=xmlDoc.getElementsByTagName("testimonial");
                                    for (i=0;i<x.length;i++)
                                      document.write("<p>");
                                      document.write(x[i].getElementsByTagName("text")[0].childNodes[0].nodeValue);
                                      document.write("</p>");
                                      document.write("<p>");
                                      document.write(x[i].getElementsByTagName("name")[0].childNodes[0].nodeValue);
                                      document.write("</p>");
                            </script>
          </div> <!-- END of DIV Testimonials -->
    Cheers!

    Thanks for the attachment, I'll try and make some sense of it- although I'm not very good with JS!
    I think it's the XML HTTP Request part that isnt working.
    It all works fine in all the major browsers except I.E.?
    Not sure if you've seen my update but does it matter that I'm testing the site from my machine and not on a server?  Does I.E. expect all the files (or the XML file at least) to be sitting on a server to make the XMLHttpRequest() work?

  • Exporting catalog, making changes, then importing catalog does not update file movements and deletions

    I export part of my master catalog to a laptop.  I include the image files so I can edit the files at full res.  After managing and editing files I import the catalog back into the master catalog. When importing I check to replace metadata, develop settings and negative files. I have been running some tests to be sure all my work is being captured in the master catalog by this process.  I find that if I change develop settings or photo ratings this is detected when the file is imported and the data in the master catalog is updated properly.  The surprise is that if I delete files or move files among folders in the exported catalog these changes are not detected and these changes are not updated inthe master catalog.  It seems bizarre to me that such changes are not detected but I do not see how to get LR to recognize these changes and include them in the catalog update.  Without this capability I don't see how to use catalogs to move part of a catalog to another computer for edits and file management and then move back to the master catalog.

    There are various reasons why Lightroom works this way, but you'll need use pick flags to indicate photos to be deleted, and other metadata like colours or collections.

  • How can I import JPEGs but not Photoshop files from a folder?

    I'm wondering if there is a way to have import filtering by file type. Specifically, I want to import a large folder structure of finished images but only the JPEG files, I don't want PSD files added to the catalog.
    Is there possibly a script or Plug-in that does this?
    I'm using OS X 10.9 at home and Windows 7 at work, with LR 5.5 in both cases.

    This is the OP on my home profile, and that ship has already sailed. Both work and home, there are thousands of images together. I could explain why but its not important at this point, and I need it that way for my on-disk organization.
    I'm looking at this omission as a huge time-waster. Why import a bunch of files that you are going to immediately turn around and delete?
    At home I'm working on transitioning from Aperture, and so far I am not impressed with LR. It does some things better but has a lot of holes. My Aperture catalog is over 155,000 images.
    At work, I am dealing with legacy images and have been trying to use Bridge to organize things, that's been slow going as well. I'm trying to decide if the DAM features in Lightroom make it worth importing everything.

  • Ripping/Importing CDs imports track names, not actual file

    First off, I haven't had this problem but I have had a number of people telling me about this.
    I have been told, that for some odd reason, on some computers (windows only so far), when someone tries to rip a CD it takes the track names across into the library, and not the actual file.
    Anyway... to keep it short and sweet, here is what I have tried (to no avail):
    - re-installed iTunes
    - changed all settings to those of a computer that rips the same CD perfectly
    - updated ipod (not necessary but anyway)
    - checked disk space (80GB free)
    - checked memory (512MB RAM)
    - changed directory for where to save files
    If someone could please give me their 2 cents worth (or 1 cent), Ill be a real happy camper.
    Pentium 4   Windows XP  

    hi werbZA!
    ... i'm afraid this is more in the 1 cent category.
    okay, there are a few things worth checking on in this document (we should at least get them off the table):
    You can't import or play music from an audio CD in iTunes for Windows
    ... and these resources might also be helpful with that:
    Updating the drivers on your Windows PC
    Where to find firmware for your CD/DVD drive
    love, b

  • XML Loader action URL via global properties with no drive letter

    Trying to use the XML Loader action. If we hard code the URL as "c:\Inetpub\wwwroot\Camstar\Errors\logDetails.xml" it works fine. We want to use several global properties to construct the URL as follows.
    Resulting in:
    10.40.4.78\Inetpub\wwwroot\Camstar\Errors\logDetails.xml.
    This does not work in the XML Loader action configuration but will work in IE every time. The XML Loader action throws the following errors.
    [ERROR]: Unable to complete requested action on XML document.
    10.40.4.78\Inetpub\wwwroot\Camstar\Errors\logDetails.xml (Access is denied)
    [ERROR]: ACTION FAILED: End Action XmlLoader_LogDetails : ()
    Does anyone know how to resolve this issue?

    Tim,
    Ron is right about IE using the Microsoft magic of switching between Windows Explorer and Internet Explorer to locate the file.
    Your best bet would be to construct a true http formatted string such as:  http://localhost/Camstar/Errors/logDetails.xml
    This would of course be only good for files on the local server, but would also be very upgrade friendly for version 12.0 migration.  UNC paths would not work to other servers or network shares either.
    If the xml files are in the IllumDoc Rowsets/Rowset/Row format you could just as easily use and XMLQuery action block instead of the XMLLoader, which might make it easier you to use the [Param.x] tokens in the template, etc.
    Regards,
    Jeremy

  • Premiere XML import maps all stereo tracks to mono with no way back HELP!!!

    Hi
    I recently upgraded to Premiere 2014 and Audition 2014 so that I could import Audition and Premiere projects back and forth. This was meant to work previously but absolutely did not!
    The very clunky and archaic export to FCP XML interchange format (FCP hello wtf) is the only way to do this.
    I have now discovered to my horror that all my imported stereo audio has been mapped to mono. And if you know what that means you'll also know that it cannot be undone without completely manually importing all the material again and dropping it onto stereo timelines only.
    Meaning that Audition XML import still does not work.
    I would love to know why this is and if there is a way around it?
    I imagine that this is the sort of question only an Adobe employee can help with but if you're not then thanks a lot for your time
    remainz

    I'm not sure I follow your workflow.  I've never used XML export/import from Audition.  Usually I use the dynamic link methods to work on audio in Audition and round-trip back to Premiere.  That said, I *THINK* I know what you're talking about with Premiere's audio limitations when importing from FinalCut XML (+1 for What the Fetch on FinalCut XML).  The workflow and problem you describe sounds similar to what happens when syncing audio and video in PluralEyes and then importing the resulting FCP XML.  It's been on my complaint list for a very, very long time.  All audio shows up in Premiere as TWO separate tracks (each mono, if I remember right).
    The awkward work-around, at least in my case, is to re-interperet ALL of the audio files as stereo, in the project panel and then hammer out about 100 or more Match Frame operations to replace all of the audio in my timeline(s).  Let me take this opportunity, once again, to plead with Adobe:  PLEASE fix XML import so that mono comes in as mono, and stereo comes in as stereo.  If it's a limitation of FinalCut XML, why not be innovative and create a new industry standard that works:  PPrXML!   And please, please, PLEASE bring the "Modify Audio" command directly to the timeline where so many of us need it MOST!!!

  • Re: (forte-users) Hi - Query on XML Import document -Hang

    Double check that your XML is valid. I've seen
    importDocument hang when I'm missing an end tag.
    I don't think it's a validating parser.
    Of course, there's no documentation, so.... :)
    Chris
    --- "Saravanan, Lakshmi N." <lnarayanoxhp.com> wrote:
    Hi guys,
    I am trying to import an XML document from a
    Memory stream object. I
    got the example
    from this group ( It was very helpful ).
    Sample Code :
    l_MemStr : MemoryStream = new;
    l_MemStr.Open( SP_AM_READ_WRITE );
    l_MemStr.WriteText( source = l_XMLData );
    l_MemStr.Seek( position=0 );
    -- Create a Document object from the memory stream
    myDoc : Document = new;
    myDoc.importdocument( l_MemStr );
    After this line nothing seems to happen.. the
    partition just hangs... keeps
    the CPU busy.
    If i deploy the same in a NT or on a IBM box it
    works fine. The problem is
    with the Sequent box..( i guess ).
    Did any of you guys face a problem like this...
    Please let us know..
    I would really appreciate it.
    Thanks
    Laks
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To
    unsubscribe, send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com
    http://mail.yahoo.com/

    Well, Forte have agreed to release a patch for the XML bug on DG Unix with
    Forte Version 3.0.M.2. I've attached a related mail with this.
    - Charu.
    -----Original Message-----
    From: Epari, Madhusudhan [mailto:meparioxhp.com]
    Sent: Friday, September 01, 2000 7:59 AM
    To: 'Amin, Kamran'
    Cc: 'forte-userslists.xpedior.com'
    Subject: RE: (forte-users) Hi - Query on XML Import document - Hang
    I did check the xml by opening it in IE 5.0 for it's well-formedness. Still
    it's failing on sequent box.
    -----Original Message-----
    From: Amin, Kamran [mailto:kamran.aminlendware.com]
    Sent: Friday, September 01, 2000 10:55 AM
    To: 'Epari, Madhusudhan'
    Subject: RE: (forte-users) Hi - Query on XML Import document - Hang
    Well not really. One way to check if the xml is valid is to open it in IE
    5.0. If its well formed then it will show up otherwise it will give you an
    error. Also the document object is not the best code that came out of Forte
    and has errors, so this might be a bug you will have to report. And they
    are not giving any new patches until 3.5 comes out in 2 months.
    ka
    -----Original Message-----
    From: Epari, Madhusudhan [mailto:meparioxhp.com]
    Sent: Friday, September 01, 2000 10:52 AM
    To: 'Christopher Fury'
    Cc: 'forte-userslists.xpedior.com'
    Subject: RE: (forte-users) Hi - Query on XML Import document - Hang
    If the XML is invalid it should fail on all boxes. This should be a sequent
    specific problem.
    Madhu
    -----Original Message-----
    From: Christopher Fury [mailto:cfuryyahoo.com]
    Sent: Friday, September 01, 2000 9:37 AM
    To: 'forte-userslists.xpedior.com'
    Subject: Re: (forte-users) Hi - Query on XML Import document - Hang
    Double check that your XML is valid. I've seen
    importDocument hang when I'm missing an end tag.
    I don't think it's a validating parser.
    Of course, there's no documentation, so.... :)
    Chris
    --- "Saravanan, Lakshmi N." <lnarayanoxhp.com> wrote:
    Hi guys,
    I am trying to import an XML document from a
    Memory stream object. I
    got the example
    from this group ( It was very helpful ).
    Sample Code :
    l_MemStr : MemoryStream = new;
    l_MemStr.Open( SP_AM_READ_WRITE );
    l_MemStr.WriteText( source = l_XMLData );
    l_MemStr.Seek( position=0 );
    -- Create a Document object from the memory stream
    myDoc : Document = new;
    myDoc.importdocument( l_MemStr );
    After this line nothing seems to happen.. the
    partition just hangs... keeps
    the CPU busy.
    If i deploy the same in a NT or on a IBM box it
    works fine. The problem is
    with the Sequent box..( i guess ).
    Did any of you guys face a problem like this...
    Please let us know..
    I would really appreciate it.
    Thanks
    Laks
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To
    unsubscribe, send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com
    http://mail.yahoo.com/
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Can not read file from URL

    I have this code for loadbitmap() function:
    String s = getCodeBase()+sdir+sfile;
    System.out.println("codeBase is=" + s);
    URL url = new URL(s);
    InputStream fs = url.openStream();
    BufferedInputStream bs = new BufferedInputStream(fs);
    And the file is a .bmp file, so I go on decoding this etc. It works fine within VisualCafe.
    When I created a virtual directory in IIS and run this applet from
    http://localhost/ImageApplet/ImageApplet.html address:
    I get in 1.3.1 Plug-in this error:
    codeBase is=http://localhost/ImageApplet/duke/some1.BMP
    Caught exception in loadbitmap!java.io.FileNotFoundException: http://localhost/ImageApplet/duke/some1.BMP
    If a type this as address in browser, it shows the image.
    Could any one tell me what I am doing wrong here?

    You can try this, even though it is not supposed to be different from your original code:
    URL url = new URL(getCodeBase(), sdir+sfile);
    System.out.println("getting image from " + url);
    InputStream fs = url.openStream();
    BufferedInputStream bs = new BufferedInputStream(fs);
    I could understand a SecurityException but a FileNotFoundException... A FileNotFoundException... You are reading from a stream originating from a URL, not a file!!!
    Which line causes the exception?

  • Marketing Workflow (running on Windows Server) can not read files on Linux

    We are currently facing an issue in fetching the WSD responses stored in XML format and importing it into Siebel DB. These XML files are created in Siebel Linux servers(Temp folder) where EAI Object manager is running. But Marketing workflows (Mktg Master import workflow) is running on Windows server ( where marketing file system installed). Mktg Master import workflows are not able to read XMLs stored in Linux servers.
    When we monitor the workflow we see an error:
    “Error invoking service 'Mktg File Manager', method 'ProcessFile' at step 'File Processing'.(SBL-BPR-00162) --Error getting XML from file '/siebel/gtwysrvr/fs/temp/1-158U3XB121038.xml'.” (SBL-EAI-04261)
    How do I overcome this? What is best practice?

    Moderator Action:
    Same post is multi-posted to the Siebel sub-forum:
    Error in fetching WSD responses stored in XML format and importing it
    This off-topic post is now locked and likely will be removed.

Maybe you are looking for