The XML Source file is unavailable for viewing
Same java application is deployed on two different servers. One server is in the intranet zone and the second one is in the internet zone. The request sent to the server is an xml file and the response from the server is also an xml.
In intranet server, when we are trying to view the source of the response xml file , we are getting a prompt displaying the message "The XML Source file is unavailable for viewing".
But in internet server, when we are try the same, we are getting a valid xml resposne. We are using IE 6.0 - SP1 browser.
We tried the same in the mozilla browser and found the same results. Any suggestions on this?
One possibility is the IE security settings under tools/internet options. The intranet site may have a lower security setting than the internet site. The browser may not ne letting the internet site download the xml.
Similar Messages
-
Generate xml source file for Oracle Order Capture Print Quote
Hi,
I am new to xml and need to work on creating templates for Print Quote.
I am trying to generate the xml source file for which I enabled the report in system administrator and set the output to XML and assigned to Quoting Reports responsiblity. I then assigned XML Report Publisher to the same responsiblity.
I ran the report (Print Quote) and then I am trying to run the XML Report Publisher but I cannot get the request id in the list of values.
I am able to generate xml source file for other reports like Printed Purchase Order etc.,
The view output for the (Print Quote) report is as follows:
<?xml version="1.0" ?>
- <!-- Generated by Oracle Reports version 6.0.8.26.0
-->
<ASOPQTER />
How do I get the xml source file? Or are there seeded templates that I can use to create more templates? Any help would be appreciated. Thanks RaviHi, I am in the same position - did this issue ever ger resolved by anyone. I have done a few XMLP reports successfully now using the Word add-in, but customising the Quote output differs from other standard reports.
If you look at the data definition for Quote it is a 'dummy' definition and has no XML file attached. Does anyone know how I can get the XML format for the report output?
Also the template uses XSL-FO ?!?!?! rather than RTF - not sure how to work with this, the Oracle docs are not very helpful in this regard either.
Has anyone successfully managed to customise the Quote print report? Many thanks,
Roger -
How to get the XML Source again from the same RDF ???
If the one new column is added in the .rdf file, then how u create your new XML source by submitting the same cp?
When I ran the cp for 1st time, I was able to get xml source by view output, save it, make rtf and make data defn and template creation.
But how to get the XML source If the one new column is added in the same .rdf file?
Thanks
Ud.The simple answer is: you don't.
Not only is it simply not possible, but the entire concept of "the active browser" doesn't exist.
You were on the right track with your code to retrieve the page directly from the server, but as you noticed that code will only work for regular http connections.
For https and other protocols you will need to use appropriate libraries for each protocol. Something like Apache Commons can help you with that. There are networking libraries in there for a lot of commonly used protocols. -
I am viewing a crossword(HTML file) prepared by me, on FIREFOX. I wish to change the color of the blank squares (which are black now), to improve the appearance of CW. I have located the appropriate place on the "Page Source" file for effecting the change. ''But, I am not able to effect the change, as the file does not accept the editing.'' Please, advise
how I can effect the change and also save the changes effected...ThanksIt is View > Page Source and not Edit > Source, so you can't make changes to the source in Firefox.<br />
You will have to do that via an external editor.<br />
You can also override CS style rules with the Stylish extension.
* https://addons.mozilla.org/firefox/addon/2108 - Stylish -
The XML page cannot be displayed Cannot view XML input using XSL stylesheet
Hi Oracle Gurus,
I got this error ...once i have submitted request it shows warning ..I opened output it shows the below error...i cant understand how to resolve this error...Please help me...It is PL/SQ L STORED PROCEDURE CODE...
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
A semi colon character was expected. Error processing resource 'http://orappsus64.tsindia.in:8009/OA_CGI/FNDWRR.exe?temp_id...
<CP_PROJECT>IT/Quintiles/J&J COGNOS</CP_PROJECT>
----------------------------^
n-left:1em;text-indent:-2em"> <GL_MAIN_PERIOD>Jun-12</GL_MAIN_PERIOD>
<TOTAL_REVENUE>4026.14</TOTAL_REVENUE>
<GL_PERIOD>Jun-12</GL_PERIOD>
</G_TOTAL_REVENUE_CAT>
THIS IS MY LOG FILE
[10/1/12 10:44:26 AM] [main] Starting GSF service with concurrent process id = 157635.
[10/1/12 10:44:26 AM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
[10/1/12 10:44:26 AM] [Thread-22] Service thread starting up.
[10/1/12 10:44:26 AM] [Thread-23] Service thread starting up.
[10/1/12 10:52:33 AM] [OPPServiceThread1] Post-processing request 1296337.
[10/1/12 10:52:33 AM] [157635:RT1296337] Executing post-processing actions for request 1296337.
[10/1/12 10:52:34 AM] [157635:RT1296337] Starting XML Publisher post-processing action.
[10/1/12 10:52:34 AM] [157635:RT1296337]
Template code: XXTGSCPR004
Template app: PA
Language: en
Territory: US
Output type: EXCEL
[100112_105234216][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
[100112_105234216][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
[100112_105234216][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
[100112_105234216][][EXCEPTION] [DEBUG] [SECURITY_GROUP_ID]:[0]
[100112_105234216][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
[100112_105234217][][EXCEPTION] [DEBUG] [NLS_CHARACTERSET]:[US7ASCII]
[100112_105234217][][EXCEPTION] [DEBUG] [RESP_APPL_ID]:[-1]
[100112_105234217][][EXCEPTION] [DEBUG] [NLS_LANGUAGE]:[AMERICAN]
[100112_105234217][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]:[1]
[100112_105234217][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]:[2]
[100112_105234217][][EXCEPTION] [DEBUG] [NLS_NUMERIC_CHARACTERS]:[.,]
[100112_105234217][][EXCEPTION] [DEBUG] [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=orappsus64.tsindia.in)(PORT=1530)))(CONNECT_DATA=(SID=clone)))]
[100112_105234217][][EXCEPTION] [DEBUG] [RESP_ID]:[-1]
[100112_105234217][][EXCEPTION] [DEBUG] [FND_MAX_JDBC_CONNECTIONS]:[500]
[100112_105234217][][EXCEPTION] [DEBUG] [FND_JDBC_USABLE_CHECK]:[false]
[100112_105234218][][EXCEPTION] [DEBUG] [USER_ID]:[-1]
[100112_105234218][][EXCEPTION] [DEBUG] [NLS_TERRITORY]:[AMERICA]
[100112_105234218][][EXCEPTION] [DEBUG] [FND_JDBC_PLSQL_RESET]:[false]
[100112_105234218][][EXCEPTION] [DEBUG] [FND_JDBC_CONTEXT_CHECK]:[true]
[100112_105234218][][EXCEPTION] [DEBUG] [NLS_DATE_FORMAT]:[DD-MON-RR]
[100112_105234218][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
[100112_105234218][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
[100112_105234218][][EXCEPTION] [DEBUG] [NLS_SORT]:[BINARY]
[100112_105234218][][EXCEPTION] [DEBUG] [NLS_DATE_LANGUAGE]:[AMERICAN]
[100112_105234218][][EXCEPTION] [DEBUG] [LOGIN_ID]:[-1]
[100112_105234218][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
[100112_105234219][][EXCEPTION] [DEBUG] [APPLTMP]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/appltmp]
[100112_105234219][][EXCEPTION] [DEBUG] [java.runtime.name]:[Java(TM) SE Runtime Environment]
[100112_105234219][][EXCEPTION] [DEBUG] [sun.boot.library.path]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/i386]
[100112_105234219][][EXCEPTION] [DEBUG] [java.vm.version]:[11.0-b15]
[100112_105234219][][EXCEPTION] [DEBUG] [OVERRIDE_DBC]:[true]
[100112_105234219][][EXCEPTION] [DEBUG] [dbcfile]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/appl/fnd/12.0.0/secure/clone.dbc]
[100112_105234219][][EXCEPTION] [DEBUG] [java.vm.vendor]:[Sun Microsystems Inc.]
[100112_105234219][][EXCEPTION] [DEBUG] [java.vendor.url]:[http://java.sun.com/]
[100112_105234219][][EXCEPTION] [DEBUG] [path.separator]:[:]
[100112_105234219][][EXCEPTION] [DEBUG] [APPLCSF]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/logs/appl/conc]
[100112_105234220][][EXCEPTION] [DEBUG] [java.vm.name]:[Java HotSpot(TM) Server VM]
[100112_105234220][][EXCEPTION] [DEBUG] [file.encoding.pkg]:[sun.io]
[100112_105234220][][EXCEPTION] [DEBUG] [sun.java.launcher]:[SUN_STANDARD]
[100112_105234220][][EXCEPTION] [DEBUG] [user.country]:[US]
[100112_105234220][][EXCEPTION] [DEBUG] [sun.os.patch.level]:[unknown]
[100112_105234220][][EXCEPTION] [DEBUG] [java.vm.specification.name]:[Java Virtual Machine Specification]
[100112_105234220][][EXCEPTION] [DEBUG] [user.dir]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/logs/appl/conc/log]
[100112_105234220][][EXCEPTION] [DEBUG] [java.runtime.version]:[1.6.0_10-b33]
[100112_105234220][][EXCEPTION] [DEBUG] [CLIENT_PROCESSID]:[25943]
[100112_105234220][][EXCEPTION] [DEBUG] [java.awt.graphicsenv]:[sun.awt.X11GraphicsEnvironment]
[100112_105234220][][EXCEPTION] [DEBUG] [java.endorsed.dirs]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/endorsed]
[100112_105234221][][EXCEPTION] [DEBUG] [os.arch]:[i386]
[100112_105234221][][EXCEPTION] [DEBUG] [JTFDBCFILE]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/appl/fnd/12.0.0/secure/clone.dbc]
[100112_105234221][][EXCEPTION] [DEBUG] [java.io.tmpdir]:[tmp]
[100112_105234221][][EXCEPTION] [DEBUG] [line.separator]:[
[100112_105234221][][EXCEPTION] [DEBUG] [java.vm.specification.vendor]:[Sun Microsystems Inc.]
[100112_105234221][][EXCEPTION] [DEBUG] [os.name]:[Linux]
[100112_105234221][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]:[1]
[100112_105234221][][EXCEPTION] [DEBUG] [cpid]:[157635]
[100112_105234221][][EXCEPTION] [DEBUG] [sun.jnu.encoding]:[UTF-8]
[100112_105234221][][EXCEPTION] [DEBUG] [oracle.apps.fnd.common.Pool.leak.mode]:[stderr:off]
[100112_105234221][][EXCEPTION] [DEBUG] [java.library.path]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/i386/server:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/i386:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/../lib/i386:/AP1/oracle/PROD01/apps/tech_st/10.1.3/lib32:/AP1/oracle/PROD01/apps/tech_st/10.1.3/lib:/AP1/oracle/PROD01/apps/apps_st/appl/cz/12.0.0/bin:/AP1/oracle/PROD01/apps/apps_st/appl/iby/12.0.0/bin:/AP1/oracle/PROD01/apps/apps_st/appl/pon/12.0.0/bin:/AP1/oracle/PROD01/apps/apps_st/appl/sht/12.0.0/lib:/usr/java/packages/lib/i386:/lib:/usr/lib]
[100112_105234222][][EXCEPTION] [DEBUG] [java.specification.name]:[Java Platform API Specification]
[100112_105234222][][EXCEPTION] [DEBUG] [java.class.version]:[50.0]
[100112_105234222][][EXCEPTION] [DEBUG] [sun.management.compiler]:[HotSpot Tiered Compilers]
[100112_105234222][][EXCEPTION] [DEBUG] [queue_appl_id]:[0]
[100112_105234222][][EXCEPTION] [DEBUG] [os.version]:[2.6.18-128.el5]
[100112_105234222][][EXCEPTION] [DEBUG] [LONG_RUNNING_JVM]:[true]
[100112_105234222][][EXCEPTION] [DEBUG] [user.home]:[home/applmgr01]
[100112_105234222][][EXCEPTION] [DEBUG] [user.timezone]:[Asia/Kolkata]
[100112_105234222][][EXCEPTION] [DEBUG] [java.awt.printerjob]:[sun.print.PSPrinterJob]
[100112_105234222][][EXCEPTION] [DEBUG] [file.encoding]:[UTF-8]
[100112_105234222][][EXCEPTION] [DEBUG] [java.specification.version]:[1.6]
[100112_105234222][][EXCEPTION] [DEBUG] [CACHEMODE]:[DISTRIBUTED]
[100112_105234222][][EXCEPTION] [DEBUG] [conc_queue_id]:[6269]
[100112_105234222][][EXCEPTION] [DEBUG] [java.class.path]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/AP1/oracle/PROD01/apps/apps_st/comn/java/lib/appsborg2.zip:/AP1/oracle/PROD01/apps/apps_st/comn/java/classes]
[100112_105234222][][EXCEPTION] [DEBUG] [user.name]:[applmgr01]
[100112_105234222][][EXCEPTION] [DEBUG] [DBCFILE]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/appl/fnd/12.0.0/secure/clone.dbc]
[100112_105234222][][EXCEPTION] [DEBUG] [java.vm.specification.version]:[1.0]
[100112_105234222][][EXCEPTION] [DEBUG] [java.home]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre]
[100112_105234222][][EXCEPTION] [DEBUG] [sun.arch.data.model]:[32]
[100112_105234223][][EXCEPTION] [DEBUG] [user.language]:[en]
[100112_105234223][][EXCEPTION] [DEBUG] [java.specification.vendor]:[Sun Microsystems Inc.]
[100112_105234223][][EXCEPTION] [DEBUG] [java.vm.info]:[mixed mode]
[100112_105234223][][EXCEPTION] [DEBUG] [logfile]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/logs/appl/conc/log/FNDOPP157635.txt]
[100112_105234223][][EXCEPTION] [DEBUG] [java.version]:[1.6.0_10]
[100112_105234223][][EXCEPTION] [DEBUG] [java.ext.dirs]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/ext:/usr/java/packages/lib/ext]
[100112_105234223][][EXCEPTION] [DEBUG] [sun.boot.class.path]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/resources.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/sunrsasign.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/jsse.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/jce.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/charsets.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/classes]
[100112_105234223][][EXCEPTION] [DEBUG] [java.vendor]:[Sun Microsystems Inc.]
[100112_105234223][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]:[2]
[100112_105234223][][EXCEPTION] [DEBUG] [file.separator]:[]
[100112_105234223][][EXCEPTION] [DEBUG] [java.vendor.url.bug]:[http://java.sun.com/cgi-bin/bugreport.cgi]
[100112_105234223][][EXCEPTION] [DEBUG] [sun.io.unicode.encoding]:[UnicodeLittle]
[100112_105234223][][EXCEPTION] [DEBUG] [sun.cpu.endian]:[little]
[100112_105234223][][EXCEPTION] [DEBUG] [APPLOUT]:[out]
[100112_105234223][][EXCEPTION] [DEBUG] [sun.cpu.isalist]:[]
[10/1/12 10:52:35 AM] [UNEXPECTED] [157635:RT1296337] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:285)
at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:173)
Caused by: oracle.xdo.parser.v2.XMLParseException: Expected ';'.
at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:337)
at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:305)
at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:289)
... 17 more
[10/1/12 10:52:35 AM] [157635:RT1296337] Completed post-processing actions for request 1296337.
[GC 8059K->6286K(8692K), 0.0076290 secs]
[Full GC[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor17]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor19]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor18]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor13]
6286K->3865K(8692K), 0.0446370 secs]
Please help great appriciation.
Thanks,
Sidharth.A semi colon character was expected. Error processing resource 'http://orappsus64.tsindia.in:8009/OA_CGI/FNDWRR.exe?temp_id...
<CP_PROJECT>IT/Quintiles/J&J COGNOS</CP_PROJECT>
----------------------------^
n-left:1em;text-indent:-2em"> <GL_MAIN_PERIOD>Jun-12</GL_MAIN_PERIOD>
<TOTAL_REVENUE>4026.14</TOTAL_REVENUE>
<GL_PERIOD>Jun-12</GL_PERIOD>
</G_TOTAL_REVENUE_CAT>
{code}
Your PL/SQL code doesn't produce a valid XML document.
In the XML grammar, "&" is a special character and must be escaped using the character entity "&amp;".
If you were using standard methods to build XML from Oracle (SQL/XML functions for instance), I'm sure you wouldn't have this error.
Please show us the PL/SQL code you're using to produce this XML output and we'll be able to help you further. -
Multiple xml source file loading ?
Hi,
I've already managed to set some multiple flat file as source, but the question is :
How to set some multiple XML source files ? (to read ally xml files stored in a folder for instance)
I link the XML file directly in topology instead of doing it in my model. So how can I change the file name dynamically ?
Any advice ?
Thanks
Pierre-HenriHi,
all right I followed the explanation on this link :
Looping a folder for pattern files
The set up is ok, but I generate this error message :
The scenario did not end properly.
When I'm trying to run the interface alone (without v_FileName obviously), I get this error :
java.sql.SQLException: Table not found: D in statement ...
I created my XML model, then I defined it's ressource model as D:\mypath\001.xml. Into the interface, as my model uses XML technology, I can only use LKM SQL to SQL knowledge model.
When I look at operator, I can see it tries to run this following SQL code :
select
attribute 1,
attribute 2,
from schema.D:mypath001.xml CD
where (1=1)
schema.D:mypath001.xml is probably the wrong part :)
Do you have an idea to get your example (on txt files) running with some xml files ?
thanks for your time -
How to pull the root level XML tags in the XML source-SSIS?
Hi All,
Can anyone please help out with the following requirement?
There is a XML file data which I need to pull it to database. Please see the attached XML file.
Question: When I am trying to pull the root level data (i.e. CreationDateTime and FileNumber) from XML source in the dataflow, the respective tag is not seen in the input. Can anyone help me how can I get those values in my input to pull the data to Database?
Thanks & Regards,
SriHi Sri,
In SQL Server Integrated Services, we can generate XML Schema (XSD) file based on a XML file with XML Source Editor. For more details, please refer to the following steps:
Double-click the XML Source in the Data Flow Task.
Browse the XML file for the XML location.
Click the Generate XSD button to generate an XSD file.
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
CS3 - "Unable to locate or parse the XML source"
Hello,
When I try and attach a remote XML source to my XSL fragment,
Dreamweaver
CS3 tells me "Unable to locate or parse the XML source".
This happens irrespective of where the remote XML file is
located, and for
all the remote XML files that I have found and tested from a
myriad of
different sources - I always get the same response.
I can download any of these XML files and work with them
locally, which
Dreamweaver is quite happy to do, but that isn't appropriate
for an
application that needs to rely on an XML feed that is always
up to date!
From searching Google I can find numerous other queries of
this nature, but
no solutions! I am not sure if it is a Dreamweaver problem,
or related to
the type of web server I'm using or indeed to the corporate
firewall here.
For clarity, only Dreamweaver can't locate the remote XML
sources - pasted
into a browser they are all perfectly valid.
(Apologies for sort of cross posting, I have already asked
this question
slightly differently on macromedia.dreamweaver)
Cheers,
D.Kelli, I know this is months late for you.. but I get the
same error.. I found if I downloaded the xml locally I was able to
set up my xsl page. After I got the page to look the way I wanted I
switch the source to the external URL.
If you have found a fix for the error please let me know,
other then that this way will work. -
The property XMLDataVariable on the XML Source was empty - Case Foreach Loop Container
I have very simple XML source and OLE DB Source in Foreach Loop Container,
but seem to get error, because XML Source cannot find the XML.
"Error at Data Flow Task. The property XMLDataVariable on the XML Source was empty"
Variables:
FileExtention = *.xml
FilePath =
FolderPath = C:\Customer\XML
XML Source:
Data Access mode = XML file from variable
Variable name = User::filePath
Foreach Loop Container:
Enumerator = Foreach File Enumerator
Expression-Directory = @User:FolderPath
Expression-FileSpec = @User::FileExtension
Enumerator Folder = C:\Customer\XML
Files = *.xml
Variable mapping-User::FilePath = 0
Kenny_IHave you filled the variable (filePath) with a default value? Otherwise the XML Source cannot validate. Alternative is look for a property "DelayValidation". In most cases this is a property of the connection manager, but you're not using
one for the xml source....
Please mark the post as answered if it answers your question | My SSIS Blog:
http://microsoft-ssis.blogspot.com |
Twitter -
Prevent changing the xml source
Hi,
we are developing Interactive Forms with WebDynpro for use in an Internet portal. I understand from another post that the LiveCycle Policy Server is not supported in the current SAP environment. From a security perspective, we would like to make sure the xml source of a pdf is not changed before it is sent to the ADS server. Currently it is possible to save a pdf locally, change the file with designer and upload it back to the server (the upload function is a business requirement).
Is is possible to protect the source in this scenario? Alternatively we would like to prevent javascripts to be executed server-side (ADS). Is it possible to prevent this?
Software: SAP EP 6.0 SP 15, LiveCycle Designer 7.0
Thanks for your input,
Marijn.For starters your xsd is missing the Root element.
Here's an xsd that I created from your xml that validates
<?xml version="1.0" encoding="UTF-8"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:///D:/Projects/Test/test.xsd">
<Customer xmlns="CustomerXSDSchema">
<CustomerName>Microsoft</CustomerName>
<CustomerNumber>1</CustomerNumber>
<CustomerCountry>USA</CustomerCountry>
</Customer>
</Root> -
Does a member class have to be within the same source file?
Hi there,
I have this application that extensively uses two classes. The main class setsup the GUI, and the second main class is responsible for handling all of the actions that arise from the GUI.
I could have done this by making all of my handler methods be of the first main class, but this class really is just for the GUI setup, the logic doesn't fit into this class' behaviour.
The class that handles the GUI actions is required to use the fields of the main class e.g. to get values of a text field. The problem is that since the class that handles the actions is getting very big, I would kind of like to move this class into a different source file - because currently it is a member class of the first one, so that it can access all of its fields.
Is there some way that I can move this handler class into another source file, and still have it access all of the fields of the main GUI class - without making the fields public, or using millions of get/set methods? Also, I can't use inheritance because the both the GUI class creates an instance of the handler class in its constructor, and so leads to an infinite loop when trying to instantiate the GUI class.
Can I ask.. would a static class or something be of use here? Do they exist? I'm confused as to how to do this without getting the mother of all source files (in size that is - nothing to do with cooking or baking).
- Anyway, thanks in advance for any help that you could give me -
BYEE, Edd.You can't have an inner class that is not in the same source file. However, you could use package-protected (default) access to give another class in the same package access to things without making them public. Actually, that's how inner classes are actually compiled. Package-protected access is underused IMHO. It's a great tool that most people (including myself) are suspicious of at first.
-
When opening a form in SharePoint 12013 that was created from Infopath 2013, I get the following error.
You do not have permissions to access a database that contains data required for this form to function correctly.
An entry has been added to the Windows event log of the server.
Log ID:5566
When I go to the log files on the SharePoint server. I see the following error.
Exception Message: The form cannot connect to the data source. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
I am guessing this has something to do with the UDCX connection and the database.
Can anyone help me get this fixed?Hi Jim,
Please check the following kb article when it occurs 5566errro with the UDCX conection file, try the method of using the Secure Store Service to store alternate credentials for the data connection method, or the method of stating the credentials
in the UDC file explicitly.
Also check if it could help with setting sql server as "SQL Server and Windows Authentication mode".
http://support.microsoft.com/kb/981684
Thanks
Daniel Yang
TechNet Community Support -
EHP1 Installation - error during the XML stack file check.
Hello SAP fans and gurus.
I'm updating CRM with EHP1 and I'm stuck at the phase PREP_EXTENSION/SUBMOD_EXTENSION_NEW/SELSTACKXML. Something wrong with the XML stack file. I get this error:
Severe error(s) occured in phase PREP_EXTENSION/SUBMOD_EXTENSION_NEW/SELSTACKXML!
Last error code set: Error reading stack info, return Code = -1, Reason = 'The stack configuration is not valid for the system CRM, inst.-no. 0020652601'
The trouble ticket isn't saying much, but I'll post it anyway:
This trouble ticket was created by SAPehpi on 20110520102342
SAPehpi broke during phase SUBMOD_EXTENSION_NEW/SELSTACKXML in module PREP_EXTENSION / Extension module for start release >= 40B
Error Message: Error reading stack info, return Code = -1, Reason = 'The stack configuration is not valid for the system CRM, inst.-no. 0020652601'
Summary of SAPehpi:
SAPehpi Release: lmt_001
SAPehpi Version: 40.005
Start Release: 701
Target Release: 701
Summary of host system details:
SID: CRM
Host: sapvmcrm
MS Host: sapvmcrm
GW Host: sapvmcrm
Start Path: /usr/sap/CRM/DVEBMGS00/exe
Kernel Path: /usr/sap/CRM/DVEBMGS00/exe
Summary of operating system details:
OS Type: Linux X86_64
OS Version: 2.4
Summary of database details:
Database Type: ada
Database Version: 7.7.07.014
Summary of RFC details:
Host: sapvmcrm
GW Host: sapvmcrm
Client: 000
Destination: CRM
Language:
System No.: 00
There's one problem with the file SAPEXEDB_82-10007250.SAR, which was in the download basket, but is not available for download. I deleted the record in the XML stack file and tried the phase again... with no success. Going through the XML file and checking if the packages have been downloaded is a real pain in the ***.
Anyway, can I somewhere download this file SAPEXEDB_82-10007250.SAR?
Or can anyone help me, how solve this issue different way?
Thanks a lot in advance.
-StefanOK, I got it. Wrong installation number. We had to change the installation number in the stack file according the system in the Solution Manager via transaction SMSY. Then it worked like a charm.
-
Unable to locate or parse the XML source (-1,-1)
Hello,
Why do I get this error when I'm trying to get the XML source
from
*.php ?
quote:
"Unable to locate or parse the XML source (-1,-1)"
The
*.php file has a recordset which I exported as XML based on
this
tutorial
I can see the XML of *php in the browser but can't get the
schema.
What am I missing?
Thank youpage.php
url
quote:
code:
<?php require_once('../Connections/example.php'); ?>
<?php
// Load the XML classes
require_once('../includes/XMLExport/XMLExport.php');
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType,
$theDefinedValue = "", $theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue)
: $theValue;
$theValue = function_exists("mysql_real_escape_string") ?
mysql_real_escape_string($theValue) :
mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) .
"'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue :
$theNotDefinedValue;
break;
return $theValue;
mysql_select_db($database_example, $example);
$query_data = "SELECT * FROM example";
$data = mysql_query($query_data, $example) or
die(mysql_error());
$row_data = mysql_fetch_assoc($data);
$totalRows_data = mysql_num_rows($data);
// Begin XMLExport data
$xmlExportObj = new XMLExport();
$xmlExportObj->setRecordset($data);
$xmlExportObj->addColumn("Name", "Name");
$xmlExportObj->addColumn("Damage", "Damage");
$xmlExportObj->addColumn("Speed", "Speed");
$xmlExportObj->addColumn("Level", "Level");
$xmlExportObj->addColumn("Details", "Details");
$xmlExportObj->addColumn("Type", "Type");
$xmlExportObj->addColumn("Source", "Source");
$xmlExportObj->addColumn("Location", "Location");
$xmlExportObj->addColumn("Date", "Date");
$xmlExportObj->addColumn("Price", "Price");
$xmlExportObj->addColumn("Skill", "Skill");
$xmlExportObj->addColumn("Constitution", "Constitution");
$xmlExportObj->addColumn("Intelligence", "Intelligence");
$xmlExportObj->addColumn("Wisdom", "Wisdom");
$xmlExportObj->addColumn("Strength", "Strength");
$xmlExportObj->addColumn("Member", "Member");
$xmlExportObj->addColumn("Image", "Image");
$xmlExportObj->setMaxRecords("ALL");
$xmlExportObj->setDBEncoding("ISO-8859-1");
$xmlExportObj->setXMLEncoding("ISO-8859-1");
$xmlExportObj->setXMLFormat("NODES");
$xmlExportObj->setRootNode("Category");
$xmlExportObj->setRowNode("Type");
$xmlExportObj->Execute();
// End XMLExport data
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http:// www.
w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http:// www . w3. org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<title>example</title>
<link href="css.css" rel="stylesheet" type="text/css"
/>
</head>
<body>
</body>
</html>
<?php
mysql_free_result($data);
?> -
Unable to Locate or Parse the XML source
I've just started playing around with Dreamweaver 8 and I'm
trying to pull in a RSS feed. I've followed the instructions in
Dreamweaver, but when I add my XML source (
http://rss.cnn.com/rss/cnn_law.rss)
I get an error message in the bindings area where the XML structure
should be displaying that says "Unable to locate or parse the XML
source". I'm somewhat familiar with XML and new to RSS feeds so I
have no idea what this means. Any help will be appreciated.Kelli, I know this is months late for you.. but I get the
same error.. I found if I downloaded the xml locally I was able to
set up my xsl page. After I got the page to look the way I wanted I
switch the source to the external URL.
If you have found a fix for the error please let me know,
other then that this way will work.
Maybe you are looking for
-
please help. my pc is a hp with windows vista 32 bit. I can't install itunes 10,5. I have try to remove my old itunes and reinstall but it didn't help. I have install itunes 9.1.1 but the itunes library can't be read because it is on a new itunes. I
-
HI Experts, Can any one help me to add two more column for standard report that is purchase order and delivery dates for Internal order wise. But here problem is when i checked with ABAP team they said there is no standard functional module to add tw
-
Trifold leaflet in Pages not printing correctly
Hi, I'm pretty useless but I've manged to make a tri fold brochure using a Pages template. It looks fine in the print preview thumbnail but when prints out is cropping about 2 cms of the right hand side of the document. Any help would be gratefully r
-
NullPointerException parsing XML
Hi, I am attempting to parse an xml document that is validated by a schema. The XML isn't a file, it comes from a database in a String, so I am trying this in my servlet: final String JAXP_SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/sc
-
No CREATE permission for key: "weblogic.app.internal.AdminMode"
Hi all, after installing the wls9.2 on a fresh windows xp, trying to open the admin console, I receive the following error: ####<08.05.2008 13.49 Uhr CEST> <Error> <Kernel> <s0043372> <b2bsys1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.ke rne