RE: [flexcoders] Remote object that returns an array of objects

2005-04-05 Thread Peter Farland
Just curious, what does: mx.core.Application.alert (Test with userVo + event.result[0].userName); do? Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] *

RE: [flexcoders] Remote object that returns an array of objects

2005-04-05 Thread Peter Farland
createdByUserProfileId = null dateCreated = Thu Mar 31 07:43:20 MST 2005 -Original Message- From: Peter Farland [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 3:38 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Remote object that returns an array of objects Just

RE: [flexcoders] Error: flashgateway.io.ASObject

2005-04-06 Thread Peter Farland
You can send an ActionScript Object instance via RemoteObject - the server side representation will be a flashgateway.io.ASObject instance which implements java.util.Map (and actually extends java.util.HashMap). -Original Message- From: Doodi, Hari - BLS CTR [mailto:[EMAIL PROTECTED]

RE: [flexcoders] Re: Weird behavior with Internet Explorer

2005-04-07 Thread Peter Farland
in diferent context roots and in this one I managed to put flex with cf... Everything works fine for any browser excepting IE. I'm getting Flex and Cfusion in different context root, too bad that I can't use it under the same. João Fernandes --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL

RE: [flexcoders] Re: Weird behavior with Internet Explorer

2005-04-07 Thread Peter Farland
to it? anyways, thank you very much for this. João Fernandes --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Hmm, I'm trying to think of other known issues with Flex and CF in the same app. This may be a long shot, but I'll tell you about it anyway... Can you try

RE: [flexcoders] Re: No debugging information available for invocation of methods on server-side

2005-04-11 Thread Peter Farland
Note that the reason why the Throwable class info "NullPointerException" wasn't included in the status info"type" property is because of a default setting on the AMF Gateway. Internal class information is not included in the form of stack traces or exception types as they shouldn't be

RE: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-04-12 Thread Peter Farland
The NetConnection Debugger is an old FP6 movie that's provided as an extra to Flex as old Flash Remoting customers are used to it, but it was not built by or for Flex. I suggest you rely on the RemoteObject AMF Gateway's own trace/debug level logging as it will show you the AMF traffic

RE: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-04-12 Thread Peter Farland
Ideas? Christoph Peter Farland wrote: 1. Stop web application server (which one are you using?) 2. In /WEB-INF/flex/flex-config.xml, set: logging level to debug enable console logging 3. In /WEB-INF/flex/gateway-config.xml, set: logging level to debug 4. Start web application server

RE: [flexcoders] accessing registerClass() class bindings.

2005-04-12 Thread Peter Farland
Google turned up this blog entry: http://dynamicflash.com/2005/03/class-finder/ The main thing to remember when using a hack like this is to ensure that you have the classes linked in at compile time and thus present in the SWF. From: Alex Cruikshank [mailto:[EMAIL PROTECTED] Sent:

RE: [flexcoders] Font Alias / Anti-Alias Setting

2005-04-19 Thread Peter Farland
Is it that you have small text and are finding not as clear/accurate as you'd like with anti-aliased embedded fonts? If you're embedding from a true type font file (i.e. using a src location in the @font-face definition) you can try turning on the BatikFontManager in /WEB-INF/flex/flex-config.xml

RE: [flexcoders] Comparing complex objects

2005-12-10 Thread Peter Farland
Keep a list of known objects in an Array as you loop through comparing Object o1 with Object o2: private var known:Array = []; Then as you loop over complex objects, check whether you have seen the first object (well, the one that you use to do the deep comparison)before in which case you

RE: [flexcoders] Re: Empty Arrays Returned from CFC

2005-12-15 Thread Peter Farland
How are you testing that each element is empty? Try using a for in loop on the elements that are in the array without checking anything else first... Let me know whether they're still populated. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] passing Map from Flex to server side

2005-12-15 Thread Peter Farland
Note that while you can register classes using ActionScript on the client for serialization... there's no way to register a Java class on the server. Your server type must not implement Map or Collection as these types already have firm rules for server to client serialization. This may be

RE: [flexcoders] Re: passing Map from Flex to server side

2005-12-15 Thread Peter Farland
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Note that while you can register classes using ActionScript on the client for serialization... there's no way to register a Java class on the server. Your server type must not implement Map or Collection as these types already have

RE: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Peter Farland
You need to subclass flash.net.Responder and provide an implementation of a method with the same name as the AMF header. public function AppendToGatewayUrl(append:String):Void { //Append value to NetConnection URL. } -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: passing Map from Flex to server side

2005-12-15 Thread Peter Farland
? The error message is not very detailed, I get two different errors on the client side. One is an error about converting the input type, and the other is it was expecting type testuser.Test but was trying to send flashgateway.io.ASObject. Thanks --- In flexcoders@yahoogroups.com, Peter Farland

RE: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-17 Thread Peter Farland
I can tell you, however, that Flex 2 Data Provider API is considerably different. I believe the mx.remoting.RecordSet API as it stands in Flex 1.5 is an inadequate data provider for Flex 2 components. How can plain old web services, which are totally generic, be adequate but not recordsets?

RE: [flexcoders] I gave up

2005-12-24 Thread Peter Farland
Title: I gave up Do you know how to watch the AMF traffic going over the wire? Is it possible that an AMF AppendToGatewayURL header is being returned by the server on the first response that is modifying your connection URL with jsessionid (or perhaps CF specific session id) because the

RE: [flexcoders] Embed font's glyphs in AS3 Project in Flex Builder 2 alpha

2006-01-02 Thread Peter Farland
I haven't tested this at runtime, but I did check the SWF contents using a dump utility... have you tried supplying extra attributes directly into the Embed statement? [Embed(fontName='MyFontAlias', systemFont='Arial', mimeType='application/x-font-truetype', unicodeRange='U+0E01-U+0E5B')] Also

RE: [flexcoders] Flex 1.5: AS2 serialization issue . Parent/Child data model implementation

2006-01-02 Thread Peter Farland
Can we see the server API for these types too? When you say a Child's parent property is empty, are you saying it is null on the server? What are you using to determine that? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Valy SivecSent: Tuesday, January

RE: [flexcoders] Flex 1.5: AS2 serialization issue . Parent/Child data model implementation

2006-01-03 Thread Peter Farland
AMF does support cyclical references, but I vaguely remember in Flex 1.5 there were some issues with references for typed objects inside Collection implementations that required translation. That is, the translation step on the server from AMF Array - java.util.ArrayList - java.util.Set

RE: [flexcoders] Flex 1.5: AS2 serialization issue . Parent/Child data model implementation

2006-01-03 Thread Peter Farland
Try changing the AMF Gateway logging level from "Error" to "Debug" in the /WEB-INF/flex/gateway-config.xml file and restarting the web app. The default logger implementation uses System.out to trace information to the console. Depending on your app server and how you start the process,

RE: [flexcoders] FLEX app over HTTPS

2006-01-03 Thread Peter Farland
Have a read of this article: http://support.microsoft.com/?kbid=323308 and try changing the registry key it describes. You can use a tool like Paros proxy to intercept HTTPS based communication between the flash client and the gateway. Look for the HTTPS response headers that come

RE: [flexcoders] FLEX app over HTTPS

2006-01-05 Thread Peter Farland
Yep, exactly, and neither do I... but I did want him to first diagnose that this was indeed the issue. Once narrowed down to this cache header issue the solution will be to stop the server from sending the header. It looks like Dave has described a way to do this which hopefully will apply

RE: [flexcoders] Flex 1.5: AS2 serialization issue . Parent/Child data model implementation

2006-01-09 Thread Peter Farland
ad_address.text; addr.addrCity = phad_city.text; addr.addrPostalCode = phad_postal_code.text; addr.individual = ModelLocator._individual; // _individual gets loaded when app is initializes. ModelLocator._individual.physicalAddresses.push(addr); EventBroadcaster.getInstance().broadcastEvent( Ap

RE: [flexcoders] Remoting over HTTPS fails in IE 6.0

2006-01-09 Thread Peter Farland
From reading your subject line, did you mean the opposite of what you said below? That is, did you mean: when I open it using http://bla-bla/index.mxml remoting works fine in IE, but when I do it using https://bla-bla/index.mxml it loads nothing no request come to the amf gateway

RE: [flexcoders] Problem with Remote Objects - Urgent

2006-01-27 Thread Peter Farland
Try using the asynchronous completion token pattern to map results to various calls. When you make the call, retain the token that's returned: var token:Object = myService.myFunctionThatListsFolderContent(myFolder); Then add something on it that helps you identify this invocation:

RE: [flexcoders] Using HTTPService to POST complex data

2006-01-28 Thread Peter Farland
Have you tried moving your custom values as the child tags of mx:request to the same namespace by prefixing them with mx: ? Alternatively, have you assigned an id to your HTTPService and then used script to set the request property to an anonymous Object that contains the properties that you

RE: [flexcoders] Re: FlashServices/Gateway

2006-01-31 Thread Peter Farland
If you're deploying CF and Flex on top of JRun, make sure the JRunflashgateway.ear isn't being deployed for your web application as it may be using the /flashservices context root. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul KenneySent: Monday, January

RE: [flexcoders] Flex2 - Custom JavaAdapter - ServletContext

2006-02-22 Thread Peter Farland
For Flex 2.0 Beta 1 try flex.messaging.HttpContext.getServletConfig().getServletContext() - (the name of this class isn't necessarily final at this stage, but any changes would be documented in release notes). There isn't a concept of an ActionContext for Service Adapters in Flex 2.0 as the nature

RE: [flexcoders] Re: Flex 2 equivalent of remote-objects-debug

2006-02-27 Thread Peter Farland
Also note that for client side logging without Flex 2 Builder, a generic logging mechanism has been introduced which is used by all messaging based services, including RPC services such as RemoteObject. One logging target implementation is the TraceTarget which traces log messages out to the

RE: [flexcoders] Remote Objects and Exceptions

2006-03-01 Thread Peter Farland
In Flex 1.5 a GatewayException constructs an Object that is based on the AMF NetStatusEvent's info object. This object has the properties code, description, details, level, type, rootcause. However, if a GatewayException itself isn't thrown, then the only information available is that as returned

RE: [flexcoders] Looking for simple working Flex 2.0 remoting examples

2006-03-01 Thread Peter Farland
You would need client code written in ActionScript 3 if you're using Flex 2.0. You could try to use the flash.net.NetConnection class directly to start testing communications with a servet like WebORB. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] How can we use Secure AMF wuth ColdFusion/Flex Connectivity?

2006-03-02 Thread Peter Farland
Can you show the channel configuration that you used? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sn197412 Sent: Thursday, March 02, 2006 11:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How can we use Secure AMF wuth

RE: [flexcoders] How can we use Secure AMF wuth ColdFusion/Flex Connectivity?

2006-03-02 Thread Peter Farland
... and the destination config too? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sn197412 Sent: Thursday, March 02, 2006 11:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How can we use Secure AMF wuth ColdFusion/Flex

RE: [flexcoders] Re: Flex2: AS Number to Java Long mapping

2006-03-02 Thread Peter Farland
ActionScript 3 now has Number, int and uint. None of them can be null. Their value becomes 0 if set to null. If set to (or left as) undefined, Number will be NaN and int and uint will be 0. However, since Java does have both primitives and Object representations of Number, we're going to make the

RE: [flexcoders] SOAP WebService faultString problem

2006-03-03 Thread Peter Farland
Are you using the proxy? I think we changed for Beta 2 to return the entire status line from the HTTP error (as it's likely you're running into a 404)... But please submit a test case (or at the very least email me your file) if you want us to check your particular situation. Thanks, Pete

RE: [flexcoders] Can we remove RemoteObject instances??

2006-03-03 Thread Peter Farland
Have you tried calling delete myRo; in a script block of the Application (or component) that declares the RemoteObject? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sn197412 Sent: Friday, March 03, 2006 6:54 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] SOAP WebService faultString problem

2006-03-06 Thread Peter Farland
Just the wsdl and mxml file? You can email me directly if you'd like. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jan L. Nauta Sent: Monday, March 06, 2006 3:28 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] SOAP WebService

RE: [flexcoders] Firewall ports for Enterprise Services with Java RemoteObject

2006-03-09 Thread Peter Farland
What does the channel configuration look like in your flex-enterprise-services.xml file? Have you tried replacing any tokens in the endpoint URI with hard coded values to check whether they're successfully being resolved at runtme? Where are launching the SWF from? If it's not from the same JRun

RE: [flexcoders] Firewall ports for Enterprise Services with Java RemoteObject

2006-03-09 Thread Peter Farland
Note inFlex 2 there isn'tthe concept of an"AMF port"... in fact, there's not even an AMF gateway any more. And RemoteObject isn't tied to AMF. There are numerous channels that have endpoint URIs.Each destination can pick a set of channels to connect to the server.All of the HTTP based

RE: [flexcoders] dataService with pk

2006-03-09 Thread Peter Farland
/ /metadata ... /properties ... /destination -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Farland Sent: Thursday, March 09, 2006 3:02 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] dataService with pk I'd suggest posting

RE: [flexcoders] Re: Firewall ports for Enterprise Services with Java RemoteObject

2006-03-09 Thread Peter Farland
://{server.name}:8700/{context.root}/messagebroker/amf; class=flex.messaging.endpoints.AMFEndpoint/ properties polling-enabledfalse/polling-enabled /properties /channel-definition seems like it should all be going over 8700 right? Thunder --- In flexcoders@yahoogroups.com, Peter

RE: [flexcoders] Flex2 :: ObjectProxy subclass :: Compiler error on getProperty() override

2006-03-10 Thread Peter Farland
You don't seem to be importing the namespace and declaring that it will be used in the class... try this: package com.teotigraphix.teodoc.core { import com.teotigraphix.teodoc.core.TEODocObject; import mx.utils.ObjectProxy; import mx.utils.events.ObjectEvent; import

RE: [flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3]

2006-05-21 Thread Peter Farland
Have you tried adding a format=xml attribute to the mx:request tag as well? Normally this section is akin to an mx:Model tag with named keys but when you're specifying the XML literally you need to inform the compiler. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] HTTP Service Error

2006-05-21 Thread Peter Farland
Have you tried browsing to the URL directly? What does it return? What is the URL used to launch your SWF that accesses the JSP page? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sreedhar reddySent: Saturday, May 20, 2006 10:16 AMTo:

RE: [flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3]

2006-05-21 Thread Peter Farland
ers@yahoogroups.com Subject: [flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3] Hi Peter, worked :D where have you learnt that? I would never think about that myself, thanks, regards, Peter --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Have

RE: [flexcoders] SOAP dateTime to ActionScript date conversion

2006-05-22 Thread Peter Farland
1) Why is flex deserializing this as a String instead of a Date? [Pete] This would be a bug. Are you on the beta program and are you able to log a bug? If not, let me know and I can help. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

RE: [flexcoders] Beta3 - Remoting error when running from local build

2006-05-23 Thread Peter Farland
If you have {context-root} in any of your endpoints and rely on the services configuration to generate the correct channels for you at runtime then you must specify --context-root=/yourcontext at compile time. (This has been raised before as an issue with the dialog for not asking for this

RE: [flexcoders] is delete really the best/only way to remove a node in e4x?

2006-05-25 Thread Peter Farland
Title: is "delete" really the best/only way to remove a node in e4x? For native Flash Player APIs, I'd log a bug against the player... this isn't really a Flex decision. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy SprattSent: Wednesday, May 24, 2006 9:29

RE: [flexcoders] Access of undefined property in XMLDocument

2006-05-26 Thread Peter Farland
Have you tried doing this inside a function instead? Perhaps you could call this function on initialization, perhapson the Application creationComplete event? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of CharlesSent: Friday, May 26, 2006 3:49 PMTo:

RE: [flexcoders] F2B3: mx.rpc.soap.mxml.WebService omits empty nodes

2006-05-31 Thread Peter Farland
This is a known issue that should be in releases after beta 3. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, May 31, 2006 3:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] F2B3:

RE: [flexcoders] Re: RemoteObject calls failing

2006-06-01 Thread Peter Farland
didn't seem to have any effect. I've got tomcat on my machine and I'm running from eclipse, so the browser is using http. Is there anything else I should check? --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Have you got a {context.root} token in the channel-definition

RE: [flexcoders] Re: RemoteObject calls failing

2006-06-01 Thread Peter Farland
a --context.root parameter? thanks so much for the help. Jeremy --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Have you got a {context.root} token in the channel-definition endpoint for the my-amf channel? If so, can you try removing it to hard code the context root

RE: [flexcoders] No FontManager provided after migrating to Beta 3

2006-06-01 Thread Peter Farland
One correction, I think the class should still be called BatikFontManager, not BatikManager. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Uhlmann Sent: Thursday, June 01, 2006 4:35 PM To: flexcoders@yahoogroups.com Subject: RE:

RE: [flexcoders] Instantiation and setting problems

2006-06-02 Thread Peter Farland
Where are you declaring these classes? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Friday, June 02, 2006 12:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Instantiation and setting problems I anyone else

RE: [flexcoders] E4X, SOAP and namespaces, oh my!

2006-06-02 Thread Peter Farland
Ben, if a parent type declares the default namespace (as it does on GetDocumentResponse) then child elements that do not redeclare the default namespace nor use a prefix to another namespace will inherit that parent namespace. -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Instantiation and setting problems

2006-06-02 Thread Peter Farland
@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Where are you declaring these classes? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Friday, June 02, 2006 12:01 PM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] F2 CF FMS AMF encoding problems

