Hi,
   Managed to solve the issue before i could try out your following
suggestion.I deleted my existing flex project (from flex ide and not from
disk) and created an new project.I then imported the contents of the
previous project into the new  project and built the swf. I deployed the swf
in the server and it is now accessible in the remote clients.My guess is
that the properties of the previous project could have got corrupted.
Thank u for ur suggestion.

Shyam


On 9/22/09, rishi narang <[email protected]> wrote:
>
> open the proxy-config.xml of ur blaze ds server, and make change to
> "DefaultHTTP" destination like this
>
>
>  <destination id="DefaultHTTP">
>     <properties>
>         <dynamic-url>
>             *
>         </dynamic-url>
>     </properties>
>     </destination>
>
>
> i hope this will work, make sure u still have the same crossdomain.xml
>
>
> On Tue, Sep 22, 2009 at 12:45 PM, ShyamSundar Ashok <
> [email protected]> wrote:
>
>> In
>> SERVICES-CONFIG.xml
>> ----------------------------------
>> <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
>>             <endpoint url="
>> http://server-ip:8080/blazeds/messagebroker/amf";
>> class="flex.messaging.endpoints.AMFEndpoint"/>
>>             <properties>
>>                 <polling-enabled>false</polling-enabled>
>>             </properties>
>>         </channel-definition>
>>
>>
>>   On 9/22/09, rishi narang <[email protected]> wrote:
>>>
>>> yes, proxy server denies ur request, by the way what is ur endpoint of
>>> remote object?
>>>
>>> On Tue, Sep 22, 2009 at 12:18 PM, ShyamSundar Ashok <
>>> [email protected]> wrote:
>>>
>>>> Have deployed the crossdomain.xml and also cleared the cache before
>>>> running the application again. but i am stiil getting the error..
>>>> My network uses a proxy server for http access could this be a reason
>>>> for this issue?
>>>>
>>>>
>>>> On 9/22/09, rishi narang <[email protected]> wrote:
>>>>>
>>>>> change ur file to look like this and let me know
>>>>>
>>>>> <?xml version="1.0"?>
>>>>> <cross-domain-policy>
>>>>> <allow-access-from domain="*" />
>>>>> </cross-domain-policy>
>>>>>
>>>>> Rishi
>>>>>
>>>>>
>>>>> On Tue, Sep 22, 2009 at 11:31 AM, ShyamSundar Ashok <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> the contents of the crossdomain.xml is as follows:
>>>>>>
>>>>>> <?xml version="1.0"?>
>>>>>> <!DOCTYPE cross-domain-policy SYSTEM "
>>>>>> http://www.adobe.com/xml/dtds/cross-domain-policy.dtd";>
>>>>>> <cross-domain-policy>
>>>>>>  <!--This domain can accept the SOAPAction header from a SWF file from
>>>>>> www.example.com -->
>>>>>> <allow-http-request-headers-from domain="* <http://www.example.com/>"
>>>>>> headers="SOAPAction"/>
>>>>>> </cross-domain-policy>
>>>>>>
>>>>>> I am not sure if this is correct.I have tried giving the IP address of
>>>>>> the server instead of  ' *' .
>>>>>> I have deployed this file under the webapps\ROOT folder of Apache
>>>>>> Tomcat
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 9/22/09, rishi narang <[email protected]> wrote:
>>>>>>>
>>>>>>> can you send the crossdomain.xml file that u r using? and location of
>>>>>>> the same in webserver..
>>>>>>>
>>>>>>> On Tue, Sep 22, 2009 at 10:08 AM, Shyam <[email protected]
>>>>>>> > wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>        I have deployed my flex swf in a tomcat server.I tried
>>>>>>>> accesing the
>>>>>>>> application in a remote client and i got the following message:
>>>>>>>>
>>>>>>>> Channel.Security.Error error Error #2048 url: '
>>>>>>>> http://localhost:8080/
>>>>>>>> blazeds/messagebroker/amf<http://localhost:8080/%0Ablazeds/messagebroker/amf>
>>>>>>>> '
>>>>>>>>
>>>>>>>> The application runs locally in the server where i have deployed the
>>>>>>>> swf of my application.
>>>>>>>>
>>>>>>>> I did some search on the net and came across the following link :
>>>>>>>>
>>>>>>>>
>>>>>>>> http://talsma.tv/post.cfm/flash-9-0-124-and-webservice-over-https-channel-security-error
>>>>>>>>
>>>>>>>> which says that there is an an issue  with Flash version 9.0.124 and
>>>>>>>> this is the version i am using.I have deployed the crossdomain .xml
>>>>>>>> file in my tomcat web server as suggested, but i
>>>>>>>> am still facing the issue.
>>>>>>>>
>>>>>>>> I also read the documentation at
>>>>>>>>
>>>>>>>> http://labs.adobe.com/wiki/index.php/Flex:Accessing_Data
>>>>>>>>
>>>>>>>> which says:
>>>>>>>> When you need to access data from a Flex application, you have three
>>>>>>>> choices:
>>>>>>>>
>>>>>>>> 1.Add a crossdomain.xml file to the server with the data.
>>>>>>>> 2.Upload your SWF file to the same server as the data service.
>>>>>>>> 3.Create a proxy on your server that calls the data service, and put
>>>>>>>> your SWF file on the same server as the proxy.
>>>>>>>>
>>>>>>>> I have tried both 1 and 2 but the issue persists.
>>>>>>>>
>>>>>>>> I also came across a discussion on Flex india community regarding
>>>>>>>> this
>>>>>>>> issue.
>>>>>>>>
>>>>>>>>
>>>>>>>> http://groups.google.com/group/flex_india/browse_thread/thread/3d85dc52ae1f10c0
>>>>>>>>
>>>>>>>> Can somebody who has faced this issue and solved it please guide me?
>>>>>>>> Do i have to change the version of my flash player?
>>>>>>>>
>>>>>>>> Expecting your suggestions.
>>>>>>>>
>>>>>>>> Thanks and Regards
>>>>>>>>
>>>>>>>> Shyam
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> >>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>

--~--~---------~--~----~------------~-------~--~----~
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