Java :: Flex - LCDS Service Returning Null Asynctoken When Executed 2nd Time?

Dec 23, 2011

I'm developing a Flex application using RobotLegs, LiveCycle DS & Java.I'm trying to implement an update function, using LCDS, but I'm running into some strange behaviour:This is the ActionScript code within a RobotLegs' execute command, used to perform the update:

var token:AsyncToken = services.requestService.commit(new Array(model.currentRequestDetail));
responder = new AsyncResponder(resultHandler, faultHandler, token);

[code].....

View 2 Replies


Similar Posts:


Flex :: Get The Client's IP Address In An LCDS Service Call?

Aug 30, 2009

I'm trying to find the IP address of a client when they make a particular LCDS service call. Understanding all the issues of getting a "real" IP address and privacy concerns and so on, it is possible to find the client's IP address?

View 3 Replies

Flex :: Configuring LCDS HTTPProxy Service Behind A Firewall

Apr 6, 2010

I have an LCDS server sitting behind a corporate proxy/firewall. I need to use a configured HTTPProxyService on the LCDS server to make requests out to beyond the firewall (can't go directly from the client because of crossdomain.xml issues) How do I configure LCDS to use the corporate proxy on it's outbound requests?

View 2 Replies

Java :: Flex / LCDS: Serializing InputStream As ByteArray Using BeanProxy

Jan 6, 2011

I'm trying to serialize an object which has an InputStream. I need it to arrive on the flex client as a ByteArray.

[Code]...

I've set breakpoints in this code, and I see it being called as expected. However when the object arrives on the client, the input stream is typed as Object, and it contains no properties. What am I doing wrong?

View 1 Replies

Java :: Resources For Advanced LCDS Topics?

Oct 28, 2010

I'm looking to bone up my LCDS knowledge, but find that resources for anything beyond simple examples is lacking.

NIO configuration on LCDS
Configuring LCDS as an Edge server
Configuring LCDS in a cluster, and appropriate fail-over strategies
Advanced assemblers
Strategies for managing high-throughput applications
Advanced JMS integration

View 1 Replies

Java :: Sending Date From Flex To EJB Service?

Dec 8, 2010

I have a ValueObject in Java Source Code with a java.util.Date or java.sql.Date attribute and in Flex-AS3 have a DTO mapped by [RemoteClass] using a Date AS3 Type.When I set a date in Flex with 2010-09-05 format YYYY-MM-DD in DateField component and send it to Java, java shows 2010-09-04 there is a difference of a day from flex to java

I'm using Java EJB Service + GraniteDS + RemoteObject to comunication.

View 1 Replies

Flex 4 :: Front End Connecting To Java Jersey Web Service

May 25, 2010

I created a Java REST service using Jersey. I use three of the HTTP "verbs" GET, POST and DELETE. I want to create several prototype front ends for the service. After much research, a lot dating to 2008 and 2009, I have been unable to find anything remotely simple.My three options are:

1) resthttpservice. This project hasn't been updated in a year. The only activity are one off suggestions that individual users have implemented.URL...

2) Create an AIR application. This isn't unfeasible.

3) Writing my own socket level code but there is a security restriction with flash players and I need to implement a policy server.

I have already read the question posted about asking whether using Flex for REST services were worth it. That information is old as well. I want to introduce REST services to my company but Flex's limited support for HTTP PUT and DELETE are discouraging. My service also uses the Accept header to determine if JSON or XML will be returned to the client. I can't seem to change HTTP headers without doing socket programming.Is there an easy way to use Flex 4 with RESTful services that uses PUT/DELETE and the Accept HTTP header?

View 2 Replies

Java :: Push Data From Service To Flex Clients?

Dec 9, 2010

Since my service, I would like to push data (messaging).