2006-06-04 Thread Peter Farland
That's correct Bjorn. In the final release of Flex 2 the individual NetConnection based mx.messaging.Channel implementations that make the connections to AMF or RTMP endpoints for RemoteObject (and, well, the other services too) will protect themselves from the

RE: [flexcoders] HttpServletRequest on AMF

2006-06-05 Thread Peter Farland
The flashgateway.jar is no longer shipped with Flex. In Flex 2, all services are based on a messaging framework - as such, clients can talk to endpoints on various channels using various protocols, some of which may not be over HTTP. The server side APIs all start with flex.messaging. The

RE: [flexcoders] Re: Remoting configuration in flex-services.xml

2006-06-05 Thread Peter Farland
Hi Niladri, Examples/information for the FDS config should be in the /resources/config/ folder that was part of the FDS 2 installation (though these files will contain more complete information in the final release). However, for now here's some extra info on the Flex 2 Beta 3 config to help

RE: [flexcoders] Re: Instantiation and setting problems - Example included

2006-06-05 Thread Peter Farland
rty or method of a null object reference. at TestA/generateXML()[C:\flex\TestA.as:25] at sampleBug/sampleBug::setValue()[C:\flex\sampleBug.mxml:8] at sampleBug/___Button1_click()[C:\flex\sampleBug.mxml:12] --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: I'd have to

