I have an AIR application developed on 3.5sdk. I've tried to build it on 4.5(air2.5), replaced Application.application with FlexGlobals, and now application is working good in debug mode. But the problem is: when i'm building the release version application fails to see WebService. Have somebody encountered with this problem?
It might be that if you generated classes from your local or dev server, that
url gets harcoded inside the generated class, so if you deploy an try to se a
new url it won;t override. There is a line of code there
something like loadIfNecessary() ... near the hardcoded wsdl. So you need to
comment that and make sure you set new wsdl on runtime. Not sure if that is your
case but I saw it happened here on some other thread ...
C
Nope. it's hardcoded right... i don't use local server...
The message is:
Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://server_ip:server_port/webservice.asmx?WSDL)
Any ideas?
Not implying anything newbie here. If you can see WSDL in browser obviously
backend is good. Next thing I can think of is crossdomain.xml. Though it is
strange since you say it works fine for 3.5. Have a look in the Adobe jira maybe
some bug is there related to this ...
Sorry I can't be more helpful.
C
We're having similar issues, which were discovered pulling WSDL's like you. Although ours also seems to be related to all HTTP Service requests, including loading external assets.
Maybe some info here can help you:
http://forums.adobe.com/message/3345972#3345972
Sean
anyone who have occured such a problem here is the main thread http://forums.adobe.com/message/3345972#3345972
North America
Europe, Middle East and Africa
Asia Pacific