Yeah - I would really like to have the services-config.xml-method working
again...




On 10/2/07, herklano <[EMAIL PROTECTED]> wrote:
>
>   hi again,
>
> u have to be carefull to always do variable coercion right,
> ResultEvent does not work, u need to know what type of data is coming
> from server.
>
> lots of trouble changing from one beta to another :(
>
> still cant figure out what was going on with the services-config.xml!!!
>
> anyone can clarify this?
>
> cheers,
> herculano
>
>
> --- In [email protected] <flexcoders%40yahoogroups.com>,
> "herklano" <[EMAIL PROTECTED]> wrote:
> >
> > hi,
> >
> > i have sorted it out using a class instead of the .xml method.
> >
> > RemotingConnection.as
> >
> > package connection
> > {
> > import flash.net.NetConnection;
> > import flash.net.ObjectEncoding;
> >
> > public class RemotingConnection extends NetConnection
> > {
> > private var sURL:String = "http://xxx";;
> >
> > public function RemotingConnection()
> > {
> > objectEncoding = ObjectEncoding.AMF3;
> > connect(sURL);
> > }
> > }
> > }
> >
> > and in main app
> >
> > //Flash Remote AMFPHP
> > import connection.RemotingConnection;
> > private var service:RemotingConnection = new RemotingConnection();
> >
> > then...
> > service.call('service.AMFPHP.toCall', new Responder(resultHendler,
> > faultHandler),selectedANPMenu.menu_id, var1, var2, var3);
> >
> > cheers,
> > herculano
> >
> > need to find out how to put the busyCursor, without having to do the:
> > CursorManager.setBusyCursor();
> > CursorManager.removeBusyCursor();
> >
> >
> >
> >
> > --- In [email protected] <flexcoders%40yahoogroups.com>,
> "Morten Madsen" <mr.morton@> wrote:
> > >
> > > Hi Group!
> > >
> > > After installing the new Flex Builder 3 beta2 one of my projects can't
> > > compile anymore
> > > I use amfphp, described as in this tutorial (
> > >
> >
> http://www.sephiroth.it/tutorials/flashPHP/flex_remoteobject/page001.php)
> > >
> > > But when I try to compile I get an error:
> > > Invalid endpoint port'' specified for channel definition 'my-amfphp'.
> > >
> > > My services-config.xml:
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <services-config>
> > > <services>
> > > <service id="amfphp-flashremoting-service" class="
> > > flex.messaging.services.RemotingService" messageTypes="
> > > flex.messaging.messages.RemotingMessage">
> > > <destination id="amfphp">
> > > <channels>
> > > <channel ref="my-amfphp"/>
> > > </channels>
> > > <properties>
> > > <source>*</source>
> > > </properties>
> > > </destination>
> > > </service>
> > > </services>
> > > <channels>
> > > <channel-definition id="my-amfphp" class="
> > > mx.messaging.channels.AMFChannel">
> > > <endpoint uri="http://localhost/gateway/gateway.php";
> class="
> > > flex.messaging.endpoints.AMFEndpoint" />
> > > </channel-definition>
> > > </channels>
> > > </services-config>
> > >
> > > Can anybody help me?
> > >
> > > It worked in Flex 2, Flex 3 beta1...
> > >
> > >
> > > Kind regards
> > > Morten
> > >
> >
>
>  
>

Reply via email to