RE: [flexcoders] Webservices not working.

2006-06-05 Thread Peter Farland
Change GetFileNumMod.fileNumQry.result to GetFileNumMod.fileNumQry.lastResult From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy RottmanSent: Monday, June 05, 2006 6:03 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Webservices not working. I am

RE: [flexcoders] Net.Connection debugger - Is there something like it in Flex2?

2006-06-06 Thread Peter Farland
If you're using a raw NetConnection, then... no, not natively from the client. There are third party tools out there that sniffing AMF over HTTP traffic. However, I'd first try using some of the utilities that Flex has to dumping an objectgraph to a string: import mx.utils.ObjectUtil;

RE: [flexcoders] Flex 2.0b3 WebServices

2006-06-06 Thread Peter Farland
Do you have a fully qualified URL for the wsdl attribute on the mx:WebService tag? Flex 2 should support WSDL imports. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Tuesday, June 06, 2006 10:52 AMTo: flexcoders@yahoogroups.comSubject:

RE: [flexcoders] Re: Namespace hell

2006-06-09 Thread Peter Farland
XML namespaceDeclarations does return the default namespace for me, but perhaps you have to get this information from the root XML "node"? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben ClinkinbeardSent: Wednesday, June 07, 2006 11:43 PMTo:

RE: [flexcoders] Re: Namespace hell

