Hi,
When using views + services + amfphp my flash application gets the data correctly. However when switching to a view which utilizes the raw XML style provided by views_datasource I get the following message at the flash:
Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion
at fod_as3_sample_fla::MainTimeline/frame1()
The strange thing is that when I call the service from the service->browse page (inside Drupal) I see the XML built just fine.
I tried presenting xml in the flash by using the feed style provided by core views - its working fine. Only XML coming out from the views_datasource is causing this message to appear (BTW, same happens with OPML).
Ideas?
Comments
Comment #1
allisterbeharry commentedI think what could be happening is that your flash app data needs to have a specific namespace or document type or parent element label. The ability to set these options will be in the next viewds release. But you need to read your flash app docs to see what the correct parameters of the XML document are.
Comment #2
udig commentedNailed the problem.
viewds exits abruptly the execution flow. This is being done inside the views dedicated template. I disabled the exit calls and now its working just fine.
thanks.
Comment #3
allisterbeharry commentedThis is resolved in 6.x-1.0-beta1 There's an option for the plugin to render in "Views API mode" when being called programatically which does not terminate processing.