XML source Portlet

I have installed the XML Source portlet and was experimenting it, It works great when pointing the source to an XML file or an Web page that generates an XML output.
But the problem is I am not able to gateway information to the web page (.NET). Is there a way to force the XML web service to gateway information to the .NET page referenced in XML Source ?. I have modified the Web service and added the gateway infomration to point to my web server as http://<webserver>/. Still not working. Not able to extract user information from within the .NET page to render custom XML for the user.

The portal gateway can send this information to the XML Source portlet, but this portlet currently does not re-send it to your XML source.
I believe the only option available to you now is to modify the XML Source portlet to pull out the UserInfo you want and to forward it to your XML source.

Similar Messages

  • XML Source Portlet: Setup Error Cannot Edit Portlet

    Hello,
    I've just run through, twice, the migration wizard to import the ptxmlsp.pte file. This setup completes and I find the XML Source Portlet Folder with its webservice, remote server, and Portlet Template. Following the AminstratorsGuide_XMLSourcePortlet.pdf when I try to create a portlet I get a 404 error when I click the edit button trying to configure this portlet.
    The server is running IIS 6 and Tomcat 4.1.30.
    This is what I'm seeing from ptspy when I click the edit button:
    Any assistance would be appreciated.
    John
    [email protected]
    This turned out to be a setup error due to both IIS and Tomcat running on the same server an update to the remote server's base url needed to be changed to port 8080.

    We're on 5.0.2. I'm looking to pull an XML file off the web and write an XSL file to display it. I've been able to get it to work with the following test example:
    http://www.w3schools.com/xml/simple.xmlhttp://www.w3schools.com/xml/simple.xslWhenever I use something more complex, then I get an "Error: Could not transform XML data. Contact your administrator." Xalan.jar is in the right location. Since I can get the more complex files to work from the command line, and a simple web based translation to occur, it's a bit confusing...
    Xalan.jar is in the correct location. Should I double-check any environment variables?
    By the way, will this portlet work for .rss files as well?
    Thanks!

  • XML source content problem in 5.0.2

    Hi,
    I installed optional web component xml source portlet and I migrated ptxmlsp content in my 5.0.2 portal successfully on MS .NET. I have instentied my portlet with well formed xml and xsl files. Displaying page, portlet display message "Error: Display Timeout". After a look to tomcat log file i found in stderr.log this message :
    org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property! at org.apache.xalan.serialize.SerializerFactory.getSerializer(SerializerFactory.java:142)
    The same problem occurs with a 5.0.2 portal installed on java.
    Can anyone help me ?

    Thank you for your help.
    Running xalan on command line with option java -verboseI have seen that tomcat didn't call the xalan.jar located in endorsed directory. We wrote a bat file to launch tomcat as a windows service without reference to "endorsed" directory. You have to include following line in your bat file : -Djava.endorsed.dirs="E:\jakarta-tomcat-4.1.27-LE-j2sdk1.4.1_05\common\endorsed" to ensure that correct java class is loaded.
    Now XML souce portlet works fine.
    Thanks again.

  • 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 Ravi

    Hi, 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

  • Error when attaching a remote XML source

    Hello,
    When I try and attach a remote XML source to my XSL file,
    Dreamweaver CS3
    tells me "Unable to locate or parse the XML source".
    The XML file in question is located at
    http://weather.yahooapis.com/forecastrss?p=UKXX0085
    - which is a fully
    functioning URL to an XML page - I can load it okay, and I
    can view the XML
    source.
    Why does Dreamweaver report that it cannot access it? If I
    open the source
    of that URL and save it as a .xml file and attach it to my
    XSL locally, it
    works just fine - so it works locally but not remotely. The
    source is likely
    to change frequently, so attaching a local XML file is not an
    option.
    If I ignore the Dreamweaver error message and use that source
    anyway, the
    browser just responds with "An error occured while loading
    XML document
    http://weather.yahooapis.com/forecastrss?p=UKXX0055".
    Error message was: A
    connection with the server could not be established ".
    The only thing I can think of is, the URL to the XML source
    doesn't end in
    ".xml" - but then again, hardly any XML sources on the web do
    so I can't be
    the first person who wants to try and incorporate one in
    their site like
    this!
    Any help appreciated!
    Cheers,
    D.

    > I'm told that, in the ASP that uses the XSL fragment, I
    can define the
    > proxy server manually so that the request can still be
    made. Try as I
    > might I cannot find any code for ASP.net or ASP VBScript
    that allows me to
    > manually specify the proxy to be used (or, indeed, to
    force the code to
    > use the browsers default proxy). Any ideas?
    Okay, now using this in a new file called web.config
    <configuration>
    <system.net>
    <defaultProxy>
    <proxy
    usesystemdefault = "false"
    proxyaddress="
    http://myproxy.blah.blah:80"
    bypassonlocal="false"
    />
    </defaultProxy>
    </system.net>
    </configuration>
    All is well - except, that restricts the app to people who
    are using this
    proxy - any idea how to fix that code to make it default to
    the users
    browser settings? (Which I thought was the default in .Net
    but maybe not??).
    D.

  • Reading the data from XML Source

    Hi
    i want to read the data from XML source file, and update the transaction information to another XML file. how we can do this in ADF, please help
    Thanks
    nidhi

    you may use normal Java API to do that
    http://www.javablogging.com/read-and-write-xml/

  • Un Expected end of XML Source...

    Hi,
    I am using Java Script in Html, while executing this program I am getting the Error "Un-Expected end of XML Source }\n" but i have closed all the brakets properly.
    Please help me why this error riseing while executing the program.
    <html>
    <head>
    <script>
    function selectValue()
    var selected_value=document.getElementById("mySelect");
    document.getElementById("expression").value = mySelect.options[mySelect.selectedIndex].text;
    document.getElementById("expression").value=m
    function generator()
    var theExpression = document.forms[0].expression.value;
    var token=theExpression.split(' ');
    var name=token[0].toUpperCase();
    if(name="MULTIGEN")
       multiGen(theExpression);
    function multiGen(theExpression)
    var tokenArray=theExpression.split(' ');
    var quantity=parseInt(tokenArray[1]);
    var output='';
    for(var j =2;j < tokenArray.length; j++)
       output=output+tokenArray[j];
    for(var i = 1;i <= quantity; i++)
         document.forms[0].theResults.value=output;<br>
    </script>
    </head>
    <body>
    <form name="theForm" id="theForm">
    <table>
    <tr>
    <td>
    Enter generator expression: <input type="text" name="expression" id="expression" maxlength="60" size="60">
    <input type="button" name="generate" value="generate" onclick="javascript:generator()">
    </td>
    </tr>
    <tr>
    <td>
    Results:
    <input type="button" name="Select" value="Select" onclick="javascript:selectValue()">
    </td>
    </tr>
    <tr>
    <td>
    <textarea name="theResults" rows="20" cols="60"/></textarea>
    <select name="mySelect" size="20" id="mySelect">
    <option>MultiGen Quantity String</option>
    <option>MultiGen 900 Testers love TestersDesk.com</option>
    <option>MultiGen 900 Testing</option>
    <option>SyntaxStringGen Syntax Quantity</option>
    <option>SimpleStringGen UCase 10 100</option>
    <option>SimpleStringGen LCase 10 100</option>
    <option>SimpleStringGen Num 10 100</option>
    <option>SimpleStringGen AlphaNum 10 100</option>
    <option>SyntaxStringGen AAA999ULN 800</option>
    <option>SyntaxStringGen 999--LN 800</option>
    <option>SyntaxStringGen AAA999ULN 800</option>
    <option>SyntaxStringGen AXXX999ULN 800</option>
    <option>SimpleStringGen Format Length Quantity</option>
    <option>NumGen Type Minimum Maximum Quantity</option>
    <option>NumGen Integers 30 3000 25</option>
    <option>NumGen Real 30 3000 25</option>
    <option>QTGen Length [symbol] [CharFirst/NumFirst]</option>
    <option>QTGen 500</option>
    <option>QTGen 500 # NumFirst</option>
    <option>QTGen 500 X</option>
    </select>
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>Thanks
    Buntty
    Edited by: Buntty on Dec 4, 2008 2:30 PM

    This is not a Javascript forum. You've been told before not to post javascript questions. I'm locking.

  • Image coming from an xml source and on which we can't click...

    Hi everybody !
    Is it possible in LiveCycle Designer ES 8.2 (or in coming version of the software) to disable the click event on ImageField ?
    I read that it is not possible yet but there is may be another solution to proceed to have an image coming from an xml source and on which we can't click.
    Thanks.

    Hi,
    Yes , you can disable image field by setting acces value to readOnly.
    Example:
         imageField1.access = "readOnly";
    It works for Adobe Reader 9
    Best regards,
    Paul Butenko

  • SSIS "XML Source Adapter" can't make XSD location an expression

    I am using the "XML Source Adapter" in an SSIS package.
    I notice that although you can specify the XML filename as an expression, the XSD appears to have to be a fixed file path.
    This is a problem for me since the path for the XSD is different in my development than it will be in production (in production it's on drive E:, which I don't have).
    I'd like to have the file location specified in the config file, but since I can't make it an expression how can I do that?
    Also, since they don't have Connection Managers I can't switch DelayValidation on.
    Thanks.

    Hi John,
    Here is my pevious post
    I have about 400 xml files with me and all this data has to be loaded in about 30 tables, Basically have 30 different varities of xml files and matching 30 xsd files. We were trying to load all this using "Data Flow Task" and "XML Source".  Using
    FOR Each Loop passing appropriate XML File and XSD to Data Flow task and load it in one shot. Rather than having 30 different Data Flow tasks. Is there any other way, we can accomplish this task using a loop and dynamically passing the different files.
    You have suggested to follow the URL
    There's some example code here for package generation here:
    http://sqlsrvintegrationsrv.codeplex.com/releases/view/17647
    Everywhere I see, they are suggesting to use Flat File or Excel data examples. Do you have any posting that can help me to use XML file as a dynamic input file for XML Source.
    If anyone has any code samples how we can use XML files as dynamic source for XML Source task to import data into SQL Sever, that would be really appreciated.
    Thanks

  • XML+XSLT Portlet -- feature still in 5x?

    Did you guys take this feature out of the product? In 4.5, you used to be able to create a remote gadget by supplying an XML document and an XSLT stylesheet, the end result being an HTML portlet. Is that possible in 5.0? Customer 1000 wants me to do it and I can't seem to find the feature any more. Thanks, Chris Bucchere

    The feature in no longer in the portal, but has been offloaded to a portlet web service, the XML Transformer portlet. This portlet service runs in a Java application server, and is part of the Optional Web Services installation.

  • Issues with XML Source Code

    Has anyone seen or heard fo this issue:
    I was sent a new xml source code and loaded it into my .rtf file. When I went to preview the file it showed up no problem. All great and dandy!
    When I tried to add a field and preview the field would not show up. Yes, there is data in the XML sourse code for the tag.
    I decided to run a test and load some of the old XML source code and had no problems. I was able to move fields, add plain text, and delete fields and my changes would display in the preview.
    The only thing we can think of that is different is that the previous xml source code was generated from 9. 2. 08 database we recently upgraded to 10g. The new source code is from 10g.
    Does this make any sense? Would our upgrade to 10g result in not being able to change the template? Or is it something else?
    Thanks,
    Jessica

    Tim,
    I actually just sent you an e-mail. It contains the rtf and the source codes.
    Thanks,
    Jessica

  • Error Referencing XML Source

    Using NetBeans' Build > Generate Javadoc for Project ...
    init:
    Warning: Leaving out empty argument '-windowtitle'
    Generating Javadoc
    Javadoc execution
    C:\Program Files\netbeans-5.5.1\projects\Jesdisciple\nbproject\build-impl.xml:392: Javadoc returned -1073741515
    BUILD FAILED (total time: 2 seconds)1) How do I include -windowtitle? (That might be more appropriate for the NetBeans list, but I'd appreciate help here as it would save me some time.)
    2) What does the error mean and how can I fix it?

    Hello Paul,
    Thank you for your help, but the project that I'm working on I'm unable to send to you the PDF file, for security policies reason.
    The form has 11 pages and trying to solve the problem I deleted 10 pages. So now I can see the XML Source but I found a weird thing:
    in a Decimal Field, I found up to 65.000 occurrences of
    instead of just one. What is it mean?
    Is there another way to see the XML source?
    Diego

  • Problem with update XML source in ALDSP 2.5 !!!

    hi,
    i am trying to write update logic for XML source in overrideclass of ALDSP 2.5. But the updated data in XML at server side can not be reflected in client side: the XML file is updated at server side, but the queried data by client side is still old. If i use workshop at server to query, then the result is correct. How can this be resolved??
    thanks !!!
    wanxg

    Please include all the code involved - your client, your DSP Project an your UOV.I meant to zip up the code and post it. Not just mention it.
    Go here and read section 1.1 for differences between the Test View and a client. When you execute from a client, the EAR is used as the source of everything in your DSP Project. So if you have an xml file within your DSP Project, you are actually reading an xml file within the EAR. If your UOV writes to a file on disk, then that file on disk will be updated. And the next read will read the file in the EAR (which will be unchanged).
    So for your XML file, it would have to be outside your DSP project - and specified with an absolute url (file://d:|/myfiles/...) (I'm not sure if that is even allowed).
    If you search around on your disk, starting from <domain> directory, you might find the xml file that you have 'updated' - not that it will help - it will just explain your 'mystery' a little bit.

  • Traversal field in XML Source of LiveCycle Designer files

    Can someone explain to me how the Traversal field
    in XML Source relates to the tab order for an entire PDF form?  Like in my form i have the following, but both have 70 in them, but different names (field vs draw), but i dont know how that relates to the overall tab order of the entire PDF.
    <traversal><
    traverse ref="#field[70]"/></
    traversal> 
    <traversal><
    traverse ref="#draw[70]"/></
    traversal>

    It tells where to tab to next - those are attached to a field and point to the next field to go to.
    #field[70] and #draw[70] are field names in your form. I think those tags only show up if you start using custom tabbing order.
    Something looks odd though - did you name your fields with "#" in front? I might be wrong but that may cause problems for some things (not tabbing per se) - someone else here can hopefully correct me or not.

  • Error: 0xC020902A at Data Flow Task, XML Source [24515]: The "component "XML Source" (24515)" failed because truncation occurred, and the truncation row disposition on "output column "MsgLev1" (26196)" specifies failure on truncation. A truncation error o

    When I was Importing data from XML to SqlServer using SSIS , I am getting this error. The import is working if i use small file and not working if I use large XMl file. Can any one of you guys help me out with the issue?
    Error: 0xC020902A at Data Flow Task, XML Source [24515]: The "component "XML Source" (24515)" failed because truncation occurred, and the truncation row disposition on "output column "MsgLev1" (26196)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
    Error: 0xC02092AF at Data Flow Task, XML Source [24515]: The component "XML Source" (24515) was unable to process the XML data. Pipeline component has returned HRESULT error code 0xC020902A from a method call.
    Error: 0xC0047038 at Data Flow Task: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "XML Source" (24515) returned error code 0xC02092AF.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "SourceThread0" has exited with error code 0xC0047038.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread0" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread1" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread3" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread4" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread2" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread0" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread1" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread2" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread3" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread4" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.

    The reason is in the first line of the error.  It doesn't have anything to do with the size of your XML file - it has to do with the contents of the "MsgLev1" column.  You (or the XSD) has indicated that the values in this column not exceed a certain size - but one of the values in the file that's failing is larger than that.
    In order to fix the problem, you're going to need to increase the allocated space for that column.  In order to do that, you're going to need to find out what the required size of that data is - either from someone who ought to know, or by direct examination of the file.  If you want to know which entity has this overly large data element in it, you need to configure the error handling of the XML Source to "redirect truncation errors".  Then you can hook up the XML Source's error output to another destination where you can see which rows are problematic.
    Talk to me on

Maybe you are looking for