2006-06-09 Thread Peter Farland
Ben, I'm not an expert on the XML type, norlabel functions or UI components,but some things to consider in your investigation: 1. You can get a list of all of the namespaces from an XML instance using: var namespaces:Array = myXML.namespaceDeclarations();var ns:Namespace; for each

RE: [flexcoders] Flex2B3: Problem returning Object[] from a RemoteObject call

2006-06-11 Thread Peter Farland
Aejaz, This is expected. You can't assign the result of a remote object call immediately to a value. The Flash Player needs to make calls asynchronously so that the movie does not stall while waiting for a response from the network. Instead you're returned a token to help you track

RE: [flexcoders] Re: Using PUT with HTTPService

2006-06-13 Thread Peter Farland
Note that this is already logged as 128061. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin Sent: Monday, June 12, 2006 12:58 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Using PUT with HTTPService It

RE: [flexcoders] Debugging Flex to ASP.Net Web Services.

2006-06-13 Thread Peter Farland
Try adding an mx:TraceTarget level="0" / to your MXML and then check your flashlog.txt file. Settings in the mm.cfg file are for the Flash Player only. Flex is unrelated to this - it is an ActionScript framework built on top of ActionScript... essentially it's on its own when it comes to

RE: [flexcoders] Re: loadWSDL Webservice result?

