开发者

Flex AIR Application Connecting to RemoteObject Through Proxy

开发者 https://www.devze.com 2023-03-02 03:29 出处:网络
I am having some issues trying to make an AIR application connect to a RemoteObject when the application is run in a domain 开发者_开发知识库that has proxy servers for outbound connection.

I am having some issues trying to make an AIR application connect to a RemoteObject when the application is run in a domain 开发者_开发知识库that has proxy servers for outbound connection.

The error provided is as below:

[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://myTestService.org:8080/default/message/amf'"]

Any ideas? I think the proxy server may be preventing the application from accessing the Remote Object. How do I work around this?

Thanks.

Edit: I saw a quite similar post to this: Remoting with AIR

And I did declared the endpoint and destination to my RemoteObject.


In application/WEB-INF/flex/services-config.xml give only relative paths, do not use ip address and port number. You can look here for detail moving to production server

And here send failed error

In your case channel url should be

"/default/message/amf"


Drupal RPC Fault looks to be some what same as your problem and has issues with crossdomain.xml

Do check it.

0

精彩评论

暂无评论...
验证码 换一张
取 消