--- In [email protected], "barry.beattie" <[EMAIL PROTECTED]>
wrote:
>
> > Well I prefer not to mess with the generated code, for the maintenance
> > sake.
> >
> > Robert
>
> dumb question time...
>
> how do you guys usually manage the generated code when the webserver
> target moves from, say, development to a production environment and
> the soap address changes?
>
> (since part of the soap address is used in the generated code's
> package name and even the event types)
>
>
> refactor all the generated code via Flex Builder?
> generate it again when the WSDL changes?
> something else?
>
Something I did at a financial institute was to store the URLs in an
XML file. I'd have a section for pred and a section for dev. And I
would just comment them out for whatever environment was used. Then I
would use AppCoreLib to load the xml and reference the keys in the
appCoreLib.business.Settings.getInstance().getURL("key") to
dynamically set the web service urls.