@Service
@RemotingDestination
public class LoginService implements ILoginService
{

[Code]....

With this implementation, nothing to do ... clients receiveid nothing.

So, how I push data from a service like that ? Is it possible ?

View 2 Replies

Java :: Flex 4 Loader Having Status With Data Service

Apr 23, 2011

I have been working on a flex application with java, as i have used Life Cycle Data Service for communication, i wana know, is there any function of flex, where i can see the loading status in percentage, that how much record is being loaded.Problem is, if there is lengthy record, no body comes to know, whats happening with software, like in Comboboxes or Grids, users usually think it as a BUG in application, but ofcourse it is not.I need such graphical loader, which keeps on loading with proper status in percentage, until it receives all data from JAVA (SQL Server).

View 2 Replies

Flex :: Unable To Retrieve Value From Java Web Service Response In It

Sep 21, 2011

I am trying to read data from the java web service from flex mxml/action script, seems like the call i.e request/response is successfully but when unable to read the value from the response[code]...

View 2 Replies

Flex :: Air - Job Scheduling Service Library (similar To Quartz In Java)?

Oct 21, 2010

I am searching for a flex library for job scheduling. I know the Timer API, but this is not exactly what I am searching for. Here is (one of) my usecase for my AIR application:Try to ping to website xyz every 15 minutesEvery first monday of a month try connect to website abcdefgo I am searching for a library like quartz in java, just a small sweet library for executing cron(like) jobs.

View 1 Replies

Java :: Flex Accessing Https Service Of The Same Domain That Swf Is Loaded

Aug 2, 2011

I am developing a flex application with flex 4.1 sdk and java backend (runs on Glassfish 3.1 via http). For security reasons I decided to move my authentication process to https until a session id is obtained. Therefore I changed the filter settings to use ssl for login and logout pages(just two pages due to performance reasons. The data-size sent to client is large and I do not want to slow down the system). Glassfish forwarded these pages to 8181 port (which is HTTPS port). Everything is ok for the java part. However flex defines the 8181 port as a different domain and then problems arise. Due to flash's same-origin policy it cannot load the secured content. Normally a crossdomain.xml is the solution but I am accessing content of the same domain through a different port. What will be the solution ?

View 1 Replies

Java :: Spring/Flex/BlazeDS Messaging Service-adapter Not Called?

Nov 5, 2009

I have attached a service-adapter to a spring message-destination as follows:

<flex:message-destination
id="secured-chat"
send-security-constraint="trusted"

[code]....

View 2 Replies

Flex :: Blazeds Service Time Stats

Oct 8, 2009

I have java remoting services(more then 25) on my (Tomcat BlazeDS)server which are called from my Flex client application.I need to collect stats on them like how much time each service is taking(total time).There are three approaches I can do this in my opinion(may be more)

1) change each service and add timer at beginning and ending.bad practice

2) I can also use AOP but I feel its an over kill for this requirement.over kill

3) servlet Filter. Good option

View 3 Replies

Flex :: HTTPService Going For Timeout Error As Web Service Take More Time To Get Response

Sep 29, 2009

Flex HTTPService giving timeout error as web service take more time to response. Due to large voueme Is there any work around to handle overcome the error

View 2 Replies

Flex :: Make URLLoader Return An AsyncToken?

Dec 24, 2009

I was trying to retrieve binary data over HTTP for my Flex application, and was running into some stumbling blocks. HTTPService did not seem to deal with binary data well, people said to use URLLoader. But URLLoader does not have the nice AsyncToken/IResponder interface that HTTPService provides.

So, I did some searching and could not find anyone extending URLLoader to provide this kind of functionality. I went ahead and took a stab at it myself: [URL].. Basically it wraps a URLLoader and an AsyncToken, and maps the COMPLETE, IO_ERROR, and SECURITY_ERROR events from URLLoader to results/faults that get raised on the AsyncToken.

[Code]...

View 2 Replies

Flex :: AsyncToken For Listening To Alert Box Buttons?

Mar 24, 2012

Can I listen to Alert button click between components using AsyncToken?Basically, I want to have a method that opens an Alert with buttons and have it return an AsyncToken so that other components calling that method can listen for button click.

Example:

var token:AsyncToken=methodThatOpensAlert();
token.addResponder(new mx.rpc.Responder(buttonClick));

View 1 Replies

Flex :: Reduce The Time Request Between Producer (Java) And Consumer (Flex) With JMS Message?

Jul 12, 2010

I have implemented application client-server with spring blazeDs message services using JMS message destination. The idea is a producer declared in Java send message using activeMQ and consumer declared in Flex receives them. I have configured the AMFChannel with a polling interval 0, but I have seen when the consumer subscribes to the destination in Flex, the time request can be of up to 3 seconds.

[Code]....

View 1 Replies

Flex :: Handle Remote Method Calls Via AsyncToken?

May 25, 2011

So here is the mxml i would like to get working:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code]....

View 2 Replies

ActionScript 3.0 :: Song ID3 Is Returning Null

Nov 30, 2009

PHP Code:

var aaa:Sound = new Sound (new URLRequest ("awd awd.mp3"));aaa.play ();trace (aaa.id3.artist);

The song plays but when I try to get the song's artist / album it returns null. I also tried copying the format from live adobe help website but it still returns null.

Also I have 3 songs named 1, 2, and 3 in a folder. I made a playlist type thing and it works fine, the only problem I see is that I would have to rename 30 songs.

View 2 Replies

Java :: Service Browser For AMF Calls ?

Dec 23, 2009

