Flex :: How To Configure BlazeDS To Work Over HTTPS

Oct 5, 2011

I'm trying to configure BlazeDS to work over HTTPS. We've got Apache in the front that is set to redirect all http traffic to https. Apache then communicates with the application (a JBoss AS 5.1) via http. I've tried a lot of configurations for BlazeDS, and finally the following solution worked for me:

services-config.xml
<services-config><services>
<service-include file-path="remoting-config.xml" />
<service-include file-path="messaging-config.xml" />
</services><channels>
[Code] .....

The thing here is that in my-secure-amf channel, I use mx.messaging.channels.SecureAMFChannel in the channel-definition, and flex.messaging.endpoints.AMFEndpoint (not flex.messaging.endpoints.SecureAMFEndpoint). This has probably something with the Apache-Jboss setup to do, but I haven't found anything that explains what the different tags actually define. To get some sense in all of this, what happens when defining channels and endpoint, using different urls and classes?

View 1 Replies


Similar Posts:


Flex :: Configure Port For BlazeDS?

Dec 12, 2011

I've downloaded BlazeDS 4 and installed in on my Tomcat server. How can I make it to listen to port distinct from 8080? I change port in channels configuration in services-config.xml, and my client application sends requests for new port, but they failHow can I make server listen to custom port?

View 2 Replies

Java :: Support Both HTTP And HTTPS Channels In Flex/BlazeDS?

Jun 17, 2009

I've been trying to find the right configuration for supporting both http/s requests in a Flex app. I've read all the docs and they allude to doing something like the following:

<default-channels>
<channel ref="my-secure-amf">
<serialization>[code]..........

I'm running with Tomcat 5.5.17 and Java 5.The BlazeDS docs say this is the best practice. Is there a better way? With this config, there seems to be 2-3 retries associated with each channel defined in the default-channels element so it always takes ~20s before the my-amf channel connects via a http request. Is there a way to override the 2-3 retries to say, 1 retry for each channel?

View 4 Replies

Flex :: Does MessagePerformanceUtils Work For JMSAdapter In Blazeds

Sep 21, 2011

I have enabled the message processing metrics for all my channels in blazeds services-config.xml . I get the metrics when i use actionscript Adapter for my destination .But , when i use a JMS Adapter for consuming messages . i get the following error

Error: Message is missing MPI headers. Verify that all participants have it enabled.
at mx.messaging.messages::MessagePerformanceUtils()[E:dev4.xframeworksprojects
pcsrcmxmessagingmessagesMessagePerformanceUtils.as:118]

All my channels are pre-configured in xml files with message processing metrics enabled . i am not creating any dynamic channels at runtime .

View 1 Replies

Flex :: Make BlazeDS Name Conversion To Work For Properties Beginning With A Lower-case Letter Followed By An Upper-case One?

Jun 6, 2011

I have some trouble with the conversion applied by BlazeDS to the name of the properties when this name begins with a lower-case letter followed by a capital letter. I have an ActionScript class similar to this:

[Code]...

View 1 Replies

Media Server :: Configure FMS 3.5 To Work With FMLE 3.0.1.5963

Nov 18, 2009

My problem and I SWFVerification enabled on the server and saw that FMLE does not connect more, I looked for some explanation and I saw that if that is enabled for SWFVerification you must also change UserAgentExceptions tag <Exception from = "" to =""/> at this point I added this change<Exception From="FME/0.0" to="FME/4.0"/>but I saw FMLE does not connect as little to solve this problem

View 3 Replies

Media Server :: Configure VBrick Encoder To Work With FMS

Dec 23, 2010

I'm wondering if anybody knows of a guide or a step by step process for configuring a VBrick HS.264 encoder to send video to my FMS for live broadcast. I'm experiencing issues configuring the Transmitters on the VBrick admin panel and unsure how to have FMS recognize the video stream to publish it. Has anybody used a VBrick encoder with FMS?

View 1 Replies

Flash - SWFUpload Using Https Does Not Work In Firefox

Mar 10, 2011

SWFUpload I am using SWFUpload to upload files to a database (Windows XP) over https. Everything works as expected in IE (7 and 8), but using my Firefox 3.3.15 it fails without error message. Using the upload mechanism using http works fine!I found this thread using google. They describe that installing the CAs certificate as trusted issuer would help. Unfortunatly it did not (it was a certificate issued by a CaCert authority).

It works on the machine of my colleague who uses Firefox 3.3.15, but he cannot recall that he did anything special to make it work. I had a look at other machines using Firefox and none of them were able to upload a file to the database.I red that SWFUpload uses flash and that flash might use other certificates than Firefox itself. Does anyone know anything about it?

EDIT: This is the javascript code for the object creation:

