blazeds

How to overcome “No destination with id '<destination id>' is registered with any service”

牧云@^-^@ 提交于 2021-02-10 18:10:12
问题 I am looking for suggestion about the error called "No destination with id '<destination id>' is registered with any service." this error is coming when I try to connect the remote method in Java from flex. 回答1: I suppose you have not synchronized your remoting-config.xml of server and client version. The server version just hasn't this destination there. 回答2: The solution for "No destination with id '' is registered with any service" problem is that you have to make sure your destination

Servlet spring-servlet is not available (Spring+BlazeDS Integration)

妖精的绣舞 提交于 2020-01-15 09:21:29
问题 I'm trying to setup a Flex project using the Spring + BlazeDS integration by working through the refcard kindly posted by James Ward on refcards.dzone.com. Some problems/challenges are sticking their heads out. The Tomcat deployment is going well, all the files are on the server and I can summon main.swf through the browser. I get the following ActionScript exception when trying to make the AMF request to Spring/BlazeDS: RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend"

Spring MVC: RESTful web services + BlazeDS integration possible in the same web application?

我们两清 提交于 2020-01-14 14:07:33
问题 I have a Spring MVC web application which provides RESTful web services via a controller class (annotated with @Controller) which has methods mapped to specific request types and signatures via @RequestMapping annotations. I have attempted to integrate a BlazeDS service destination into the mix by 1) adding the HttpFlexSession listener to the web.xml, 2) adding the flex:message-broker and flex:remoting-destination declarations to my Spring application context configuration file, and 3) adding

Spring MVC: RESTful web services + BlazeDS integration possible in the same web application?

一个人想着一个人 提交于 2020-01-14 14:05:46
问题 I have a Spring MVC web application which provides RESTful web services via a controller class (annotated with @Controller) which has methods mapped to specific request types and signatures via @RequestMapping annotations. I have attempted to integrate a BlazeDS service destination into the mix by 1) adding the HttpFlexSession listener to the web.xml, 2) adding the flex:message-broker and flex:remoting-destination declarations to my Spring application context configuration file, and 3) adding

BlazeDS Messaging Channel.Connect.Failed Error

随声附和 提交于 2020-01-06 08:21:42
问题 I searched through the internet and any answer for this error could not solved my problem. I have a blazeds server in Openshift and I'm connecting to it via Flash Builder. I want to make an app that will send a message to all other users who are using my app. I mean I have 2 applications. One will send a message to server and this one will be on Desktop, the other one is a mobile project and will receive messages that I sent from desktop app through server. I tried to use BlazeDS messaging

Passing Parameters from flex to database using java

寵の児 提交于 2020-01-06 05:15:07
问题 I am facing one problem when am trying to insert values from flex(frontend) to database(backend).No problem in blazeds connection.I think problem is with java code.Anyway am pasting both java and flex code.Please let me know how to insert values into database.I am not well in java.So i tried a lot to solve this issue. My Flex code is: <fx:Script> <![CDATA[ import mx.controls.Alert; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; import mx.utils.ObjectUtil; private function

Flex Messaging Security

五迷三道 提交于 2020-01-01 19:37:22
问题 I'm trying to create a module for a flex application, and I want to send notifications to clients. I've been looking at the BlazeDS messaging service to push out the notifications to clients, but I want to be able to send certain updates to certain clients. The Flex notification framework doesn't seem to allow this - if we have a field in the message with a value of the user's user id for example, any client could theoretically subscribe to all messages for any given user id, and there's no

Connecting multiple flex clients to a single java class

ε祈祈猫儿з 提交于 2019-12-25 07:46:46
问题 I have a multi-user application consisting of a flex client and blazeds/Spring/java backend - I have the main elements working fine ie. sending messages to destination, consuming and producing. Flex clients are able to send and retrieve a string from this class no problem. What I want to do is to have the 2 clients with access to the same variable..in this crude sample I'm sending a guid from each swf which I append to a string _players server side. What happens is when I launch Swf A, it

spring blazeds integration: IllegalArgumentException: ServletContext must not be null

南笙酒味 提交于 2019-12-25 03:37:12
问题 I am trying to get dpHibernate 2.0 RC6 running on an Apache Tomcat 7.0.12 with BlazeDS 4.0.0.14931, Spring 3.0.5 and Spring-BlazeDS-Integration 1.5.0.M2 I got pretty far with my configuration, the services are parsed fine, annotation based Entities and Datamodel are good, I can list the services in FlashBuilder DCD, but as soon as I am calling a service method (just a simple void method) the server returns following Exception. Not really sure where in my configuration I could have missed