Expand my Community achievements bar.

Webservice access in FLEX

Avatar

Level 1
We are trying to use webservice created by .NET application
into Flex , but it is giving following error when we are accessing
application from remote browser (IE 6 )



Following is details of error



fault = (mx.messaging.messages::ErrorMessage)#0

body = (Object)#1

clientId = "DirectHTTPChannel0"

correlationId = "F47724D4-8FAF-7D5C-E631-6FF1947FF342"

destination = ""

extendedData = (null)

faultCode = "Server.Error.Request"

faultDetail = "Error: [IOErrorEvent type="ioError"
bubbles=false cancelable=false eventPhase=2 text="Error #2032:
Stream Error. URL:
http://192.168.166.38/WebForce.Net/WebServices/AffiliationService.asmx"
URL:
http://192.168.166.38/WebForce.Net/WebServices/AffiliationService.asmx"

faultString = "HTTP request error"

headers = (Object)#2

messageId = "7BE472C4-2934-82C1-7C1A-6FF194BECE96"

rootCause = (flash.events::IOErrorEvent)#3

bubbles = false

cancelable = false

currentTarget = (flash.net::URLLoader)#4

bytesLoaded = 0

bytesTotal = 0

data = (null)

dataFormat = "text"

eventPhase = 2

target = (flash.net::URLLoader)#4

text = "Error #2032: Stream Error. URL:
http://192.168.166.38/WebForce.Net/WebSer





Can any one please guide us that what we are missing . Any
work around for this .



Following is way we are configuring webservice tag in
application .



<mx:WebService id="CustomerService"

wsdl="
http://localhost/WebForce.Net/WebServices/AffiliationService.asmx?wsdl"

useProxy="false"

showBusyCursor="true"

requestTimeout="0"

fault="{handleFault(event)}"

>

-----

</Webservice>



0 Replies