Timeout in resultHandler for HTTPService request

Hello All,
I have a flex application where I am calling to get data in XML format.  The data file most likely will contain 10's of thousands of records (in most cases).  What I am experiencing is a timeout in my rHandle function (see code snippets below):
Error #1502 A Script has executed for longer than the default timeout period of 15 seconds
My question/problem has 2 parts.
1) how do you disable the timeout?
2) the reading/parsing of the XML data seems to take waaaay too long.  Is there a better way?
I put an Alert message at the top of the result handler function and it didnt trigger before the timeout message triggered.  I am reading what could be 10's of thousands of records.  Is there a better (and FASTER) way to do this than to read in XML format?  Currently, no matter what I set the httpservice requests 'timeout' value to doesnt seem to have any effect.  I get a timeout after 15 seconds every time.  I have tried setting the timeout value to -1 (as documentation suggested) and/or to some very large value (say, 1200...20 minutes).  Any and all help is appreciated.   Here is the code and an example of the XML file
private var contactService:HTTPService = new HTTPService();
private var xData:XML;
private var T_Data:ArrayCollection = new ArrayCollection();
private function get_data():void
   contactService.url="data/big_data.xml";
   contactService.format = "e4x";
   contactService.addEventListener(ResultEvent.RESULT, rHandle);
   contactService.requestTimeout = -1;
   contactService.send();
private function rHandle(event:ResultEvent):void
   var i:int;
   xData = event.result as XML;
   for  (i=0; i < xData.el.length(); i++)
      var t:Object = new Object();
      t.cid = xData.el[i].cid; 
      t.date = xData.el[i].date; 
      t.y_axis = xData.el[i].y_axis;
      T_Data.addItem(t);
<mx:PlotChart.....DataProvider="{T_Data}"
   <mx:horizontalAxis>
      <mx:DateTimeAxis />
   </mx:horizontalAxis>
   <mx:verticalAxis>
      <mx:LinearAxis />
   </mx:verticalAxis>
   <mx:series>
      <mx:PlotSeries id=... yField="y_axis" xField="date" />
   </mx:series>
</mx:PlotChart.....
contents of big_data.xml
<xml.....>
<data>
<el><cid>1</cid><date>1243814400982</date><y_axis>10</y_axis></el>
<el><cid>2</cid><date>1243814401982</date><y_axis>12</y_axis></el>
<el><cid>3</cid><date>1243814451982</date><y_axis>44</y_axis></el>
<el><cid>4</cid><date>1243815451730</date><y_axis>21</y_axis></el>
.........(10s of thousands of records like this)....
</data>

Through trial and error, and some investigation, I found that the solution to my problem was to use remoteobject rather than httpservice.
Flex doesnt seem to handle httpservice calls with XX meg feeds very well.

Similar Messages

  • HTTPService request for each View inside a ViewStack

    Can someone point me in the right direction to have a
    httpservice request for each view inside my viewstack?
    <mx:ViewStack id="views">
    <mx:Canvas id="view0">
    </mx:Canvas>
    <mx:Canvas id="view1">
    </mx:Canvas>
    </mx:ViewStack>
    Can someone whip together a quick example or just point me in
    the right direction?
    Thanks

    Ahh, don't do that.
    Use a central HTTPService instance, and use AsyncToken to
    keep track of which result goes where. Some code snippets below.
    Tracy
    Sample code using HTTPService, e4x, handler function to
    populate a list item.
    Also shows usage of AsyncToken.
    The DataGrid tag:
    <mx:DataGrid id="dg" dataProvider="{_xlcMyListData}"
    .../>
    The HTTPService tag:
    <mx:HTTPService id="service" resultFormat="e4x"
    result="onResult(event)" fault="..../>
    Script block declaration:
    import mx.rpc.Events.ResultEvent;
    [Bindable]private var _xlcMyListData:XMLListCollection;
    Invoke send:
    var oRequest:Object = new Object();
    oRequest.Arg1 = "value1";
    var callToken:AsyncToken = service.send(oRequest);
    token.callId = "myQuery1";
    Result Handler function:
    private function onResult(oEvent:ResultEvent):void {
    var xmlResult:XML = XML(event.result); //converts result
    Object to XML. can also use "as" operator
    var xlMyListData:XMLList = xmlResult.myListData; //depends
    on xml format, is row data
    _xlcMyListData = new XMLListCollection(xlMyListData); //wrap
    the XMLList in a collection
    trace(_xlcMyListData.toXMLString()); //so you can see
    exactly how to specify dataField or build labelFunction
    var callToken:AsyncToken = oEvent.token;
    var sCallId = callToken.callId; //"myQuery1"
    switch(sCallId) {
    case "myQuery1":
    doQuery2();
    break;
    }//onResult

  • Can't view output for concurrent request

    I apologize if this is a common error - I tried to research this in the forums but didn't find anything that I haven't already tried. I checked the OPP - it is running with 3 processes - no error in the log that I can see. I checked the profile for the OPP timeout and have increased it....
    I have registered the data definition, registered and associated a template - created the concurrent program but when I try to run it completes with a warning and can't view output. The log states:
    XDO Data Engine Version No: 5.6.3
    Resp: 20420
    Org ID : 81
    Request ID: 2322744
    All Parameters: PO=5026930
    Data Template Code: GISDOSXML
    Data Template Application Short Name: XXGISD
    Debug Flag: N
    {PO=5026930}
    Calling XDO Data Engine...
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Unable to find an Output Post Processor service to post-process request 2322744.
    Check that the Output Post Processor service is running.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    --------------------------------------

    also - I found a note on using the XML Republish Report and I tried it with the report I ran and it erred completely. Here is the log for the republish:
    Oracle XML Publisher 5.6.3
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    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:324)
         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:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:683)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Caused by: oracle.xdo.parser.v2.XMLParseException: '=' missing in attribute.
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:324)
         at oracle.xdo.parser.v2.NonValidatingParser.parseAttrValue(NonValidatingParser.java:1556)
         at oracle.xdo.parser.v2.NonValidatingParser.parseAttr(NonValidatingParser.java:1461)
         at oracle.xdo.parser.v2.NonValidatingParser.parseAttributes(NonValidatingParser.java:1394)
         at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1225)
         at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
         ... 17 more

  • First call attempt fails with 12000; reason="Routes available for this request but no available gateway at this point"

    We've installed a new Audiocodes Mediant 1000B gateway for our customer.  They only have about 6 users enabled for Enterprise voice and using Lync for all calls.  They have an intermittent problem whereby the first call attempt to a number on the
    PSTN fails with 12000; reason="Routes available for this request but no available gateway at this point".  There is only one PSTN gateway installed.  All routes point to this gateway.  What I found initially is that the calls
    were failing after 10 seconds which is the default "failovertimeout" in the OutboundRouting.exe.config.  I found this post http://voipnorm.blogspot.co.uk/2012/06/lync-2010-gateway-timeout-call-failures.html and
    changed the value to 20 seconds.  Subsequent failures failed after 20 seconds (the new value).  The interesting thing is that the second attempt even a couple of seconds later succeeds.  My Lync server event log has 46046 "A call to a PSTN
    number failed due to non availability of gateways." for the failed call and 46047 "A PBX gateway is now responding to requests after some failures." for the successful call moments later.
    My environment is Lync 2010.  A single enterprise edition Front End with collocated mediation.  The server is virtual and in a different physical location to the gateway.  The two sites are connected via a LES1000.  The RTT between the
    sites is very low so it isn't necessarily networking.
    In the Syslog output on the Audiocodes we don't see the call even reach the gateway.  It's likely that Lync has simply marked the gateway as down and doesn't route the first call.  Then it wakes up and marks it as up and routes the next call.
    Update wise I'm on 4.0.7577.183, 199 and 217 for those that are up to date and the only components that are behind say that 223 is available.  Those being Core Components, Lync Server, Conferencing Server and Web Components.
    As I said, this is intermittent, apparently doesn't happen for every user (which I don't buy), but is easily replicated on request.
    I definitely think changing the failovertimeout value has reduced the number of failures.  But realistically I don't want users sitting there for 20 seconds before their call fails.  Or 19 seconds for the call to route.
    I've found a few posts on this and similar issues.  I don't get the 25051 or 25052 errors.
    Any help gratefully appreciated.
    Regards
    Randy Chapman
    Best Regards Randy Chapman

    Try to change the value of Failovertimeout to 1000.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • [svn] 949: Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name , it causes a ClassCastException in the server

    Revision: 949
    Author: [email protected]
    Date: 2008-03-27 07:12:59 -0700 (Thu, 27 Mar 2008)
    Log Message:
    Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name, it causes a ClassCastException in the server
    QA: Yes - try again with legacy-collection true and false.
    Doc: No
    Checkintests: Pass
    Details: Another try in fixing this bug. When legacy-collection is false, Actionscript Array on the client becomes Java Array on the server and my fix yesterday assumed this case. However, when legacy-collection is true, Actionscript Array becomes Java ArrayList on the server. So added code to handle this case.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-96
    Modified Paths:
    blazeds/branches/3.0.x/modules/proxy/src/java/flex/messaging/services/http/proxy/RequestF ilter.java

    Hi all!
    Just to post the solution to this if anyone ever runs accross this thread...
    For some reason i had it bad the first time, don't have time right now to see why but here is what worked for me:
    HashMap primaryFile = new HashMap();
    primaryFile.put("fileContent", bFile);
    primaryFile.put("fileName", uploadedFile.getFilename());
    operationBinding.getParamsMap().put("primaryFile", primaryFile);
    HashMap customDocMetadata = new HashMap();
    HashMap [] properties = new HashMap[1];
    HashMap customMetadataPropertyRoom = new HashMap();
    customMetadataPropertyRoom.put("name", "xRoom");
    customMetadataPropertyRoom.put("value", "SOME ROOM");
    properties[0] = customMetadataPropertyRoom;
    customDocMetadata.put("property", properties);
    operationBinding.getParamsMap().put("CustomDocMetaData", customDocMetadata);
    Basically an unbounded wsdl type is an array of objects (HashMaps), makes sense, i thought i had it like this before, must have messed up somewhere...
    Good luck all!

  • [svn] 931: Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name , it causes a ClassCastException in the server

    Revision: 931
    Author: [email protected]
    Date: 2008-03-26 11:31:01 -0700 (Wed, 26 Mar 2008)
    Log Message:
    Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name, it causes a ClassCastException in the server
    QA: Yes - we need automated tests for this basic case.
    Doc: No
    Checkintests: Pass
    Details: RequestFilter was not handling multiple headers with the same name properly.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-96
    Modified Paths:
    blazeds/branches/3.0.x/modules/proxy/src/java/flex/messaging/services/http/proxy/RequestF ilter.java

    Hi all!
    Just to post the solution to this if anyone ever runs accross this thread...
    For some reason i had it bad the first time, don't have time right now to see why but here is what worked for me:
    HashMap primaryFile = new HashMap();
    primaryFile.put("fileContent", bFile);
    primaryFile.put("fileName", uploadedFile.getFilename());
    operationBinding.getParamsMap().put("primaryFile", primaryFile);
    HashMap customDocMetadata = new HashMap();
    HashMap [] properties = new HashMap[1];
    HashMap customMetadataPropertyRoom = new HashMap();
    customMetadataPropertyRoom.put("name", "xRoom");
    customMetadataPropertyRoom.put("value", "SOME ROOM");
    properties[0] = customMetadataPropertyRoom;
    customDocMetadata.put("property", properties);
    operationBinding.getParamsMap().put("CustomDocMetaData", customDocMetadata);
    Basically an unbounded wsdl type is an array of objects (HashMaps), makes sense, i thought i had it like this before, must have messed up somewhere...
    Good luck all!

  • DNS request timed out. timeout was 2 seconds. *** Request to self timed-out

    I am having an issue with one of my domain controllers (Server 2012 R2). It is a DNS server as well and it times out 100% of then time when attempting connect to either of the two trusted forests that are setup as conditional forwarders. There is also a
    delay or a time out the first few times when attempting to resolve an external site such as google.com. The domain controller functions fine. All routing seems to fine, because I can telnet on port 53 to the trusted forest's DCs. They can even use the problem
    DNS server to resolve hosts. It just does work from my controller to the other forest. Here is an example of what is happening.
    > external.forest.dc
    Server:  problem.local.dc
    Address:  192.168.1.8
    DNS request timed out.
        timeout was 2 seconds.
    DNS request timed out.
        timeout was 2 seconds.
    *** Request to problem.local.dc timed-out
    > external.forest.dc
    Server:  problem.local.dc
    Address:  192.168.1.8
    DNS request timed out.
        timeout was 2 seconds.
    DNS request timed out.
        timeout was 2 seconds.
    *** Request to problem.local.dc timed-out
    Google will resolve eventually resolve
    > google.com
    Server:  problem.local.dc
    Address:  192.168.1.8
    DNS request timed out.
        timeout was 2 seconds.
    DNS request timed out.
        timeout was 2 seconds.
    *** Request to problem.local.dc timed-out
    > google.com
    Server:  problem.local.dc
    Address:  192.168.1.8
    DNS request timed out.
        timeout was 2 seconds.
    DNS request timed out.
        timeout was 2 seconds.
    *** Request to problem.local.dc timed-out
    > google.com
    Server:  problem.local.dc
    Address:  192.168.1.8
    Non-authoritative answer:
    Name:    google.com
    Addresses:  2607:f8b0:4006:808::1001
              74.125.226.67
              74.125.226.66
              74.125.226.72
              74.125.226.69
              74.125.226.68
              74.125.226.70
              74.125.226.73
              74.125.226.64
              74.125.226.65
              74.125.226.71
              74.125.226.78
    The other DC works as it should:
    > external.forest.dc
    Server:  working.local.dc
    Address:  192.168.1.7
    Non-authoritative answer:
    Name:    external.forest.dc
    Address:  10.1.1.1
    There is a firewall between these networks, they connect via campus fiber. I created an any rule to rule that out. I am thinking the DNS server is corrupt, but I cannot figure it out. 
    Dcdiag /test:dns says everything is great.
    Any suggestions?

    Hi,
    According to your description, my understanding is that the problem DC is configured with conditional forwarders to resolve names about other 2 trusted forests, and always times out. Besides, there is a delay or a time out the first few times when attempting
    to resolve an external name.
    Use NSlookup to confirm that if the conditional forwarder works. Open CMD on problem DC, type the command below and each line end with enter:
    Nslookup
    Server <IP address of the condition forwarder which used to resolve names on trust domain>
    <name of the trust forest which you want to resolve>
    If it works, try to increase time-out period:
    Properties of Conditional Forwarders – Number of seconds before forward queries times out
    – change the time.
    If it doesn’t work, turn on exhaustive debugging mode. Open CMD on problem DC, type the command below and each line end with enter:
    Nslookup
    Set d2
    Server <IP address of the condition forwarder which used to resolve names on trust domain>
    <name of the trust forest which you want to resolve>
    Post the result here.
    Besides, for internet/external name resolving problem, we usually have another DNS server(except for DCs) which connected to Internet/external and used to resolve external/Internet names. And on DCs, configure forwarder and use forwarder to resolve external/Internet
    names. If it is your case, check the forwarder setting on the problem DC, or use ping to test the network connectivity. Confirm that if the delay of name resolving caused by network delay.
    Best Regards,
    Eve Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Status of the httpservice request?

    Im using httpservice to get XML from a live URL of a web service I run.... works great and Im just trying to make it a little more elegant and presentable... is there a way for me to have an animated busy indicator on the stage and have it sit on top (using depth control) of my list that populates with the XMl data... then based on the status of the httpservice request, toggle the depth so that when the xml has finished loading, the busy indicator drops beneath the list object (using a lower number for the depth).
    or maybe its better to have the list alpha change and just leave the busy indicator below the list -- either way -- Im trying to figure out how to use some type of listener routine (presuming thats how I'd do it) to get the status and check for some type of completion.
    heres the code Im using in FB 4.6 ...  if its a mess, please be kind... Im just beginning to dabble with FB (and having a real blast so far).
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        creationComplete="init(event)" splashScreenImage="@Embed('logo.png')"
                        title="Events Listing Demo">
    <fx:Script>
                        <![CDATA[
                                  import mx.events.FlexEvent;
                            import spark.events.IndexChangeEvent;
                                  protected function init(event:FlexEvent):void
                                            lfXML.send();
                                  protected function list1_changeHandler(event:IndexChangeEvent):void
                                            navigator.pushView(Detail, event.target.selectedItem);
                                  protected function btnreload_clickHandler(event:MouseEvent):void
                                            navigator.pushView(HomeView);
                        ]]>
    </fx:Script>
    <fx:Declarations>
      <s:HTTPService id="lfXML" url="URL TO MY XML SERVICE HERE"/>
    </fx:Declarations>
              <s:List id="list1" y="191" left="10" width="460" height="407" change="list1_changeHandler(event)"
                                  contentBackgroundAlpha="90"
                                  dataProvider="{lfXML.lastResult.Events.EventListing}" depth="6"
                                  labelField="EventTitle">
    </s:List>
              <s:BusyIndicator id="indicator1" y="280" width="180" height="165" depth="5" horizontalCenter="0" />
              <s:Button id="btnreload" x="109" label="Reload Events Data" click="btnreload_clickHandler(event)"
                                    verticalCenter="301"/>
    <s:Image x="10" y="2" width="460" height="173" source="@Embed('views/logo.jpg')"/>
    </s:View>

    After making a call, HTTPService fires a FaultEvent (if there was a failure) or ResultEvent (if there was a success).
    Therefore, all you need to do is to display the busy indicator after any .send() and hide it again in response to any FaultEvent or ResultEvent.
    EG: You could do this using states like this.
    [code]
    <fx:Script>
    <![CDATA[
    import mx.events.FlexEvent;
    import mx.rpc.events.FaultEvent;
    import mx.rpc.events.ResultEvent;
    protected function init(event:FlexEvent):void
    lfXML.send();
    currentState = "loading";
    protected function lfXML_faultHandler(event:FaultEvent):void
    // TODO Auto-generated method stub
    currentState = "ready";
    protected function lfXML_resultHandler(event:ResultEvent):void
    // TODO Auto-generated method stub
    currentState = "ready";
    ]]>
    </fx:Script>
    <s:states>
    <s:State name="ready" />
    <s:State name="loading" />
    </s:states>
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    <s:HTTPService id="lfXML"
    fault="lfXML_faultHandler(event)"
    result="lfXML_resultHandler(event)"
    />
    </fx:Declarations>
    <s:List id="list1" y="191" left="10" width="460" height="407" change="list1_changeHandler(event)"
    contentBackgroundAlpha="90"
    dataProvider="{lfXML.lastResult.Events.EventListing}" depth="6"
    labelField="EventTitle">
    </s:List>
    <s:BusyIndicator id="indicator1" y="280" width="180" height="165" depth="5" horizontalCenter="0"
    includeIn="loading"
    />
    <s:Button id="btnreload" x="109" label="Reload Events Data" click="btnreload_clickHandler(event)"
    verticalCenter="301"/>
    <s:Image x="10" y="2" width="460" height="173" source="@Embed('views/logo.jpg')"/>
    [/code]

  • Multiple Httpservice requests

    Hi,
    I have a requirement where i have to load two components on
    one click.
    And each component has httpservice request.
    function onclick is the following
    public function onclick(event:MouseEvent):void{
    this.loadComponentOne();
    this.loadComponentTwo();
    when i get the response correctly , the invoke and result
    events from httpservice are in this order
    Httpservice from component one in invoked
    result from component one is [object Object]
    HttpService from component two is invoked
    result from component two is [object Object]
    but sometimes there is a conflict between the responses from
    the httpservices of these components
    in this case,Events from httpservice output the result in
    this order
    Httpservice from component one in invoked
    HttpService from component two is invoked
    result from component one is [object Object]
    result from component two is [] //empty for some reaon
    i get the result from my servlet correctly but
    ResultEvent.result is empty
    and the component two is not loaded because the result is
    empty..
    so how should the multiple httprequests be handled to get the
    responses correctly?
    Thanks
    chandana

    I am using a separate class to create a httpservice.
    following is the code where i send the Httpservice with all
    the event handlers.
    and from the component i call the methods from this class to
    get the response as follows
    public function selectedEntitiesList(id:String):void{
    backendRequest = new MittoBackendRequest(list_url);
    backendRequest.setRequest({action:action,id:id});
    backendRequest.addEventListener(ResultEvent.RESULT,getList);
    backendRequest.send();
    Thanks
    chandana

  • Dynamic HTTPService request AS3

    I'm doing a mashup in Flex right now using Yahoo Maps. One of
    the functions allows users to create their own routes.
    Here's the problem. I need a dynamic httpService request
    because I never know beforehand how many markers a route holds.
    Here's my code:
    [Bindable]
    private var rssFeed:String;
    private function opslaanRoute(event:Event):void
    if(this.tekstInputVenster.text!="")
    if(markerLijst.length>0)
    rssFeed = "<route>";
    rssFeed +=
    "<routebeschrijving>"+this.tekstInputVenster.text+"</routebeschrijving>";
    var lengte:Number = markerLijst.length;
    for(var d:Number=0;d<lengte;d++)
    rssFeed +="<marker>";
    rssFeed +=
    "<latlon"+d+">"+markerLijst[d][0]+"</latlon"+d+">";
    rssFeed +=
    "<indexMarker"+d+">"+markerLijst[d][1]+"</indexMarker"+d+">";
    rssFeed +=
    "<titel"+d+">"+markerLijst[d][2]+"</titel"+d+">";
    rssFeed +=
    "<beschrijving"+d+">"+markerLijst[d][3]+"</beschrijving"+d+">";
    rssFeed +="</marker>";
    rssFeed += "<aantal>"+indexMarkers+"</aantal>";
    rssFeed += "<userid>"+_loginid+"</userid>";
    rssFeed += "</route>";
    opslaanR.send();
    else
    Alert.show("U moet markers toevoegen om op te slaan!");
    else
    Alert.show("U moet een routebeschrijving toevoegen om op te
    slaan!");
    The httpservice looks like this:
    <mx:HTTPService
    id="opslaanR"
    url="url"
    useProxy="false"
    method="POST"
    resultFormat="e4x"
    result="opslaanSucces(event)"
    showBusyCursor="true"
    >
    <mx:request>
    {rssFeed}
    </mx:request>
    </mx:HTTPService>
    The "aantal" tag is the number of markers a route holds.
    Basically I want to loop the $_POST variables in php using "aantal"
    so I can add them to my database. The PHP works flawlessly but it
    never gets the httpservice values.
    Please help.

    well you understood me, I want an alternative to the script what I put in AS2,
    but I think. of the script as you sent me centenary assume that I have in the library button menu0 menu1 .....
    But I have only one menu button.
    because I tried it and it did not work.
    var ClassRef: Class = Class (getDefinitionByName ("menu" + i));
    I will be happy if later you look again

  • First HTTPService request takes forever

    Ok.  I have an interesting event taking place with my application.
    The first HTTPService request takes about 10-20 seconds and then, any additional requests are made between 1-5 seconds.
    A user types in a country code that and clicks a submit button.  The request is sent to a PHP page with the variable, the PHP creates an XML response.  Flex updates a datagrid accordingly which shows rates/minute for phone numbers with that country code.
    Any suggestions as to why this might be?
    Thanks in advance.
    Other Thoughts:
    First Request = 7 results (about 15 seconds)
    Second Request = 168 results (1 second)
    Third Request = 3028 results (5 seconds)
    Fourth Request = same request as First request (less than 1 second).

    im not sure about that one. i havent seen that issue before. as for the 'if i delete itunes, will it delete my music' question, the answer is no. if you uninstall itunes, it will just leave your music on your computer.

  • Tree Doesnt populate the whole data with HTTPService request

    Hi,
    I am working with the tree control which populates the tree
    with the HTTPService request.
    Step1. Make a HTTPService Request and fetch the top level
    entries.
    Step2. When ever the user opens an treeItem by clicking on
    the Triangular icon besides the tree item
    Make a HTTPService, fetch the data, on the callback method
    append the Datasource with the new data for the item to open.
    problem is the tree branch gets populated with partial data
    instead of the full data where as the DataSource has the full data.
    Step3. when ever the user clicks on the item
    Make a HTTPService, fetch the data, on the callback method
    append the Datasource with the new data for the item to open.
    Now the tree item gets populated with the correct data.
    tried every thing to refresh the tree....

    private function refreshTree():void{
    tree.expandItem(rootNode, false);
    tree.expandItem(rootNode, true);
    this helped

  • Error in Pre- Export methods for a request

    Hi All,
    I am getting an error while releasing a request, its giving
    "Error in Pre- Export methods for a request DM0k.....". Could you please tell me why and how can I rectify that?
    Thanks.
    NA

    Please go through as per the link
    [SAP Transport Request |http://www.sap-basis-abap.com/sapbs008.htm]
    thanks
    G. Lakshmipathi

  • Unable to install SQL Server Express 2008 R2 - Errors "Failed to retrieve data for this request"

    As domain admin I am attempting to install "SQL Server 2008 R2 with SP2" but it keeps failing with "Failed to retrieve data for this request".
    The installation never actually starts, it errors before then.
    It displays the same error even if I run the System Configuration Checker.
    The summary.txt for the install displays the following text:
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -1554760125
      Exit facility code:            852
      Exit error code:               15939
      Exit message:                  Failed to retrieve data for this request.
      Start time:                    2014-08-15 16:49:52
      End time:                      2014-08-15 16:50:06
      Requested action:              RunRules
    Machine Properties:
      Machine name:                  servername
      Machine processor count:       8
      OS version:                    Windows Server 2008 R2
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  Yes
    Product features discovered:
      Product              Instance             Instance ID                   
    Feature                                  Language            
    Edition              Version         Clustered
    Package properties:
      Description:                   SQL Server Database Services 2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      SPLevel:                       1
      Installation location:         c:\84122ef5b6d9cdcd3b2ac48cec\x64\setup\
      Installation edition:          EXPRESS
    User Input Settings:
      ACTION:                        RunRules
      CONFIGURATIONFILE:             
      ENU:                           True
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      
      HELP:                          False
      INDICATEPROGRESS:              False
      INSTANCENAME:                  <empty>
      PASSPHRASE:                    *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      RULES:                         GLOBALRULES,SqlUnsupportedProductBlocker,PerfMonCounterNotCorruptedCheck,Bids2008InstalledCheck,BlockInstallSxS,AclPermissionsFacet,FacetDomainControllerCheck,SSMS_IsInternetConnected,FacetWOW64PlatformCheck,FacetPowerShellCheck
      UIMODE:                        AutoAdvance
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140815_164944\ConfigurationFile.ini
    Detailed results:
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file:               The rule result report file is not available.
    Exception summary:
    The following is an exception stack listing the exceptions in outermost to innermost order
    Inner exceptions are being indented
    Exception type: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
        Message:
            Failed to retrieve data for this request.
        Data:
          HelpLink.ProdName = Microsoft SQL Server
          HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink
          HelpLink.LinkId = 20476
          DisableWatson = true
        Stack:
            at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath)
            at Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId)
            at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
        Inner exception type: Microsoft.SqlServer.Configuration.Sco.SqlRegistryException
            Message:
                    The network path was not found.
            Data:
              WatsonData = [email protected]rror
            Stack:
                    at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.CreateBaseKey(ServiceContainer ctx, String machineName, IntPtr hKey, String keyName, RegistryAccess access, RegistryView
    view)
                    at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocalMachine(ServiceContainer ctx, String machineName, RegistryAccess access, RegistryView view)
                    at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String machineName, RegistryView regView)
                    at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
                    at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)

        Inner exception type: Microsoft.SqlServer.Configuration.Sco.SqlRegistryException
            Message:
                    The network path was not found.
            Data:
              WatsonData = [email protected]rror
    Above message says that your registry is not consistent and some of the parameters are missing from registry.Or
    Account installing SQL server does not have permission to access this. I think case can be here that account with which you logged into your system to install SQL Server might not have certain privileges. Can you take help
    of domain admin account add it as a local administrator in this machine always right click on setup file and select run as administrator. Before this make sure you  remove all SQL Server components from add remove program
    I strongly recommend you to have a good look at below thread
    http://support.microsoft.com/kb/2000257/en-us
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • How do I set-up my Dataset to pull data for Service Requests for a report

    I am using SQL Server 2012 Report Builder 3.0.
    I have my Data Source added - DWDataMart
    I want to build my Dataset to query and find a very specific item. Basically I am creating a daily report that will show what each "team" or Support Group (AD Object) Closed that day. He also wants the ability to open it by date, so if he misses
    a day he can get it later.
    I am totally new to this report building and only got this far by following a guide on a blog, but he used incident Reports in his example, and I do not know what objects to query for service requests.
    Thanks for any information you can provide.

    First, you will need to get the support group ID's in the warehouse before you can run reports for them.  I found that putting these queries in their own stored procedure was a better path.
    select IR.IncidentTierQueuesId, IR.IncidentTierQueuesValue
    from dbo.IncidentTierQueues as IR
    where IR.IncidentTierQueuesId != 0
    select SR.ServiceRequestSupportGroupId, SR.ServiceRequestSupportGroupValue
    from dbo.ServiceRequestSupportGroup as SR
    where sr.ServiceRequestSupportGroupId != 0
    Enter the the support group ID's into your work item query.
    Incident information is in dbo.IncidentDim and Service Requests are found in dbo.ServiceRequestDim.  Both incidents and service requests link to relationship data through dbo.WorkItemDim.  You can INNER JOIN on BaseManagedEntityId to link the incident
    or service request to the workitem entry and from there to the Assigned Users, Affected Users, or Affected Configuration Items.  Each relationship has it's own separate fact views.
    If you poke about in the tables, you will find it pretty easy to pull back all sorts of information from the data warehouse.

Maybe you are looking for

  • Reg Po creation in ME21N

    Hi all, I am fresher in SAP MM module. When i am creating PO in ME21 with reference to PR  , i am getting a short dump. How can i create PO in ME21N  with reference to PR  ??? Kind regards Karthik

  • Select multiple LOV values & display in a grid

    How to implement an LOV where user can select any multiple values and these values will be displayed in a grid?

  • Can't open ANY on demand apps

    My BT service started on Monday and I've just tried opening the on demand apps and not a single one of them will load.  I've left them all for a few minutes and it just says loading and if you exit and try to reopen I get an error yvm105. I'm using t

  • Book, Web Gallery and Light Table Not Working

    When I try to create a new book or open an old one the design window does not open. Cannot get to the light table and other features as well. Where did they all go?

  • Downloaded Photoshop Elements 12, unable to log in

    My company purchases a copy of photoshop elements 12. You are able to download the program, and enter the serial number. When you try to open the program, nothing happens, it disappears from screen. Beyond frustrated with the lack of help for custome