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

  • SEARCH
  • Home
  • 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 155171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:06:30+00:00 2026-05-11T10:06:30+00:00

I am trying to save some bandwidth and include wsdl file in my flex/air

  • 0

I am trying to save some bandwidth and include wsdl file in my flex/air application. Which url format should I use in order to load that file instead of the remote one.

I am using loadWSDL() method.

EDIT: wsdl file needs to be part of the application. I know I can use file://some/path for local files, but don’t know how to load file which is inside application itself.

  • 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. 2026-05-11T10:06:30+00:00Added an answer on May 11, 2026 at 10:06 am

    If the file is local, just use the file URI scheme:

    file://host/path/file.wsdl

    If this doesn’t work, check if the security sandbox features are blocking it.

    In AIR apps, in order to access files in the application’s temporary storage directory or the application’s own directory, you need to use special app: or app-storage: URL schemes, though.

    Like dirkgently said, you can always embed the file into the application, but as far as I know, you then won’t be able to modify it afterwards in a persistent manner since it’s not just a file in the filesystem. Probably the best option for you is to embed this file and if you later need to update it, have the app save an updated version into the File.applicationStorageDirectory (which you would then always check first before using the default embedded version.) Although I have no idea if using embedded XML files with the WebService classes is even possible.

    See this article for info on how to embed external XML files into your app. This is how I’ve done it:

    // note: common sense says that the mimeType should be 'text/xml' here but // it doesn't work -- this does, though. who knows why. [Embed(source='File.xml', mimeType='application/octet-stream')] private const _fileXMLClass:Class; private var _fileXML:XML = XML(new _fileXMLClass()); 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to save some data in .xls file. I am trying to use
I'm trying to save some lookup table data out to a YAML file so
I'm trying to save some data to A file in android, I'm using herefor
Hi I am trying to use NSUserDefaults to save some default values in database.
I'm trying to save some settings from my app to a plist file when
I'm trying to use the producer consumer pattern to process and save some data.
I'm trying to save some audio data to a WAV file -- I have
Hello there im trying to save some data from dynamic textboxes into XML file.
I'm trying to save some XML-Data in my UserSettings (Properties.Settings.Default.UserSettings) in a .NET Winforms
I'm trying to save some UserControl-Infos into a List like this: List<UserControlDetails> myList; public

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.