// Create the SWFUpload Object
var swfupload_object = new SWFUpload({
upload_url: "[% cgi_path %]/mdb_bulk_import.pl",
file_post_name: 'upload_file',

[code]....

View 2 Replies

Flex :: Externally Configure Logging In App?

Dec 24, 2009

I was wondering what people are using for externally configuring logging in a Flex app. Are there any ready baked solutions out there, similar to Log4J's configuration via properties files for instance?

View 1 Replies

Flex :: Configure AMF Serialization Warnings?

Apr 9, 2010

I have been trying to test my application to make sure that all the important classes can serialize/reload themselves properly (especially those which implement IExternalizable):

[Test]
public function testMyObjectSerialization():void {
var myobj:MyObject = new MyObject();[code]....

And I would like to be warned when I try to serialize a strongly-typed object which does not have a [RemoteClass] set (because that almost certainly represents a bug in my code).So, is there any way to configure the AMF serializer to give warnings?Also, it seems like this might be possible using services-config.xml... But the documentation seems to imply that services-config is channel-level, and I'd really like it if my unit tests could run without talking to the server (and I'm not using LCDS, so a bunch of the services-config wouldn't apply to me anyway).

View 1 Replies

Flex :: How To Configure CrossDomain XML In Tipfy

Feb 16, 2011

I would like to know how to configure the flex crossdomain.xml in tipfy with the Google app engine skd. Tipfy is a framework using in Gae. I would like to know: where I can place the crossdomain.xml, in the root or other place, do I need script to redirect to the xml, what files that I need to modify, eg. app.yaml. Any other things or file I need to modify or create to make it work.

View 2 Replies

Flex :: Use The Flash.net.NetConnection Over Https?

Dec 4, 2009

Is it possible to use the flash.net.NetConnection object to connect to my Flash remoting enabled web application over HTTPS within Tomcat or any other servlet container?

I am using the SpiceFactory cinnamon project for amf remoting and have searched for examples of using HTTPS but see only the reference to a proxy type in the NetConnection object.

If someone could provide a reference or example that would be awesome. Or if it is not possible using the flash.net.NetConnection object are there any recommendations of how to configure HTTPS for the spicefactory cinnamon library.

View 2 Replies

Flex :: Https - Protocol For Crossdomain.xml In App?

Oct 20, 2010

I've changed the protocol for my flex app from https to http and flashplayer still wants to download the crossdomain.xml using https though with the port for http. [URL]..

View 3 Replies

ActionScript 3.0 :: HttpService In Flex Configure The Data As An Object?

Dec 22, 2009

I know that httpService in Flex can configure the data as an object, but I want to do the same thing, but with URLLoader. Is that possible and how would I do it?

View 2 Replies

Flex :: Configure Eclipse To Run FlexUnit Tests Automatically?

Jun 8, 2009

I'd like to set up my projects in Eclipse to run FlexUnit tests everytime I save my work.

I found an example with JUnit here : [URL]

How would you do it? Is it possible to run FlexUnit tests without Flash Player?

View 3 Replies

Flex :: Switch From HTTP To HTTPS In Application?

Dec 21, 2009

I am building a FLEX web application that also has a payment module where the user needs to enter his credit card details.

The whole Flex application runs on HTTP. However, whenever the user lands on a page where we ask for credit card details, we want these details to be sent over HTTPS.In this page we need information from the model of the application, because it holds certain selection the user did, the state the application is in, etc.

Do I need to make this page a Module that runs on HTTPS?

Or can I just configure the specific 'credit card' services (we have a JAVA back end) so that these run on HTTPS?

View 1 Replies

Flex :: Inspect HTTPS Traffic From SWF Files?

Feb 8, 2010

Is there a way to inspect HTTPS traffic from Flex applications compiled to SWF files?I'm trying to use Fiddler for this, have added DO_NOT_TRUST_FiddlerRoot to my Trusted RootCertification Authorities so my IE now can access other HTML sites that would normally complain about untrusted certificate. However, the HTTPS traffic from the SWF file still doesn't appear in Fiddler and, in fact, the Flex app wouldn't work (HTTPS with a self-signed certificate is not supported by Flex apps I believe). Is there a way around it?Update: To be clear, I am interested in the traffic between the SWF file running under Flash Player and the server (typically, Flex components like HTTPService will be used for this). The SWF file itself can be served via HTTP or HTTPS, it doesn't really matter.Clarification 2: Don't assume that the source code is available for the SWF file. If it was, Flash Builder 4's Network Monitor could be used.

View 3 Replies

ActionScript 3.0 ::configure Flex To Publish To Firefox Rather Than Internet Explorer?

Sep 1, 2009

just started out using flex (man it rocks compared to cs4! wish i had switched earlier).I have two questions that i can't seem to find the answers to

1) how do i configure flex to publish to firefox rather than internet explorer?

2) is it possible to publish to the standalone flash player without bothering with a browser ...as you can do in the Flash IDE ?

View 1 Replies

Flex :: Configure A Fallback Image That Will Be Shown When Link Is Broken?

Aug 11, 2010

I'm using flex 4.1 to write an application and I was wondering how can I configure that whenever I try to load an image and the link is broken it will show a different image that i have embedded into my application.

View 2 Replies

Actionscript 3 :: Make A HTTPS Call Using HttpService In Flex?

Jan 13, 2010

I want to make an https call using HttpService. My code is working perfect when the url is http, but when i can the url to https is gives me the following error [code]...

How should I make a Https call?

View 2 Replies

Flex :: Access Https Resource If Swf Is Served From Http?

Jan 24, 2011

My swf is being served via http protocol. I don't really see this being easily changed. There's a resource that a website has opened up via their api that I need to access but it is using https protocol. Because of this my swf can't access the resource because of security settings.

Option 1 would be to serve my swf via https. I can't do this at the moment.

Option 2 would be set secure="false" property of the cross domain policy file. I can't do this, I dont have access.

View 1 Replies

Flex :: Security - Loading Policies Files From Https Address?

Jan 20, 2011

I'm having an epic amount of difficulty trying to get a result from a httprequest to a https address.I'm loading a policy file from the address but I'm still getting the 2048 security error.I load my policy file like so in my preinitilize handler.

private function preint(e:FlexEvent):void
{
Security.loadPolicyFile("https://api.soundcloud.com/crossdomain.xml");

[code]......

View 1 Replies

Java :: Flex Accessing Https Service Of The Same Domain That Swf Is Loaded

Aug 2, 2011

I am developing a flex application with flex 4.1 sdk and java backend (runs on Glassfish 3.1 via http). For security reasons I decided to move my authentication process to https until a session id is obtained. Therefore I changed the filter settings to use ssl for login and logout pages(just two pages due to performance reasons. The data-size sent to client is large and I do not want to slow down the system). Glassfish forwarded these pages to 8181 port (which is HTTPS port). Everything is ok for the java part. However flex defines the 8181 port as a different domain and then problems arise. Due to flash's same-origin policy it cannot load the secured content. Normally a crossdomain.xml is the solution but I am accessing content of the same domain through a different port. What will be the solution ?

View 1 Replies

Flash :: Flex: Find Out If An Object Is In A Page Using SSL/TLS [https Protocol]

Feb 8, 2012

what's the best and shortest way to get this information?

i've read about BrowserInvokeEvent which contains a boolean of the sort - [URL]

yet i havn't been able to implement it.

View 1 Replies

Flex :: Connecting Flex Application To Tomcat + Spring 3.0 Framework With BlazeDS?

Apr 9, 2011

I'm developing a web application (client in Flash Builder 4, server in Eclipse 3.6 + Tomcat 7 + Spring 3 Framework). How do I make the Flex client automatically deploy in the Tomcat server and use BlazeDS messaging and remoting more seamlessly?

View 14 Replies

Flex :: Material Use To Learn Flex/Air, And With ColdFusion + BlazeDS/LCDS?

Apr 15, 2012

What material did you use to learn Flex/Air itself, and with ColdFusion + BlazeDS/LCDS?

View 7 Replies

Java :: Flex File Upload With HTTPS - No Access To User Principal

Dec 29, 2009

We're trying to upload a file from a flex client to a JEE app.
In a full HTTPS environment
JEE server is JBoss 5
Using BlazeDS 'Custom' authentication (username and password are entered through a flex form)
Using BlazeDS per session authentication
In regular AMF calls, we can access user principal and use role mechanism. However, in our upload servlet, we have no access to user principal.
request.getUserPrincipal() // returns null

View 2 Replies

Flex :: Develop The HTTPS Application Using Java - Remote Objects Or HTTPServices

Feb 8, 2010

I need to develop the HTTPS application using Flex and Java. But i have idea about remote objects or HTTPServices. which one is the best for developing HTTPS application.

View 1 Replies

Flex :: Loading Html With Flash Page Using Https In Internet Explorer?

Jul 29, 2010

I have a html paga which loads a flash(flex) swf file. Using https it loads successfully with Chrome, Safari and Firefox, but not with Internet Explorer.Another page, a simple aspx page, does load in Internet Explorer using https (and no flash in it).Haven't found anything so far on the internet to solve this... Anyone?UPDATE: When I right click on the white screen, 'About Adobe Flash Player 10...' appears... so Flash is loaded. Also, in Charles (http sniffer tool) I can see that the swf is loaded over the network.

So, apparently, Flash Player is running inside my html page, the swf is loaded over the internet but the swf is not displayed in internet explorer browser... Very strange. How can I debug this further to see what the problem is?Meanwhile, in the left down corner, IE keeps on saying: 'Waiting for https://....In all other browsers it works like a charm.You can see that IE shows a Certificate Error, but that's also the case in other browsers. I already clicked on Certificate Error to install the Certificate, but with no success.

View 1 Replies

Flex :: Internet Explorer - File Upload - Io Error #2038 Over HTTPS

Sep 1, 2011

i have a flex file upload application over https it works fine on all IE browsers. Recently a client with IE9 reported a complaint that she's not able to upload files. can see the error generated is IO Error #2038. The adobe documentation says 2038 is File I/O Error.This error occurs when an application can't get file size, creation date or modification data using the FileReference API.

All i can think of is browser issues like, browser cache, some new configuration in IE9 am unaware of or permission on the client directory.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved