WebView URL of XML data

Hello

I created a Listview and ListItemComponents .xml file

I would like to open a WebView with the url selected in the .xml file, when a user clicks on an element.

That's what I have so far:

hand. QML

import bb.cascades 1.0

TabbedPane {
    showTabsOnActionBar: false
    Tab {
        title: "Home"
        imageSource: "asset:///images/custom/icon_197.png"
        Page {
            id: homepage

            titleBar: TitleBar {
                    title : "Title"
                }
                content: Container {
                    // Create a ListView that uses an XML data model

                    ListView {
                        dataModel: XmlDataModel {
                            source: "models/home.xml"
                        }

                        listItemComponents: [

                            ListItemComponent {

                                type: "header"

                                // Use a predefined Header to represent "header"
                                // items
                                Header {
                                    title: ListItemData.title
                                    subtitle: ListItemData.subtitle
                                }
                            },
                            ListItemComponent {
                                type: "listItem"

                                // Use a predefined StandardListItem to represent "listItem"
                                // items
                                StandardListItem {
                                    title: ListItemData.title
                                    description: ListItemData.subtitle
                                    status: ListItemData.status
                                    imageSource: ListItemData.image

                                }

                            } // end of second ListItemComponent

                        ]
                                        onTriggered: {
                                            var chosenItem = dataModel.data(indexPath);

                                            // Create the content page and push it on top to drill down to it.
                                            var page = webviewID.createObject();

                                            // Set the title and source of the feed that the user selected.
                                            page.weburl = ListItemData.weburl
                                            page.title = chosenItem.title

                                            nav.push(page);
                                        }
                         // end of listItemComponents list
                    } // end of ListView
                } // end of Container

            actions: [
                ActionItem {
                    title: "About"
                    imageSource: "asset:///images/custom/bb10/ic_info.png"
                },
                ActionItem {
                    title: "Settings"
                }
            ]

        }

             attachedObjects: [
                  ComponentDefinition {
                      id: webviewID
                      source: "webview.qml"
                  }
              ]

    }
    Tab {
        title: "Options"
        Page {
            id: page2
            actions: [
                ActionItem {
                    title: "Edit"
                },
                ActionItem {
                    title: "Save"
                }
            ]
        }
    }
    Tab {
        title: "Help"
        Page {
            id: page3
            actions: [
                ActionItem {
                    title: "Search"
                },
                ActionItem {
                    title: "Browse"
                }
            ]
        }
    }

}

WebView.QML

import bb.cascades 1.0

Page {
    property alias title: titleBar.title
    property variant chosenItem
    property alias html: ListItemData.html
    property variant weburl
    titleBar: TitleBar {
        id: titleBar
    }
    WebView {
        id: webView

    }
}

Home.Xml


    http://www.google.nl"/>
    http://crackberry.com"/>

Help, please!

Thanks in advance, Jeroen

The fixed.

More info and code: http://forums.crackberry.com/bb-10-developers-hangout-f276/webview-url-xml-data-808285/

Tags: BlackBerry Developers

