Interface implemtation with xmlloader instead of remoteobject

Hi there, if I want to change the implementation of getTrades to use a URL loader instead of a remote object, can I still use this interface
package services
    import models.Client;
    import models.Trade;
    import mx.rpc.AsyncToken;
    public interface ITradesService
        function getTrades(userID:int):AsyncToken;
using
function getTrades{
myXMLURL=new URLRequest(XML_URL);
            myLoader=new URLLoader(myXMLURL);
            myLoader.addEventListener("complete", onComplete);

I checked out a couple of devices offered by "Automationdirect.com" last year that looked like they would work.
the customer changed the spec and I never followed through.
Let us know what you find.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • Insert order by records into a view with a instead of trigger

    Hi all,
    I have this DML query:
    INSERT INTO table_view t (a,
                              b,
                              c,
                              d,
                              e)
          SELECT   a,
                   b,
                   c,
                   d,
                   e
            FROM   table_name
        ORDER BY   dtable_view is a view with an INSTEAD OF trigger and table_name is a table with my records to be inserted.
    I need the ORDER BY clause because in my trigger i call a procedure who treat each record and insert into a table, used in the view. I need to garantee these order.
    If i put an other SELECT statement outside, like this:
    INSERT INTO table_view t (a,
                              b,
                              c,
                              d,
                              e)
          SELECT   a,
                   b,
                   c,
                   d,
                   e
            FROM   table_name
        ORDER BY   dIt works. But I can put these new SELECT because these query is created automatic by Oracle Data Integrator.
    What I'm asking you is if there any solution to this problem without changing anything in the Oracle Data Integrator. Or, in other words, if there is any simple solution other than to add a new SELECT statement.
    Thanks in advance,
    Regards.

    Sorry... copy+paste error :)
    INSERT INTO table_view t (a,
                              b,
                              c,
                              d,
                              e)
        SELECT   *
          FROM   (  SELECT   a,
                             b,
                             c,
                             d,
                             e
                      FROM   table_name
                  ORDER BY   d)I need to insert him by a D column order, because my trigger needs to validate each record and insert him. I have some restrictions. For example, my records are:
    2     1     2006     M
    1     2     2007 M
    1     3     2007     S 2007
    1     2     2007     S 2007
    2     1     2009     S
    2     1     2009     S
    I want to insert the 'M' records first and then the 'S' records because the 'S' records only makes sense in target table is exists 'M' records
    Regards,
    Filipe Almeida

  • Interface program with JDBC

    I created three database tables in PostgreSQL database and interfaced it with JDBC.
    In the interface program, I queried the program to retrieve data from two tables. I got results from the first table, but did not get any result from the second table. Rather, the system sent the following error message: Exception in thread "main" java.sql.SQLException: ERROR: parser: parse error at or
    near "mdas_ar_coments"
    at org.postgresql.core.QueryExecutor.executeV2(QueryExecutor.java:289)
    Mdas_ar_coments is the name of the second table. I have checked the names, there is no spelling mistake in both the database tables and interface program.
    Please, let me know how to query two or more tables in a JDBC interface program.
    Thanks.

    Please show me how you are attempting to query two tables using JDBC.

  • Conditional Interface Determination with Flat Files

    Hello,
    I have one sender interface (dummy) which could either hold a flat file or an XML file. On receiver side there is one system with two receiver interfaces, one should be used for the XML structure and one for the flat structure.
    My requirement is to have a conditional interface determination with an (exclusive) OR logic. Pseudo code:
    The XML structure has "submission" as root node. So I use the condition (/submissioin) EX to determine whether it is an XML file and I check with not(/submission) EX to determine whether it is a flat file. However the condition does not work using a flat file ("Unable to find an inbound interface"). Could it be, that the conditional expression never is true in case a flat file arrives? How can I achieve this requirement?
    What I additionally do with the flat file is just calling a Java Mapping that sets dynamic attributes for a file receiver, the flatfile itself is dumped on a file system without any addtional conversion logic.
    Thank you for your advice.

    How can I ingnore a message in case a condition applies? I am just aware of the fact that you can ignore messages in case NO condition applies.
    Couldn't you simply reverse the logic and use "not equals"? Or perhaps you can use the EX operator to alter your conditions... here is more info on the EX (exists) operator
    Re: ConditionEditor: Check if element is empty
    What is best practice in this case? Should I use a "dummy receiver"? However if I use a dummy receiver I think I would receive a "interface determination not found" error. How would you do that?
    I've never found the need to work with dummy receivers so I cannot comment there.

  • Unable to open PDF files with Adobe Reader, Mac trying to open files with Quicktime instead, but not succeeding. HELP!

    Unable to open PDF files with Adobe Reader, Mac trying to open files with QuickTime instead, but not succeeding. HELP!

    Hi BDAqua,
    Thanks for the info, I dragged a PDF to desktop ctrl-, get info. change all to open with adobe.
    Problem solved, many thanks for a quick response.
    Barry69

  • Download and then open PDFs with Preview instead of viewing PDFs within Safari

    hello, I am running Safari 6.0.2 and since this update PDF files are automatically opened within Safari. This seems to be a new feature. In my older version of Safari whenever I clicked a pdf it was downloaded to my "Downloads" folder and then automatically opened with Preview. The option open "safe" files after downloading in Safari -> Preferences -> General is ticked. So as soon as a download a PDF file it should automatically be opened with Preview. However, I cannot figure out how to download a PDF file from a google link. I googled and people suggested to use alt + mouse click on the google search result link to download the PDF. However, whenever I tried this instead of downlading the PDF file it downloads a .html file which is then apparently not opened. Also using the option "download linked file" or "download linked file as" only downloads a url.html file and not the PDF. I searched and searched for any possible solutions but cannot find any. I am really suprised that no one has yet really complained about that. Any ideas of how to fix that problem?

    I had a similar probem after updating to the newest Safari -- and I posted that question on the forum this morning.  Like you, I didn't have any adobe plug-ins.  then I read another post that made sense:
    find a pdf document that you know opens in Preview. Do a command-I on that document's icon.  Then you'll see 1/2 way down an item that says "open with Preview" - click on the arrow beside that, then beside it you'll see "use this application to open all documents like this one"  Under that, you'll see "change all" -- and it will change all pdfs to automatically open with Preview instead of Adobe.From then on Safari worked perfectly
    Then I wondered why I didn't have the Adobe plug-in that people were telling me to disable - so I downloaded Adobe Reader again - looked in the library and sure enough there was the plug-in - so I went ahead and disabled the Adobe pdf plug-in (by dumping it in the trash).
    so far so good -- first time that Safari 6.02 has worked for me since I installed it.

  • Artists in iTunes Library starts with Z instead of A

    Hi guys,
    My iTunes library's artists starts with Z, instead of being in alphabetical order. It didn't use to be like this. Anyone know how to fix this? Thanks.

    Try clicking on the toolbar at the top of the artist column (on the word "artist"). When I do this on my MacBook it changes back and forth between starting from A and starting from Z. You should also see a little arrow next to the word "artist" that points up and down when you press the toolbar button. "Up" means starting from the top, and down means starting from the bottom.

  • International characters apear with ? instead of ó or á or é

    After upgrade from 10.4.7 to 10.4.8 my email in yahoo apear with ? instead of the international characters.
    What i can do?
    I get this
    y mis correr�as con alguien que m�s all�
    instead of
    y mis correrías con alguien que más allá
    Thanks a lot.
    Jm

    Sorry, realized too late. Now that I now how bad it is, I promise not to do it again. Sorry for another useless note for this apology. Go forth and find other evil dooers...

  • Sub Contracting: CO product is lying with vendor instead fo own

    Hi expert
    when i am taking Co product with movement 545 (0).system  showing stock with vendor instead of own storage location,
    regad
    Nabil

    Hi
    USe of 545 O movemnet
    If a component is entered with a negative quantity for the subcontract order, the receipt of the by-product is posted to stock provided to vendor during goods receipt for purchase order or during the subsequent adjustment. 
    so now you need to do 542 movement manually to bring back the stock to unrestricted use

  • Interface Matlab with java good links and info

    HI All
    i want to interface Matlab with java
    i did search through the net but i haven't got nay good links and info
    by that i mean the given links either not working or do work for old version of matlab ie R13
    i have R14
    IF you have already done that or
    you have a really good links and info and steps
    please post them here
    thanks

    It doesn't appear that Matlab is free, so i'd expect that's why you are having trouble finding download links.
    Here's is an overview link
    http://www.mathworks.com/access/helpdesk/help/techdoc/rn/r14_v7_external.html#1011951

  • Interface-Mapping with a Fault Message Type

    Hi,
    we have an abap-proxy and some messages generated errors. The errors can be displayed via sxmb_moni. The proxy raises an "Application Error (Restart possible)".
    Now I wanna transform the generated fault message (of the proxy) with a message mapping and send the output to a file.
    My problem is, that it is not possible to define an interface mapping with the fault message as well as it is not possible to define a receiver determination.
    Any ideas?
    Thanks a lot
    Regards
    Wolfgang Hummel

    Hello
    As far as I know you can propogate the application error back to the calling application only in case of a Synch Interface? Are you making a Synch call where the proxy triggers a fault message,  if yes then all you need to do is to make the change in XI to have the fault message for both the outbound and inbound message interfaces and then a corresponding fault message mapping and select this in the Interface Mapping and then the fault message will be sent to the source / calling application.
    In the case of Asynch calls I don't think this is possible until you use a BPM. Have not tried this myself though.
    Regards,
    Bhavesh

  • When i open an irc link with a channel name that contains "~" at the end, firefox (14.0.1) opens the same channel name but with "%7E" instead of "~" at the end

    when i open an irc link with a channel name that contains "~" at the end firefox (14.0.1) opens the same channel name but with "%7E" instead of "~" at the end
    http://img835.imageshack.us/img835/2856/clipboard05nq.jpg

    I can not open the image, but I can say something in general about the tilde.<br>
    The tilde "~" is an unreserved character and therefore it can be replaced by its percent-encoded form "%7E" inside a URI without changing meaning. See<br>
    http://en.wikipedia.org/wiki/Percent-encoding<br>
    According to section 2.3 of RFC3986 we should prefer the unencoded form so this behavior seems to be a bit out-dated.<br>

  • Why will Bridge CC not recognize a PHP file and ONLY open with notepad instead of Dreamweaver?

    why will Bridge CC not recognize a PHP file and ONLY open with notepad instead of Dreamweaver?

    Did you set the file association in Bridge to open with Dreamweaver?

  • Newbie: does ADF install/run with Eclipse instead of JDeveloper?

    Hi,
    Can ADF install/run with Eclipse instead of JDeveloper?
    Thx
    -Rob

    If you mean can you design ADF applications with Eclipse then yes, you can do that with Oracle Enterprise Pack for Eclipse. It isn't as full-featured as the JDeveloper experience, though.
    More info: http://www.oracle.com/technetwork/developer-tools/eclipse/overview/index.html
    Tutorial: http://www.oracle.com/webfolder/technetwork/eclipse/adf/gettingStarted/Tutorial/ADFwithOEPE_1.html
    If you meant something else, please be more specific!
    - Joonas

  • Controlling PCI-1422 with Labview instead of MAX

    Hello Experts,
    I want your help in one of my problem. I have a camera from Sensors Unlimited which is SU-640 1.7 RT-D and a NI parallel card PCI-1422. I can use and acquire data with MAX from the camera but I want to operate,use and acquire images from the camera using LabView. Is there any way of exporting or using the camera with Labview instead of writing a fresh code in LabView? 
    Does LabView offer any support or reads automatically from PCI-1422 or any possible solution that I get the block diagram code for using this camera in LabView.
    Please let me know, reply.
    Any help or suggestions will be highly appreciated.
    Thanks in advance!
     

    Nitai wrote:
    Thanks but again it requires writing and struggling with coding and experience on  LabView skills.
    Just wondering something easy. I tried one of the example and it worked actually but I am trying to get more ideas or options to make it look better and impressive.
    You want something and easy and doesn't require any effort on your end?    Hire someone who knows how to program in LabVIEW.

Maybe you are looking for