hi,
 
 
I tried putting the code in the remoting-config. xml which is in C:\fds2\jrun4\ servers\default\ flex\WEB- INF\flex folder....
 
<?xml versionfiltered="1.0" encoding="UTF- 8"?>
<service id="remoting- service"
    class="flex. messaging. services. RemotingService"
    messageTypes= "flex.messaging. messages. RemotingMessage">
<destination id="TechRp" >
<properties>
<source>com.domain.Loginchk</source>
<scope>application</scope>
</properties>
</destination>
    <adapters>
        <adapter-definition id="java-object" class="flex. messaging. services. remoting. adapters. JavaAdapter" default="true" />
    </adapters>
    <default-channels>
        <channel ref="my-amf" />
    </default-channels>
</service>
 
I also used the folowing code in my mxml file
 
<mx:RemoteObject id="LoginCheck" destination="TestRo" fault="Alert.show(event.fault.faultString,'Error')">
<mx:method name="getValid" result="resultHandler(event)"/>
<mx:arguments>
                <symbol>{stockSymbol.text}</symbol>
                <symbol>{password.text}</symbol>
            </mx:arguments>
</mx:RemoteObject>
 
I used this procedure to call the remote object
 
 public function getConnection( ):void{
  LoginCheck.getValid .send(1," xxxx")
  }
 
 
When i run the application i'm getting an error saying that "Send failed"....my class file is in this folder
 
C:\fds2\jrun4\ servers\default\ flex\WEB- INF\classes\ com\domain\
 
 
Please help....
 
Thanks.....


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less. __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to