Tracy - actually, you are right on the money. The Authorization header was
blocked and then re-instated in 9.0.124. You can still work around the issue
if you compile in Flex  2.0.1 since the RPC bits are still intact there.
however - in 3.0 they have changed.

 

>From the 3.0.x Flex SDK - AbstractWebService.as

 

" The username and password to authenticate a user when accessing the
webservice. These will be passed as part of the HTTP Authorization header
from the proxy to the endpoint. If useProxy is false this property will be
ignored."

 

There is also the issue of allowing the header from your crossdomain file.

 

http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403184 

 


Rick Winscot

 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Mark
Sent: Tuesday, June 17, 2008 9:34 AM
To: [email protected]
Subject: [flexcoders] Re: My Web Service with soap headers code no longer
work with Flex 3

 

HI,

I guess what I'm not understanding is the fact that when I run this 
code from Flex Builder 2 it works, but when I run it out of FB 3 it 
doesn't. The Flash Player version would make sence to me but not 
working in one and not the other. I'm using 9.0.124.0 Debug.

HERE'S MY ERROR IN FB3:

(mx.rpc::Fault)#0
errorID = 0
faultCode = "Server.Error.Request"
faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false 
cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: 
http://radar.us.na.ey.net/RadarXML.asmx";]. URL: 
http://radar.us.na.ey.net/RadarXML.asmx";
faultString = "HTTP request error"
message = "faultCode:Server.Error.Request faultString:'HTTP 
request error' faultDetail:'Error: [IOErrorEvent type="ioError" 
bubbles=false cancelable=false eventPhase=2 text="Error #2032: 
Stream Error. URL: http://radar.us.na.ey.net/RadarXML.asmx";]. URL: 
http://radar.us.na.ey.net/RadarXML.asmx'"
name = "Error"
rootCause = (flash.events::IOErrorEvent)#1
bubbles = false
cancelable = false
currentTarget = (flash.net::URLLoader)#2
bytesLoaded = 0
bytesTotal = 0
data = (null)
dataFormat = "text"
eventPhase = 2
target = (flash.net::URLLoader)#2
text = "Error #2032: Stream Error. URL: 
http://radar.us.na.ey.net/RadarXML.asmx";
type = "ioError"

--- In [email protected] <mailto:flexcoders%40yahoogroups.com> ,
"Tracy Spratt" <[EMAIL PROTECTED]> 
wrote:
>
> Josh, I think you are right, the OP was not adding headers to the 
HTTP request after all, and his header was not "Authorization", 
which as you point out, is again allowed.
> 
> 
> 
> Probably best to ignore me on this one!
> 
> 
> 
> Tracy
> 
> 
> 
> ________________________________

 

Reply via email to