Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-11-2009, 02:50 PM   #1
wvxvw
Holosuit User
 
wvxvw's Avatar
 
Join Date: Oct 2006
Location: Tel Aviv
Posts: 4,301
Send a message via ICQ to wvxvw
Default 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
__________________
The .NET open source editor for Flash and web developers
*This would be my contribution to the project*
couchsurfing if you need it
wvxvw is offline   Reply With Quote
Old 04-11-2009, 07:15 PM   #2
Peter Cowling
quantum tunneler
 
Join Date: Sep 2008
Location: London, UK
Posts: 882
Default

Hello,

See here.
Peter Cowling is offline   Reply With Quote
Old 04-11-2009, 08:37 PM   #3
wvxvw
Holosuit User
 
wvxvw's Avatar
 
Join Date: Oct 2006
Location: Tel Aviv
Posts: 4,301
Send a message via ICQ to wvxvw
Default

Oh... that's helpful... the part of it at least is very helpful.
Last thing to figure out is who's calling
ActionScript Code:
/**      *  @private      */     public static function set xml(value:XML):void     {         serverConfigData = value;         // Reset cached Channels and ChannelSets.         _channelSets = {};         _clusteredChannels = {};         _unclusteredChannels = {};     }
this...
Anyhoo, many thanks, now at least I have a direction to start digging

EDIT:
for anyone who wonders how this data is being set, here's the info:
Code:
set services XML: Error
	at mx.messaging.config::ServerConfig$/set xml()[C:\www\versioned_projects\src\mx\messaging\config\ServerConfig.as:164]
	at _Main_FlexInit$/init()
	at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\SystemManager.as:3057]
	at mx.managers::SystemManager/docFrameListener()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2915]
(you can replace the original ServerConfig class by copying into your local directory, calling it mx/messaging/config and putting there:
ActionScript Code:
trace("set services XML:", new Error().getStackTrace());
well... the next tough one is... how to make Flex think my class is SystemManager... to get that info() object somehow...
__________________
The .NET open source editor for Flash and web developers
*This would be my contribution to the project*
couchsurfing if you need it
wvxvw is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
collecting registry info and posting info to URL surftheearth Projectors and CDs 3 11-08-2005 07:19 PM
How to get certain info from csv that varies depending on the button clicked markC ActionScript 1.0 (and below) 6 06-27-2005 09:07 AM
Old and New in ActionScript Madokan ActionScript 2.0 3 01-04-2004 06:37 PM
How to write in file in flash arun67 ActionScript 1.0 (and below) 4 07-30-2003 01:18 AM
how can i translate this PHP script to Actionscript? Lupax ActionScript 1.0 (and below) 2 10-15-2002 11:08 AM


All times are GMT. The time now is 01:35 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.