Hi, I've amended my service-config file to <endpoint uri="http://{server.name}:{server.port}/flex2gateway/" class="flex.messaging.endpoints.AMFEndpoint"/> but I'm still getting the java.lang.NullPointerException' error message, which I originally received. After I made the change I did restart the ColdFusion server.
Still not sure what's happening? --- In flexcoders@yahoogroups.com, "Muzak" <[EMAIL PROTECTED]> wrote: > > Use tokens for the endpoint uri > > <endpoint uri="http://83.170.86.32:80/flex2gateway/" class="flex.messaging.endpoints.AMFEndpoint"/> > > should be: > > <endpoint uri="http://{server.name}:{server.port}/flex2gateway/" class="flex.messaging.endpoints.AMFEndpoint"/> > > > {server.name} and {server.port} will be replaced with the actual values at runtime. > So you can then put your app on different servers without having to worry about the gateway url. > > regards, > Muzak > > ----- Original Message ----- > From: "stephen50232" <[EMAIL PROTECTED]> > To: <flexcoders@yahoogroups.com> > Sent: Wednesday, October 17, 2007 6:00 PM > Subject: [flexcoders] Re: problems access a Flex/CF site via a URL > > > Well my method calls worked fine on another server I was running this > application on, I've recently moved the site to a new server and > repointed the URL. >