5 Replies Latest reply on Jan 30, 2009 5:09 AM by Newsgroup_User

          AMF Channel endpoint uri- relative path is prepended with http giving an invalid

    Rajiv Modh
      <?xml version="1.0" encoding="UTF-8"?>
      <service id="amfphp-remoting" class="flex.messaging.services.RemotingService" messageTypes="flex.messaging.messages.RemotingMessage">
      <destination id="amfphp">
      <channel ref="my-amfphp"/>
      <channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel">
      <endpoint uri="" class="flex.messaging.endpoints.AMFEndpoint"/>

      To access the remote object of flex I need to give the absolute path in URI.
      Is there any way to overcome this issue.
      I have tried with the relative path by putting the amfphp in root folder (i.e. htdocs), but flex component is still not working.
      I am using flex charts as a component and using php to connect with the database. Using remote objects I am fetching the values but due to path dependancy my application comes out with a major drawback.

      Can anyone please post some solution.