it shows the error as data sending failed.but now i create separate project
it is working fine but i cant get result.
Actually my task is to open notepad from java function that should be called
from flex button click.
In Separate java it is working fine. but when i call from flex the notepad
is not opened.
but if i want to return something from java method, that will return value .
but notepad is not opened what i the problem in that could please help me

Thanks&Regards,
Gerald A

On Sat, Nov 27, 2010 at 9:12 PM, Jitendra Jain <
[email protected]> wrote:

> Hi,
>
> Could you please paste the whole stack trace. Also make sure for every Java
> Object there should be corresponding Flex Object. It should be mapped with
> destination id.
>
> Thanks and Regards,
> Jitendra Jain
>
>
> On Sat, Nov 27, 2010 at 12:17 PM, Gerald Anto 
> <[email protected]>wrote:
>
>>
>> my flex java(Blaze ds) is working fine.
>> now i new  mxml and java class.
>> how to configure remoting-config.xml file for this java class.
>> else i have to create new another  remoting-config.xml file.
>>
>> the followig is my remoting-config.xml for first application
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>> <service id="remoting-service"
>>
>> class="flex.messaging.services.RemotingService">
>>
>> <adapters>
>> <adapter-definition id="java-object"
>> class="flex.messaging.services.remoting.adapters.JavaAdapter"
>> default="true"/>
>> </adapters>
>>
>> <default-channels>
>> <channel ref="my-amf"/>
>> </default-channels>
>>
>> <destination id="CreatingRpc">
>> <properties>
>> <source>com.adobe.remoteobjects.RemoteServiceHandler</source>
>> <scope>application</scope>
>> </properties>
>> <adapter ref="java-object"/>
>> </destination>
>>
>> </service>
>>
>> now i add the following for second java class
>>
>> <!--
>> <destination id="opentool">
>> <properties>
>> <source>com.adobe.remoteobjects.OpenTool</source>
>> <scope>application</scope>
>> </properties>
>> <adapter ref="java-object"/>
>> </destination>
>> -->
>> but it shows sending failed error .please help me how to configure for
>> second class
>>
>> Thanks&Regards,
>> Gerald A
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>>
>
>
> --
> Thanks and Regards,
> JJain,
>
>    If you have knowledge, let others light their candles in it --Margaret
> Fuller:
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>



-- 
Thanks & Regards,
A  Gerald

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to