RE: [flexcoders] Re: LCDS and channel usage

2008-05-16 Thread Seth Hodgson
, Robert --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: Hi Robert, Chances are you're trying to use DataService with auto-sync enabled over an AMFChannel that doesn't have polling enabled; if that's the case you won't receive any pushed updates. Auto-sync can

RE: [flexcoders] The BlazeDS server ?

2008-05-16 Thread Seth Hodgson
If you're running ColdFusion I believe it bundles support for RemoteObject so you should be all set. BlazeDS lets you hook your Flex client up to a Java app server, and server-side Java resources, for those who aren't running ColdFusion. Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Is the context-root value burnt into SWF?

2008-05-16 Thread Seth Hodgson
A context root is a Java servlet-ism, which allows the container to route incoming requests to the correct web app. In HTML-land if you're using relative URLs, you generally never have to worry about this because the right value will be used automatically. It's a little more complicated for a

RE: [flexcoders] Re: Is the context-root value burnt into SWF?

2008-05-16 Thread Seth Hodgson
html wrappers. Robert --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: A context root is a Java servlet-ism, which allows the container to route incoming requests to the correct web app. In HTML-land if you're using relative URLs, you generally never have to worry about

RE: [flexcoders] Re: LCDS and channel usage

2008-05-16 Thread Seth Hodgson
2:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: LCDS and channel usage Do you know why the template LCDS WAR uses RTMP channel in data-management-config.xml and the AMF one in remoting-config.xml? Thanks, Robert --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED

RE: [flexcoders] Flex Messaging Service + Drag and Drop List Component

2008-05-15 Thread Seth Hodgson
You can put anything you like into the body, or headers, of an AsyncMessage; a string, a number, an anonymous Object, a typed Object (if you use a typed Object be sure to tag it with [RemoteClass] metadata). You can control which subscribed Consumers receive the message by using the

RE: [flexcoders] Re: Problem with RTMP

2008-05-15 Thread Seth Hodgson
Alternately, you can build your Channels and ChannelSet in ActionScript as your app starts up and assign that to your components (e.g. RemoteObject, DataService, etc.). If you do this you either need to hardcode URLs for your server (or servers in a cluster) into your code, or make a request

RE: [flexcoders] RTMP port 2038

2008-05-15 Thread Seth Hodgson
Create your RTMPChannel in ActionScript and assign it to your components for use. When you want to change its URL, invoke disconnectAll() on your ChannelSet, update your RTMPChannel's URL, and reconnect (by making a remoting call, issuing a DataService fill, etc.) I'm not sure what the use

RE: [flexcoders] Re: RPC Fault, Error #1088 when receiving SOAP response with MTOM enabled

2008-05-15 Thread Seth Hodgson
receiving SOAP response with MTOM enabled   The issue had been logged logged a while back: https://bugs.adobe.com/jira/browse/SDK-12723 How many votes does it need to get fixed? Thanks, Robert --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: No SOAP attachment

RE: [flexcoders] Flex Messaging Service + Drag and Drop List Component

2008-05-15 Thread Seth Hodgson
(event:MessageEvent):void             {                 //WHAT DO I DO HERE?                             } -- Jeffrey On Thu, May 15, 2008 at 3:14 PM, Seth Hodgson [EMAIL PROTECTED] wrote: You can put anything you like into the body, or headers, of an AsyncMessage; a string, a number, an anonymous

RE: [flexcoders] Re: Sending data to the Server

2008-05-14 Thread Seth Hodgson
chart class maps fine from java to actionscript, even though I have no setter methods in it, only get methods. I have only two variables there: a String, and an ArrayList. --- In flexcoders@yahoogroups.com, Seth Hodgson shodgson@ wrote: Make sure your classes adhere to AMF

RE: [flexcoders] Re: Authentication against a RESTful web service

2008-05-14 Thread Seth Hodgson
again! --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: Aside from auth challenges, in case you're not aware, the Player can not issue PUT, DELETE or HEAD requests due to limitations in the browser APIs that it uses for HTTP support, as well as security considerations

RE: [flexcoders] Re: Sending data to the Server

2008-05-12 Thread Seth Hodgson
; //import mx.controls.Image; public String name; public ArrayList axisList; public ArrayList getAxisList() { return axisList; } --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: You can send any type of data as the body of a message. If you want to send an instance of a typed

RE: [flexcoders] Authentication against a RESTful web service

2008-05-12 Thread Seth Hodgson
Aside from auth challenges, in case you're not aware, the Player can not issue PUT, DELETE or HEAD requests due to limitations in the browser APIs that it uses for HTTP support, as well as security considerations. Setting request headers also presents some challenges due to security issues, and

RE: [flexcoders] Re: RPC Fault, Error #1088 when receiving SOAP response with MTOM enabled

2008-05-12 Thread Seth Hodgson
No SOAP attachment specifications are currently supported; if an enhancement request hasn't been logged, go ahead and log one. Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Csiki Sent: Monday, May 12, 2008 3:42 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] BlazeDS streaming AMF question

2008-05-09 Thread Seth Hodgson
Hi Justin, That debug message is output when a request to open a stream is received from a remote client, but no valid FlexClient instance representing the swf exists on the server. When this happens, an HTTP 400 (BAD_REQUEST) is returned. If this is consistently reproducible for you would you

RE: [flexcoders] Blaze messaging how to detect when server is down

2008-05-09 Thread Seth Hodgson
The Consumer component provides bindable 'connected' and 'subscribed' properties. The underlying ChannelSet that the Consumer uses to connect to the server also exposes a bindable 'connected' property. A loss of connectivity may surface as either a ChannelFaultEvent or a ChannelEvent (of type

RE: [flexcoders] Sending data to the Server

2008-05-09 Thread Seth Hodgson
You can send any type of data as the body of a message. If you want to send an instance of a typed class, be sure to include [RemoteClass(alias=your.java.Class)] metadata in your ActionScript class so that the Player serializes it with type info and the server can deserialize it to your

RE: [flexcoders] Re: RTMP vs AMF

2008-05-06 Thread Seth Hodgson
And if you're more interested in channel behavior versus raw protocol details, there's a short summary of the various channels and their respective pros and cons here: http://www.dcooper.org/blog/client/index.cfm?mode=entryentry=8E1439AD-4E22-1671-58710DD528E9C2E7 Seth From:

RE: [flexcoders] Switching between RTMP and HTTP

2008-05-02 Thread Seth Hodgson
Hi Shailesh, 1. Channel fallback through the channels in your client-side ChannelSet wraps (meaning if RTMP fails you'll fall back to HTTP, and if that fails you'll wrap back around to RTMP). Once your ChannelSet falls back to a different channel, it doesn't attempt to automatically detect

RE: [flexcoders] Dual DataService components causing problems

2008-05-02 Thread Seth Hodgson
Hi Barry, You need to only link the classes defined in fds.swc into your root application swf, and your modules need to rely on those class definitions rather than each of them individually containing duplicate class defs from fds.swc. I'm not a modules guru, but take a look at the

RE: [flexcoders] Re: Flex + LCDS + JAVA do I compile the java classes?

2008-04-04 Thread Seth Hodgson
She was referring to your own class (drop the .jar) that you're trying to compile. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexuser1 Sent: Friday, April 04, 2008 2:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex + LCDS + JAVA

RE: [flexcoders] same code works for flex 2 but not for flex 3 web service call

2008-03-24 Thread Seth Hodgson
Hi Wayne, Lots of work was done between Flex 2 and 3 on web service handling by some folks on the team that resolved many issues. Unfortunately, the XML Schema, WSDL and SOAP specs across their various versions along with the number of server-side web service stacks makes exhaustive regression

RE: [flexcoders] blazeds and oc4j

2008-03-11 Thread Seth Hodgson
The java.lang:type=ClassLoading MBean is not something that BlazeDS attempts to access explicitely. Can you provide a full exception stack trace? Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Tuesday, March 11,

RE: [flexcoders] Error: channel not found for reference 'my-http'

2008-03-11 Thread Seth Hodgson
Check the Problems tab in FlexBuilder, and make sure your app is successfully compiling against your referenced configuration files. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nayan Savla Sent: Tuesday, March 11, 2008

RE: [flexcoders] Re: Flex 2 - 3 migration problems

2008-03-06 Thread Seth Hodgson
Hi Dmitri, I just ran a quick test locally using an HTTPService to send an XML instance and it went out as the body of the post fine. E.g. mx:HTTPService id=testService url=http://localhost:8400/...; method=post contentType=application/xml useProxy=false/ ... and later ... var x:XML =

RE: [flexcoders] Re: Flex 2 - 3 migration problems

2008-03-06 Thread Seth Hodgson
://mitek.id.au/flex/HTTPService/TestFlex3.mxml http://mitek.id.au/flex/HTTPService/test.php http://mitek.id.au/flex/HTTPService/test.php This works in Flex2, and it doesn't work in Flex3. Dmitri. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Seth Hodgson [EMAIL

RE: [flexcoders] Async (no response) Soap with Flex?

2008-02-11 Thread Seth Hodgson
Hi Josh, The Flex client web service code expects the response to contain a SOAP Envelope. Any empty 200 OK response with a Content-Length of 0 will trigger an error. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh

RE: [flexcoders] DataGrid limit on amount of records or data?

2008-02-10 Thread Seth Hodgson
What type of channel/endpoint are you using between the client and server? If you're using RTMP, that protocol currently has a maximum underlying chunk size of 10M. If you're trying to return more than this amount of data in a single result the player will actually terminate the connection. AMF

RE: [flexcoders] Re: issues with multiple module and HTTPService

2008-02-09 Thread Seth Hodgson
can I know when module is completely loading and ready to load the next one. Is there any event that I can listen to when the module completely loads?? Thanks --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Seth Hodgson [EMAIL PROTECTED] wrote: Have you defined a useProxy

RE: [flexcoders] RPC: AsyncToken.addResponder vs addEventListener?

2008-02-08 Thread Seth Hodgson
Originally the only option was to register a general result or fault event handler at the service component level or method level. That's OK if you either don't need any extra context when you handle the result or fault or if you want to manually store some call context on the returned token and

RE: [flexcoders] a Flex based viewer of JMS topics on Sonic

2008-02-08 Thread Seth Hodgson
Assuming your Sonic server has Java APIs to query for this information, you can override the AbstractBootstrapService in BlazeDS or LCDS and register your class in the services block of services-config.xml. Override the initialize(), start() and stop() methods. In your initialize() impl, you'd

RE: [flexcoders] Re: HTTPService or URLRequest Request header Question

2008-02-08 Thread Seth Hodgson
Use the proxy service that ships in BlazeDS and LCDS for your Http requests. There are a variety of browser hacks related to Http headers (which in some cases also impact SOAP web services), and the player is likely to get more restrictive in this area rather than less. This generally has more

RE: [flexcoders] Re: a Flex based viewer of JMS topics on Sonic

2008-02-08 Thread Seth Hodgson
have come with it. We've got FDS so I assume that's the same as using the LCDS? Christine --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Seth Hodgson [EMAIL PROTECTED] wrote: Assuming your Sonic server has Java APIs to query for this information, you can override

RE: [flexcoders] issues with multiple module and HTTPService

2008-02-08 Thread Seth Hodgson
Are these proxied or non-proxied HTTPServices? If proxied, you need to use a shared set of destinations and channels defined in your root swf currently. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ezderman Sent: Friday,

RE: [flexcoders]

2008-02-01 Thread Seth Hodgson
For auto-synchronized data sets across multiple Flex clients, it's simplest to use the Data Management Service in LiveCycle Data Services in auto-sync mode. There's nothing else out there that provides that functionality out of the box. If you're OK with just doing CRUD style interactions with

RE: [flexcoders] RemoteObject call...No Result Handler: performance question

2008-02-01 Thread Seth Hodgson
When you invoke a RemoteObject, it's going to send a request via HTTP to your server which will do some processing. Regardless of whether your server returns a result or not, an HTTP response must be returned to the browser/player. That'll be parsed by the browser networking stack, passed into the

RE: [flexcoders] Proxying RMPTS in a DMZ

2008-02-01 Thread Seth Hodgson
There's no way to load balance both AMF (sticky HTTPS with cookies) and direct RTMPS socket connections from a swf to the same backing application server. I'd recommend sticking to all HTTPS communication between the client and server or all RTMPS. There's nothing preventing the client from

RE: [flexcoders] Invalid login with LCDS RemoteObject custom authentication

2008-02-01 Thread Seth Hodgson
Hi Rod, What's the specific error you're hitting (either on the client or recorded in your server logs)? Have you tried defining your security-constraint at the top level in services-config.xml, and then just referencing it from your destination? Best, Seth

RE: [flexcoders] LCDS and log4J

2008-02-01 Thread Seth Hodgson
I think that the logging system in LCDS was originally put in to explicitly avoid issues with using log4j in shared deployment environments that the JRun team often ran into due to different web apps or libraries bundling different, and apparently non-compatible, log4j releases or configuration

RE: [flexcoders] Re: Use message.clientID to access same session?

2008-01-25 Thread Seth Hodgson
Sent: Friday, January 25, 2008 5:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Use message.clientID to access same session? Thanks Seth. To see the headers coming back, does useProxy have to be set to True? --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote

RE: [flexcoders] Webservice, SOAP, SSL and BasicAuthentication

2008-01-24 Thread Seth Hodgson
Hi Christoph, If you take a close look at the error on the client it states: 'Destination 'dataElements' has no channels defined and the application does not define any default channels.' When you compile your swf with a -services flag, a portion of your services-config.xml info is injected

RE: [flexcoders] Re: Failure to access a WSDL file from Flex's WebService class over HTTPS on IE

2008-01-24 Thread Seth Hodgson
'); ? This didn't solve the problem... is this what you suggested? Thanks, Eyal --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: This is due to a long-standing IE bug with HTTPS and cache-related response headers. If you're not routing your web service invocations

RE: [flexcoders] Re: LCDS Paging error and connection management in DataServices. Advice?

2008-01-24 Thread Seth Hodgson
Hi Kevin, DataService exposes a bindable 'connected' property that lets you know whether its underlying channel to the server is up or not. If it's not up, DataService will attempt to reconnect indefinitely. You should watch the 'connected' property and let the user know when they've lost

RE: [flexcoders] Use message.clientID to access same session?

2008-01-24 Thread Seth Hodgson
The clientId value identifies a Producer or Consumer instance on the client that is either sending or receiving messages. RPC-related components such as WebService use the core messaging layer under the hood. I'd recommend against using clientId in your scenario. Most session-based web service

RE: [flexcoders] Re: LCDS Paging error and connection management in DataServices. Advice?

2008-01-24 Thread Seth Hodgson
has handled all these connection/disconnection issues in DMS. It seems like there is a fair amount to try to keep track of with these type of connections vs a simple asynchronous call. Thanks, Kevin --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: Hi Kevin, DataService

RE: [flexcoders] Re: LCDS Paging error and connection management in DataServices. Advice?

2008-01-24 Thread Seth Hodgson
asynchronous call. Thanks, Kevin --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: Hi Kevin, DataService exposes a bindable 'connected' property that lets you know whether its underlying channel to the server is up or not. If it's not up, DataService will attempt

RE: [flexcoders] Re: Hibernate..

2008-01-22 Thread Seth Hodgson
-tier architecture) 2) FDS communicating with Hibernate using RemoteObject service. (server side model - three tier architecture). The parameters we are looking in the above two options are performance scalability. Thanks, --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote

RE: [flexcoders] Re: Flex Messaging + CF8 with embedded LC integration question

2008-01-21 Thread Seth Hodgson
The {server.name} and {server.port} tokens are a shortcut you can use if your swf is loaded and runs in a browser. At runtime on the client these values are swapped out based upon the URL for your swf. You can never use a {server.port} token for an RTMP URL; you need to use an explicit port.

RE: [flexcoders] Flex server sockets?

2008-01-21 Thread Seth Hodgson
The Flash Socket API doesn't support binding a port to accept TCP connections or UDP datagrams on. So you can stop work on your AIR FTP client or HTTP server for now :) Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David

RE: [flexcoders] FDS Logging on Ubuntu 7.10

2008-01-18 Thread Seth Hodgson
Hi Adnan, You can use one of two possible target classes for logging on the server. These are: 1. flex.messaging.log.ConsoleTarget - logs to System.out 2. flex.messaging.log.ServletLogTarget - logs to the servlet logger and these log entries end up in your container's log files Try using the

RE: [flexcoders] Re: Hibernate..

2008-01-18 Thread Seth Hodgson
, which approach is better for performance and transactions. Flex Data Management Services Vs Hibernate. Apprecite your help. --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: If you have an existing server-side domain model and are using Hibernate use

RE: [flexcoders] Flex Messaging + CF8 with embedded LC integration question

2008-01-18 Thread Seth Hodgson
Based upon your channel id, 'cf-rtmp', you're using an RTMP channel/endpoint. If the client's connect attempt is failing, this is generally because the endpoint isn't running so there's nothing for the client to connect to. Make sure you have logging enabled in your services-config.xml file on

RE: [flexcoders] Hibernate..

2008-01-18 Thread Seth Hodgson
If you have an existing server-side domain model and are using Hibernate use the HibernateAssembler. If you don't have any current server-side code and just want to expose some tables in your database to clients use the SQLAssembler. It really comes down to whether it makes sense for your

RE: [flexcoders] FDS/Glassfish

2008-01-18 Thread Seth Hodgson
As Tom states - Glassfish isn't on our list of officially supported app servers. But FDS, now LCDS, or BlazeDS (a free product containing a subset of the functionality in LCDS) deploys as a Java web app, or can be merged into an existing web app and should run fine on Glassfish. BlazeDS contains

RE: [flexcoders] FDS/Glassfish

2008-01-18 Thread Seth Hodgson
As Tom states - Glassfish isn't on our list of officially supported app servers. But FDS, now LCDS, or BlazeDS (a free product containing a subset of the functionality in LCDS) deploys as a Java web app, or can be merged into an existing web app and should run fine on Glassfish. BlazeDS contains

RE: [flexcoders] Failure to access a WSDL file from Flex's WebService class over HTTPS on IE

2008-01-17 Thread Seth Hodgson
This is due to a long-standing IE bug with HTTPS and cache-related response headers. If you're not routing your web service invocations through the LCDS or BlazeDS proxy service, you'll need to tweak your application server to tweak the response headers related to caching if the user agent

RE: [flexcoders] Error #2038: File I/O Error when uploading file

2008-01-14 Thread Seth Hodgson
Use a network sniffer to monitor the Http traffic for you upload and the Http response. The plugin API exposed by Firefox doesn't provide any useful Http error information to the player in many situations, and when this happens the player dispatches a generic 2038 error which is the best it can do

RE: [flexcoders] LCDS AMF call not firing result events, busycursor does not go away

2008-01-14 Thread Seth Hodgson
The busy cursor is set when a RemoteObject operation is invoked using CursorManager.setBusyCursor(). It's removed when a result or fault for the invocation is returned, via a call to CursorManager.removeBusyCursor(). If you're not receiving a result or fault event, that would explain why the

RE: [flexcoders] Managing (http)session data from java code

2008-01-14 Thread Seth Hodgson
An HttpRequest object is only valid within the context of a Servlet servicing a specific request. You probably don't want to hang onto this instance, and it will only be non-null in FlexContext while a request is being processed. That's try of all the getters on FlexContext; their state is valid

RE: [flexcoders] LCDS AMF call not firing result events,busycursor does not go away

2008-01-14 Thread Seth Hodgson
that most of the time, this does work correctly, it's most likely a network issue (for one reason or another), right? Or can you think of other possible causes? Thanks, -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Seth Hodgson [EMAIL PROTECTED] Reply

RE: [flexcoders] Problem with post

2007-05-15 Thread Seth Hodgson
Take a look at the ASDoc comments for HTTPService.send(). The method requires that you pass an XML instance or an anonymous Object of name-value pairs to form encode. Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy

RE: [flexcoders] flash remoting documentation

2007-05-15 Thread Seth Hodgson
Hi Derrick, What is your application doing when you receive this? Also, are you running on JRun using its integrated HTTP 1.0 web server? Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Derrick Anderson Sent: Tuesday, May

RE: [flexcoders] Channel.Polling.Error - Using DataService with AtuoCommit and AtutoSync

2007-05-02 Thread Seth Hodgson
Hi Parker, What version are you running? A channel polling error is generally caused by two things: 1. The server endpoint was unreachable (possible but unlikely). 2. Your data service destination may have a session or subscription timeout value defined in which case the polling channel may be

RE: [flexcoders] Does Flex provides support for WS-Notification?

2007-04-02 Thread Seth Hodgson
The Flex web service library does not currently support WS-Notification. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Hitesh Raghav Sent: Monday, April 02, 2007 6:57 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] FDS sitting behind SSL accelerator

2007-03-27 Thread Seth Hodgson
Hi, First, I'd recommend grabbing the 2.5 beta release on labs which supports this deployment more naturally than the 2.0.1 release. If you're using HTTP based channels you'd want to define your channel definition like so: channel-definition id=my-secure-http

RE: [flexcoders] RemoteObject - request timeout

2007-02-26 Thread Seth Hodgson
The requestTimeout property triggers the component (a RemoteObject in this case) to give up waiting for a result or fault response from the remote server and generates a fault locally on the client. So you'll be able to handle this in your general fault handler and you can watch for these;

RE: [flexcoders] Upgrade to 2.01 causes an exception

2007-01-08 Thread Seth Hodgson
Hi Mark, That should be an intermittent problem. If the Flash Player is force quite (due to a crash, force quiting your browser in Windows Task Manager, or possibly stopping a debug session in FlexBuilder) a LocalConnection may be orphaned in shared memory. When this happens, if you restart your

RE: [flexcoders] Secure RTMP on Websphere 5.1 and 5.1.1

2006-12-19 Thread Seth Hodgson
Hi, Two things: 1. I checked with the developer who worked on the Websphere RTMP support and was told that version 6 is supported, below that isn't explicitly. However, if things are working for you on 5.1/5.1.1 without configuring a WorkManager you wouldn't need to do anything differently

RE: [flexcoders] Re: role based security vs session based security with a servlet container

2006-11-30 Thread Seth Hodgson
on the FDS side as to how to integrate such things. Thx, Jamie --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: Hi Hank, How do you do your logins now against your account database? You're not using general J2EE auth? Role based security in FDS just wraps the existing

RE: [flexcoders] role based security vs session based security with a servlet container

2006-11-29 Thread Seth Hodgson
Hi Hank, How do you do your logins now against your account database? You're not using general J2EE auth? Role based security in FDS just wraps the existing J2EE auth machinery provided by your app server. You can code your login UI in your Flex app and before any calls or data exchange are

RE: [flexcoders] role based security vs session based security with a servlet container

2006-11-29 Thread Seth Hodgson
sparse. So are flexcoders just not using FDS or are they not using Authentication, or is everyone who is doing this just so much more knowledgeable than me so no discussion anywhere on the net or on this mailing list is required? Hank On 11/29/06, Seth Hodgson [EMAIL PROTECTED] wrote: Hi Hank

RE: [flexcoders] Re: FDS clustering - please help

2006-11-27 Thread Seth Hodgson
--- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: Hi Dmitry, Jimmy responded with the configuration he and Stacy used for a UDP based JGroups configuration. In the TCP case for your second question you'd specify initial_hosts using your internal server IPs/names

RE: [flexcoders] Multiple JMS Consumers... Efficient?

2006-11-27 Thread Seth Hodgson
Hi Samus, Currently every subscription creates a JMS consumer proxy on the server. To make things more efficient in your case you could use a single Consumer with a selector expression that will filter for data relevant to all panels being displayed and you'd do a bit of work when you receive

RE: [flexcoders] FDS not receiving calls asynchronously

2006-11-19 Thread Seth Hodgson
If you want asynchronous processing on the backend for your requests I'd recommend taking a look at the JMS adapter. Rather than making a RemoteObject call you'd send your requests to the server using a Producer and listen for async results using a Consumer. You'd want to use an inbound request

