« Return to Thread: IE cache and NetConnection.Call.Failed: HTTP: Status 200
Some news,
I tried to set it programmaticly with
public var chanConf:XML =
<channel id="pyamf-channel" type="mx.messaging.channels.AMFChannel">
<endpoint uri="http://localhost:8000/amf/gateway/"
type="flex.messaging.endpoints.AmfEndpoint"/>
<properties>
<add-no-cache-headers>false</add-no-cache-headers>
</properties>
</channel>
channel = new AMFChannel( "pyamf-channel",
"http://localhost:8000/amf/gateway/" );
channel.applySettings(chanConf);
Still no success,
I think i am going to take the REST aproach for pushing data.
Greg
On Mon, Jun 1, 2009 at 10:03 AM, Gregory Tappero <coulix@...> wrote:Hi guys,I stumbled upon this nasty error where time to time i would get a:ERRRORRR [FaultEvent fault=[RPC Fault faultString="error"faultCode="Channel.Call.Failed"faultDetail="NetConnection.Call.Failed: HTTP: Status 200"]messageId="F7C2D1D0-BDCE-6067-4404-9CB9576D1282" type="fault"bubbles=false cancelable=true eventPhase=2]For no reasons.The strange thing is that it was not happening until i started Pushingsome data : Bytearray and long String.This post http://jake.cfwebtools.com/2009/02/26/flex-channelconnectfailed-error-netconnectioncallfailed-http-status-200/gives the solutionas :"add the following line to your services-config.xml file in the“channel-definition” tags."<add-no-cache-headers>false</add-no-cache-headers><channel-definition id="my-cfamf" class="mx.messaging.channels.AMFChannel"><endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/"class="flex.messaging.endpoints.AMFEndpoint"/><properties><add-no-cache-headers>false</add-no-cache-headers><polling-enabled>false</polling-enabled><serialization><instantiate-types>false</instantiate-types></serialization></properties></channel-definition>Since we dont have such xml with pyamf to configure Channels, howwould we solve this ?So far i use in flex======channel = new AMFChannel( "pyamf-channel","http://localhost:8000/amf/gateway/" );channels = new ChannelSet();channels.addChannel( channel );// this is the service idremoteObject = new RemoteObject( "edoservice" );remoteObject.channelSet = channels;======Any help is welcome,--o/
--
o/
_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users
« Return to Thread: IE cache and NetConnection.Call.Failed: HTTP: Status 200
| Free embeddable forum powered by Nabble | Forum Help |