Skip navigation
Currently Being Moderated

Flex 4.5 wsdl trouble

Jan 11, 2011 4:38 AM

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?

 
Replies
  • Currently Being Moderated
    Jan 11, 2011 5:27 AM   in reply to NekedX

    Have you generated the webservice classes?

     

     

    C

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 11, 2011 6:15 AM   in reply to NekedX

    Yes

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 12, 2011 5:41 AM   in reply to NekedX

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 13, 2011 6:11 AM   in reply to NekedX

    Can you query your wsdl from Browser?

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 13, 2011 7:09 AM   in reply to NekedX

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 13, 2011 11:04 AM   in reply to NekedX

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 13, 2011 11:25 AM   in reply to NekedX

    Can you share some more details on the migration steps?. Did you regenerate the

    service for flex 4. I assume you did however just want to make sure. Did

    something similar with flex couple of months ago did not bump into the issue,

    this intrigues me...

     

    C

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 13, 2011 12:51 PM   in reply to NekedX

    A bug is open to the AIR team regarding this issue. As SeanAtl pointed out, there is another forum posting in the AIR forums regarding this bug with more details.

     

    Joan

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points