RE: [flexcoders] problem finding mx.data package in FDS

2006-11-07 Thread Seth Hodgson
Hi MZ, You need to compile against the enterprise.swc that ships with FDS. HTH, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of michel.zaouia Sent: Tuesday, November 07, 2006 6:12 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Flex Messaging Gateway

2006-11-07 Thread Seth Hodgson
Hi Tom, You need to make sure you've configured the Flex Messaging Gateway on the CF side with the correct IP address of the Flex server. That config file lives at: CFDir/gateway/config/flex-message-gateway.cfg The 'host' and 'allowedIPs' settings are only optional when both CF and FDS are

RE: [flexcoders] custom Message Service adapter

2006-11-03 Thread Seth Hodgson
PROTECTED] On Behalf Of Seth Hodgson Sent: Tuesday, October 31, 2006 2:04 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] custom Message Service adapter Hi Ryan, Are message headers and Consumer selectors, or subtopics (http://www.adobe.com/cfusion/knowledgebase/index.cfm?id

RE: [flexcoders] httpservice method=DELETE does not work

2006-11-03 Thread Seth Hodgson
Hi Brian, The Flash player only currently supports GET and POST requests (and converts any POST request with a zero length body or any unrecognized request method to a GET). PUT and DELETE are not supported. For HTTPService you can get around this limitation if your HTTPService has

RE: [flexcoders] Re: httpservice method=DELETE does not work

2006-11-03 Thread Seth Hodgson
have the option of spending $20K per CPU for FDS just to get REST support. Thanks, Brian --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: Hi Brian, The Flash player only currently supports GET and POST requests (and converts any POST request with a zero length

RE: [flexcoders] custom Message Service adapter

2006-10-31 Thread Seth Hodgson
Hi Ryan, Are message headers and Consumer selectors, or subtopics (http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=8f1eb6ea) insufficient to manage message routing for your use case? You should be able to use either of these approaches to 'filter out' certain subscribed clients from

RE: [flexcoders] Question concerning flex.messaging.FlexFactory

2006-10-30 Thread Seth Hodgson
Hi Dirk, The FlexFactory lookup() method is called for every method invocation. Support for scopes (app/session/request) is optional and this is why lookup() is always called on FlexFactory and FlexFactoryInstance. The instance you're looking up could be stored in a way that doesn't use J2EE

RE: [flexcoders] Re: DataService-ArrayCollectionissue

2006-10-25 Thread Seth Hodgson
In Flash there's no way to block or wait for a network operation to complete. The sooner you surrender to listening on events or using responders the happier you'll be ;) It's definitely a paradigm shift for folks coming from Java or other languages that support synchronous/blocking

RE: [flexcoders] Questions about RTMP ports and channel definitions

2006-10-24 Thread Seth Hodgson
Hi Douglas, The answer is no. The server name and port you use will be the same for all web apps deployed in your servlet container (app server). What will differ is the context root portion of the URI (this is what the container uses to route an inbound request to the target web app). As

RE: [flexcoders] Questions about RTMP ports and channel definitions

2006-10-24 Thread Seth Hodgson
a while... But if it does make sense, wouldn't it make sense for me to do it on my own, now? Select an unregistered range of ports, and use them? Thanks, Douglas Seth Hodgson wrote: Hi Douglas, The answer is no. The server name and port you use will be the same for all web apps deployed

RE: [flexcoders] SOAP Web Services and registerClassAlias

2006-10-04 Thread Seth Hodgson
Hi Paul, registerClassAlias(...) is used by the Flash Player to drive AMF serialization/deserialization. In the web service scenario, you're not getting back AMF formatted data so this built-in function doesn't help out. For now, you'll need to write your own helper classes that take the e4x

RE: [flexcoders] HTTP Service bug???

2006-09-04 Thread Seth Hodgson
You should double check that you're sending literal XML (or a legacy XMLNode/XMLDocument) and not a String value. service.send(foobar/foo); Rather than: service.send(foobar/foo); Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Calling fill() on the same collection multiple times

2006-09-01 Thread Seth Hodgson
Hi Dirk, Your # 1 is pretty close to how things work. If the fill params match then the items in the current collection will be refreshed to the latest values from the server, including the application of any pending deletes/updates/etc you'd made to the previous collection contents but

RE: [flexcoders] Flex/Hibernate Logging

2006-09-01 Thread Seth Hodgson
Hi Brennan, In your core FDS config file on the server (WEB-INF/flex/services-config.xml) there's a logging section. I'd recommend upping the level to Debug and just use patternMessage.*/pattern. Log output is directed to the console by default (that's what flex.messaging.log.ConsoleTarget

RE: [flexcoders] Passing data from JSP to Flex

2006-08-25 Thread Seth Hodgson
Hi Anas, After you've logged in via your JSP login page you'll have an authenticated HttpSession on the server. If you then visit an mxml app hosted within the same web application (under the same context root) any remoting/messaging/data service interaction the mxml app has with the server

RE: [flexcoders] FDMS: check, if an item exists on the client?

2006-08-25 Thread Seth Hodgson
Hi Dirk, getItem() will always fetch the current state of the requested object from the server and update the local instance with the result if it exists. If you don't have auto sync enabled (server pushed updates) this is how you can periodically refresh your local instance. If you call

RE: [flexcoders] FDS, VOs, and ignoring client-side properties

2006-08-23 Thread Seth Hodgson
Hi Jim, Try tagging the properties that you don't want managed in your [Managed] AS class as [Transient]. This should prevent changes to them from being logged/committed. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [flexcoders] Re: Webservice Destination with Basic Authentication

2006-08-23 Thread Seth Hodgson
Hi, Have you verified that the server hosting your web service has basic auth configured correctly? Your code looks correct so perhaps when the FDS proxy makes the call against the remote server it isn't being challenged for basic auth credentials? Try requesting your WSDL in a browser and

RE: [flexcoders] AWT-EventQueue-0 java.lang.NullPointerException

2006-08-23 Thread Seth Hodgson
Hi Valy, This is a Java2D bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6358034 I believe it can be safely ignored. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Valy Sivec Sent: Wednesday, August 23, 2006

RE: [flexcoders] Flash Data Services - help needed

2006-08-23 Thread Seth Hodgson
Hi Benjamin, With regard to the exception, in your services-config.xml file you'll can find a channel-definition for an RTMP channel. The RTMP channel endpoint on the server is a socket server that binds to the port specified in the endpoint uri=.../ element. A single port can't be bound by

RE: [flexcoders] Dynamic topic creation with Flex messaging?

2006-08-22 Thread Seth Hodgson
Hi Brian, FDS JMS messaging destinations can't be added/removed at runtime. They must be defined statically in the configuration files. We're considering support for hierarchical JMS topics in a future release, which has the advantage that you know about the root destination at startup time

RE: [flexcoders] Re: WebService - What's wrong with this code?

2006-08-20 Thread Seth Hodgson
Hi Franck, Ben and Kaleb, First a little back story: the current web service stack in Flex shares many similarities with Axis 1.X (some of the same folks authored both). Back when these stacks were originally developed RPC services using SOAP encoding were the rule. So the legacy RPC/Encoded

RE: [flexcoders] ASDoc ignores Bindable properties?

2006-08-18 Thread Seth Hodgson
Hi James, Try putting your property documentation beneath the [Bindable] tag. E.g.: [Bindable] /** * your property documentation */ public function get propX():X { } ASDoc comments apply to what they precede. Best, Seth From: flexcoders@yahoogroups.com

RE: [flexcoders] Getting a problem trying to do a remote object in FLEX

2006-08-16 Thread Seth Hodgson
Riding on Brians coat tails, youll want the following servlet definition and mapping in the web.xml file for your webapp. !-- MessageBroker Servlet -- servlet servlet-nameMessageBrokerServlet/servlet-name display-nameMessageBrokerServlet/display-name

RE: [flexcoders] unable to load wsdl?? flex, you're pissing me off...

2006-08-15 Thread Seth Hodgson
Flash runs in a security sandbox that blocks access to remote domains that the swf was not served from. Heres a technote that describes this in detail. http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213 Best, Seth From: flexcoders@yahoogroups.com

<    1   2   3   >