I'm using 'relative' paths because I dont necessarily know the 'root' url . The application could be installed under any 'path' .
There should be an option for Modules as to what its URL to use , its or the application its being loaded into . This is a definate change of behavior in HotFix2 and one that IMHO is not for the better :) .. --- In [email protected], "Peter Farland" <[EMAIL PROTECTED]> wrote: > > The new implementation in Hotfix 2 now handles WSDL imports and includes > and XSD imports and needs to be able to resolve relative > imports/includes to the parent document's location, so the WSDLLoader > has to resolve relative urls. By default this is based on what the > SystemManager's loaderInfo.url has when the application is > initialized... which, while I'm not familiar with how this loaderInfo > resolves under modules but would guess it is relative to that module's > URL. You can override the default by setting the rootURL property on > your WebService. > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of iilsley > Sent: Tuesday, May 29, 2007 7:41 PM > To: [email protected] > Subject: [flexcoders] HotFix 2 for 2.01 and modules and uri's . > > > > > I have some modules that use local webservices . > The URL's for the webservices are defined as 'relative' paths. > > eg: > > this.ws = new mx.rpc.soap.WebService(); > this.ws.wsdl = "services/myservice/myservice.wsdl"; > this.ws.endpointURI = "services/myservice/myService.php"; > > After installing the hotfix 2 , they have stopped working .. :( . > > The reason , I believe , is the path that is being used .. > It now seems that the path is the path where the module was loaded > from and not the path the 'parent' was loaded from. > > prior to hotfix I see the following in my apache log.. > > GET /app/services/myservice/myservice.wsdl 200 - > > after hotfix I see > > GET /app/modules/services/myservice/myservice.wsdl 404 - > > Is this a bug ? >

