开发者

WCF service parameters from Flash are empty

I have a Flash app that needs to save some data in a Database using a WCF web service. The WCF service is configured to use basicHttpBinding.

The flash app is being developed by some other guy in a different environment, and there is no connection between flash and the wcf service. So I create开发者_开发知识库d the wcf service, saved the corresponding wsdl to a file and used it to create the flash references and parameter mappings.

The problem is, when we deploy the flash app to test the connection with the service, it does connect, but all the parameters are empty. We are tracing the service POST request using Firebug extension for Firefox, and it's something like this:

<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
 <SOAP-ENV:Body>
  <GetContactInfo xmlns="http://www.company.com/simulator">
   <idNumber />
  </GetContactInfo>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

despite of the parameter idNumber being mapped to some field in the flash app and this field having some non-empty value.

The person responsible for the flash app told me that when he tests the flash app in his environment, connecting to a non-existent wcf endpoint, the parameters are fine (but he receives a 404 not found, obviously).

I really have no clue if this is related exclusively to the service parameter mappings in flash, or the wcf endpoint configuration. Has anyone experienced this issue before? Any help would be greatly appreciated.


I don't think this is the problem, but maybe you need a crossdomain.xml file on the server?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