Flex :: End Up Getting A Http 500 Error And Have Not Been Able To Get Past That?

May 24, 2011

I have used wsdl2js to generate the javascript needed to communicate with the service.However I end up getting a http 500 error and have not been able to get past that. I have looked through the provided examples from the Apache CXF download and I have done some searching and cannot find a solid example of creating the javascript client. A lot of examples seem to somehow access the wsdl file at runtime from a server but my javascript is already generated from the CXF tool and I just include the scripts.

Adobe Flex and AS3Another option I have considered is using Adobe Flex. I create a new Mobile Flex project in Flash Builder using the BlackBerry PlayBook SDK and Flex 4.5. However when I use the menu options to connect to a web service I get prompted with "This option is only available for flex projects."Are there any other options out there that provide a solution to this problem? If you need more information just let me know

View 1 Replies


Similar Posts:


Flex :: Get The Response From An HTTP Request On Error?

Jun 2, 2009

I tried using both HTTPService and URLRequest/URLLoader. But I can't figure out how to get either the response output or the response headers in case of a server error(like 500).

View 1 Replies

Flex :: Cross Domain - Error On Using HTTP Service

Dec 17, 2010

I'm trying a simple tutorial of retrieving RSS feeds from yahoo and keep getting this error: RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP" I've seen some articles that say I need a crossdomain.xml file, but I don't really know how to set this file up and how to use it from the Flex SDK compiler (mxmlc).

View 1 Replies

Flex :: Facebook Application Return HTTP Verb Error

Mar 8, 2011

I've followed the Adobe tutorial on how to make a Facebook App with Flex.

If I access the page from the server, everything works.[URL]..But when I access it trough the facebook app [URL]..I get the following error:

The page cannot be displayed The page you are looking for cannot be displayed because an invalid

method (HTTP verb) was used to attempt access.try the following:Contact the Web site administrator if you believe that this request should be allowed. Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.HTTP Error 405 - The HTTP verb used to access this page is not allowed.Internet Information Services (IIS)Technical Information (for support personnel)

Go to Microsoft Product Support Services and perform a title search for the words HTTP and 405. Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Setting Application Mappings, Securing Your Site with Web Site Permissions, and About Custom Error Messages.

View 1 Replies

Flex :: Application Throws Error When Making Http Call (GET Request)?

Jun 13, 2011

I get following error occasionally while running my flex application. I dont know what is wrong as it works intermittently.

Error occured (mx.messaging.messages::ErrorMessage)#0
body = ""
clientId = "DirectHTTPChannel0"

[code].....

View 1 Replies

Flex :: Error :faultCode:Channel.Call.Failed FaultString:'error' FaultDetail:'NetConnection.Call.Failed: HTTP: Failed'"

Mar 11, 2011

I have a Flex and Java application and i am using BlazeDS between flex and java. Generally my application works fine. I observed when ever i try fetch data little faster(not giving gap between two fetch commands) then i am getting the error "Server error :faultCode:Channel.Call.Failed faultString:'error' faultDetail:'NetConnection.Call.Failed: HTTP: Failed'"

I guess when ever load is increasing on BlazeDs, i am getting the error. I am calling the java service using following code

[Code]...

View 1 Replies

Actionscript 3 :: HTTP Request Error #2032?

Sep 29, 2009

In Flex 3 application I use HTTPService class to make requests to the server:

var http:HTTPService = new HTTPService();
http.method = 'POST';
http.url = hostUrl;[code]....

The application has Comet-architecture. So it makes long running requests. While waiting a response for this request, other requests can be made concurrently.The application works in most cases. But sometimes some clients get HTTP request error executing long running request:

faultCode:Server.Error.Request
faultString:'HTTP request error'
faultDetail:'Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"].

View 8 Replies

ActionScript 2.0 :: HTTP:403 Error With Flash 8 Upload?

Feb 2, 2006

