Basic HTTP Auth in HTML component

When I use the HTML component in AIR and visit a page which
has basic HTTP Auth and enter the correct username/password the
credentials window just comes back up. In Firefox, IE, Safri and
Opera it seems to be working. Can anyone please help?

I checked out what is happening between HTMLLoader and your
site using Wireshark. Your site is configured to use
NTLM / Negotiate
authentication.
Hittting ok after entering the username and password seems to
send the Authenticate header correctly from AIR. Though I got the
dialog back because I do not know the correct credentials (and this
is supposed to work over the intranet only).
At a protocol level, nothing seems to be wrong. If you can
capture network traffic while using IE (where it works in your
case) and then using AIR, it would help us get to the
problem.

Similar Messages

  • Basic http authentication not working when consuming Web Service in BPEL.

    Hi,
    I am consuming an AXIS Web Service from BPEL 10.1.3. The Web Service uses basic http
    authentication so we need a way to get username and password into the http
    header. In the Oracle BPEL Process Manager Administrator's Guide 10g
    (10.1.3.1.0) section 1.3.4.1 HTTP Basic Authentication (10.1.2.0.2) is stated
    that this can be done using the properties httpUsername and httpPassword. I
    have set the 2 for the partner link in bpel.xml but username and password does
    not get in to the http header. Has anybody got an idea?
    Regards Pete

    I'm having the same sorts of problems with 10.1.3.1.0. I've got a deployed BPEL suitcase that's trying to hit a BASIC AUTH-secured web service running on a WebLogic 8.1 server. I've set up my partner link according to the documentation, and the BPEL console Descriptor tab even shows the parameters correctly:
    partnerLinkBindings      
    client      
         wsdlLocation      awardService.wsdl
    spsAwardSubmitPartnerLink      
         basicHeaders      credentials
         basicUsername      ko1
         basicPassword      xxxxx
         wsdlLocation      IAwardDraftServiceRef1.wsdl
    However, when I funnel the resultant call to the endpoint specified in IAwardDraftServiceRef1.wsdl, none of the fields I would expect show up in the HTTP header:
    POST /pd2WebServices/service/IAwardDraftService HTTP/1.1
    Host: vm-orcl-app-srv:4444
    Connection: Keep-Alive, TE
    TE: trailers, deflate, gzip, compress
    User-Agent: Oracle HTTPClient Version 10h
    SOAPAction: ""
    Accept-Encoding: gzip, x-gzip, compress, x-compress
    Content-type: text/xml; charset=UTF-8
    Content-length: 3800
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><IAwardDraftSubmitNew xmlns="http://www.caci.com/pd2/pub">
    <IAwardDraft>
    <accessController/>
    <agreementEndDate/>
    Is there some other configuration piece I'm missing?? I've tried the other variation using httpBasicHeaders, with the same results. I even noted that the "Oracle® BPEL Process Manager Administrator's Guide" says that "Starting with Oracle BPEL Process Manager release 10.1.3, all partner link properties are automatically propagated into the HTTP header." I've tried putting "extra" parms in the partner link bindings, but they don't show up either.
    What am I missing??
    Thanks,
    Mike

  • Dragging an HTML component

    Hello,
    I'm a bit of a  newbie to Flex ( started Yesterday ) and i'm finding my way quit well. Using some of the examples that the internet provides i managed to create the following applcation:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx"
       width="1024" height="768"
       creationComplete="getData.send()" xmlns:flexui="flexunit.flexui.*">
    <fx:Script>
    <![CDATA[
    import flash.utils.flash_proxy;
    import mx.collections.ArrayCollection;
    import mx.controls.Alert;
    import mx.core.DragSource;
    import mx.effects.easing.*;
    import mx.events.DragEvent;
    import mx.events.FlexEvent;
    import mx.managers.DragManager;
    import mx.rpc.events.ResultEvent;
    import mx.rpc.xml.SimpleXMLDecoder;
    import mx.utils.ArrayUtil;
    [Bindable]
    public var Images:ArrayCollection;
    protected function toggleBtn(event:MouseEvent):void
    if(btn.label== 'Open')
    panelOut.play();
    else
    panelIn.play();
    protected function initiateDrag(event:MouseEvent, value:String):void
    var dragInitiator:HTML = event.currentTarget as HTML;
    var dragSource:DragSource = new DragSource();
    dragSource.addData(value, 'value');
    var dragProxy:HTML = new HTML();
    dragProxy.location = event.currentTarget.location;
    dragProxy.width = 100 ;
    dragProxy.height = 100 ;
    DragManager.doDrag(dragInitiator, dragSource, event, dragProxy);
    private function dragEnterHandler(event:DragEvent):void {
    var dropTarget:VBox =event.currentTarget as VBox;
    if (event.dragSource.hasFormat('value')) {
    DragManager.acceptDragDrop(dropTarget);
    private function dragDropHandler(event:DragEvent):void {
    var value:String = event.dragSource.dataForFormat('value') as String;
    bigImage.location = "assets/Big_Html/"+value;
    ]]>
    </fx:Script>
    <mx:Canvas id="panel" width="1013.95" height="202" y="10.3" backgroundColor="#000000" x="0.05">
    <mx:TabNavigator x="2" y="0" width="994" height="181">
    <s:NavigatorContent label="Eerste" width="100%" height="100%" id="navigatorContent">
    <mx:HBox width="992" height="137">
    <mx:Repeater dataProvider="{getData.lastResult.gallery.image}"
    id="rep" width="991" height="137">
    <mx:HTML x="228" y="10" width="113" height="112" location="assets/Small_Html/{rep.currentItem}"
    mouseMove="initiateDrag(event,event.currentTarget.getRepeaterItem())" >
    </mx:HTML>
    </mx:Repeater>
    </mx:HBox>
    </s:NavigatorContent>
    <s:NavigatorContent label="Tweede" width="100%" height="100%">
    </s:NavigatorContent>
    </mx:TabNavigator>
    <mx:LinkButton id="btn" width="100%"  height="21" 
       label="Open"
       click="toggleBtn(event)" enabled="true" x="-3" y="179"/>
    <!--Add the content of your sliding panel here  -->
    </mx:Canvas>
    <mx:Canvas>
    </mx:Canvas>
    <mx:VBox width="995" height="508" backgroundColor="#000000"
    horizontalAlign="center" verticalAlign="middle"
    dragEnter="dragEnterHandler(event)"
    dragDrop="dragDropHandler(event)" x="19" y="250">
    <mx:HTML x="83" y="44" id="bigImage"/>
    </mx:VBox>
    <fx:Declarations>
    <mx:Move id="panelOut" target="{panel}" yTo="0" effectEnd="btn.label='Close'"
    duration="1500" easingFunction="Bounce.easeOut"/>       
    <mx:Move id="panelIn" target="{panel}" yTo="-180" effectEnd="btn.label='Open'"
    duration="1000"  easingFunction="Bounce.easeIn"/>   
    <mx:HTTPService id="getData"
    url="SWF.xml" />
    </fx:Declarations>
    </s:WindowedApplication>
    The goals of the application are:
    1     Getting a repeater filled with HTML pages get generated from an XML file
    2     Fitting the repeater in a box that can be hidden
    3     Open HTML pages from the repeater by dragging them into a bigger HTML component
    The first two points work great, no problems there. But the third is a bit more more demaning.
    I set off trying to get this to work with images and that worked  just fine. Apart from not being able to see what i'm dragging, minor issue. Now i try this with the HTML component things start to change. I guess this has to do with the fact that the mouse pointer interacts with the page shown in the HTML component rather then with the HTML component itself.
    Can anyone help with this problem. If not i guess i'm going to work with images in the repeater, that should work.
    Thanks in advanced for any input,
    Daniel

    No such component in 2.0.  See http://blogs.adobe.com/aharui/2008/01/html_and_flex_1.html for more info.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Viewing flash based website in HTML component of AIR APP

    Hello,  I've got an air app where I'm trying to use the Html component to load up a flash website.  Problem is that the website starts to load (I can see the preloader) and then the html component just goes blank.  I wrote the html page I'm trying to load so I went in and did some trimming of javascript stuff that I didn't really need that I thought might be causing the issue, but, no dice.  I'm also catch uncaughtScript errors from HTML, and there are none.  Anybody have any ideas?  The flash on the page that I'm loading only required flash player 8, so I'm thinking that shouldn't be an issue.  The page I'm trying to load is www.socialsaga.com/air_index.php
    Here is my little mxml file that won't properly display the site.
    <mx:Panel title="Video Storage" xmlns:mx="http://www.adobe.com/2006/mxml" enabled="true" visible="true" width="100%" height="650"> <mx:Script>      <![CDATA[           public function showDOM(ev:Event = null):void {                var indEv:Event = ev;           }                      public function uncaughtException(ev:Event = null):void {                var whatException:Event = ev;           }      ]]> </mx:Script>      <mx:HTML uncaughtScriptException="uncaughtException()" htmlDOMInitialize="showDOM()" width="100%" height="100%"  location="http://www.socialsaga.com/air_index.php" id="htmlOne"/> </mx:Panel>

    That was a waste of a couple hours.... The reason it was not redering is because I had a glow filter effect on a parent
    displayobject in the app... Really weird, cause html stuff would load, but flash would not show up.

  • AIR HTML component problem

    I am using the AIR HTML component to load various website
    directories with. However, any directory that gets loaded into the
    HTML control that uses CAPTCHA, only loads maybe 2 pixels high
    worth of the image. Is this a bug with the HTML control itself, or
    have I failed to instantiate something? To see what I mean, try
    loading this URL into AIR's HTML component.
    http://www.mygreencorner.com/submit.php

    I might add that this is flex 3 Retail version, not the beta.
    Seems to work in the flex 3 milestone 4 beta.

  • HTML Component issue?

    No "title" attribute support inside HTML component in AIR application?
    For example, we have some text in our <mx:HTML> like this:
    <html>
    <body>
    [ <a href="http://domain.tld/" title="Some hint text for this link" onmouseover="this.style.color='#f00'" onmouseout="this.style.color='#0f0'">Megalink</a> ]
    </body>
    </html>
    And when we run our application and move cursor over link, color will be changed (so, mouse events handles correctly), but "Some hint text for this link" hint/tooltip will not be shown...
    Bug/Feature/Misconfiguration?!?

    http://www.w3.org/TR/html401/struct/global.html#adef-title

  • Cache-Control and Accept-Encoding support in Adobe AIR HTML Component

    I am evaluating Adobe AIR's HTML component and trying to figure out what is supported.
    I built the AIR app and had it point to www.google.com
    I notice that the requests to fetch JS,CSS from Adobe AIR do not include Accept-Encoding: gzip header.
    Does Adobe AIR's HTML Component support Accept-Encoding : gzip header ?
    I also noticed that even though the content served with far futures expiry, i.e. has Cache-Control: maxage={value} subsequent requests are being made and content is not served from the browser's cache.
    I observed this accross the app restarts.
    Can someone please clarify support of the two above Http headers ?
    Thank you.
    -Prashant

    You might also want to check out the useCache property to see if this helps.  See these links:
    http://forums.adobe.com/thread/726573
    http://forums.adobe.com/thread/490497
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/html/HTMLLoader.h tml

  • Adobe AIR HTML component ignores Google Maps GPolyline opacity

    I have a Google Maps mashup web site that I want to display
    in an
    Adobe AIR app using the AIR HTML component. My mashup shows a
    Google map with some semi-
    transparent polylines (drawn as circles) drawn with the
    Google Maps API . In Safari, everything looks
    as it should. In AIR, the polylines are opaque; the GPolyline
    opacity
    value is ignored. I've tried the AIR app on Linux and Windows
    XP.
    Has anyone else encountered this issue or have some
    suggestions?
    The web site:
    http://dstresearch.com/map.html
    The AIR code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" height="800" width="800">
    <mx:HTML id="html"
    width="100%"
    height="100%"
    location="
    http://dstresearch.com/map.html"
    />
    </mx:WindowedApplication>
    Thanks,
    Josh

    You might also want to check out the useCache property to see if this helps.  See these links:
    http://forums.adobe.com/thread/726573
    http://forums.adobe.com/thread/490497
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/html/HTMLLoader.h tml

  • HTML component, port number problem

    I have an HTML component embedded inside an AIR app. When the
    user makes this component visible, the HTML component simply loads
    the contents of a URL. During development, I want to load content
    from a locally running Web server on port 8080. However, this does
    not seem to work. E.g., when I set
    htmlComponent.location = "
    http://localhost";
    This works as expected. However,
    htmlComponent.location = "
    http://localhost:8080";
    does nothing. I verified on the server that the HTML
    component doesn't even attempt to connect to the server.
    I also verified that this URL is valid and works (using my
    local Web browser) as well as via curl. Further, I also tested the
    connection via the URLMonitor class from within the AIR app: The
    URL is available, according to the URLMonitor.
    Any suggestions as to why the content can't be loaded from
    the local port 8080 would be appreciated. This is pretty much a
    show-stopper for me now, because I can't run the local server on
    port 80 during development. FYI, I'm on OS X. Also, in previous
    versions of AIR (about a year ago), I didn't have this problem.
    Thanks,
    -- Frank Sommers

    I have an HTML component embedded inside an AIR app. When the
    user makes this component visible, the HTML component simply loads
    the contents of a URL. During development, I want to load content
    from a locally running Web server on port 8080. However, this does
    not seem to work. E.g., when I set
    htmlComponent.location = "
    http://localhost";
    This works as expected. However,
    htmlComponent.location = "
    http://localhost:8080";
    does nothing. I verified on the server that the HTML
    component doesn't even attempt to connect to the server.
    I also verified that this URL is valid and works (using my
    local Web browser) as well as via curl. Further, I also tested the
    connection via the URLMonitor class from within the AIR app: The
    URL is available, according to the URLMonitor.
    Any suggestions as to why the content can't be loaded from
    the local port 8080 would be appreciated. This is pretty much a
    show-stopper for me now, because I can't run the local server on
    port 80 during development. FYI, I'm on OS X. Also, in previous
    versions of AIR (about a year ago), I didn't have this problem.
    Thanks,
    -- Frank Sommers

  • Disabling flash display in Air HTML Component

    Hi,
    in my AIR application, I use an HTML Component in its own
    sort of frame or container that has a viewing size that is smaller
    than the web page itself. Next to it is a panel with many controls
    in it. When a website with flash components (e.g. flash banners) is
    displayed, the flash components in the HTML Component overlap the
    control panel even though it's underneath in another container. Is
    there a way to disable showing Flash in an HTML Component or
    another way to make sure everything in an HTML Component stays on
    its own layer?
    Thanks for any help!

    Hi,
    I don't think the problem is because the URL is pointing to a
    JSP. I think the problem might be with the JavaScript which is
    trying to do operations which are not allowed. Please find more
    details at the URL below.
    http://livedocs.adobe.com/flex/3/html/dg_part_7_1.html
    Hope this helps.

  • Adjust aliasing of webfonts within an HTML component?

    Hello,
    I'm trying to use an icon font in an html page that is being loded into an HTML component. I read somewhere that the HTML component uses webkit as its rendering engine, but -webkit-font-smoothing in the web page's css appears to be ignored. Is there another way to adjust the aliasing of fonts within the HTML?
    I've seen plenty of articles about embeding fonts in the flex application itself, but as far as I've been able to tell, that has no effect on the fonts in the HTML component itself.
    Thanks for any help,
    Cameron

    JFC/Swing has JEditorPane that can be used in conjunction with HTMLEditorKit to display HTML 3.2
    http://developer.java.sun.com/developer/onlineTraining/GUI/Swing1/shortcourse.html#JFCEditorPane
    Look for section
    11.1.5 JEditorPane
    in the sample chapter of a swing book at:
    http://manning.spindoczine.com/sbe/files/uts2/Chapter11html/Chapter11.htm

  • HTML component blinking cursor and combobox problems

    Hi there.
    I have a problem using a website displayed with the HTML component in a spark window. In any textfield in this homepage there is no blinking cursor displayed which is not really a problem but is still pretty confusing to the users. Another issue comes up with the comboboxes where the possible choices cannot be clicked with the mouse. Choosing an entry with the keyboard is possible though.
    To reproduce this issue, add a html component in a spark window and load for example http://www.ard.de. The cursor is blinking in the search textfield in the top left. After clicking on the combobox on the left side - where i can't choose an entry with the mouse - the cursor in the textfield is no longer displayed.
    Is this a known issue?
    Best regards

    Hi,
    I've looked at your example and found the following 2 issues:
    1. The cursor not appearing was actually a focus issue and you can fix it by adding an event listener on "windowActivate" in which to re-set the focus to the _htmlWindow. See the code below for more details on "onActivate()"
    2. The issue with the dropdown is actually a bug (internal bug id #2721855) and it has been fixed in the next version of AIR which will be released towards the end of this year.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Window xmlns:fx="http://ns.adobe.com/mxml/2009"
                xmlns:s="library://ns.adobe.com/flex/spark"
                xmlns:mx="library://ns.adobe.com/flex/mx"
                windowDeactivate="onDeactivate()"
                windowActivate="onActivate()"
                alwaysInFront="true"
                showStatusBar="false"
                title="WebKit Browser"
                creationComplete="onCreationComplete()">
         <fx:Declarations>
              <!-- Place non-visual elements (e.g., services, value objects) here -->
         </fx:Declarations>
         <fx:Script>
              <![CDATA[
                   import flash.profiler.showRedrawRegions;
                   import mx.controls.Alert;
                   import mx.managers.CursorManager;
                   import mx.managers.HistoryManager;
                   [Bindable]
                   private var _location:String;
                   private function onCreationComplete():void {
                        nativeWindow.x = Capabilities.screenResolutionX * 0.1;
                        nativeWindow.y = Capabilities.screenResolutionY * 0.1;
                        nativeWindow.width = Capabilities.screenResolutionX * 0.8;
                        nativeWindow.height = Capabilities.screenResolutionY * 0.8;
                            // call this function on "windowActivate" in order to re-set the focus on your html element
                   private function onActivate():void {
                        _htmlWindow.setFocus();
                   private function onDeactivate():void {
                        try {
                             if (nativeWindow)
                                  nativeWindow.activate();
                        } catch (e:Error) { // nativeWindow Object not yet available
                   public function set location(value:String):void {
                        _location = value;
                        showStatusBar = false;
                        status = "Lade " + value + "...";
                        CursorManager.setBusyCursor();
                   public function get location():String {
                        return _location;
                   private function onHTMLComplete():void {
                        CursorManager.removeBusyCursor();
                        showStatusBar = false;
                   private function uncaughtScriptExecution(e:HTMLUncaughtScriptExceptionEvent):void {
                        CursorManager.removeBusyCursor();
                        Alert.show("Scriptfehler: " + e.exceptionValue, "Error", Alert.OK);
              ]]>
         </fx:Script>
         <mx:HTML id="_htmlWindow"
                    width="100%"
                    height="100%"
                    runtimeApplicationDomain="{ApplicationDomain.currentDomain}"
                    complete="onHTMLComplete()"
                    location="{_location}"
                    uncaughtScriptException="uncaughtScriptExecution(event)">
         </mx:HTML>
    </s:Window>
    Regards,
    Catalin

  • HTML component wont open link within component

    I have a HTML component in my AIR app. When the page opens a youtube video feed that has copyright restrictions, a link to view the content on the youtube site itself, like the one shown here: http://www.youtube.com/v/WwoM5fLITfk?f=videos&app=youtube_gdata. When you try clicking this link nothing happens?
    Can anyone tell me how i can open this link within my html component?
    Many thanks
    Adam
    Flexchief

    Hi,
    I have this problem as well.
    I posted a question here few days before you and still haven't got an answer for it.
    My assumption is this issue started at the last SDK update. I don't see it if I work with flex 3.5.
    Hope someone will give full answer to it soon... I am stock with my project because of it.
    Avier

  • Flex Hero - Links in HTML component does not works.

    WebView-app.xml
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.5">
    WebView.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx">
    <mx:HTML location="http://google.com/" />
    </s:WindowedApplication>
    I can see google homepage in my test desktop application.
    But all links are not work in html document.
    Flex 4.0 and 4.1 SDK works well. Only Flex Hero has this problem.
    How can I fix it?
    Thanks.

    Hi Kevin,
    I had the same problem. This 4.5 build from 11/30/2010 fixed the HTML component issue.
    http://opensource.adobe.com/wiki/display/flexsdk/download?build=4.5.0.18623&pkgtype=1

  • HTML component SVG support

    I try to load a few images in an HTML component (Webkit/531.9). THe PNG, JPG and GIF images will load fine, but the SVG image does not load at all. The image will load in Chrome (Webkit/533.4) and Safari (Webkit/531.22.7) without a problem.
    Is there any reason why this is not working in Air (version 2) ?

    http://www.w3.org/TR/html401/struct/global.html#adef-title

Maybe you are looking for

  • KT3 Ultra-ARU (Chipset fan problem)

    Hi! I have a motherboard from MSI KT3 Ultra-ARU with AMD Athlon XP2000. I bought last year ago, I have a problem now.  My chipset fan that is on the motherboard is not working good anymore it makes lots of damm sound. Please help me I don't know if t

  • Link to HTMLResources file in different folio

    I was wondering if it is at all possible to link to a PDF file located in the HTMLResources folder of another folio (in a multi-issue app)?

  • ORA-01034 ORACLE NOT AVAILABLE

    hi everybody, i'm trying to install a second instance on Oracle8.1.7 on Sun Enterprise 250 (with Solaris 8). the previous instance has this init.ora file: open_cursors = 300 max_enabled_roles = 30 db_block_buffers = 10240 shared_pool_size = 52437800

  • Supplier Invoice with Items without Purchasing

    Hi We would like to know if we want to import supplier invoices with items and there is no Purchasing module. How items would be validated. Can this be done through item validation org and if yes, what setups are required and in which module. Regards

  • Rv180w blocking ftp download

    I have a RV180W router that is not allowing data to be transfered via FTP.  Using the command prompt I can Connect to the FTP server and find the files but will get stuck when trying to download the files. Does anyone have an answer for me? Cisco had