Question about mapping a JAVA Interface with Flex

I am using Granite Data Services (Java backend) with my Flex
client.
The Java server has an Interface called
public interface IService {String getServiceName();}
The flex client makes a remote service call on the server
POJO which returns any implementation of the specified interface.
On the flex side I have an interface
[Bindable]
[RemoteClass(alias="com.*****.proxy.pojo.IService")]
public interface IService{function getServiceName():String;}
As shown i am binding it to the server interface.
From the client I make a call to the server and handle the
result as shown below
var serviceInstance:IService =
(remoteO.testInterface.lastResult as IService);
Alert.show("Service Name :
"+serviceInstance.getServiceName());
The call reaches the server and the remote method is being
called however the Alert is not working.
Please Help !!

//Start other thread closeT
System.exit(0)
//code for thread closeT
//wait 10 s
Runtime.getRuntime().halt()
Gil

Similar Messages

  • Questions about Mapping GL Accounts to Group Accounts

    Hi,
    I have some questions about mapping gl accounts to group accounts while configuring OBIEE APPS 7.9.6.3 with EBS R12 as a source:
    FIRST QUESTION.-
    For file file_group_acct_codes_ora.csv, I have the following accounts from my customer:
    101101 - Caja Administrativa
    101102 - Fondo Revolvente
    101103 - Caja de Cambios
    101104 - Efectivo en cajero
    This group of accounts is named CASH, now my customer said that this group begins in 101101 and ends in 101199 but in this moment only have this 4 accounts in GL, the rest of the accounts, I mean 101105-101199 are not used right now, they are gonna used in the future.
    So, my question is, in file_group_acct_codes_ora.csv how I need to put this group:
    In this way:
    CHART OF ACCOUNTS ID,FROM ACCT,TO ACCT,GROUP_ACCT_NUM
    50308,101101,101104,CASH
    Or in this way:
    CHART OF ACCOUNTS ID,FROM ACCT,TO ACCT,GROUP_ACCT_NUM
    50308,101101,101199,CASH
    I mean, is there any problem if I use the second way, or is necessary to do it in the first way, and why?
    SECOND QUESTION.-
    For file file_group_acct_names.csv, when I update with a new group of accounts, is there any rule or size boundary for GROUP_ACCOUNT_NAME?
    THIRD QUESTION.-
    For file_group_acct_names.csv, what is the value in column LANGUAGE? I mean, is EBS language?, DB language?, server language?
    I hope that someone can help me, because I need to clarify this and don't do the first full load and this load ends with error because of this.
    Regards,
    Arnulfo

    I'll take some broad swipes at this and let the smarter people come fill in the details.
    We have a true 1:1 setup in our office and have moved to PHDs as a means of protecting against downtime. The thinking is that we will have a spare machine lying around with our base installation ready to go. If a user's machine fails we'll replace it with the spare machine, let it sync the user directory from the server, and we're back in business. It's no substitute for a real backup system, but it potentially avoids having to run a restore from your backups. It also reduces network traffic compared to plain networked homes, and still lets your users work if the server goes down, but provides the benefits of centralized management. John DeTroye wrote a nice article about this.
    If you've already got data on your "client" Mac you will need to move it onto the server. PHDs will download data from the server to the client on the first sync, but will not upload a complete home directory from the client to an empty directory on the server. You'll find some posts in this forum discussing how people have gone about migrating data prior to that first sync.
    WGM allows you to establish exclusions for stuff you don't want to sync.
    One thing to watch out for in the scenario you describe is the so-called "rabbit effect." Assume Bob uses Mac1 as his primary machine. If one day he logs into Mac2 his home directory will be downloaded to Mac2. Once he returns to Mac1 he'll still be cluttering up Mac2 with his data. If he logs into Mac3 the next day and Tom and Sue are also periodically logging into different machines, you can see how you'll end up with a mess pretty quickly.
    Hope this helps.

  • A question about design of Java Application on java card.

    Hi every one,
    I have a question about design of Java applet on java card,
    There is an application on my card that it is not java card, it include a DF and some EF under DF, I would like to know if I want to have this application on java card ,how can I design DF and EF on java card ,I mean is there any relation between DF,EF with applet and file? for example can I say DF is same as applet and EF is same as file?
    I'll appreciate for any help .
    yours sincerely,
    orchid

    hi
    you can write a java class for DF.
    an instance of DF class have some EF objects.
    for example,
    samples/com/sun/javacard/samples/JavaPurse/CyclicFile.java
    implements ISO 7816 CyclicFile ( EF )
    see also:
    http://forum.java.sun.com/thread.jspa?threadID=673745&messageID=3936272
    best regards,
    siavash

  • Java interface with xml communication

    Hello everybody,
    For a project i need to make a java interface with xml communication.
    For example ; from 1 laptop I press on a java button and then i need to get a text message on the other laptop.
    The java interface is already created now the xml code for communication.
    I hope someone can help me how to start with the xml code.
    Are there any templates that i can use?

    I need to use XML for this, cause it is in the
    assignment.As far as communication is concerned, it doesn't matter that you are sending XML. You can send any kind of data. So first find out how to send data, then send data which is XML.
    I only want to know if its possible to send data/text
    from 1 laptop (windowsxp prof) to the other laptop
    (also windows xp prof).Provided the other laptop is running a server that can receive that data.
    Maybe its easier if I send data to a specific IP
    address?Provided there is a server running at that IP address that can receive that data. You can use an IP address to connect to a server but that has nothing to do with sending the data.
    Its important that the communication between 2 system
    is in XML language.XML is not a programming language. XML is a format for storing data. You can certainly send XML-formatted data between two computers.
    So i hope u have a solution for my problem.The solution would be for you to learn how communication between two computers works in the real world. If you have an assignment that says you have to make communication work, surely there was something taught to you before about how to do it?

  • Can i download google map and then interface with labview?

    i intend to interface labview with google map and indicate my required position on it.i need help on how to accomplish this?can i download google map and then interface with labview?

    Hi,
         The Example avalable on following link (C:\Program Files\National Instruments\LabVIEW 2009\examples\comm\axevent.llb\ActiveX Event Callback for IE.vi) on your PC, and using of Googlr map API u can indicate your position.document are avalable on following link (http://code.google.com/apis/maps/documentation/staticmaps/)
    I hope this is help for u..
    Siva
    Sivaraj M.S
    CLD

  • Few questions about maps

    Hi guys,
    I got few question about maps.. Perhaps someone can help....
    BTY, this work is a voluntary work for Human Rights in Syria...
    {message:id=10193821}
    {message:id=10192983}
    {message:id=10192990}
    Best Regards,
    Fateh

    Hi guys,
    Please do not let me down ... it is a humanitarian work...
    Regards,
    Fateh

  • Hi Everyone Im New, Got Question About Upgrading MSI GT60 0ND With SSD

    Hi Everyone I'm New, Got Question About Upgrading MSI GT60 0ND With SSD.
     :welcome:So As I've stated I'm new here, or at least got a new MSI notebook.
    Ive got the new MSI gt60 0ND with 750GB HD and 675 Ge-Force GTX , anyways to the bottom line.
    I would like to Upgrade my computer with SSD that I bought and install the win8 on it, in order to speed things up, but I have encountered a few problems..
    1. there is no sticker on the back of the computer that gives information about the serial number of my windows 8...
    2. lets say in some magical way I could get the serial number out, can I use it to reinstall ? because Ive heard that you cannot use this CD key anyways unless you got a special win8 installation CD key from MSI because its MSI branded windows 8.
    am I screwed    ? ?? ? I thought it is possible to upgrade with SSD but it seems like MSI made it very hard, I do not understand why they even putted the warranty void sticker on the expansion bay's .... WEIRD..
    Please help !! Thanks in advance,
    David

    Quote from: dudiz10 on 10-January-13, 19:20:54
    Hi Everyone I'm New, Got Question About Upgrading MSI GT60 0ND With SSD.
     :welcome:So As I've stated I'm new here, or at least got a new MSI notebook.
    Ive got the new MSI gt60 0ND with 750GB HD and 675 Ge-Force GTX , anyways to the bottom line.
    I would like to Upgrade my computer with SSD that I bought and install the win8 on it, in order to speed things up, but I have encountered a few problems..
    1. there is no sticker on the back of the computer that gives information about the serial number of my windows 8...
    2. lets say in some magical way I could get the serial number out, can I use it to reinstall ? because Ive heard that you cannot use this CD key anyways unless you got a special win8 installation CD key from MSI because its MSI branded windows 8.
    am I screwed    ? ?? ? I thought it is possible to upgrade with SSD but it seems like MSI made it very hard, I do not understand why they even putted the warranty void sticker on the expansion bay's .... WEIRD..
    Please help !! Thanks in advance,
    David
    I think serial key of windows is in your bios which you cannot See however it should be automatically activates windows

  • LDAPMAP: questions about mapping

    Hi All.
    We want to implement an interface between our SAP ECC6 and Microsoft Active-Directory.
    I have some questions about the mapping done in LDAPMAP t-code:
    1.
    What the meaning of the structure and fieldname (e.g. structure-USERNAME; field-BAPINAME)?
    They cannot be found anywhere in the DB or in SE36.
    2.
    How do I create new pairs (e.g. PA0008-TRFGR)?
    3.
    How do I communicate with these structure-fields, i.e. fill data to them?
    Any help will be appreciated.
    Ayal Telem.

    Hi Ayal,
    Do you got any clue on this.?  It will be great help if  you provide me some inputs on this. I'm facing similiar kind of requirement.
    Thanks a lot.

  • Question about the new JAVA Update J2SE 5.0 Release 3

    Here is some info about this update:
    Java 2 Platform, Standard Edition (J2SE) 5.0 Release 3 allows applications and applets developed for the J2SE 5.0 platform to run on Mac OS X v 10.4.2 and later.
    This update does NOT CHANGE the DEFAULT VERSION of Java on your Mac from Java 1.4.2 to J2SE 5.0, though Java applications that require J2SE 5.0 may specifically request it. You can change the preferred Java version for applications and applets by using the new Java Preferences utility. This utility is installed by the J2SE 5.0 update at /Applications/Utilities/Java/J2SE 5.0/.
    http://docs.info.apple.com/article.html?artnum=302412
    HERE IS MY QUESTION---
    This update makes me nervous cause I don't know much about Java. IF I change my default version to this new 5.0 will it mean that some of the older Java stuff on the web won't work? Should I just download this and ignore it? What should I do about this update?
    Thanks for the help!
    Renée

    I too seem to be suffering issues with loading web pages after the 10.4.3/Java 5.0 update. I have reinstalled both updates, changed the java settings, emptied all the caches, and tried various combinations thereof, and I still have problems with web pages loaded. most of the problems appear to be related to rendering frames and images - In fact a couple of web sites I navigate to (upon looking at the source for the page" state "It appears your browser does not support frames." I think this is something broken in the latest release. Unfortunately, I cannot reinstall the latest copy of Safari, because the installer states "This version of Safari cannot be installed. It requires version 10.4.2." I guess I am in a pickle until Apple comes out with another update. BTW I have some pages that Safari will not render but IE running on the same box will. I also noticed that the problem propagated to other applications that use Java....For instance the Dashboard widget from google (Google Maps) no longer renders the tiled (framed?) map pieces...instead you get the ubiquitous "?" icon.

  • Question about Dreamweaver Native Mobile Apps with PhoneGap

    I am trying to determine the best way to build an app for my business.  It doesn't need to be anything fancy, but needs a clean UI that is easy to navigate and interfaces with an online database.  The PhoneGap intergration with Dreamweaver 5.5 seems really intriguing, but before I spend the $650 to upgrade my creative suite, I had some questions.
    Doing some research, I have found multiple references to apps created in this way running slowly.  Noticable lapses on button pushes, pages loading slowly, etc.  Is this an issue and if it is, is there any way to get around it? 
    Idealy, I would deploy my app to both Android and iOS devices, how smoothly does that run?  I have some basic knowledge of both Java and Objective-C, but using dreamweaver seems to be quite a timesaver.
    If anyone has any input or comments about using Dreamweaver to create native mobile apps I would love to get some feedback.  Thanks!

    PhoneGap builds mobile apps with HTML, CSS, and JavaScript. You cannot use a server-side language, such as PHP, with PhoneGap.
    Presumably, you want to connect with a MySQL database on a remote server. To do so, you would need to use Ajax to send and receive data from the MySQL database. You can use jQuery to send and receive data as JSON. PHP has JSON functions that decode and encode data as JSON strings.
    How difficult or easy you would find setting this up depends on your knowledge of jQuery and PHP. I don't know of any tutorials that show how to pull everything together for PhoneGap, but it shouldn't be too difficult to find tutorials for using jQuery Ajax to communicate with MySQL.

  • Can java interface with windows to do things

    Good evening
    I am a student and i am trying to do a project and i wanted to ask everyone here before i asked my teacher,
    what i am trying to do is this . create a class that can be run from the desktop that will give me a window of option to do following things
    1) install printer drivers
    2) run a uninstall program
    3) use keys like CTRL ALT SHIFT AND F6 to pop open windows, and is there a way that can have a password entered automatically?
    4) change registry keys
    5) call up reg keys
    6) copy files from one computer ( laptop ) to my lab class over the network onto a specific profile?
    if someone out there can just tell me weather or not Java has the capiablity of interfacing with windows control panel, or any of the above stuff let me know and just give me a push in the right direction Please.
    Derek

    Speaking of Java itself.
    1) install printer driversNo
    2) run a uninstall programNo
    3) use keys like CTRL ALT SHIFT AND F6 to pop open windows, and is there a way that can have a password entered automatically?Depends what you mean but you might be able to do this using the Robot (in the awt package.)
    4) change registry keysNo
    5) call up reg keysNo
    6) copy files from one computer ( laptop ) to my lab class over the network onto a specific profile?Depends on what you mean. Java can be used to send files to other computers. Doing that requires that you understand how the other computer (not your compute) processes are controlled.
    You can of course do all of the above with windows API (not java) calls. And this is the forum about the JNI interface which allows a Java program to access native APIs, like the Windows one. It does however require quite a bit of detail work in a language besides Java, like C or C++. It is going to be easier if you have quite a bit of experience with those. If not then plan on spending a lot of time learning (factor that into how long it will take to do your project.) And of course you would need to research the APIs for all of the above.
    If it matters the registry one is rather easy in terms of the windows API. And you can find many examples of C/C++ code to access it.

  • Question about privacy in Java

    hi, i have a question about privacy practices in Java. I always thought it was bad form to program with too many global variable. However, when I program in Java i find that most of the time I am making my variables global. Is the fact that they are in a class supposed to make up for that fact? With subclasses you can also have 3rd parties working on your data. It seems a bit suspicious to me, like the data should be maintained more strictly, or is it my job to do that? I am just curious, but it seems java promotes global variables, which I find to be bad programming practice since anything can operate on them. I appreciate any input...

    However, when I program in Java
    i find that most of the time I am making my variables
    global. (meaning public)Sounds like you are writing bad code. Public variables should be extrememly rare except static final 'constants'.
    Is the fact that they are in a class supposed
    to make up for that fact? Absolutely not.
    With subclasses you can also
    have 3rd parties working on your data. It seems a bit
    suspicious to me, like the data should be maintained
    more strictly, or is it my job to do that? Yes, it's your job.
    I am just
    curious, but it seems java promotes global variables,
    which I find to be bad programming practice since
    anything can operate on them. I appreciate any
    input...Java does not promote public variables. You have to explicitly make them public.

  • Question about mapping logical sources to dimensions

    1) On my physical layer I have one fact table (FACTS_DETAILS) linked with CATEGORY dimension table. Other fact tables (aggregated data) don't linked with this CATEGORY dimension with physical joins.
    2) On my BMM layer I have mapped my dimension "Category" with my FACT_DETAILS.
    3) Other LSTs don't mapped on "Category" dimension, as they do not linked with Categories on physical layer.
    4) When I try to display detailed facts by CATEGORY - it's ok.
    5) When I add another dimension (For example, COUNTRY) i get error, because COUNTRY dimension isn't compatible with my FACTS_DETAILS.
    The question is: how to avoid displaying error message at Answers in such situation? Maybe it is possible just to not display data without error message?

    Sounds like you need to architect your physical/logical model a bit better and also you need to set the appropriate levels in the LTS for your facts and dimension logical table sources.

  • Mapping in Services Interface with multiple operation... ?

    Hi ALL,
    I have a SOAP to SOAP scenario here Just PI 7.1 with EHP1 acting a bus no mapping nothing .
    1) I have the WSDL file from the receiver system with multiple synchronous operations  in it ..i imported the wsdl as External Definition .. i used the same the WSDL file to create the sender Service interface also...
    when i created the service interface with the operation in it , i just gave the same operation name from the WSDL.this i followed for the sender and receiver service interface.
    1)now the issue is do i need any operation mapping if the service interface has more than one operation ...?
    2) I compelted the scenario without any operation mapping ..but i am getting this error ..Problem occurred in receiver agreement for sender -ICRM_D to receiver -EXACTTGETWEBSERVICE_D,http://ICRMtoExactTaetWebservice.com.si_os_ICRM_EXACTTETWEBSERVICE: No standard agreement found for , ICRM_D, , EXACTTARGEBSERVICE_D, http://ICRMtoExactarebservice.com, si_os_ICRM_EXACGETWEBSERVICE..?
    pls help me in this issue..
    Thanks
    Souz

    you might want to read this /people/shabarish.vijayakumar/blog/2010/09/08/service-interface-and-multiple-operations--is-it-just-an-hype
    you will need to create additional configurations for multiple operations to be supported

  • Questions about VK34 (create condition record with reference)

    Hi experts,
    When clicking the botton "copy condition" via VK34, an error message pops up. It says the error is due to no definition of select rule. I use the  standard condition record PR00.
    Q1: How to define "select rule"?
    Q2: Any chances to download condition record when using VK13 or VK33?

    Hello Colleague.                                                                               
    This Unicode problem occurs mainly with pricing reports (recognized by report names that start with /1SDBF12L/RV14AK).                        
    To regenerate these, call transaction V/LE or use transaction SE38 to execute the report RV14ALLE.                                           
    Leave the selection screen empty and execute (F8).                     
    See SAP note 497850.                                              
    If you have further questions about the generation in the condition maintenance, I recommend to read Note 886771.                
    I hope it can help you.
    Regards
    Ruy Castro