I have been working on this problem for a couple days now. I have a flash uploader that works on one server and not the other. I get the HTTP:403 error, which i have read means forbidden...BTW - I am using the fileReference classes and all that good stuff.

View 9 Replies

ActionScript 3.0 :: Air App Updater - Get Error ID: 404. Invalid HTTP Status Code: 404?

Nov 13, 2009

i have an air app that i put some updater code into and i keep getting 1 of 2 errors.When i test the app in Flash i get Error ID: 404. Invalid HTTP status code: 404.when i install the application and run it i get Error ID: 2032. Error #2032. the error windows are the windows that are written into the code to come up so i know that part of the code is working. Any ideas or similar experiences?

var appUpdater:ApplicationUpdater = new ApplicationUpdater();
var window:NativeWindow;
var windowContent:myWindow = new myWindow();[code].....

View 5 Replies

Media Server :: Connection Error When Trying To Serve Video Over HTTP

Jun 3, 2010

I just installed Flash Media Server 3.5 and was trying to verify my installation. When I try to 'Verify progressive download over HTTP' as given in [URL] i am able to 'View a sample video' on start screen but when i try 'View your own video' i get this message on the player "Connection Error. Please press Play to try again."

View 10 Replies

ActionScript 3.0 :: Security Error While Flash File Accessing An Http Service

Jul 13, 2010

i'm trying to integrate with a plain http service which has both http/https flavors available for consumption. sadly they never thought of a flash client consuming these services and it will take another 6 months to roll a crossdomain xml policy file on their service (there security team has to approve the process, pm team has to include it in their roadmap and blah blah). i've already implemented the flash client which works fine from a flash ide security sandbox. is it possible to get around this crossdomain policy requirement.

my flash file will always be hosted as [URL] and i will be communicating with [URL]. i'm saying [URL] because they do some loadbalancing at the backend and allocate random servers on connection (which is fine from their server side design perspective). I tried putting following two lines in the constructor of my movie clip, but couldn't pass through the security sandbox error:

View 2 Replies

Flex - Pass Authentication Headers Using Flex HTTP Service?

Sep 6, 2010

I am trying to access a .Net service which requires an authentication header. If WebService is used it works fine. But when it is accessed using HTTPService it throws error. The project is already done by somebody else using HTTPService. Now changing to webService requires some time since there needs to be modification in a lot of files.

Below is the SOAP envelop required by the service.

[Code]...

View 1 Replies

ActionScript 3.0 :: "Error #2039: Invalid Remote URL Protocol" With Http:// Url?

Jan 2, 2011

I am kind of frustrated, as I am trying to have a little flash downloader download a file. However, I keep getting:

Code:
Error: Error #2039: Invalid remote URL protocol. The remote URL protocol must be HTTP or HTTPS.

[code].....

View 2 Replies

Flex :: HTTP Resources Not Loading?

Jul 8, 2009

I'm working though the Adobe "Flex in a Week" video training series, and I've reached Exercise 9, which deals with creating a remote service call. Up til this point, the data source and images have been local assets (located in src/assets in my Flash Builder project).
I access the room list by this:

<mx:HTTPService id="rooms" url="assets/roomList.xml"
fault="httpFaultHandler(event)"
result="httpResultHandler(event)"/>

Here are the two result handlers:

private function httpFaultHandler(event:FaultEvent):void{
Alert.show("There was a problem","Error");
}[code]...........

However, when I run the application in the blazeDS container, I get no rooms despite the fact that the room list clearly exists in the deployment directory after running the application:

$ find . -name roomList.xml
./tomcat/webapps/odt/adobeODT-debug/assets/roomList.xml

How can I debug the reason for this failure? The deployment process used by the Flash Builder tool is fairly opaque, and the tomcat instance isn't advertising 404s from Flex apps. Is there logging somewhere, or something, that needs to be turned on?

View 1 Replies

Flex :: How To Implement HTTP Tunneling

Jul 26, 2009

I've written a Flash (Flex) client connecting to a back-end server to exchange data. I've also written my server from scratch, and it serves two purposes:

