Hi Matt, PhoneVO have the getter/setter method. I could get primitive type, but I could'nt get the PhoneVO class.
What do you mean about 'too high' ? I wish to use AMF easily like a Flash Pro. Can I use FES on business without charge or with small charge? Thank you. Satoshi Yokota Matt Chotin wrote: > Does your PhoneVO on the Java side have the getName/setName pair? > > There will be an FES available that I think you'll be able to use > without charge as long as your usage isn't too high. > > -----Original Message----- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Yokota Satoshi > Sent: Tuesday, February 21, 2006 9:55 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] NetConnection with AMF0 > > Hi all, > > I'm trying to connect openamf without AMF3. > I could this by using NetConnection. > But, I can't get mapped class from server. > > following example code, > --------------------------------------------------- > > [DefaultTriggerEvent("result")] > [Event("fault")] > [Event("result")] > private var _con:NetConnection; > _con = new NetConnection(); > _con.objectEncoding = ObjectEncoding.AMF0; > _con.connect(this.gatewayUrl); > var responder:Responder = new Responder(this.onResult,this.onFault); > var callMethod:String = this.destination+"."+methodName; > > if(args.length>0){ > _con.call(callMethod,responder,args); > }else{ > _con.call(callMethod,responder); > } > > public function onResult(resultData:Object){ > var resultEvent:ResultEvent=new ResultEvent(resultData,null,null); > var person:PersonVO = PersonVO(resultEvent.result); > } > --------------------------------------------------- > > - as class in flex side > --------------------------------------------------- > [Bindable] > [RemoteClass(alias="com.mycompany.phones.model.PhoneVO")] > public class PhoneVO { > public var name:String; > } > --------------------------------------------------- > > - java class in server side > -------------------------------------------------- > public class PhoneVO { > private String name; > } > -------------------------------------------------- > > wrong ? any idea? specifications? beta version? > > By the way, Will I have to purchase FES when I want to use NetConnection > and AbstractService and AMF0. > > Thank you. > Satoshi Yokota > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/