Adobe Dreamweaver Forums



Last 10 THreads :         DW Flash Encoder (Last Post : wycn - Replies : 2 - Views : 3 )           »          navigation bar (Last Post : G. Rex - Replies : 5 - Views : 6 )           »          Adobe Flash 10 kills Wimpy (Last Post : ClubEXL.com - Replies : 82 - Views : 955 )           »          static sound (Last Post : 21n9 - Replies : 10 - Views : 11 )           »          flash loader reappears after movie plays (Last Post : kglad - Replies : 4 - Views : 5 )           »          Flex compiler in FlexBuilder and Flex SDK (Last Post : 2009 Matt - Replies : 4 - Views : 5 )           »          Is file too large? (Last Post : kglad - Replies : 1 - Views : 2 )           »          Embed files in a projector (Last Post : Sean Wilson - Replies : 1 - Views : 2 )           »          problems linking PDFs (Last Post : Mantzi - Replies : 2 - Views : 3 )           »          VERY newbie question (Last Post : cashcrate13 - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-22-2008, 09:21 AM
Jerrycai Jerrycai is offline
Junior Member
 
Join Date: Nov 2008
Posts: 1
Diggs: 0
Default Server response HTTPService but Flex throw a 'HTTP request error' ?

Hi everyone, I came into a trouble when using HTTPService to get the infomation from Server.

HTTPService Tag:
<mx:HTTPService id="getCommand" showBusyCursor="true"
resultFormat="xml" method="POST"
result="xmlGetReturn()"
concurrency="multiple" requestTimeout="0" fault="callFails(event)"/>

Sending code:
...
var param:Object = new Object();
param.data = sendString;
getCommand.send(param);
...

fault Event handle method:
private function callFails(event:FaultEvent):void {
Alert.show("HTTPService is unavailable"+"\nReason:\n\n"+event.fault.message);
}

Because server accessing is very slow, about 1 hour the response returned(Java logged it), but somehow Flex donot recieve this information and triggered fault event:

###############################################
FaultCode: Server.Error.Request
FaultString:'HTTP request error'
FaultDetail:'Error:[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL:/do/DeviceRegisterOperation?CmdType=get'
###############################################

When is 'HTTP request error' occurred? What cause it?

Other infomation:
1. By using the same HTTPService object, other interaction with server was OK, but this one is NG which is long time and large quantity.
2. We tested the timeout case, large return value case. They are all OK, but in other department's tesing, this problem occured. Is there any possiblility of envirnment(such as Broser...) or someother will affect this issue?
3. HTTPService's propertys, such as resultFormat,concurrency, will they related on this problem?

Any suggestion on this issue is appreciated.
Thank you very much!


Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:21 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk