I recently upgraded my development CF from 8 to 9, buy my production CF is still 8. Now I keep getting
Channel.Connect.Failed error NetConnection.Call.BadVersion
every time i launch my flex app on production server. I assume this is becuase while compileing and building flex app my -services points to CF-9 services-config.xml.
I tried to copy wwwroot/WEB-INF/flex folder into my flex application so that I have flex-cf8 and flex-cf9 folder in my flex app, and when I copy my build to production server. I change -services to flex-cf8/services-config.xml instead of flex-cf9/services-config.xml. But this has not helped.
My development server is a MacBook pro, while my development servers are MacPro and a linux system. So the location of CF-HOME/wwwroot/WEB-INF/flex is different for both of my production servers.
So my question is, is there a way to keep just one copy of services-config.xml in such a place where it will work for all my servers no matter what CF version is? Will I need to make my own servies-config.xml file or can I just use the default one? Does anyone have an example of custom services-config.xml (if I can't use the default one).
any help guys, i am really stuck here, and can't post my updates on production server.
guys a little help here? I am stumped and cant' find any hep on google either.
After a bit more googling it turns out that NetConnection.Call.BadVersion might be a generic error, when flex can't communicate with/connect to flex2gateway. Took a closer look at my code and turns out that I had forgotten about an update made that no longer accessed generic html file created by flex builder, but a modified version of it with some CF code. Still not working hundered 100% but, this time I know whats and where things are wrong.