(1) Web (HTTP) Server- By default listens on port 80

(2) Socket/Application- Server - By default listens on port 443

Just FYI, both servers run in the same process space, for convenience reasons. They are not expected to handle massive loads, so I'm fine with that. As soon as the Flash client is served to the browser from the HTTP socket, the client attempts to open an XMLSocket to the Socket/Application server. I now want to implement HTTP tunneling, so that my client can connect to the Application server even if the user is behind a firewall. I do not want any external servers involved (proxies etc.) - simply use the servers I already have.

My questions:

(1) Is it better to use port 443 for that? (does it better fool firewalls?)

(2) As far as I can see, what I am required to do, is just ensure that my actual application data is simply encapsulated in an HTTP structure (preceded by a dummy HTTP header), both from the client and server sides. Is that so or am I missing anything here?

(3) Do I need to keep hiding/encapsulating my data every message I send through the socket, or can I just encapsulate the first message when opening the connection?

View 1 Replies

Flex :: Http DataInfo Used With ResultHandler

Jan 2, 2010

I use this resultHandler and instead of using my data with four(4) separate field I would like to use the following code in one field. and as a one line read out?
E.g (title + "." +firstName + " " + middleName + " " + last Name) = (Mr. Harald E. W. Buttweiser). I get it with static Xml e.g. models but cant find the right way to get it with my Http!

[Code]....

View 1 Replies

Flex :: Http - Handling Redirected URL Within App?

Apr 1, 2010

We have a Flex client and a server that is using the Spring/Blazeds project. After the user logs in and is authenticated, the spring security layer sends a redirect to a new URL which is where our main application is located. However, within the flex client, I'm currently using HTTPService for the initial request and I get the redirected page sent back to me in its entirety. How can I just get the URL so that I can use navigatetourl to get where the app to go where it needs to?

View 2 Replies

Flash :: Read A Http Response Body When Tyring To Read Http Via Tcp Socket?

Feb 19, 2011

So I want to read http streams using flash tcp sockets. I do not really need the http header at all - all I need is body which contains flv. so how to read http response body into byte array using flash sockets?

View 1 Replies

Flex :: Inspect HTTP Traffic In Adobe Air?

Aug 22, 2009

How does one inspect the HTTP traffic in Adobe Air? Obviously because it's running outside of a browser you can't use firebug .

View 4 Replies

Django - HTTP Push Examples In Flex?

Aug 31, 2009

I am trying to create a simple board game (a kind of checkers), where users will be able to play online with each other using flex application as a client.

I am using django application to process the game on the server side. And I come across the problem, if one user made a move, I can send it to a server, but how do I let the opponent know about it?

The way I am thinking to do it is to create a timer and send requests to the server asking was opponents move done or not....But here we have 2 limitations:

1) Each client would produce big amount of requests (not sure how server will work if I have e.g 100 such clients)

2) If players will chose game with a time limit for example 5 minutes/per game it will be very important to show them situation on the board as soon as it changes (without a pause), but timer will send request only on timer event, so if for example I will chose tick interval to 5 seconds it will mean that 5 seconds another side will not be aware of the situation changes.

View 4 Replies

Flex :: Retrieve Body Of A HTTP 403 With Flash?

Dec 15, 2009

I've got a simple YouTube API client put together, written in Flex, that uses a plain ol' URLRequest object to handle Google's "ClientLogin" authentication scheme. Everything works perfectly, except for one case: when Google responds with a 403 and a response body indicating that I should prompt the user for additional information (specifically, a CAPTCHA request).

The problem I'm having is that in this case, I need to be able to retrieve the body of the 403 response, as the body contains information Google expects me to use to assemble the CAPTCHA (e.g., an image URL, etc.). It looks like Flash fails to populate the URLLoader's data property when it encounters a 403 (which is where the response body would normally show up), so I can't tell the difference between a "403: Login Failed" and a "403: Login Succeeded, but We Want a CAPTCHA".