2006-06-13 Thread Peter Farland
You're both correct, but you're talking about different things. If you're accesing the ResultEvent, the the property is definitely event.result. Check the ASDoc for mx.rpc.events.ResultEvent. If you're using data binding as Ben suggests, then you're accessing the last result returned

RE: [flexcoders] Flex 1.5 AMF Issue

2006-06-14 Thread Peter Farland
Josh, that doesn't make much sense (not what or how you described it, but rather the workaround behaving any differently)... so can you send me a simple reproducible case offline (remember to rename .zip extensions so that they get are allowed through our email filter) and I can take a

RE: [flexcoders] Dates WebServices .NET (redux)

2006-06-16 Thread Peter Farland
The problem is that .NET returns the dateTime without timezone information, i.e. the value "1977-06-12T00:00:00" is missing the suffix for timezone data.If it returned "1977-06-12T00:00:00Z" or some othertimezone info it would work fine.In XSD the absence of a timezone means the date/time

RE: [flexcoders] Using HTTPService in a function

2006-06-18 Thread Peter Farland
Did you import the type? import mx.rpc.events.ResultEvent; Do you have the rpc.swc in the classpath? Also, to use the MXML tag in ActionScript, be sure to use the mxml subpackage version of HTTPService, i.e. import mx.rpc.http.mxml.HTTPService; From: flexcoders@yahoogroups.com

