Expand my Community achievements bar.

JeffreyGong
JeffreyGong
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hi Vyshak,Let your RPC method return a string that is you error messageif the method returns void before -- an empty string meanseverthing is okay. If the RPC method returns an object before, youcan add a field called errText or something to the returningobject.Jeffrey

    Type

    Discussions

    Views

    280

    Likes

    0

    Replies

    1
  • Hi taurivalor,The following link wil be in good helphttp://livedocs.adobe.com/flex/201/html/dataservices_intro_098_2.htmlJeffrey

    Type

    Questions

    Views

    851

    Likes

    0

    Replies

    0
  • Hi taurivalor,It might be a problem by using Tomcat4.1.27. One of theSystem requirements for FDS is Apache Tomcat 5.5.x based on Adobe.Can you run Adobe FDS examples such as http://localhost:8080/samples/sqladmin/sqladmin.mxmlfrom you PC?Jeffrey

    Type

    Questions

    Views

    860

    Likes

    0

    Replies

    0
  • Hi taurivaor,Your remoting-config.xml should have the lines as follows,<destination id="testds"><properties><source>Test3</source><scope>application</scope></properties></destination>Please note that "Test3" replaced "WEB-INF/classes/Test3" forthe source line in your case.Have a try again.Jeffrey

    Type

    Questions

    Views

    857

    Likes

    0

    Replies

    0
  • Hi taurivalor,In ActionScript, it's likero.javaMethod()in mxml, like <mx:RemoteObject id="ro" destination="testds"fault="faultHandler(event)"> <mx:method name="javaMethod"result="resultHander(event)"/> </mx:RemoteObject> in remoting-config.xml, like <destination id="testds"> <properties> <source>tes...

    Type

    Questions

    Views

    848

    Likes

    0

    Replies

    0
  • Hi taurivalor,You may use RemoteObject to call a Java method inside a JavaClass (JavaBean), then let the Java method to connect to LDAP(JNDI).Hope it helps,Jeffrey

    Type

    Questions

    Views

    846

    Likes

    0

    Replies

    0
  • Hi lowroller,I remember I used LocalConnection before. It seemedLocalConnection is an one to one connection -- onle one client canbe connected at the same time. Why not create your swf8 client intoa Flex component so that you can use message service to playmutiple clients simultaneously?Jeffrey

    Type

    Discussions

    Views

    279

    Likes

    0

    Replies

    0
  • Hi Adan,Let addAccount() return a Boolean "true" if it is successful,otherwise, "false". After received "ture" from addAccount(), callgetAccounts().Jeffrey

    Type

    Discussions

    Views

    214

    Likes

    0

    Replies

    1
  • Hi ciwee_ufrj,It is Flex Message Service that sends message to allConsumers(Selected Players)!Using both Flex Message Service and RemoteObject is the wayto do your game.Jeffrey

    Type

    Discussions

    Views

    204

    Likes

    0

    Replies

    0
  • Hi,Create your employee list as "public static" in another Javapublic class. Get/Set the list from/to the public static class inyour RemoteObject instance. This may solve your problem.Jeffrey

    Type

    Discussions

    Views

    326

    Likes

    0

    Replies

    0
Top badges earned by JeffreyGong
Customize the badges you want to showcase on your profile