Hi Friends
I need ur help to set up config.xml in flex 4.5. I need to connect to PHP by using flex remote object. Its working fine when i defined the source inside the mxml or .as file.
in mxml or .as file
var remoteObject:RemoteObject = new RemoteObject();
remoteObject.Source="ClassName";
remoteObject.MethodName();
My problem is when i defined source in service.config.xml file its not working,i got source is setting to null.
service.config.xml file
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<services>
<service id="zend-service"
class="flex.messaging.services.RemotingService"
messageTypes="flex.messaging.messages.RemotingMessage">
<destination id="zend">
<channels>
<channel ref="zend-endpoint"/>
</channels>
<properties>
<source>
ClassName </source> <!--here i defined my class name-->
</properties>
</destination>
</service>
</services>
<channels>
<channel-definition id="zend-endpoint"
class="mx.messaging.channels.AMFChannel">
class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
</channels>
</services-config>
Friends please help me to resolve this problem because i will use 2 or more services.
Thanks & Regards
Bharathidasan.S