RE: [flexcoders] FDS Samples

2006-06-19 Thread Peter Farland
Are you running on Tomcat by any chance? If so,what version? For Tomcat you need to setup JOTM first as Data Services makes use of JTA (for transactions). From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williamsSent: Sunday, June 18, 2006 3:20 PMTo:

RE: [flexcoders] Re: Using HTTPService

2006-06-19 Thread Peter Farland
That's right Sal, RPC and Data services should be called after creationComplete. However, you don't seem to have result and fault handlers specified for your HTTPService... how will you know when something has gone wrong or when the result has been returned asynchronously? From:

RE: [flexcoders] FDS Samples

2006-06-19 Thread Peter Farland
My apologies, this was sitting in my outbox for over a day and only went out now. I see that you've already got this to work. I agree that the docs could be better on this subject. Also, I've found for Tomcat 5.5 that modifying the Context in the /META-INF/context.xml file of the web

RE: [flexcoders] FDS Samples

2006-06-19 Thread Peter Farland
that file. Can I see a sample somewhere. Also, I presume that this *is* the META-INF in the application directory and not some global META-INF file, right? Once I more fully understand I will re-post the steps with the new info.ThanksHank On 6/19/06, Peter Farland [EMAIL PROTECTED] w

RE: [flexcoders] Flex2b3 NetConnection.connect arguments

