QueryAvailableDisksForVmfs Flex client call using dam?

The library of data access Manager using client-side Flex can we called to the methods of the managed object. All samples only access properties. I would like to QueryAvailableDisksForVmfs for a given host and bind the array HostScsiDisk back to the user interface.

If it is possible to call methods, can you please provide us with a sample.

Thank you

Bhrami.

Hi Bhrami,

The API of Flex DAM is only for the recovery of the data through data queries.  How to get what you're asking is:

(1) send request data for a custom property "availableDisksForVmfs" in your host on the side of the user interface view

(2) create a PropertyProviderAdapter on the coast of java, as the example of vsphere-wssdk-provider

(3) to this adapter, run the query for the "availableDisksForVmfs" property by calling the Web Service SDK vSphere and returns the data of the user interface.

Tags: VMware

Similar Questions

  • Manager result HTTPService fires twice when called using AsyncToken

    HTTPService is defined as:
    " < mx:HTTPService id ="recurrenceHttpService"url =" http://localhost:8080/project/recurrence.AJAX "" "
    method = "GET" resultFormat = "xml" useProxy = "false" showBusyCursor = "true" / >

    When I call a service using http:
    service.addEventListener (ResultEvent.RESULT, responder.result);
    service.addEventListener (FaultEvent.FAULT, responder.fault);
    service. Send (params);

    (answering machine is an IResponer, params is an object with parameters)

    The result is correct a call to the result handler.

    but when I call using an AsyncToken:
    var token: AsyncToken = service.send (params);
    token.addResponder (responder);

    the result handler is called twice.

    It is the stack in two cases.
    first time:
    com.structures.Commands::GenerateDatesForRecurrenceCommand/result
    MX. RPC::AsyncToken / http://www.adobe.com/2006/Flex/MX/Internal:applyResult   
    MX. CPP. Events::ResultEvent / http://www.adobe.com/2006/Flex/MX/Internal:callTokenResponders   
    HTTPOperation / http://www.Adobe.com/2006/Flex/MX/internal:dispatchRpcEvent   
    MX. RPC::AbstractInvoker / http://www.adobe.com/2006/Flex/MX/Internal:resultHandler   
    MX. RPC::responder/result
    MX. RPC::AsyncRequest/acknowledge
    DirectHTTPMessageResponder/completeHandler
    Flash. Events::EventDispatcher / dispatchEventFunction [source]
    Flash. Events::EventDispatcher / dispatchEvent [source]
    Flash. net::URLLoader / OnComplete [source]
    Second time:
    com.structures.Commands::GenerateDatesForRecurrenceCommand/result
    MX. RPC::AsyncToken / http://www.adobe.com/2006/Flex/MX/Internal:applyResult   
    MX. CPP. Events::ResultEvent / http://www.adobe.com/2006/Flex/MX/Internal:callTokenResponders   
    MX. RPC.http.MXML::HTTPService/ http://www.adobe.com/2006/Flex/MX/Internal:dispatchRpcEvent   
    HTTPOperation / http://www.Adobe.com/2006/Flex/MX/internal:dispatchRpcEvent   
    MX. RPC::AbstractInvoker / http://www.adobe.com/2006/Flex/MX/Internal:resultHandler   
    MX. RPC::responder/result
    MX. RPC::AsyncRequest/acknowledge
    DirectHTTPMessageResponder/completeHandler
    Flash. Events::EventDispatcher / dispatchEventFunction [source]
    Flash. Events::EventDispatcher / dispatchEvent [source]

    ideas?

    Yes, looks like it was fixed at 3.5

    http://bugs.Adobe.com/jira/browse/SDK-22883

  • a little duped on client.call

    Ive introduced a simple client-server application that seems to work for most. Only problem, is that the "client.call' in the application.onConnect does not call the function on the client.

    It's in my main.asc:
    ---------------------------------------------------------------------------------
    application.onConnect = function (client, name)
    {
    find available Identificateursuivant
    var i = 0;
    var tempObj = users_so.getProperty ("u" + i);
    While (tempObj! = null)
    {
    i ++ ;
    tempObj = users_so.getProperty ("u" + i);
    }

    Save the client object ID
    client.ID = "u" + i;

    Add the user to SO (this will trigger an onSync on clients)
    users_so. SetProperty (client.id, name); name
    users_so. SetProperty ("lastClient", name); name

    accept the connection
    application.acceptConnection (client); It works - onStatus is called with NetConnection.Connect.Success

    Tell the customer what is their identity card
    customer. Call ("setID", null, client.id); does not seem to do anything
    }
    ----------------------------------------------------------------------------------------

    and that is in my client:
    ----------------------------------------
    my_nc. SetID = function (id)
    {
    myID = id;
    statusInput.text += "online. Your id is "+ myID; is never executed
    };
    ---------------------------------------

    Even if the onStatus is called a 'success', the code client.call ("setID", null, client.id); does not call the customer setID function.

    And another question: what is client.id = "u" + i; Suppose what to do? Who establishes the id in a copy of the client on the server, or is it supposed to actually define a variable named 'id' on the real client? If Yes, then what is client.call ("setID", null, client.id); for?

    OK after a few hours of perusing the macromedia documentation, I found the solution. Because I do not 'components' use to manage the connection, the code in onConnect should be divided into two blocks.

    so now:

    application.onConnect = function (client, name)
    {
    accept the connection - it's the ONLY thing we are doing here.
    application.acceptConnection (client);
    }

    application.onConnectAccept = function (newClient, name)
    {
    all the rest do here regarding the installer for the client
    }

  • I have a 6 s with Verizon iPhone. Can I send/receive calls (using this service and calls on other devices functionality) on my iPhone 5s, who was with AT &amp; T service, but has no service now since I switched to Verizon?

    I have a 6 s with Verizon iPhone. Can I send/receive calls (using this service and calls on other devices functionality) on my iPhone 5s, who was with AT & T service, but has no service now since I switched to Verizon?

    Note: I'm able to get two phones to ring with an incoming call, but the 5s consist not out. Whenever I dial a number, it says call failed.

    Do not dial a number. Try to choose a contact in the contacts App and tapping on telephone button.

    That said, I don't think that outgoing calls work on continuity since another iPhone. given that the iphone is designed to make calls through its own service.

    Document to support that you just did not mention calls from a secondary iPhone at all, it points to Mac, iPad and iPod touch, which leads me to believe that it won't work.

    It runs from devices such as iPads and Macs, who have no other way to place a cell call.

  • How can I fix the audio distortion when you make a video call using Windows Live Messenger

    When you make a video call using Windows Live Messenger I get audio distortion. How can I solve this problem

    Hello WayneMarkham,

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • How to answer voice calls using built-in modem and dialer Windows in Vista Ultimate?

    How can I answer incoming voice calls using Dialer Windows in Vista Ultimate.  I can make outgoing UST fine voice using Dialer calls, but I don't see any option to answer incoming calls.

    Hi Dobrodaddy,

    The option to receive calls through dialer.exe is not available in Windows Vista and 7, as it was in Windows XP. You can use a third-party software for this task.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Thanks and greetings

    Ajay K

    Microsoft Answers Support Engineer
    ***************************************************************************
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Media Center Question can I have set up as a server and the other two as clients, each using two of the tuners of the card?

    I have 3 computers running Windows 7 Professional, one of them has a four installed tuner DVB - s2 card. I want to configure it as a server and the other two as clients, each using two of the tuners of the card. I understand the media library is able to use the basic network TV tuning cards, so there must be some way for me to configure the server to send the information over the network.

    Any ideas?

    On Fri, September 19, 2014 12:28:56 + 0000, SamJ008 wrote:
     
    > I have 3 computers running Windows 7 Professional, one of them has a four installed tuner DVB - s2 card. I want to configure it as a server and the other two as clients, each using two of the tuners of the card. I understand the media library is able to use the basic network TV tuning cards, so there must be some way for me to configure the server to send the information over the network.
    >>
    >>
    >>
    > Any ideas
     
     
    Start reading here
     
    You will not be able to use your existing tuners like tuner network. Microsoft has
    arrested development of Media Center, so don't expect any new hardware/software to
    appear.
     
     
     
    __________________________________________________________________________________________________
    Barb
    MVP Windows Entertainment and connected home
     
    Please mark as answer if that answers your question
     
     
     
  • Color image is not displayed when we call using the function DAL (LOGO)

    Hi all

    To change a picture of the legacy of the new Image in our MRL, the legacy Image is used by a lot of Faps (sections).

    (1) if we create the new article with new Images, the process becomes complex, as we need to check all the triggers and forms associated with it.so, we plan to create a field (with the same position as picture) DAL with functions of LOGO use

    EX:

    If (#process = 1)

    LOGO ("Idea", Fieldx (), Fieldy ())

    on the other

    LOGO ("LegacyImage", Fieldx (), Fieldy ())

    End

    Return("")


    Problem: The new Image is colored but when printed (called using "DAL") that is the impression that 'Black and White')

    We tried to use 'Refresh() '.


    Kindly help me with solutions,


    Thanks in advance

    Try to use the function ChangeLogo DAL instead.

    Change a logo on a section that has the set of attributes "print in color.

    This preserve the parameter "Print in color" and the logo print in color.

    See Re: how to get the graph to print in color when it is added using script

  • I can't download contact sheets to the site ftp continues to receive "an error occurred sending the file: access denied" it used 100% of the time, then about 70% not at all, having to send boards contact my clients. Using Version 6 on Imac.

    I can't download contact sheets to the site ftp continues to receive "an error occurred sending the file: access denied" it used 100% of the time, then about 70% not at all, having to send boards contact my clients. Using Version 6 on Imac. Any suggestions on how to make it work again?

    Hi Dayg,

    Please check your FTP settings in Lightroom.

    Are you able to connect and download using another FTP Client?

    Also try the steps below: -.

    1. from the Web in Lightroom module, click export instead of loading.

    2. save the Gallery to a location that you can find easily (like your desktop).

    3. manually copy the Gallery of his location to save to your FTP server.

    Let us know if that helps.

    Kind regards

    Assani

  • How to handle asynchronous calls using OSB?

    Hello

    How to handle asynchronous calls using OSB?

    Please help me?

    -Vincent

    Hello friend, here is what you need.

    Oracle Service Bus, call asynchronous Web services | Oracle... Java... OpenSource... SOA

  • I'm aerial video shooting with a GoPro H3 to 1080 p 30 FPS and want to edit videos and give them to my clients to use media as much as possible for their advertising and marketing needs.  I would like to give them to the highest quality of all the

    I'm aerial video shooting with a GoPro H3 + 1080 p 30 FPS and wants to edit videos and give them to my clients to use media as much as possible for their advertising and marketing needs.  I would like to give them to the highest authorized quality.  What form does save it to "publish and share?  I have the first 12 items.

    KM

    Can we assume that your 1080 p 30 is an AVCHD.mp4 file or other?

    You manually or automatically, the project should define the project preset

    NTSC

    DIGITAL SLR

    1080 p

    DSLR 1080 30 p @29.97

    (If your rate is really 30 instead of 29.97, then go with 1080 p 30 instead of DLSR 1080 p 30 @29.97 DSLR)

    See the following link to set the preset manually project

    http://www.atr935.blogspot.com/2013/04/pe11-accuracy-of-automatic-project.html

    For your exports

    Publish + share

    Computer

    AVCHD

    with Presets = MP4 - H.264 1920 x 1080 p 30

    Please let us know if you have any other questions on this or you need any clarification on what written.

    Thank you.

    RTA

  • Re-opening a call using the API (v8)

    Hello world

    How can I re - open a call using the API?

    Klebert

    You can always call ExecuteQuery to execute the query "call to reopen it. Then call the CallForwardInt to get to the correct agent / group which will generate notifications.

  • I have here a way to force the client to use a virtual IP address?

    If a client makes a connection between a server where multiple IP addresses are active - is there a way to influence that one is chosen for outgoing traffic?
    Background:
    The application is moved as well as its virtual IP address.
    After reinstalling the "sender address" should be the same for the tcp.invited_nodes-based IP filtering.

    Thanks in advance!

    PILOG wrote:
    Or boil down to the question: is there a function for connection sqlnet as "-b" for ssh?

    Nope. Don't remember seeing such an option. Server side, this feature is of course available to bind endpoints tcp specific IPS.

    Why exactly do you need this function on the client side? I don't understand the "+ the client connects using the IP addresses changing, even if the application is to have a virtual IP unique and constant. "This requires a source more open on the FW between DB and the customer as necessary +" problem you stated.

    If the client opens 2 connections to the base, then it will be 2 connections through the firewall. As the private client port will be different for each connection and make the unique connection.

    Now if these 2 client connection use IP1 and IP2 on the client for the connection, won't matter - as 2 separate connections will be created independently.

    If for some reason you want to from the db server or firewall see these client connections entering as minimum IP sources - then you can do this by using a unique IP address for all incoming connections by NAT'ing.

    You ask a NAT firewall (using iptables for example) and simply rewrite incoming IP headers for tcp on 1521 packets the IP NAT and transfer the package on the firewall/db server.

    This server will see a unique client IP only for all inbound traffic. Works pretty well for Oracle that the client connection string includes the hostname of the client/hostid - so you can always in Oracle see what session is from a client who, despite all these sessions with the same source IP address.

  • Tuxedo client calls Tuxedo server using FML32

    I used a customer Tuxedo calling a Tuxedo server.

    Tuxedo server:
    It receives FML32 buffer and analyze info from ui_fml.h, for example
    #define UI_SID ((FLDID32) 33852433) / * number: 298001 type: long * /.
    #define UI_NAME ((FLDID32) 33852434) / * number: 298002 type: long * /.
    #define UI_TEST ((FLDID32) 33852435) / * number: 298003 type: long * /.

    In server code:
    void TEST(TPSVCINFO *rqst) {}
    ...
    char line [200];
    long Len = sizeof (line);
    FBFR32 bfr = (FBFR32) rqst-> data;
    Fget32 (working capital, UI_TEXT, 0, line, (FLDLEN32 *) & len);
    printf ("Fstrerror32 (Ferror32) = [%s] \n", Fstrerror32 (Ferror32);
    ...
    }

    In the Tuxedo client code:
    int main (int argc, char * argv ())
    ...
    char * sendbuf;
    If (tpinit ((TPINIT *) NULL) ==-1) {}
    (void) printf ("tpcall2X:Tpinit failed\n");
    exit (1);
    }
    If ((sendbuf = (FBFR32 *) tpalloc ("FML32", NULL, BUFLEN)) == NULL (FBFR32 *)) {}
    (void) fprintf (stderr, "Error allowance sending buffer\n");
    tpterm();
    exit (1);
    }

    Len = Fsizeof32 (sendbuf);
    If (-1 == Finit32 (sendbuf, len (FLDLEN32))) {}
    TPFREE ((Char*) sendbuf);
    exit (1);
    }
    ...
    RET = tpcall ("TEST", (char *) sendbuf, rcvlen, 0, 0L, & rcvbuf);
    ...
    )

    The server returns "Fstrerror32 (Ferror32) = [LIBFML_CAT:2: ERROR: buffer not responded]", while the client works well.

    What is the reason? How do I change this?

    Thank you.

    Hi Bill,

    Of course, we are missing completely the other. I'll try to explain it in a different way.

    A tuxedo FML32 buffer resembles a Java hashmap. When you insert something in memory FML32 buffer that is essentially the same as adding something in a Java hashmap. When you add something, you must specify a field ID, which is little more than a key and type information and the actual data that must be stored. Thus, the data is essentially stored in a key/data format.

    For example, when you add a field to an FML32 buffer, you specify the key and value. The key is the field ID, and the value is whatever data you want stored in the FML32 buffer. So:

    Fadd32(sendbuf, field_id, value, len)
    

    simply add a field with the field id field_id and a value of value in the buffer. It would be almost identical to Java do:

    hashmap->put(field_id, value)
    

    The contents of the value is opaque to the tuxedo. What determines the type of data to be included in the field is of type associated with the field ID. The field ID contains a field number and a type identifier. So in your case, the ID UI_TEST field is 33852435, which indicates that the field is 298003 and is of type String. Note UI_TEST is just a #define, even if it must match what is in the table of corresponding field. If you change the field table, you must also regenerate the field table header file as the #DEFINEs corresponds to the reality.

    Is an example even simpler:

    Fadd32(sendbuf, UI_TEST, "Hello World", len("Hello World");
    

    would like to add a string field (because you have indicated that you have changed the user interface headers, such that UI_TEST is now a string field) with a field number of 298003 and the value "Hello World".

    Once again, placed in a field value is opaque to Tuxedo. If your customer is of the string "(FLDID (168070265)) \n\n test' in the buffer with a field ID of UI_TEST." When the server retrieves the value of this string, it will also answer "(FLDID (168070265)) test \n\n" since that's what you put in the field as its value. " Had put "Hello Todd" in the UI_TEST field, when the server retrieves UI_TEST field, he would still have a value of "Hello Todd.

    I don't know that I'm more clear. If this isn't the case, please explain to me what is happening and what you think should be the case.

    Kind regards
    Todd little
    Chief Architect of Oracle Tuxedo

  • Direct calls from FLEX client database

    Hi all

    is it possible to make direct calls to database to a MySQL database (or any database) of a FLEX, rather than calling via a service client? simply, I need to remove the middle layer.

    Thanks in advance.

    SajKK

    sajkk wrote:

    Thank you all,

    Other than MySQL does support other databases? entirely?

    A project office in Adobe Flex can support SQLite. That's all.

Maybe you are looking for

  • Laptop HP Pavilion 15 for Windows 7 32 bit drivers

    Sorry, actually I need drivers for windows 7 32-bit (32-bit) for 15 laptop hp pavilion. I have windows 8 pre installed but I'm more comfortable with windows 7   and it is the Instance Id of device or a hardware ID for the driver that I need   Bluetoo

  • Search engine results be re-directed to a fake web site on Windows XP

    When I use any search engine to find information on the Internet, I get results back as usual. However when I click on any of the results I am re-directed to a completely different site. I think I have a virus, but it is NOT detected by my Internet M

  • installation on two devices e-mail account

    Currently, I have a client which configuration of email account on their mobile phone & computer but when e-mail is sent from the internal E-mail co worker gets through. Have ensured that I left a copy of the message on the server to ensure all accou

  • Creation of DVD could not decode the files

    Hello world. Another new guy! I also discovered DVD Maker. But I had all the problems in sucsession. First creation of DVD does not recognize the files, but with the help, as I arrived here, I overcame. Then, he did not find the DVD burner, but you g

  • Change my keyboard works

    My keyboard prints characters and symbols. When I want a question mark, I E, instead. How can I change this