Has anyone used or is aware of a service browser to test AMF calls?I am looking for a tool similar to ZamfBrowser ( http:[url].... ), but one that works for the Java environment.ZamfBrowser is geared towards AMFPHP.The idea here is to provide a service browser, that allows developers to test Java services using the AMF protocol, without having to go through the Flex UI all the time. There has got to be something out there already for this, but I can't seem to locate anything..... It's kind of funny and strange that a service browser exists for AMFPHP but not for regular AMF calls in a Java environment.

I would imagine something exists under Blaze or LCDS? ...Trying to find it in the docs but can't seem to find anything ....The best alternative I can think of at the moment is to use FlexMonkey to record stuff, and then to simulate it using that....which is okay I guess but still sucks because you have to go in and create the Flex UI first, whereas with something like ZamfBrowser, you simply point it at the service calls,it tells the server-side developers if their code works, etc. generates the required as3 classes for you... and makes the integration process much easier in a large team.

View 3 Replies

Flex :: Difference Between Lcds And Fds?

Dec 23, 2009

Just want to clear a very basic doubt am having for quite some time.

Is LCDS and FDS the same

View 1 Replies

ActionScript 2.0 :: NodeValue Returning Null When It Shouldn't?

Oct 4, 2010

Having to do some as2 with an ancient system, and am far from fresh on it. I've managed to bungle my way through most of it, but I've hit a strange logic problem.

Code:
trace(this.firstChild.firstChild.firstChild);
trace(this.firstChild.firstChild.firstChild.nodeName);
trace(this.firstChild.firstChild.firstChild.nodeValue);
produces:

[Code]...

View 3 Replies

ActionScript 3.0 :: Recursive Function Returning Null Value

Feb 7, 2011

I've been trying to implement a QuadTree to store a two-dimensional array representing a terrain. I generate the array first, then I use the below function to generate a QuadTree for the array.

[Code]....

View 5 Replies

Make Real-time Connection Java And Flex?

Jun 10, 2011

I'm still new at Flex. I want to make a flex code that request data to server everytime. I use java as a server. i have successfully generate a linked-list of data at server from asterisk cli command. like this

[Code]....

View 2 Replies

Java - Organization Of Services In Service Layer?

Oct 11, 2011

I have a Java server application with a ton of different entities. So far, each entity top level entity has its own CRUD service. By top level, I mean the root of a tree of entities that can stand alone.

Now I am getting into the heart of my Flex client and find I am needing/writing many different queries. But where best to put these queries?

Say for example, I have a query to find all "foos" based on their associate with a certain "bar". Currently that query is on the "foo" service (findAllByBar), but I am finding that it would be very convenient to have it (also?) in the "bar" service (findFoos). On the other hand, I could also create a query service and lump all the queries in there.

View 2 Replies

Flex :: Material Use To Learn Flex/Air, And With ColdFusion + BlazeDS/LCDS?

Apr 15, 2012

What material did you use to learn Flex/Air itself, and with ColdFusion + BlazeDS/LCDS?

View 7 Replies

Flex :: LCDS Is No Longer Baked In Into CF9

Sep 8, 2009

I've heard somewhere that LCDS is no longer baked in into CF9, and LCDS Express will be phased out, is that true?

If I were to start a new CF8.01 + LCDS Express 2.6 project, what are the risks? Should I abandon that plan and go for BlazeDS instead?

View 4 Replies

ActionScript :: Flex: Why Are The ApplyResult And ApplyFault Methods Of AsyncToken Marked Mx_internal

Oct 21, 2009

As the title suggests, why are the applyResult and applyFault methods of AsyncToken marked mx_internal?There have been a few times that I would have liked to use AsyncToken in my code, but I've ended up re-writing it because I don't want to force clients to use namespace mx_internal.

View 1 Replies

Referencing Symbol On Stage - GetChildByName Returning Null

Sep 8, 2010

I have just recently started playing around with AS3 and am pretty new to what is going on in Flash (though I do have a lot of programming experience.) I have an object that I am dragging around on the mouse. I want it to be destroyed if I drop it anywhere but in a target location. I have the part where it is destroyed working, but I am running into a problem trying to find the target. When I try the following...

PHP Code:
public function DropObject(){
if (! this.hitTestObject(stage.getChildByName("Target"))){
stage.removeChild(droppedObject);
stage.removeEventListener(MouseEvent.MOUSE_MOVE,droppedObject.MouseCursorMove);
}}

I get "TypeError: Error #2007: Parameter hitTestObject must be non-null." So, "getChildByName" is returning null, but I'm not sure why. I've verified that there is an Instance name of the Target on the stage. Why can't I find it?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved