Search the web
Sign In
New User? Sign Up
cairngorm-devel · Cairngorm Developers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Cairngorm 2.2(+) with LiveCycle 2.5 - No Go   Message List  
Reply | Forward Message #186 of 210 |
Hi,

Wonder if anyone might be able to help me...

I've recently started using LCDS2.5 and managed to get a demo app
working, connecting to our app database etc.

I then tried to port our existing app into LCDS, which is a Cairngorm
app, and tried to translate one of the existing web services to a
remoteObject instead - coincidentally (well not really!) the
remoteObject I managed to get working in my 'demo'.

The problem is, however, that the remoteObject never seems to get invoked.

The Services.mxml contains:

<mx:RemoteObject
id="dbService"
destination="database"
showBusyCursor="true">

<mx:method name="executeSQL"/>
</mx:RemoteObject>

And the delegate looks like this:

package com.db.storage.business
{
import mx.rpc.IResponder;
import com.adobe.cairngorm.business.ServiceLocator;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.AbstractOperation;
import mx.rpc.AsyncToken;

public class DSDelegate
{
private var responder:IResponder;
private var service:Object;

public function DSDelegate(responder:IResponder)
{
this.service = ServiceLocator.getInstance().getRemoteObject(
"dbService" );
this.responder = responder;
}

public function executeSQL(query:String):void {
var call:AsyncToken = service.executeSQL( query.toUpperCase() );
call.addResponder( responder );
}
}
}


In debug, the DSDelegate function is invoked and the executeSQL is
also invoked but nothing ever seems to get fired (or, of course,
returned). I don't think the remoteObject is being fired at all since
there's no console message indicating that it is (I have the log set
to show all activity).

The remoting-config.xml is identical to the non-cairngorm demo that
works as is all of the java side code - the only thing that's changed
is that I've tried to introduce Cairngorm to the equation.

I know this is hard to comment on without being closer to the codeline
but I was just hoping someone here would have a suggestion - we
basically have until friday to get this working properly or else we're
going to most likely abandon using LiveCycle Data Services entirely -
our experience so far with the product has been pretty miserable -
this is pretty much the final straw. I'd like to push on with it
because it *should* offer us some nice new functionality, particularly
the ability to produce PDF files displaying flex charts in them - but
there's a limit to how long you can try to keep the flame burning!

So anyway, all help, comments, suggestions etc gratefully received!

Thanks,

Jamie.






Wed Sep 12, 2007 2:19 pm

jamiebadman
Offline Offline
Send Email Send Email

Forward
Message #186 of 210 |
Expand Messages Author Sort by Date

Hi, Wonder if anyone might be able to help me... I've recently started using LCDS2.5 and managed to get a demo app working, connecting to our app database etc....
jamiebadman
Offline Send Email
Sep 12, 2007
2:29 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help