Maybe you are looking for

  • Cable for 2nd Hard Drive bay for HP ENVY 17

    Hello everyone! I wanted to ask a question. I own an HP ENVY 17-J075EZ, and inside it there are two slots for hard disk including the primary already used from the hard disk ... Because I wanted to put a SSD but always keep the HDD, I wanted to know

  • Ipod displaying sad icon (tried the Guide, doesn't work)

    Can someone help me? I was using my Ipod Video 30gb and it froze, so I reset it and it showed a sad Ipod icon with a "!" beside it. After I went to the guide and tried to restore it but when I plug it in (to my windows XP laptop) it is not shown in i

  • Why does printing a PDF cause the CrashReporter to go into a loop?

    Saving a file as a PDF from any print dialogue causes the CrashReporter to take all CPU cycles. Seems related to the Image Capture Extension. Anyone else seeing this issue? This just started happening post Mountain Lion update.

  • PowerBook won't stay closed!

    My girlfriend's 12" PowerBook G4 will not stay closed. There is nothing wrong with the latch - the latch activates just fine and keeps the lid closed to the unit. However, it doesn't close enough - the screen will remain on and the unit will not go t

  • How can a field dclared as decimal initially displayed as blank urgent.....

    hi all, how can a field dclared as decimal initially displayed as blank.......... i have decaled a field as p. and assigned space to it . but when it is displayed it is diaplayed with zeros..........i want that to be diplayed as blank