Similar Questions

  • Problem transforming any XML data to a number of

    Ask for help, I am trying to transform XML data into a number that I can use in formulations to animate. It is a simplified example of what I'm trying to do. I have successfully comes from the xml file info in the text on the stage. My problem is that I need to have value data imported to be a number so that I can do with her future calculations, such as adding two numbers together to create a new variable total. I have accumulated my brain reading on XML data, has spent several days trying obvious solutions without result, and yes I'm new on even though I tried many encoding options.

    Thank you, Cindy j..

    -IMPORT of ONE XML FILE "textimport.xml".

    <? XML version = "1.0" encoding = "UTF-8"? >

    < mediansaleschart >

    < figureone > 20 < / figureone >

    < figuretwo > 10 < / figuretwo >

    < / mediansaleschart >

    -EDGE ANIMER CODING scene/creationComplete

    $.ajax({)

    type: 'GET ',.

    URL: "textimport.xml",

    data type: "xml."

    success: {function (xml)}

    textOne = $(xml).find('figureone').text ();

    textOneTxt.html (textOne);

    textTwo = $(xml).find('figuretwo').text ();

    textTwoTxt.html (textTwo);

    }

    });

    var textOneTxt = $(this.lookupSelector ("textOneTxt"));

    var textTwoTxt = $(this.lookupSelector ("textTwoTxt"));

    -EDGE ANIMER OF ELEMENTS ON THE STAGE, text elements

    textOneTxt

    textTwoTxt

    To get the value of the xml node, you must use parseInt.

    So for the total, I did something like this

    myTotal = parseInt (figureone) + parseInt (figuretwo);

    You should also make use of the last reference of research

    Instead of

    $(this.lookupSelector ("textOneTxt"));

    Use this notation

    sym.$("textOneTxt");

    Here's an example - http://www.heathrowe.com/edge/xmlnum/

    Download - http://www.heathrowe.com/edge/xmlnum/xmlnum.zip

    Code on compositionReady.

    var figureone, figuretwo, myTotal;
    var outputField = sym.$("xmlOutput");
    var messageString;

    $.ajax({)

    type: 'GET ',.
    URL: "sampleoutput.xml",
    data type: "xml."
    success: {function (xml)}
    figureone = $(xml).find('figureone').text ();
    figuretwo = $(xml).find('figuretwo').text ();
    myTotal = parseInt (figureone) + parseInt (figuretwo);
    messageString = "Figure a single value is:" + figureone + "
    "
    Figure two value is: "+ figuretwo +".
    "
    The total value is: "+ myTotal;

    outputField.html (messageString);
    }
    });

    ///////////////// End Code ////////////////////////

    HTH

    Darrell

  • loading the XML data in password protected URLs

    Using Flash Professional 8...

    I have an application that loads the XML data in remote servers.

    It works fine, except that the company provide me with the data decided to protect their files. It seems they use IIS or .htaccess protection of password for the style.

    I have a valid user name and password, but I do not know how to integrate those when calling the URL to authenticate.

    I think I need to use loadVars objects, but I've not been able to find examples where people use this method for this style of security. I see most of the examples deal with submit a name of user and password on a URL and then receive a response.
    The security of this type does not follow this pattern. The URL is blocked unless a name of user and password is entered in a box even before see pages.

    LoadVars to use for this?

    If Yes, are there an example or something that I can see?

    If this is not the case, how Flash authenticates this style of security?

    This seems like a fairly standard issue, and I am puzzled that I can't yet find other examples. Am I stupid?

    Thank you
    Joe

    Maybe it helps.
    http://www.martijndevisser.com/blog/article/using-HTTP-authorization-headers

  • WebView url of listView return sometimes empty

    Hello

    I have manged to a webview url of the xml data in a listView.

    My question is in my xml, whenever I put a full url as follows:

    http://www.itis.com.my/camera/DVR9/cam5.jpg"/>
    

    webview will return to the page

    BUT when I put the url below:

    http://www.llm.gov.my/equip_cctv.aspx?highwayCode=KLP&equipCode=KLP_CAM_04_BUKIT_JALIL_SB"/>
    

    The listView become white

    I can't even understand how to solve this might help u?

    Hi cruzzmz, try to replace the '&' in the second URL with '& '.

  • Select the XML data

    Dear all,

    Please find a list of the steps done to read the date of conversion of currency by the last final query, that I can be able to obtain the release of the name of the Bank as the Central Bank, but impossible to extract the time, rates, currency of the XML data.

    Please tell us how to solve the problem.

    CREATE TABLE url_tab

    (

    URL_NAME VARCHAR2 (100),

    SYS URL. URIType

    );

    INSERT INTO url_tab VALUES

    ("This is a test URL',

    sys . UriFactory.getUri ("http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml" "")

    );

    INSERT into xml_data_tab select sys.xmltype.createXML (u.url.getClob ()) in u url_tab;

    Select Bank_name, xt1.* from

    XMLTable (XMLNamespaces (default 'http://www.ecb.int/vocabulary/2002-08-01/eurofxref', ))

                                   ' ( http://www.GESMES.org/XML/2002-08-01 ' as "gesmes"),

    ' / / gesmes:Envelope'

    FROM (select * from xml_data_tab)

    columns

    Path of varchar2 (100) Bank_name ' / gesmes:Envelope / gesmes:Sender / gesmes:name',

    outer join left perv_t XMLTYPE PATH "Cube/Cube")

    XMLTable (XMLNamespaces ('http://www.gesmes.org/xml/2002-08-01' as "gesmes"), )

    "/ / Cube/Cube."

    FROM (select * from xml_data_tab)

    COLUMNS

    path of varchar2 (100) of rate_date "@time"

    path varchar2 (100) coin "@currency."

    path of rate varchar2 (100) '@rate') xt1 on 1 = 1

    its work for me

    SQL > with xml_data_tab like)

    2. Select XMLType)

    3'http://www.gesmes.org/xml/2002-08-01' xmlns ="http://www.ecb.int/vocabulary/2002-08-01/eurofxref" >. "

    4 reference rate

    5

    6 the European Central Bank

    7

    8

    9

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    26

    27

    28

    29

    30

    31

    32

    33

    34

    35

    36

    37

    38

    39

    40

    41

    42

    43 ') as the double DATA

    44)

    45 select Bank_name, xt1. RATE_DATE, xt2.*

    XMLTable 46 (XMLNamespaces (default 'http://www.ecb.int/vocabulary/2002-08-01/eurofxref',

    47'http://www.gesmes.org/xml/2002-08-01"as"gesmes"),"

    48 ' / / gesmes:Envelope'

    49 FROM (select * from xml_data_tab)

    50 columns

    51 way of varchar2 (100) of Bank_name ' / gesmes:Envelope / gesmes:Sender / gesmes:name',

    52 perv_t XMLTYPE PATH 'Cube'):

    53 left outer join XMLTable (XMLNamespaces (default 'http://www.ecb.int/vocabulary/2002-08-01/eurofxref'),

    54                         '*'

    55 in PASSING (h.perv_t)

    56 COLUMNS

    path of varchar2 (100) 57 rate_date "Cube/@time."

    58 rate_data XMLType path ' / / Cube/Cube ') xt1 on 1 = 1

    59 left outer join XMLTable (XMLNamespaces (default 'http://www.ecb.int/vocabulary/2002-08-01/eurofxref'),

    60 ' / / cube/Cube/Cube. "

    61 FROM (select * from xml_data_tab)

    62 COLUMNS

    path of VARCHAR2 (3) currency 63 "@currency."

    number 64 path "@rate" rate) xt2 on 1 = 1;

    BANK_NAME RATE_DATE HEART RATE

    ---------------------------------------- ------------------------- --- ----------

    2015 Central Bank European-12-30 US $ 1.0926

    30-12-2015 of the European Central Bank JPY 131.66

    2015 Central Bank European-12-30 BGN 1.9558

    2015 Central Bank European-12-30 CZK 27.029

    30-12-2015 of the European Central Bank DKK 7.4625

    2015 Central Bank European-12-30 GBP.73799

    30-12-2015 of the European Central Bank HUF 313,15

    2015 Central Bank European-12-30 PLN 4.24

    30-12-2015 of the European Central Bank, RON 4.5296

    2015 Central Bank European-12-30 SEK 9.1878

    2015 Central Bank European-12-30 CHF 1.0814

    BANK_NAME RATE_DATE HEART RATE

    ---------------------------------------- ------------------------- --- ----------

    2015 Central Bank European-12-30 NOK 9.616

    30-12-2015 of the European Central Bank 7.637 HRK

    30-12-2015 of the European Central Bank RUB 79.754

    30-12-2015 of the European Central Bank TRY 3.1837

    2015 Central Bank European-12-30 AUD 1.499

    30-12-2015 of the European Central Bank BRL 4.259

    2015 Central Bank European-12-30 CAD 1.5171

    2015 Central Bank European-12-30 CNY 7.091

    2015 Central Bank European-12-30 HKD 8.4685

    30-12-2015 of the European Central Bank IDR 15081.33

    30-12-2015 of the European Central Bank, ILS 4.2606

    BANK_NAME RATE_DATE HEART RATE

    ---------------------------------------- ------------------------- --- ----------

    30-12-2015 of the European Central Bank INR 72.535

    30-12-2015 of the European Central Bank 1284.79 KRW

    2015 Central Bank European-12-30. 18.8867 MXN

    30-12-2015 of the European Central Bank MYR 4.6887

    2015 Central Bank European-12-30 NZD 1.5959

    30-12-2015 of the European Central Bank PHP 51.281

    30-12-2015 of the European Central Bank SGD 1.5449

    2015 Central Bank European-12-30 THB 39.334

    30-12-2015 of the European Central Bank ZAR 16.8847

    31 selected lines.

  • The ODI API method to test the connection to the server XML-Data

    Hello

    I tried my hands on ODI SDK API and could create the physics/logic connections through it successfully.

    At the studio of ODI, for XML technology, when test us the data server-> JDBC-> connection test connection, corresponding to the xml specified in the JDBC url schema (xsd) the lorsque nous tester la connexion de données serveur-> JDBC-> tester la connexion, correspondant à la schema (xsd) xml spécifié dans l' url JDBC les tables tables are created.

    But I'm not able to get this functionality with the API in the SDK. It seems that JDBC connection is not tested when the code below is run

    connection settings

    myDataServer.setConnectionSettings (new OdiDataServer.JdbcSettings)

    "jdbc:snps:xml? d = C: / my_sample_xsd.xsd & s = ITEST..." »)) ;

    So basically I want to imitate the "Test Connection" feature using the API of the SDK. Currently, it creates Server XML data and physical schema but no tables in the database.

    Pointers?

    Thank you.

    I found the solution...

    test the connection to the jdbc url

    RemoteRuntimeAgentInvoker remoteRuntimeAgentInvoker = new RemoteRuntimeAgentInvoker (": http://application-tier server: port/odiagentname", "odiuser", "odipassword".toCharArray ());

    try {}

    remoteRuntimeAgentInvoker.invokeTestDataServer (myDataServer.getDataServerId ());

    } catch (InvocationException e) {}

    e.printStackTrace ();

    }

  • Store XML data in tables

    Hello

    I must write a procedure which takes the XML data and inserts in some tables.

    If the XML format is fixed so I can use the extract for analysis and can insert in the tables.

    But the problem is not fixed the XML format.

    Y at - it no integrated package that supports the xml for analysis data...

    Can you please suggest me in this case.

    Thank you
    Vinod

    >

    Hi vinod,

    I must write a procedure which takes the XML data and inserts in some tables.
    If the XML format is fixed so I can use the extract for analysis and can insert in the tables.
    But the problem is not fixed the XML format.
    Y at - it no integrated package that supports the xml for analysis data...

    You will have to do a little reading. I would recommend that you start here
    http://docs.Oracle.com/CD/B10500_01/AppDev.920/a96621/adx20ppl.htm (if all else fails, read the docco!  ;))
    http://www.Oracle-base.com/articles/9i/parse-XML-documents-9i.php
    http://www.quovera.com/whitepapers/downloads/xml_oracle.PDF
    http://anononxml.blogspot.IE/2010/12/methods-to-parse-XML-per-Oracle-version.html
    http://www.orafaq.com/wiki/XML

    orafaq and oracle-base are good global Oracle sites.

    You can also look at [url http://forums.oracle.com/forums/forum.jspa?forumID=34] here - the XML DB forum.

    HTH,

    Paul...

    Vinod

  • xml data call

    Hello

    I call uploadurl xml file. but I am wrong.

    a bad code.

    req = new URLRequest();
    req.url = ( stage.loaderInfo.parameters.f )? stage.loaderInfo.parameters.f : "myXML.IMAGE[0]";
    
    uploadFile = new FileReference();
    select_btn.addEventListener( MouseEvent.CLICK, browse );
    
    function browse( e:MouseEvent )
    {
              filefilters = [new FileFilter('All files',"*.jpg;*.png")];
              uploadFile.browse( filefilters );
    }
    
    
    var myXML:XML;
    var myLoader:URLLoader = new URLLoader();
    myLoader.load(new URLRequest("uploadurl.xml"));
    myLoader.addEventListener(Event.COMPLETE, processXML);
    
    function processXML(e:Event):void {
    myXML = new XML(e.target.data);
    trace(myXML.IMAGE[0]);
    }
    

    I assigned download URLs as xml

    <?xml version="1.0" encoding="utf-8"?>
    <GALLERY>
    <IMAGE TITLE="school">http://www.website.com/test/upload.php</IMAGE>
    </GALLERY>
    
    

    Finally it is working I have changed a bit.

    I put req.url = myXML.IMAGE [0] in the function processXML, then works well.

    Labour Code:

    var myXML:XML;
    var myLoader:URLLoader = new URLLoader();
    myLoader.load(new URLRequest("uploadurl.xml"));
    myLoader.addEventListener(Event.COMPLETE, processXML);

    function processXML(e:Event):void

    {
    myXML = new XML(e.target.data);
    trace(myXML.IMAGE[0]);

    Req.URL = myXML.IMAGE [0];

    }

  • Result of the handful of XML data with httpservice

    Hello

    Please find my xml data http://121.242.211.152/janaagraha/get_complaints

    I need to load these xml data through httpservice and depending on the result of the handle, I need access to individual data as complaints.complaint.title using the service loop. I tried this I could not get the result I need

    " < s:HTTPService id = 'Complaints' url = ' http://121.242.211.152/Janaagraha/get_complaints "result ="Complaints_resultHandler (event)"fault =" Complaints_faultHandler (event) "> "

    < / s:HTTPService >

    < fx:Script >

    <! [CDATA]

    protected function Complaints_resultHandler(event:ResultEvent):void

    {

    var complaintarray:ArrayCollection = event.result.complaints.complaint;

    var carray:Array = complaintarray.toArray ();

    for (var i: Number = 0; i < carray.length; i ++)

    {

    var cmparray:Array is ObjectUtil.toString(carray[i]).split('~~~');.

    Title: string var = ObjectUtil.toString(cmparray[0]);

    Alert.Show ("HI" + title);

    }

    }

    Please suggest I need to get data like title, complainturl, latitude longtitude etc.

    Concerning

    Jeremi

    Your node of categories is not necessary contain two category nodes, check if there is in fact two categories:

    var complaint_cat:XMLList = complaint.categories.category;
    if(complaint_cat.length() > 0){
         var mainCategory:String = complaint_cat[0].toString();
         if(complaint_cat.length() > 1){
              var subCategory:String = complaint_cat[1].toString();
         }
    }
    trace("main category: " + mainCategory + ", sub category: " + subCategory);
    

    --

    Kenneth Kawamoto

    http://www.materiaprima.co.UK/

  • Users of readers to save the xml data file

    Hello
    We can e-mail through the form xml data file without its extension drive. It is very good. Instead of emailing, I want just to save the xml data file in my local system.
    What is the syntax to get it? To send email, I usually create a "submit" button and the area of the submittoURL write us mailto:[email protected].
    What to write to save it on the local computer instead of emailing? I tried saveto: C:\NewFolder or fileto:C:\NewFolder. Nothing works. I think I'm missing the good syntax here.
    I know its possible by RE the pdf, you can get using savedataXML(). I want to achieve this goal without the form.
    Thanks in advance,

    Chaitanya

    The best you can do is set up a submitForm action and uses a type mailto URL. This will prompt the user to attach to an e-mail message using their email client or save it to a file.

  • navigateToURL from XML data

    (Edited for clarity 13:16's)

    OK thanks to Greg, I have this with a redirect built in barchart:

    This is my simple histogram:

    < mx:BarChart = x "561" y = "198" id = "CapitalExpenditures" dataProvider = "{I}" width = "762" showDataTips = "True" fontSize = "12" height = "371" >
    < mx:verticalAxis >
    "< mx:CategoryAxis categoryField="@type "/ >
    < / mx:verticalAxis >
    < mx:series >
    "< displayName = 'Spending' xField="@balance mx:BarSeries ' fill = race "{sc1}" = "{s1}" labelFunction = "formatNumber.
    Click = "navigateToURL (new URLRequest (rptWebsite))" >
    < / mx:BarSeries >
    < / mx:series >
    < / mx:BarChart >

    It works very well, but rather than hard code the URL, I would like to get from XML data that are already loaded into the system and assigned to a XMLList "di". My XML file is structured as follows:

    <>projects
    "< prName work = hours of 'One-project' = '705.50' rptUrl = ' http://www.google.com" / > "
    "< prName work = hours of project 'B' = '370.00' rptUrl = ' http://www.yahoo.com" / > "
    < / project >

    What I want to do, use the URL of the XML file, under the name of rptUrl as the URL path in my re - direct.

    I tried to put everything in navigateToURL (new URLRequest (@rptUrl) "> in but could not compile.")

    My confusion is the place where to insert the value in the URL variable and precisely what syntax to use? I have to use e4X for example?

    I created this function to my redirection:

    public void goUrlTFP(event:MouseEvent):void
    {
    ' rptWebsite =' http://www.google.com "
    navigateToURL (new URLRequest (rptWebsite)) return
    }

    It compiles, but I get nothing in the variable.

    I'm using the wrong syntax? I have to do something other than a mouseEvent of my function? Should I trigger the function somewhere else to the click event? I have to browse the file and fill a XMLList or something?

    I tried rptWebsite=item.@rptUrl and rptWebsite=ceDs.@rptUrl, but those who could not compile

    M.

    M, without trying to sound like I'm raggine on you (yet), I'm curious to know how you go about detective your way through the API to come up with possible solutions. What is your thought process? I wonder if it wouldn't you get more if you provide some tips on how to use the API correctly. Teach you to fish instead of giving the fish (for setting the proverb a little).

    I certainly did not know the answer to your problem just a few minutes ago, but it's literally what it took me to find what I think can be an answer to your problem.

    You have defined your features such as:
    Click on a bar chart and have it redirect to a URL that does not exist in the dataProvider of the histogram.

    How can we get these data to URL? The first thing to check would be click events. We look at the possible events that can be shipped when clicking the chart element (BarSeries) or component BarChart himself. When you look at the 'click' for the two event I wasn't expecting much in the measure where this event carrying additional information that I might be able to use, it's just a simple click event. And if I did event.currentTarget, there is no property that directly gives me the data I'm looking. However, in the API, I see an event type itemClick ChartItemEvent (under events) for BarChart which seems promising.

    Then I look in the API to ChartItemEvent and note that there is a property "hitData" type HitData which seem also promising. Now I look at HitData in the API and see that there is a property "item. It's more likely that the element that is used to render the particular BarSeries I clicked on. So I think that I can easily get the related data on an itemClick event.

    I tried and it was of course the data that I expect. I can remember something painfully obvious and much simpler to obtain these data, but I think this thought process shows that with a little effort, you can get a few runs in the API that you will probably have your solution. I doubt there is anyone on this forum who knows everything there is to know about the API. Use the docs, they are your friend.

    BTW, what is the other language that you are more familiar with what you're talking about from time to time?

    TS

  • Spry, displaying xml data

    I tried to use spry on CS3 and I seized the spry region, then create a table but when I preview the page I get an error saying that there is a xml object error. I checked the xml code and it seems in good condition. There are small things that I would have missed out? It isn't really confussing me now

    Yes, that's the ticket.

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.dreamweavermx-templates.com - template Triage!
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    'David Powers' wrote in message
    News:f25c9i$QSA$1@forums. Macromedia.com...
    > Murray * ACE * has written:
    > Actually, no. My XML source is on a remote server. At least one of
    > what I put in the source - data field
    >>
    > http://<> address > / export.php
    >
    > It's probably because you're using a PHP script to serve the XML data.
    > This is directly inspired by the Spry documentation:
    >
    > ' The URL argument can be a relative or absolute URL to an XML file, or to.
    > a/application of web service that returns XML data. Users should be aware
    > loading XML data is subject to the browser's security model
    > which requires that any data you upload must come from the area where
    > the HTML page, running in the browser, came. Web developers
    > usually get around this limitation by having a script server-side who
    > can be called from the browser that can load URL in other areas. »
    >
    > http://labs.adobe.com/technologies/spry/articles/data_set_overview/
    >
    > --
    > David Powers, Adobe Community Expert
    > Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    > Author, "PHP Solutions" (friends of ED)
    > http://foundationphp.com/

  • Problems with the display of XML data

    I'm a bit new to Flash and have problems out XML data in Flash. Basically, when I saw publication, all data load XML file and displays very well. But when I actually publish the file and view in a browser, no data is displayed.

    Data from XML is happening in the areas of dynamic text (title, description, image).

    I use an absolute URL to retrieve the XML data, and I tried a lot of text integrated solutions, and nothing has worked. Here, any help would be greatly appreciated.

    I have attached the script action, but also a piece of the XML file I get the data.

    After going through each difficulty as possible, I could find, I managed to miss the information contained in the link below. This fixed my issue.

    http://www.Adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213

  • Reflecting changes in XML data in the file swf online

    Hi friends,

    I have access to an xml file that is in the server permanently with the intervals of distinct time of my swf in a page online.

    If I make any changes in the xml data it does not reflect my online page because it's access to the XML content offline.

    How to avoid this? I want my page be reflected immediately when I make a change in my xml file.

    Is there any wawy to clear the content offline in ActionScript or ASP?

    * I gave the full path of the server to load the xml file in my ActionScript.

    Thanks in advance... - *.

    Hello

    Just add a variable to change to the URL of the xml file:
    XML. Load ("Data.xml? foo =" + getTimer ());

    In this way, the URL is never the same, so the XML is loaded each time. You cannot test this film more locally, because it throws file not found errors, but with a server it works fine.

    see you soon,
    blemmo

  • Web Service SOAP returned XML data are unreadable

    Hello

    I hope someone with some experience of SOAP could help me find a solution for which XML data coming out of a Web Service (SAP production) are illegible.

    In the attached file is the Web Service response, and as you can see in the header of the request is OK. (request to pass a serialized PCB of a 'tail' to 'work'). Request is successful (I manually check by directly connecting the SAP web service and check), but also the data on the printed circuit should be returned (edge stock code, etc...).

    My request and response with the XML data returned works very well in SoapUI.

    Any help would be appreciated.

    Darin.K wrote:

    I agree with Phillip (except that you want to "inflate" the payload).  You can simply post a VI with full response defined as default in a string control/indicator and I am betting we could get it sorted.

    Thanks Darin, I think acompress and after reading an article google re: SAP NetWeaver, who used the terms inflate and deflate, I confused my prefixes. I also regularly exchange numbers when transcribing the long numbers. Dyslexic, I am.

    JonnyR - please use the uncompress function I've included on the same link as soon as possible. You will need to remove the header HTML of the string portion. If you do not, unzip it will interpret the header as compressed data and you will get jumbled as output data.

Maybe you are looking for