HTTPService is a Flex component used for HTTP requests
Questions tagged [httpservice]
240 questions
1
vote
1 answer
Is it possible to create a separate file for httpservices in flex and what are the best practices
Hi I am new new to flex development.
I am building a flex application which uses rest APIs.
Right now I have created different for different API calls (login, logout, search etc.) And all these services are in main mxml application file.
I am…

priyank
- 4,634
- 11
- 45
- 52
1
vote
1 answer
1
vote
1 answer
JAVA: Store request and response messages (XML or JSON) in database for Webservice or HTTP calls
I want to store raw request and responses (XMLs or JSON) in database for Wbservices and HTTP calls in a Java Web application. How do I achieve this without degrading performance of the services.
I have seen few implementations like -…

Vishwa
- 300
- 5
- 16
1
vote
1 answer
Limit to number of HTTPService calls that can be made at once
I have 5 Cairngorm Events that I am dispatching at the same time(one right after the other) - all of which call a separate HTTP Service. This works fine when I run the application locally however when I deploy my project to a Glassfish server, it…

peeps147
- 23
- 4
1
vote
2 answers
Flex - 2032: Stream Error in IE only
I get a 2032 stream error from Flash in response to POST requests that return "201 Created" in IE (Firefox works fine). Since Flash doesn't provide access to the HTTP status I can't tell that it has actually succeeded. The request is being made…

user15899
- 315
- 1
- 6
- 13
1
vote
1 answer
How to handle < and > symbols in HttpService if we use xml as a result format?
I used a httpservice which returns a xml as a result.But the content itself has a '<' symbol or '>' symbol , it leads to error ! How can i handle this?
Thanks in advance.

Sankara narayanan
- 11
- 1
1
vote
0 answers
Flex HTTPService security error using Safari
I'm using the HTTPService object in actionscript to send some data to a php file on another server which then inserts the data to a database. I set up the crossdomain.xml file in the root of the directory that contains the php file to get around…

Ryan M
- 1,721
- 2
- 15
- 22
1
vote
2 answers
doesn't parse xml when it's a single node
my script.php returns this XML
-
value1
value2
-
value1
value2
The HTTPService uses the default…

tag
- 3,315
- 2
- 16
- 6
1
vote
1 answer
HTTPService resultFormat, how to choose
HTTPService has a property resultFormat which can be set to any of the following: array e4x flashvars object text xml
I looked at the documentation to understand the difference, but still couldn't understand when to use each. I'm looking for the…

tag
- 3,315
- 2
- 16
- 6
1
vote
2 answers
Can't read output of httpservice
I have an HTTPservice
id="myhttp"
url="site.com/script.php"
method="POST"
resultFormat="xml"
The script it uses returns
$output = '' . $worked . ' ';
echo $output;
Problem is when I try to read worked, it tells me the variable…

tag
- 3,315
- 2
- 16
- 6
1
vote
2 answers
AS3 httpservice - pass arguments to event handlers by reference
I have this code:
var service:HTTPService = new HTTPService();
if (search.Location && search.Location.length > 0 && chkLocalSearch.selected) {
service.url = 'http://ajax.googleapis.com/ajax/services/search/local';
service.request.q =…

Shawn
- 19,465
- 20
- 98
- 152
1
vote
1 answer
Send parameters in order in HTTPService
I am trying to work with a simple HTTPService. The problem is that my webservice is conscious of the order of arguments it gets. I will tell the problem with an example:
var service:HTTPService = new HTTPService();
var params:Object = new Object();…

Suraj Chandran
- 24,433
- 12
- 63
- 94
1
vote
1 answer
Flex HttpService POST limited to 543 Byte per Form field?
I am getting a FaultEvent when trying to send form fields through HTTPService that contain more than 542 chars.
Initializing the HttpService:
httpServ = new HTTPService();
httpServ.method = 'POST';
httpServ.url = ENDPOINT_URL;…

motto
- 1,305
- 3
- 16
- 30
1
vote
0 answers
Flex HTTPService contentType = "application/json" with parameters
I make a Flex HTTPService:
and have a PHP file a.php:

user3453824
- 21
- 3
1
vote
2 answers
HTTPService AsyncToken and AsyncResponder example
Where can I find an example of Flex application which implements an HTTPService asynchronously called by an AsyncToken and an AsyncResponder?
Thanks in advance
the httpservice send a string like this with a certain…

Fseee
- 2,476
- 9
- 40
- 63