Question

We have a Flex 3 application that uses a WebService and loadWSDL() to call a ColdFusion function with a returntpe of query. The Flex 3 application stores the return data in a ArrayCollection. The problem is Flex parses the data fine on ColdFusion 8 but not 10. I do see the data being returned when ran under ColdFusion 10 but it does look like the format is a little different. I am wondering if maybe it is a SOAP 1.1 versus 1.2 issue possibly. Does anyone have anything in mind that may be causing this?

Était-ce utile?

La solution

Adding this line

<cfset this.wssettings.version.consume = "1">

to your Application.cfc will force Coldfusion 10 to use Axis1 web services and the SOAP 1.1 format which Flex 3 supports. The Application.cfc file is placed in your applications root directory.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top