Pulling in external HTTP views
Greetings allGreetings all, I am new to Flex, so please
forgive me if this is a silly question. I am attempting to
implement a view which pulls in an external HTTP web page (the web
page is hosted in a separate app server and is independent of Flex,
such as www.google.com). I want this to be one component in a
multi-component Flex application. I can not figure out how to do
this. I tried using a TextArea and feeding the data to the httpData
field, but that didn’t work. I tried using
“navigateToURL” but it redirects the entire app to the
URL. Can someone please give me some hints as to how to accomplish
this (an example would be excellent)
Thanks,
-David-
Sorry, you can't do this simply. The Flash Player cannot
parse/render a full html page. The htmlText control can render a
very limited set of HTML tags.
The only real solution is to fake it using a IFRAME to
display the HTML page. There is a very complete example available
at:
http://coenraets.com/viewarticle.jsp?articleId=95
Tracy
Similar Messages
-
External Log4j viewer config? eg. Chainsaw
Folks,
Anyone configure an external Log4j viewer such as Chainsaw with Oracle BPEL Process Manager? I've reviewed C:\OraBPELPM\system\config\log4j-config.xml and it looks like it would be done there but I'm not sure how to align the xml tags there with the instructions with Chainsaw, those being:
"You will need to configure Log4J to send logging events to Chainsaw and a file. Here is a sample log4j.properties file for sending logging events to a file in XML format and Chainsaw.
log4j.rootCategory=DEBUG, Default, Chainsaw
log4j.appender.Default=org.apache.log4j.FileAppender
log4j.appender.Default.file=../log/server.log
log4j.appender.Default.layout=org.apache.log4j.xml.XMLLayout
log4j.appender.Default.append=false
log4j.appender.Chainsaw=org.apache.log4j.net.SocketAppender
log4j.appender.Chainsaw.remoteHost=localhost
log4j.appender.Chainsaw.port=4445
log4j.appender.Chainsaw.locationInfo=true
Any thoughts on going about this?Well......
Here's what I'm trying, I've created two new appenders named a3 and a4 with all of their params, and added each appender to each of the logger statements so that each now has a1, a2, a3 and a4.
<?xml version='1.0'?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender class="com.collaxa.cube.util.CXRollingFileAppender" name="A1">
<param value="true" name="ImmediateFlush" />
<param value="false" name="Append" />
<param value="C:/OraBPELPM/system/logs/orabpel.log" name="File" />
<param value="10" name="MaxBackupIndex" />
<layout class="org.apache.log4j.PatternLayout">
<param value="<%d> <%p> <%c> %m%n" name="ConversionPattern" />
</layout>
</appender>
<appender class="org.apache.log4j.ConsoleAppender" name="A2">
<param value="true" name="ImmediateFlush" />
<layout class="org.apache.log4j.PatternLayout">
<param value="<%d> <%p> <%c> %m%n" name="ConversionPattern" />
</layout>
</appender>
<appender class="org.apache.log4j.net.SocketAppender" name="A3">
<param value="localhost" name="remoteHost"
<param value="4445" name"port"
<param value=true"" name="locationInfo"
</appender>
<appender class="org.apache.log4j.FileAppender" name="A4">
<param value="../log/server.log" name="file" />
<param value="false" name="append" />
<layout class="org.apache.log4j.xml.XMLLayout"> <!-- <param value="<%d> <%p> <%c> %m%n" name="ConversionPattern" /> -->
</layout>
</appender>
<logger name="collaxa" additivity="false">
<level value="DEBUG" />
<appender-ref ref="A1" />
<appender-ref ref="A2" />
<appender-ref ref="A3" />
<appender-ref ref="A4" />
</logger>
etc......,
etc....., -
Hi There,
Please can someone tell me how to specify a variable in the path prefix of an External HTTP (RFC) connection in transaction SM59?
For example if my path prefix is /invoke/test/example?input=XYZ; how do I replace "XYZ" with a variable so that I can pass in any value after "=" ?
Thanks,
BrendonHi,
This is SAP Business one system administration forum. Please find correct forum and repost above discussion to get quick assistance.
Please close this thread here with helpful answer.
Thanks & Regards,
Nagarajan -
External Monitor Viewing - ALL FRAMES Unchecked
Hello FCP gurus
I cannot get a video signal on my external monitor.
For some reason I have lost the ability to check the ALL FRAMES option in the View Menu under External Video. Each time I click ALL FRAMES it stays in the OFF mode. I think this may be the reason for the external picture loss? I have also just relocated my edit suite so somewhere in the move I might have upset the 'workflow'. Not sure, can't see why? Before today I was getting an external picture no problem.
The configuration I have is: A Firewire connection from the Hard Drive to a DV Cam (PD150). RCA Vid connector from the cam into a domestic TV.
I have followed all of Shane's #8 Stock Answer and still nudda!!
Can anyone help?
Thanks in advance!
josie
P.S. I work in Pal
#8 External Monitor Viewing.
Shane's Stock Answer #8:
A simple path is mac > firewire > camera or deck > rca cables > tv
Then start up your camera and tv, then open fcp.
Then go View > External video > all frames
Video playback should be Apple firewire NTSC (If you are using an NTSC set)
Audio playback should be Audio follows Video
Techinially, this should send synched video to your TV
If for some reason you can't view your timeline on your external monitor, there are a few things to try:
1) Make sure that the camera/deck is connected and powered on BEFORE you open FCP.
2) In the Final Cut Pro menu select AUDIO/VIDEO Preferences and make sure your signal is being sent out thru Firewire DV.
3) Go to the menu and select VIEW>EXTERNAL>ALL FRAMES.
4) Click in the % box above the image and select FIT TO WINDOW.
5) Go to VIEW->refresh A/V devices
6) Make sure the Log & Capture window is closed
If you want it to play in both the canvas and the external monitor you need to go to the FINAL CUT PRO menu and select AUDIO/VIDIO settings and make sure MIRROR ON DESKTOP is selected under the PLAYBACK OUTPUT section
Shane
G5 Mac OS X (10.4.8) FCP 5.1.2Heck, I don't know, but reading your question helped me to finally figure out how to get my external monitor working.
Would it be okay to add to your question. Now that I have mine working the audio goes through the monitor instead of my nice Cerwin-Veg speakers. Is there a way to fix that?
P.S. Have you tried a power down, hooking up the monitor and then coming back up? -
Employee Photo - External HTTP service
Hi all,
currently I trying to setup the Employee photo dysplay in the portal Iview photo and in PA20/30 transaction. My problem is that I have the requirement to use an external http service that doesn't supports SAP Content Server HTTP Interface and it requires Basic authentication.
The access to the picture can be done by a direct url http://hostname/path/pernr.jpg ou using a dll service, http://hostname/path/service.dll?docid=pernr.
Does anyone ever face a similar problem, is there a way to implement this using "standard" features?
For example put the access logic to the picture in a function module or other object, and setup the z* object has the content server implementation.
Thanks and best regards,
Paulo RuivoHello
Where are you trying to store the photos? In an external storage system or in the database?
If you are using an external storage system, please note that you must use either a different content server installation for each system, or at least a different content repository.
In case you are using the database storage, then make sure you have followed all the instructions from the note 595563 to do this. In case everything is fine, please go to OAC0 and test the connection to your content repository.
Additionaly please ensure that you have the lastest version of SAPHTTP installed on your system. Please review the SAP note 615354 for more information on this.
Thanks and Kind Regards
Ramana -
How to call external http client from abap system
Hi All,
I have browsed through sdn and google but not found any helpful document ,
Here my requirement is to call external http client from ecc ,
Pl suggest..,
Regards,
Lokeswar .Hi Deepak,
I have followed the below Reference links :
Example Program: Executing an HTTP Request - Components of SAP Communication Technology - SAP Library
http://scn.sap.com/thread/2035765
but while executing get http responce i'm facing 'HTTP_COMMUNICATION_FAILURE' error
CALL METHOD L_HTTP_CLIENT->RECEIVE
EXCEPTIONS
HTTP_COMMUNICATION_FAILURE = 1
HTTP_INVALID_STATE = 2
HTTP_PROCESSING_FAILED = 3.
Pl suggest , -
External HTTP-Webservice with empty response
Hi community,
I have implemented an external http webservice which is working fine when I test it directly via se80 - I receive the results I want.
Now I want to capsulate it into a function module but always receive a empty response structure. I call it the way
TRY.
CALL METHOD WSProxy->GET_ITEMS
exporting
INPUT = ls_request
importing
OUTPUT = ls_response.
catch CX_AI_SYSTEM_FAULT. " Application Integration: Technischer Fehler
catch ZCX_TECHNICAL_FAULT_MESSAGE. " Proxy Class (generated)
catch CX_AI_APPLICATION_FAULT. " Application Integration: Applikations Fehler
ENDTRY.
I receive no exception about missing parameters...Hi Daniel,
I am facing the same problem calling an external WS from SAP.
How did you solve it? In my case i receive non empty response from the WS call in the SE80 with the test service consumer but not from Abap.
Thank you very much.
Kind Regards
Jon -
HTTPs sender adapter to pick file from a external HTTP file location
HI gurus
Please see the problem here. I need know hoe to configure the Sender HTTP adapter.
My Scenario-
A Flat file (non-xml but structured) sitting on an external https enabled web server. I need XI to go out and get this file on a regular basis (which will then be processed laterby the business person)
Thanks
VLHi,
The FTP Adapter will do the job for you. Just create a File Communication Channel and change Transport Protocol to FTP. Since you mentioned that the file is non-xml, in the Message Protocol, choose, File Content Conversion.
Here are some blogs that will help you:
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
FYI.. HTTP Sender adapter is not required to be configured because a HTTP request will directly come to the ABAP Engine
Regards,
Balaji.M -
Force Logical Block size for HDD pulled from external enclourse
So I pulled a 3tb hitachi drive from an external enclourse, and the usb-to-sata board in the enclourse forced a logical sector size of 4K for the drive. But connecting directly to the drive exposes the logical sector size to 512 bytes. Resulting in me being unable to mount the partition. So what I am asking is, is there a way to force the logical sector size for a drive to be different than the drive exposes or am I going to have to move everything off the drive and reformat it?
The enclourse in question:
http://www.newegg.com/Product/Product.a … 6822145510
Direct:
[73828.076447] sd 0:0:1:2: [sdl] Synchronizing SCSI cache
[73838.912744] scsi 0:0:1:2: Direct-Access Hitachi HDS723030ALA640 R001 PQ: 0 ANSI: 5
[73838.912889] sd 0:0:1:2: [sdo] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
[73838.912892] sd 0:0:1:2: Attached scsi generic sg12 type 0
[73838.912995] sd 0:0:1:2: [sdo] Write Protect is off
[73838.912999] sd 0:0:1:2: [sdo] Mode Sense: cb 00 00 08
[73838.913042] sd 0:0:1:2: [sdo] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[73838.949343] sdo: sdo1
[73838.949614] sd 0:0:1:2: [sdo] Attached SCSI disk
USB:
Mar 5 18:52:35 localhost kernel: [ 4.711438] sd 8:0:0:0: [sdl] 732566016 4096-byte logical blocks: (3.00 TB/2.72 TiB)
Mar 5 18:52:35 localhost kernel: [ 4.712191] sd 8:0:0:0: [sdl] Write Protect is off
Mar 5 18:52:35 localhost kernel: [ 4.712193] sd 8:0:0:0: [sdl] Mode Sense: 4b 00 10 08
Mar 5 18:52:35 localhost kernel: [ 4.712938] sd 8:0:0:0: [sdl] No Caching mode page present
Mar 5 18:52:35 localhost kernel: [ 4.713978] sd 8:0:0:0: [sdl] Assuming drive cache: write through
Mar 5 18:52:35 localhost kernel: [ 4.714720] sd 8:0:0:0: [sdl] 732566016 4096-byte logical blocks: (3.00 TB/2.72 TiB)
Mar 5 18:52:35 localhost kernel: [ 4.716186] sd 8:0:0:0: [sdl] No Caching mode page present
Mar 5 18:52:35 localhost kernel: [ 4.717215] sd 8:0:0:0: [sdl] Assuming drive cache: write through
Mar 5 18:52:35 localhost kernel: [ 4.735573] sdl: sdl1
Mar 5 18:52:35 localhost kernel: [ 4.736557] sd 8:0:0:0: [sdl] 732566016 4096-byte logical blocks: (3.00 TB/2.72 TiB)
Mar 5 18:52:35 localhost kernel: [ 4.738058] sd 8:0:0:0: [sdl] No Caching mode page present
Mar 5 18:52:35 localhost kernel: [ 4.739085] sd 8:0:0:0: [sdl] Assuming drive cache: write through
Mar 5 18:52:35 localhost kernel: [ 4.740238] sd 8:0:0:0: [sdl] Attached SCSI diskHi ebrian,
You can't perform a migration from Linux to Windows in that manner with 9i.The plan can be changed to migrate from 9.2.0.4 to 10g and than move from 32-bit Linux to 32-bit Windows.
It should not matter the end result for the OP is the same 10g on 32 bit windows.
It just depends on what technoly the OP wants to use (export/import or rman convert).
Regards,
Tycho -
External monitor view looks stretched
Over the weekend, I ventured into the world of Mac ownership with a new macbook pro. At my office, I've connected it to a 23" external monitor just to make it easier on my eyes. When I first set it up last night, the view on the external monitor looked stretched or a like blown up version of what's on my computer screen. (FTR, I have mirror display turned on because I'm keeping the macbook on a shelf under my desk and just want to work from the one screen.) I messed with the resolution size of the external monitor but that didn't fix the problem.
Today, when I came in and hooked everything up, the screen looked like how I originally expected it to look - not stretched or any of that junk. Just very crisp and clean - exactly the way I wanted it. Then a bit ago, I tried to mess with clamshell mode and for some reason, that made the external monitor go back to being stretched. I've tried restarting several times and unplugging the DVI->mini display port converter but it's not fixing it.
I have no idea what I did right this morning, but can anyone help me? It's a stupid problem, for sure but it's annoying staring at this stretched screen.Try this instead, hit CMD F1 to place the monitor in extended desktop mode, It should look good again.
Go to System Preferences > Displays > Arrangement tab > notice the grey "menubar" at the top of the left display. Move it to your other monitor display. This will control which monitor has the dock and menubar. If the external monitor is not available, it moves back to the MBpro.
Regards,
Captfred -
I used a JEditorPane Component to view the Html pages from server but the server side uses JavaScript elements and the JEditor, from my experience does not allow to dotaht. Do anyone know such component whicz could do that ?? Why the JEditor pane formats the data in wrong way ?? could i open a real web browser in my applet window?? (a browser inside browser??
Thank You for any answers
Mchmiel'Rhino' is a product that is written entirely in Java, that supports JavaScript!!
Check the link here:
http://www.mozilla.org/rhino/ -
Hello,
I have Mac Pro Xenon Processor, upgraded to 24GB RAM, I'm trying to playback HD footage from FCP 6.0.5 through Intensity Blackmagic Pro Video card using HDMI into a Sharp HDTV. HOWEVER, when I scrub, I see my footage, when I play, I see nothing...help?
External Video settings: Intensity HDTV 1080i 50(1920 x 1080)VIEW menu...EXTERNAL>ALL FRAMES?
Shane -
Access external database views on different tablespace
Hi everybody,
I'm trying to access a external Oracle database (dbcon entry is set successfully) and read data from a view wich does not belong to my schema. In other IDEs the statement is simple:
select *
from schema.view
In ABAP the code looks like this:
SELECT *
FROM ('schema.view').
But ABAP splits this literal into two pieces and so I get an error message view does not exist.
Any idea how to correct the FROM part?
For your information. I tried to link the view on the oracle database over a synonym to access the view in the other schema. Normally this works fine, but synonyms will not be publicated to SAP so I can't read the data furthermore.
Thx so far!
Sincerely,
Bastian
Edited by: Bastian Gröbl on Mar 13, 2008 8:56 AM
Edited by: Bastian Gröbl on Mar 13, 2008 9:21 AMInstead of accessing the views on an different schema I created my own views.
-
Using MS Access to Pull Up the Report Viewer - Crystal Reports 2008
We recently purchased Crystal Reports 2008 Developer so that we can create standardized and feature rich reporting solutions for our company. Many of our current applications are developed in MS Access XP. It has been quite some time since I have worked in Crystal Report and it seems a lot has changed.
One thing I remember is that there was an ActiveX control that could be added to an Access application, giving the application the ability to pull up a report in a separatre Crystal Viewer. I am having difficulties is finding an object in Access for Cyrstal Reports 2008 (Crystal 12) for the Report Viewer. Is there still such an ActiveX object available for MS Access applications?Thanks. I got it now.
Now my problem is getting the crpe32.dll registered. I keep getting an error and the CrystalVCL example application fails due to not beign able to fnd the correct version.
You'll have to treat me like I'm stupid on this one. I usually work in the over simplified Access application "development". So dealing with any real object oriented environment and any complex dll registering is a bit beyond me at this point. But I'm learning.
I have two crpe32.dll's on my computer one is in C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86
And another is in C:\Program Files\Common Files\BusinessObjects\3.0\bin
I have tried registering both of these and neither one will work. So, maybe that means that the're not supposed to be registered through regsvr32? -
Capture External HTTP POST Into APEX Page Item
We have an APEX page that needs to capture into page items two form fields posted from an external application: PARAM1 and PARAM2.
Unfortunately the external application cannot be changed and we tried to add the two posted fields as APEX page items with the same name, yet we get back an exception:
f: SIGNATURE (parameter names) MISMATCH
VARIABLES IN FORM NOT IN PROCEDURE: PARAM1,PARAM2
NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
Any ideas on how this can be done?
Thank you.You could do this with an intermediate non Apex page (.html for example) that receives the params and the calls apex.
Or even better with a procedure that gets called by the external post:
procedure myForm (param1 in varchar2, param2 in varchar2)
is
begin
f(p=>'app:1:0::::P1_PARAM1,P1_PARAM2:' || param1 || ',' || param2);
end;
Then you grant execute on myForm to apex_public_user
change app to your app number or alias and use the right page or item name. But you'll want the parameters to match the names posted.
hope this helps
The new myForm procedure can be called with the same path as the f procedure in APEX. So if you're APEX URL is something like:
https://apex.oracle.com/pls/apex/f?p=...
Then you can use:
https://apex.oracle.com/pls/apex/myForm
And with parameters:
https://apex.oracle.com/pls/apex/myForm?param1=value1¶m2=value2
Thanks
Jorge
Message was edited by: jrimblas
Maybe you are looking for
-
All of my music is gone. I have no idea how to get it back and Im worried because it isnt showing up on available downloads.
-
A few Nakisa Database questions
Hi All, [Our version is 3.0 SP1. ] I have a database related questions that I cannot seem to get from our current Nakisa resources. - Do you have a recommendation for the DB landscape. All on the same server, or is it recommended to have OC and OM DB
-
Made movie on MacBook Pro, wont play in Windows?
I made a movie in iMovie on my Macbook Pro and exported it as a 720p Quicktime movie. It plays fine on my Mac, but it will not play on any of my 3 Windows machines. Am I missing a setting or something?
-
MacPro in Canada Needs More Ram...
Yes, I'm here in Canada. I'm wanting to add more memory to the stock 1GB that came with my MP. There arent alot of options for shopping, therefore I've turned to two sites. OWC and Ramjet. Which in your opinion is the better of the two? They both see
-
Hi all, can we have more than one key for the message`s ..with reference to filecontent Conversion. Regards Ravi