I'm sure I'm missing something here, but It would be good if anyone could point out exactly what it is!
I'm attempting to configure a remoteObject *without* the compiler option of -services \\someServer\Path\WEB-INF\flex\services-config.xml or similar I initally thought it would be a question of merely specifying an endpoint, so I started off with this in my actionscript class : _remoteObj = new RemoteObject(); _remoteObj.makeObjectsBindable = true; _remoteObj.destination = "fluorine"; _remoteObj.source = "ppRemoteService"; // add the endpoint, all the code above works fine with the compiler - services option _remoteObj.endpoint = "http://localhost/ppBackend/Gateway.aspx"; Which errors out at runtime with : "Cannot assign operations into an RPC Service (endpoint)" Yet, if I define the service in my main Application mxml in what looks to me like identical parameters , like this : <mx:RemoteObject id="testRemoteMxml" makeObjectsBindable="true" destination="fluorine" source="ppRemoteService" endpoint="http://localhost/ppBackend/Gateway.aspx" /> then just use _remoteObj = Application.application.testRemoteMxml into my actionScript class (apologies for bad form there) it works just fine. This is in flexbuilder 3.0 with the default "Flex 3" SDK, I should mention. So what am I missing? A timing / initialisation error would be my first thought, but if so then I can't see quite how. I'm probably just being a bit stupid, anyone got any ideas or relevant experience? Many thanks, Jim. (p.s. I notice that there is no autocomplete suggestion in flexbuilder for remoteObjectInstance.endpoint in actionScript yet it compiles fine. This is probably a clue that I'm doing something wrong, I would say. If only I knew what it was!) ______________________________________________________________________ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. ______________________________________________________________________