2006-06-19 Thread Peter Farland
Add the following line (where the ObjectEncoding class is in the flash.net package along with NetConnection): nc.objectEncoding = ObjectEncoding.AMF0; In ActionScript 3.0, the default object encoding for NetConnection is AMF 3, however FMS2 uses the legacy AMF 0. From:

RE: [flexcoders] Converting Java objects to ActionScript

2006-06-20 Thread Peter Farland
Roberto, in flex-enterprise-services.xml, can you go to the logging section, set the level to Debug and then make sure the only logging pattern is Endpoint.*. Restart the server and then rerun your application and look on the console (if you started the server using the command line) or in

RE: [flexcoders] Debugging RTMP

2006-06-20 Thread Peter Farland
David, we've forward your email to Flash QA. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David ClarkSent: Tuesday, June 20, 2006 9:36 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Debugging RTMP Is there any tool that can debug (monitor) RTMP

RE: [flexcoders] Converting Java objects to ActionScript

2006-06-20 Thread Peter Farland
Thanks Roberto, I tried your sample and it worked. Now that I see the error message again I know what the issue is you don't have a reference to mx.collections.ArrayCollection so this class definition isn't linked into the SWF during compilation... Typically if a typed object's class

RE: [flexcoders] Debugging RTMP

2006-06-20 Thread Peter Farland
:[EMAIL PROTECTED] On Behalf Of David ClarkSent: Tuesday, June 20, 2006 11:08 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Debugging RTMP Thanks again Peter. On 6/20/06, Peter Farland [EMAIL PROTECTED] wrote: David, we've forward your email to Flash QA

RE: [flexcoders] Re: remoteObject send failing

2006-06-20 Thread Peter Farland
Hank: 1. Are you compiling with a reference to the services configuration file? Either through a --services command line option to mxmlc (or a compiler services element in flex-config.xml)? 2. Do any of your channel endpoints use a {context.root} token? If so, have you specified a

RE: [flexcoders] Re: remoteObject send failing

2006-06-20 Thread Peter Farland
where it should be. There is no other definition for my-amf. Could there be some wierd caching issue since I recently changed the endpoint to the hardcoded definition that it doesnt seem to be seeing. Thanks Hank On 6/20/06, Peter Farland [EMAIL PROTECTED] wrote:

RE: [flexcoders] Re: remoteObject send failing

2006-06-20 Thread Peter Farland
t;messagebroker" just to see if there might be some conflicting definition. But there isnt. The only place it is is where it should be. There is no other definition for my-amf. Could there be some wierd caching issue since I recently changed the endpoint to the hardcoded def

RE: [flexcoders] Re: remoteObject send failing

2006-06-20 Thread Peter Farland
conflicting definition. But there isnt. The only place it is is where it should be. There is no other definition for my-amf. Could there be some wierd caching issue since I recently changed the endpoint to the hardcoded definition that it doesnt seem to be seeing. ThanksHank On 6/20/06, P

RE: [flexcoders] Flex dataservices:

2006-06-21 Thread Peter Farland
Of Mike_Robinson_98Sent: Wednesday, June 21, 2006 2:35 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex dataservices: I have read some of the posts on issues similar to this one.Especially the Hank Williams and Peter Farland exchange. However, thisproblem is different enough that their posts did

RE: [flexcoders] Re: Flex dataservices:

2006-06-21 Thread Peter Farland
: flex.messaging.MessageException: No destination'orderRow' exists in service flex.data.DataService- Mike--- In [EMAIL PROTECTED]ups.com, "Peter Farland" [EMAIL PROTECTED]. wrote: Mike, The fact that the error said the send failed means that perhaps the RTMP channel isn't running... so I'm guessing

