Hi all, Sorry for the delayed reply. Actually the dynament that I've used is correct. I am having problem with the DS not connecting to external environment. It is blocked by the firewall. So, that's the reason I am unable to get the external xml.
But now, I am facing a strange problem. I am using the below type of include dynament in my XML(proxy.xml) (URL pattern specified below) <?xml version="1.0" encoding="ISO-8859-1"?> <IRXML CorpMasterID="86717"> <rde-dm:include mode="text" content="http://xml.xxxxxxxxxxx.net/ xmlclient.asp?compid=86717&reqtype=quotes" contenttype="text/xml; charset=ISO-8859-1"/> </IRXML> Using the the above dynament, I am able to get the response as XML. When I try to access the proxy.xml from DS URL, I am able to see the XML response in my browser. Now, I have a html page where I am placing the AJAX request to this proxy.xml using jQuery and in Success block, i am parsing the response xml (which will be the resolved XML response of proxy.xml) but unfortunately, I am not getting the response as XML in jQuery Success block. Directly the control is going to Error block. But, when i try to access the DS url directly, I am able to get the response as XML. DS URL: http://deliveryservername:8080/cps/rde/xchg/projectname/hs.xsl/proxy.xml Ajax request code in my HTML where I am calling this proxy.xml located in DS. <SCRIPT type=text/javascript> $(document).ready(function () { $.ajax({ type: "GET", url: 'http://deliveryservername:8080/cps/rde/ xchg/projectname/hs.xsl/proxy.xml', cache: false, dataType: "xml", error: function() { alert('in error block'); $('.stock_price').text("Data Not Received"); $('.stock_date').text("Data Not Received"); $('.stock_change').text("Data Not Received"); }, success: function(xmldata){ alert('in success block'); alert($(xmldata).text()); //XML Parsing to get the required values from XML response if(PriceDifference < 0) { $('.stock_change').css('color', 'red'); } $('.stock_change').text($ (xmldata).find('Change:first').text()); $('.stock_date').text($ (xmldata).find('Date:first').text()+' EST'); } }); }); </SCRIPT> Any idea where I am doing wrong? On Feb 7, 10:01 pm, Boris Crismancich <[email protected]> wrote: > Hi, > > first of all, what do you intend to do? Maybe a psx module or the > application portal connector would be the appropriate solution in some > situations. > > What exactly does the rde log say about the error? > > Cheers, > Boris Crismancich -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
