Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 206675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:40:02+00:00 2026-05-11T17:40:02+00:00

I created a project in flex builder with application server type set to none.

  • 0

I created a project in flex builder with application server type set to none.

When I debug, I can access the web service from my local machine thats on a site http://mysite.com/ws/ws.aspx?wsdl

When I upload the flex app to mysite.com/myapp.html it works great.

But, when I upload it to myapp.mysite.com/myapp.html it wont access the web service.

Anyone know what I’m missing?

Thanks

P.S. The WS was created with VB.net, and when I create a flex project with application server type set to .net, it wont access the WS from my local machine

this is my crossdomain.xml file

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <site-control permitted-cross-domain-policies="all"/>
  <allow-access-from domain="*"/>
  <allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>

**My guess is that it isn’t a flex problem, but a .net security feature… wich I don’t know how to configure.

.NET won’t allow apps to use it outside of its own domain.**

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:40:02+00:00Added an answer on May 11, 2026 at 5:40 pm

    By default Flex does not allow accessing web services on remote hosts. This is a security feature of Flex. Since your Flex app is deployed at myapp.mysite.com it’s under different host than the service at mysite.com.

    You can add a crossdomain.xml to the mysite.com which Flex will check to see if the service allows access from different domains. The crossdomain.xml file must be located in the web root of the domain (mysite.com/crossdomain.xml). I’ve used the following contents to allow debugging use. Note that it allows all use so if you want to restrict the use in production, you need to modify it later.

    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM
        "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
       <allow-access-from domain="*" to-ports="*" />
       <allow-http-request-headers-from domain="*" headers="*"/>
    </cross-domain-policy>
    

    More information in Flex documentation, especially the knowledge base article.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 141k
  • Answers 141k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer you have a timer control in ASP.Net ajax controls. http://msdn.microsoft.com/fr-fr/library/system.web.ui.timer.aspx… May 12, 2026 at 8:04 am
  • Editorial Team
    Editorial Team added an answer This regular expression removes all linebreaks/whitespaces between <ul> and </ul>… May 12, 2026 at 8:04 am
  • Editorial Team
    Editorial Team added an answer In the absence of an answer from someone else here… May 12, 2026 at 8:04 am

Related Questions

We develop applications for the Flash platform, which have LOTS of run-time loaded assets
I'm still a newbie to Adobe Air/Flex, and still fairly new with SQL. I've
I've been unsuccessful in trying to find an example how to get a sqlite
Using Flex Builder : I have created a new Actionscript Project. I want to

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.