RE: [flexcoders] Remote object invocation failure

2006-06-26 Thread Peter Farland
Have you tried browsing to the endpoint URI to check its accessible? What URL are you using to load the SWF? Perhaps youve changed the configuration but not restarted the server nor forced a recompile of your SWF (i.e. doing a clean and forcing FB to recompile)? From:

RE: [flexcoders] Flex 2 final, Cairngorm ServiceLocator/Delegate implementation?

2006-06-28 Thread Peter Farland
Irrespective of Cairngorm, in addition to the property name changing from call to token, note that FaultEvent and ResultEvent tokens are strongly typed as the dynamic type mx.rpc.AsyncToken Note that this class now allows multiple responders, see documentation for

RE: [flexcoders] Serialization bug in release

2006-06-28 Thread Peter Farland
Can you pleaselog a bug or send me your test case offline (attach a zip, but rename the extension to .zp)? The makeObjectsBindable attribute on WebService (or any of its Operation instances) control this behavior and is now true by default. You can set it to false to stop it from creating

RE: [flexcoders] Flex final -- CF remoting issue

2006-06-28 Thread Peter Farland
Any chance you could send me more information about the data types that are being returned from ColdFusion? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sufibabaSent: Wednesday, June 28, 2006 3:26 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex

RE: [flexcoders] Serialization bug in release

2006-06-28 Thread Peter Farland
Yeah, unfortunately it isnt right now, but well be looking to make ArrayCollection serializable in WebService in an upcoming release. Remember that ArrayCollection wraps an underlying Array, so either the source property or Kellys suggestion of toArray() is another way to get back the

RE: [flexcoders] Help with remote objects and EJB Jar files.

2006-06-28 Thread Peter Farland
The default JavaFactory that is used by the RemotingServices JavaAdapter simply locates classes using Class.forName from the web application class path. Perhaps you could create a façade class that looked up your EJB from its JNDI name? Other alternatives are to write a new, EJB specific

RE: [flexcoders] E4X XML - what is going here ? - Please advise

2006-06-29 Thread Peter Farland
When you say wont evaluate, can you provide more detail? Do you get a runtime error? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bobpardoe1959 Sent: Thursday, June 29, 2006 8:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] E4X XML - what

RE: [flexcoders] Net.Connection debugger - Is there something like it in Flex2?

2006-06-29 Thread Peter Farland
seem to use the NetConnectionDebugger either. The network monitor sees the RPC call but the busy cursor just remains for ever. Any further ideas? Thanks Duncan Peter Farland wrote On 06/06/06 15:42,: If you're using a raw NetConnection, then... no, not natively from the client

RE: [flexcoders] Re: E4X XML - what is going here ? - Please advise

2006-06-29 Thread Peter Farland
: duration Hope this helps, the text above might not be 100% reflective of the xml below, but it is close enough Thanks BOb --- In [EMAIL PROTECTED]ups.com, Peter Farland [EMAIL PROTECTED]. wrote: When you say won't evaluate, can you provide more detail? Do you get a runtime error

RE: [flexcoders] Flex 2 final release - Change in parsing of WebService results... again

2006-06-29 Thread Peter Farland
We had feedback asking for WebService.makeObjectsBindable to work for Object and Array in Beta 3, so we made this change for final. It was also set to true by default. You can either set the makeObjectsBindable attribute to false, or dig in to see why youre getting this error.

RE: [flexcoders] Re: Flex 2 final release - Change in parsing of WebService results... again

2006-06-29 Thread Peter Farland
of ObjectProxy it sounds like I shouldn't need to change makeObjectsBindable so I am a bit confused. As I said, it is fixed so this inquiry is purely academic. Thanks again. Ben --- In [EMAIL PROTECTED]ups.com, Peter Farland [EMAIL PROTECTED]. wrote: We had feedback asking

<    1   2   3   4   5   6   >