These two days should need to study the next WCF service and Flex 3 RIA related development technology, and handwriting on some of the code, found that before the consideration of a number of detailed issues to be noted, resolved, intends to use this continuously updated article to record, will be through the Flex 3 RIA application to use the WCF service process The problems and solutions found are documented in the form of notes. Is the so-called chastened wiser, also please share, together to add.
1. SOAP version used by WCF service
2. "Provider com.bea.XML.stream.MXParserFactory not Found" exception
3. Enable session support for "BasicHttpBinding" binding
SOAP version used by WCF service
The currently released Flex 3.2.0 build 3958 version only supports communication with WEB services that use the SOAP 1.1 protocol, so if you want to use WCF services in Flex 3 RIA applications, you must configure the WCF service to use the SOAP 1.1 protocol pass for the underlying Letter. The specific method can be accomplished by changing the service profile web.config.
XML code
<services>
<service behaviorConfiguration="CEELS.Service.BaseBehavior" name="CEELS.Service.CEELSSvc">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ICEELSSvc" contract="CEELS.Service.ICEELSSvc">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_ICEELSSvc" allowCookies="true" />
</basicHttpBinding>
</bindings>