Where does the compiler write info from -services.xml?

So, you well know you can specify -services “my_services.xml” with compiler arguments. this “my_services.xml” will contain the information about the WSDL location and some alias… basically. So, my question is, after you compile the SWF with such my_services.xml where is this information written and how would you access it if not from the mx.rpc.HTTPService or alike? (I would believe this is written as some property of the SystemManager or something like that… but searching through the framework sources haven’t gave me any results so far…) so, if anyone knows how to access this info - please, feel free to share :stuck_out_tongue:

  • So far I can only confirm that:
  • [list]
    []flex.messaging.services.RemotingService
    [
    ]flex.messaging.endpoints.AMFEndpoint
    []flex.messaging.messages.RemotingMessage
    [
    ]mx.messaging.channels.AMFChannel[/list]
    Are not compiled even if specified in services-config file (if they aren’t forced to be compiled by any other means).
  • The output SWF size changes if you compile with -services parameter and without.
  • this information is not present in the compiled file (at least in non-encrypted form)
  • I cannot even find sources for flex.* files…
  • Even though my class with the similar signature to mx.messaging.channels.AMFChannel which I substitute for it is not compiled, the compiler checks it’s syntax… :confused: