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">
<endpoint uri="http://localhost.com/gateway/"
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
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.