As a backup, I figured I'd have a look at as3crypto's TLSSocket code, but I haven't been able to make any of that stuff work with Google (or even one of my own SSL certs, for that matter).

Is it possible to access the body ofa 403 response with Flash (and if so, how)? And if not,Does anyone have personal experience with a suitable workaround?

View 1 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

Http - Display DB Blob Type In Flex?

Aug 2, 2011

My Mysql database stores images (in PNG, JPG)of our personnel and it's field type is set to longblob.

Is there any possibility to load blob data type using HttpService and render it in Image component in Flex

I'm eager to know about as it comes in handy in the nearest future!!!

View 2 Replies

C# :: Handle Http Fired By Flex In Server?

Jan 22, 2012

I am trying to send a simple HTTP message from Flex to C# server, but it seems that I am getting tow calls, first is the real one and the second is an empty one.

Why is that and how can I handle it?

This is my C# code:

TcpListener listener = new TcpListener(IPAddress.Any, 9400);
listener.Start();
Console.WriteLine("Server started");

[Code].....

I been trying to send a true HTTP response a notice another thing, the second call is coming without waiting for the first call, if I am putting the response thread to short sleep(100 milliseconds in my test) then I am getting the second call before I been able to response for the first one.

View 3 Replies

Flex :: Http - Prevent From Caching An External Resource

Jul 1, 2009

I'm writing a flex application that polls an xml file on the server to check for updated data every few seconds, and I'm having trouble preventing it from caching the data and failing to respond to it being updated.

I've attempted to set headers using the IIS control panel to use the following, without any luck:

CacheControl: no-cache
Pragma: no-cache

I've also attempted adding a random HTTP GET parameter to the end of the request URL, but that seems like it's stripped off by the HttpService class before the request is made. Here's the code to implement it:

http.url = "test.xml?time=" + new Date().getMilliseconds();

And here's the debug log that makes me think it failed:

(mx.messaging.messages::HTTPRequestMessage)#0
body = (Object)#1
clientId = (null)

[Code].....

View 2 Replies

Flex :: Filling Datagrid From Remote Http Service?

Jul 21, 2009

I am trying my first flex application. And have a problems adding data from xml http service to datagid.

My xml file looks like this:

<players>
<player>
<name>test</name>

[Code]....

The problem is that nothing is shown in the datagrid

View 1 Replies

Flex :: Block Http Requests To Some Web-pages From Adobe Air

Jan 20, 2010

Is it any way to prevent user to go to specific web-pages using Adobe AIR framework.I want this software to run at startup and not allowing user to surf some web parts.I want to use Adobe AIR beacause of its crossplatform capabilities.

View 1 Replies

Actionscript 3 :: Difference Between RemotingServices, WebServices And HTTP In Flex

Jul 14, 2010

We use 3 types of services in Flex; HTTP, Remoting and WebServices and would like to increase my understanding about their use cases. As far as I understand,

Remoting can be used only in homogeneous environment like Flex-RubyOnRails (through RubyAMF) while Webservices can be used in Heterogenous environment using SOAP protocol. Remoting has advantage of native object support that web services don't have. That also means no parsing/extraction will be required in former. Now, talking of HTTP services, they dont support complex operations or parameter passing and can be used for only basic operations.

View 1 Replies

Flex :: Reads Browser Http Proxy Setting

Oct 29, 2010

Is there a way to know the proxy setting of web browser under Flex 3, namely actionscript 3?

We use socket library to connect remote HTTP server. It is nice to read web proxy setting to connect to HTTP proxy instead of directly to HTTP server.

View 1 Replies

Flex :: Grails Security Over HTTP - Use HTTPService To Integrate Into It?

Dec 5, 2010

I'm writing an application, Flex front-end & Grails back-end, in which I need to integrate security. All the information around Grails gives me the impression to be well suited for when your client is written in HTML but how can I use Flex's HTTPService to integrate into it?

View 2 Replies







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