Hi
I'm having some beginner problems. I've setup BlazeDS and
have created my remote service. All works fine when I deploy
everything to the server but I would like to be able to compile my
Flex project and view it locally while calling the remote service
on the web server. I've had success doing this with PyAMF but can't
get it setup with BlazeDS.
From my understanding I need to first edit the
services-config.xml file. I've done this and set it to resolve
my-amf to the server:
<channel-definition id="my-amf"
class="mx.messaging.channels.AMFChannel">
<endpoint url="
http://combinationstudios.com:8400/samples/messagebroker/amf"class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
</properties>
</channel-definition>
However when I compile the app the SWF is still trying to
connect to services locally - when I trace HTTP requests it's point
here:
http://localhost:8400/samples/messagebroker/amfrather than
http://combinationstudios.com:8400/samples/messagebroker/amfIs there something in the compiler settings I need to define
or another XML file needs to be configured.
Thank a lot
Ben