Web Client SDK and redirect iframe

Greetings,

I am developing under the chassis-ui and chassis-service projects. I added a new summary view that creates an iFrame to display the content of the following address "https://{ip}/auth.asp". ""

The iframe fills well.  After adding exception to the address in my browser, the window makes a redirect to address everytime I open the tab.

Is there any method option or alternative to the implementation of this? If so, could you please provide an example.

Thank you!

Here is an excerpt from FrameView.mxml

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

< mx:HBox

' xmlns:mx = ' http://www.Adobe.com/2006/MXML "

' xmlns:flexiframe = ' http://code.Google.com/p/Flex-IFRAME/ "

"" xmlns = "*".

creationComplete = "iFrame.visible = true"

>

< flexiframe:IFrame id = "iFrame".

                       source=" https://192.168.1.20 {ip} auth.asp "

Width = '100% '.

Height = "100%".

Debug = 'true '.

Visible = "true".

/ >

< / mx:HBox >

Which SDK version do you use?  It seems that you are not familiar with the HTML Bridge feature which was published in March 2014 with SDK 5.5.1.

Using the Flex iFrame library directly in your user of Flex interface is not recommended and not supported.

See the HTML documentation of bridge for the right way to develop HTML plugins.

Tags: VMware

Similar Questions

  • Web Client SDK and server of Virgo

    Greetings,

    I ran across the configuration Client SDK web vSphere sometimes document. What's up until I have try to launch the Virgin server.

    I get a few exceptions of plugins do not install followed by the server to overwrite/restarting(see log file).

    Environment:

    Eclipse JEE Indigo

    vCenter 6.0

    vSphere Web Client SDK 6.0

    JDK 1.7

    Flex 4.6

    Any suggestions would be greatly appreciated! Thank you!

    > Constructor threw exception; nested exception is java.lang.NullPointerException: the component of the VMware Manager URL can not be empty.

    Your webclient.properties contains an invalid cm.url (cm = Component Manager), check the value.

    Something needs to happen when you have run the dev installation script to generate webclient.properties.

    You can fix it using the VCSA dns name:

    cm. URL = https://VCSA_DNSNAME/cm/sdk/

  • With regard to the use of the web service sdk web client SDK

    Hello

    I could run the java program of the Web SDK service, independently, but how what I call web client SDK.

    Because it requires changes in environmental variables (AXIS, WBEM vars etc.) and what are all the eclipse changes required to do this?

    Help, please. Also, if you could suggest any web client sdk sample, call web service sdk, it would be a great help.

    Thank you!

    It's covered in the SDK samples, see docs/samples-doc/vsphereviews.html#vsphere-ui and samples/vsphereviews/vsphere-wssdk-provider

  • Web Client SDK 6.0 - Java code to examine the purpose of HostSystem

    Starting with the chassis-service examples and chassis rack-service of the SDK, I tried to figure out how to get information about the managed objects HostSystem.

    For example, in java, I would like to make the HostSystem.HostHardwareInfo.HostSystemInfo.model for each attached host.

    I found the code in one of the examples that gets me a list of host objects associated with vCenter - but I could not find a code example or to build any code that gets me correctly for the data objects I need.

    Here is the code that gets the host objects - I'm on the right track?  Are there methods I can use to get the information I want?

    /**

    * Returns the current host objects in the system.

    */

    Private Object [] getHosts (int maxResultCount) {}

    create QuerySpec

    QuerySpec qs = new QuerySpec();

    qs.resourceSpec = new ResourceSpec();

    qs.resourceSpec.constraint = new Constraint();

    HostSystem is the targetType

    qs.resourceSpec.constraint.targetType = HOST_TYPE;

    request the name property

    Features products PropertySpec = new PropertySpec();

    pSpec.propertyNames = new String() {"name"};

    qs.resourceSpec.propertySpecs = new [] {product characteristics} PropertySpec;

    qs.resultSpec = new ResultSpec();

    qs.resultSpec.maxResultCount = new Integer (maxResultCount);

    Use the default collation

    qs.resultSpec.order = new OrderingCriteria();

    qs.resultSpec.order.orderingProperties new = OrderingPropertySpec [0];

    retrieve data from DataService

    RequestSpec requestSpec = new RequestSpec();

    requestSpec.querySpec = new [] {qs} QuerySpec.

    Response = _dataService.getData (requestSpec);

    ResultItem [] items = response.resultSet [0] .items;

    If (elements == null) {}

    return new Object [0];

    }

    Object [] host = new Object [items.length];

    for (int index = 0; index < items.length; ++ index) {}

    host [index] = items [index] .resourceObject;

    }

    return of the armies;

    }

    This code gives you an example for a list of objects and associated Java layer properties.  For each host in addition to the name host model, you can change this line:

    pSpec.propertyNames = new String() {'name', 'hardware.systemInfo.model'};

    Notes:

    -Most of the time you need to get properties for the current context object and this can make the layer of Flex or HTML, as on other samples

    -See the FAQ 'what types of objects and properties can be used in applications for data and models of data?' for more details

  • VCenter 5.5 new install - VCenter not no projection in the Web Client

    Hello

    Today, I installed a new simple installation of 5.5 VCenter Server with all the parts.  I can access the web client very well and it will also authenticate with SSO (even if I don't allow my username anywhere, maybe I'm a domain administrator it allows this?).  Anyway I digress, when registering in the web client VCenter County shows 0 and I am obviously unable to perform all tasks at all.

    Of course, my link between the VCenter server and Webclient went wrong somewhere and I am struggling to see how to solve this problem.  From my research in 5.5 that it should automatically just connect and you don't need to 'register' that we had to do with older versions.

    Any help appreciated.

    Thank you

    Paul

    Hello

    As described in this KB KB VMware: vSphere installation 5.5 Web Client on a Microsoft Windows platform

    Among the vSphere post installation steps Web Client adds SSO identity Source

    Log in to the Web Client vSphere and authenticate using the [email protected] domain to check that the SSO and vSphere Client Web work correctly.

    You can also add an external identity source, such as Open LDAP and Active Directory before deploying the server vCenter Server and inventory Services.

    For more information on the different types of Sources of identity for vSphere 5.5, see him add a vCenter Single Sign-On identity Source section of the Guide of installation and Installation of vSphere.


    You connect by using the domain ([email protected]) account?

    Have you tried to connect with username [email protected]?

    According to the guidelines of vSphere vSphere 5.5 Documentation Center Documentation

    When an identity source is added, all users can be authenticated but have access no. authorization.

    If you open a session by using the domain account (domain administrators) you might be able to connect, but cannot perform all the tasks that the user is to have access permissions.

    Then you can try to login with the username [email protected] first, then assign permission to your domain account.

    The steps to add the UNIQUE identity Source Authentication (if the ad has not been added) and assign permissions (for the domain account) are described in vSphere Documentation here:

    vSphere 5.5 Documentation - add a vCenter Single Sign-On identity Source

    VSphere 5.5 Documentation Centre - assign permissions in the Web Client vSphere

  • Difference between APIs / SDKs and their purpose

    Hello!

    I have a running vSphere environment and I am a beginner with the vSphere APIs and SDKs in c#. So I started reading with getting started with vSphere SDK - Update for 4.1 SDK release and downloaded the SDK and API packages.

    First of all, I got PowerCLI with vSphere SDK for .NET and read the vSphere SDK for .NET Developer's guide. Then, I downloaded the package vSphere web services SDK, samples and DLLs compiled and am reading in the programming guide.

    But the bird's-eye view that API/SDK is best for what and how to use it is still missing.

    Do I have reason to assume, as vSphere SDK both vSphere Web Services SDK depend on vSphere API that is available on each ESX host?

    I found the vSphere API reference , but it seems to me that Web Services SDK and vSphere SDK samples, using the same objects and vSphere API methods directly.

    The only difference I found is, that examples of web services use AppUtil who still uses the vSphere API but vSphere SDK isn't. Is - this right and where is the advantage by using one of the software development instead of vSphere API kits? When using web services SDK, can I use the AppUtil of samples?

    So you see, I'm a bit confused by the possibilities and usage. In particular the difference between vSphere SDK and vSphere Web Services SDK is not clear for me.

    Can you help me by summarizing briefly the differences and the objectives of these packages? Or is it a good document which deals with this subject?

    Thanks and greetings

    Patrick

    Hello

    You are right in saying that the vSphere SDK and vSphere Web Services SDK depend on vSphere API.

    Just to clear your confusion, both vSphere SDK and vSphere Web Services SDK are logically the same, there is no difference between them.

    vSphere SDK using Web Services as the underlying technology/channel to manage any virtual infrastructure. This management is achieved using vSphere API, formerly called VI APIs, which are exposed as web services, that run on each ESX system.

    For a better understanding of vSphere Web Services SDK, see the file Readme html doc comes with the SDK package.

    I hope that this will help to clear your confusion!

    Thank you.

    Angela

  • VWC plugin using sdk 5.1 is broken if running on the web client 6.0 with port 9443 - out could not connect to the Web Client vSphere. Contact your administrator to resolve this problem.

    We did a vwc with sdk 5.1 plugin, now, we want to make it work on the web client 6.0. before the race, we have changed the MANIFESTO. MF and services-config. XML responses such as the following:

    2 important reminders for your plugin 5.5 is compatible with the Web Client 6.0

    After that, we deployed our plugin on web client 6.0

    If access us using the URL with port: https:// < ipaddress >: client/vsphere-9443 /? csp, our plugin arises, our plugin function is also ok.

    If access us using the URL without port: https://< ipaddress > / vsphere client /? csp, our plugin is present, the function is broken (error occurred when flex user interface by calling the java service: "Could not connect to vSphere Web Client.) Contact your administrator to resolve this problem. »).

    Thank you very much

    Please change the CHANNEL_URL in your proxy classes to use 'amf' instead of 'amfsecure '.

    private static const CHANNEL_URI:String = "/" + YOUR_MODULE.contextPath + "/messagebroker/amf"
    

    This should solve your problem.

  • How to extract the selected ESXi host user name and the password in the web client of vSphere?

    Hi all.

    I'm developing a plug-in for the web client to vsphere. I want to communicate with the selected host of ESXi in my Java Service Layer and who needs the host user name and password.

    I don't know how to search the Flex user interface layer.

    ESXi credentials are not stored in the user interface layer, you must use the vSphere SDK Web Service on the coast of java.  See vim.host.ConnectInfo.

  • What is the difference between "vShpere SDK ro Perl"and "vSphere Web Services SDK (for Java or c#)"?

    Hello world! I'm new to "VMware vSphere API", and I have a question to ask you to help:

    What is the difference between "vShpere SDK ro Perl"and "vSphere Web Services SDK (for Java or c#)"?

    -What are the different programming language? Is there another difference?

    I'm looking forward to your reply.

    Thank you!

    If you are new on the VMware API/SDK, highly recommend you take a look at the following: Getting Started with vSphere SDK - Update for SDK 4.1 release

    vSphere SDK for Perl is just one of the many client SDK for vSphere API that is flush with vcenter times and ESX (i) as a standard Web service.

    vSphere SDK for Java - SDK Java to vSphere API for Java developers

    vSphere SDK for Perl - Perl SDK for vSphere API for Perl developers

    vSphere SDK for c# - c# SDK for vSphere API for c# developers

    PowerCLI - PowerShell SDK for vSphere API for developers of Powershell

    I hope that makes a bit more sense

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware VCP3, 4

    VMware VCAP4-DCA

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • I have problems with your e-mail via a web client is sending no text in the body and sending HTML instead of text.

    I have problems with your e-mail via a web client is sending no text in the body and sending HTML instead of text.  I am told that this problem is because of the BING toolbar on my browser - is this correct?

    original title: Messaging with the BING toolbar problem

    I suggest blind carbon copy yourself e-mails coming out in the future to check for other errors and if they happen then find a new Web hosting provider.  They should have been aware of the conflicts, one would presume.

    Steve

  • The /drm-web-client/Logon.aspx file was not precompiled and cannot be requested.

    Hi all

    We currently use DRM Version 11.1.2.2.302 patch.

    We are facing the error when we open the web console below.

    The /drm-web-client/Logon.aspx file was not precompiled and cannot be requested.

    It used to work very well and we see that this web configuration file has been updated. I assume that there is a problem with Internet Information services.

    Any help would be greatly appreciated.

    Thank you

    VINET

    Hi all

    The Web configuration file has been modified by windows service and after restarting the server, new web configuration file has been created and we have web access console.

    VINET

  • Web client - System Configuration node displays 'Unknown' for the Uptime and the workload, no value for IP &amp; Hostname

    When I connect on our vCenter 6 Update 1 device (embedded PSC) via the Web Client with integrated Active Directory ID, select "System Configuration", then select the node for vCenter, summary screen displays all the information IP or host name.  In addition, the status of availability and workload for storage/memory/swap/load of work view all 'unknown '.  See attached photo for reference.

    All values under management-> settings are also empty.

    When I login with [email protected], all the above values are displayed and I can change the settings of the device of vCenter as expected.  This made me suspect a permission problem exists, but I cannot know what SSO group to add our AD is less to enable management or control of the aircraft from vCenter for that it works as expected.

    Already tried to add our accounts to the following groups in SSO under the vsphere.local domain:

    DCAdmins

    SystemConfiguration.Administrators

    ComponentManager.Administrators

    Directors

    This information on the purpose of each group unfortunately did not help me understand which could apply:

    Groups in the field of vsphere.local

    Thank you very much for the help!

    I just did some digging on this myself (we deployed now U2 6.0) after I tried the same things (adding AD users in the SSO domain groups, etc. etc.) without success.

    What I have found is that it is simply a WELL-KNOWN PROBLEM with 6.0 U2 and maybe they'll fix with U3 6.0 when that comes out (later this summer)?  Maybe it'll be 6.5 at that time, with an announcement to the VMworld 2016 or something - who knows.

    The workaround is a joke--suggesting the deployment using only the SSO domain by default.  Well, which is never going to happen naturally, so he says as a workaround is, if you really need to get and display status, etc. from the web client, you simply connect with your [email protected] account that was created at the initial time of installation.

    VMware vCenter Server 6.0 Update 2 Release Notes

    *****

    Failed to configure and view information about the vCenter Server Appliance by using the System Configuration page in the Web Client vSphere with errors
    Connect to the instance of vCenter server in the vCenter Server Appliance with a user who is located in a custom name (different from the default vsphere.local) Single Sign-On the field by using the Web Client vSphere. On the vSphere Web Client home page, click on the System Configuration and select nodesunder the System Configuration. If you try to change the settings, restart or power off a node of the vCenter Server Appliance, the operation fails with one of the following errors: An internal error has occurred - Error # 1009 and Not authorized to use this API . If you click on the summary, monitoror Manage tabs, some device information cannot be displayed.

    Workaround: deploy the vCenter Server Appliance by using the domain of Single Sign-On by default: vsphere.local.

  • vSphere Web Client 5.5 and Google Chrome

    Is Google Chrome completely broken now for the Web Client? Around Thursday or Friday, it stopped loading on my Chrome installation. Works fine on IE, but I feel dirty using this browser. I know that Google support killing NPAPI (or something like that) and there was a work around for now but not yet that works. If I try to load the Web Client I get a failure just after the VMWARE whitens. VMware is working on a fix, I hope is not support vSphere 6 because Dell is not putting an ESXi Iso approved for the VRTX until the 2nd quarter of 2016.

    If you use Chrome 42, you will need enable support NPAPI.

    Chrome 42 breaks the vSphere Web Client integration Plugin

    Chrome 43 will display the beloved "Aw, Snap!" at the launch of the Web Client vSphere integration Plugin. Try to disable the locking of renderer win32k to work around this problem.

    Chrome 43 breaks the vSphere Web Client integration Plugin... Once again

  • When I installed the web client vsphere using vcenter server iso, encounted an error that the vcenter server signon administrateu use name and password is invalid

    VCenter server is version 5.1 and this server is a member of the working group.

    It comes to my administrator:

    03.jpg

    So, I used ISO server vcenter and installed web client pulg-in vsphere, it prompted:

    I've used many ways, but failed.

    usernme:admin@system-domain,

    so, I do not know how to solve, and I only know this administrator password.

    I'm not vCenter sign the only to have another admin, please help.

    02.jpg

    and another question: how install and configure the data via the vsphere 5.1 customer protection, vsphere isn't vsphere web client.

    You must provide credentials for the user admin@system-domain.

  • vSphere Web Client sucks so bad that my management experience and by supporting VMware a turn at the SH *!

    Purpose of this post is simple and obvious... bring heavy customer development.  Thank you!

    Arrogance is a form of ignorance.

    Unfortunately, the web client has made my job satisfaction.  I was once nothing more than a MCSE certification and grew to hate the hours and hours of late night windows supports windows recovery until hours early in the morning, wait too long so that it recharges etc etc...

    My first implementation of vmware was in 2004, and from there I made my career goal and never looked back, almost double my income in a few years, with great joy in the management of a new and exciting technology that has made things easier and more efficient.

    SUDDENLY the vmware customer management web stole me this, and many others.  They don't understand the magnitude this Act horrible sh... t is having on the "practicality" of technology management.  It is terrible and downright insulting.

    VMware - you claim that your product introduced efficiency in the form of op ex.  take down and or change any web page and marketing publication showing your product makes it easier and more efficient, it is simply no longer the case.  You yourself have sabotaged and sabotage the future of your growth thanks to the bad decisions and arrogance.

    anyone HE mocks you now while you sit with arrogance and dilute yourself with thoughts of leader in a new era.  Smart people are not lead with arrogance and bad decision-making and especially not by the release of the product of bad design.   You're stumbling block big time, the writing is on the wall.

    Difficulty the fiasco, for the good of all.

Maybe you are looking for

  • Candy Crush transfer to new iPad

    We just bought a new iPad Pro and at the Apple Store has transferred the old iPad data to the new, transferred Candy Crush icon, but the data does not have. What should I do to get the levels of the game completed from the old iPad backup in iCloud f

  • Can not format or partition the drive HARD on Satellite M30

    I have a Toshiba Satellite model No. PSM30EAnd the system is unable to access the HARD disk.When I check the Bios setup it can detect the HARD drive. When I run windows setup to boot from the CD he sees the HARD disk with the correct size, but it can

  • Upgrade to Movie Maker 2011

    I have Windows Movie Maker installed on Vista but would switch to Movie Maker 2011 but have no luck.  Is it possible to do?

  • stuck in the print queue

    I had inadvertently many photos highlighted when I tried to do other work on my HP 5610 All in office jet printing - we.  When I noticed my mistake I pushed 'Cancel' to stop the 108 pictures of printing on the printer.  When I tried to resume the sch

  • Hour Glass

    The screen displays an hourglass all the time so I can't use the hp psc 2410 all. I do nothing to do will get rid of the hourglass. I uninstalled HP & reinstalled without any result. Can someone please advise me what to do. Thank you.