Are you missing an apache jar from your /WEB-INF/lib directory? Check with the
jars that existed with the default flex web application installation and
compare them to those present in your own web app.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
You can get hold of the HttpServletRequest in a Java class when accessed
via RemoteObject by using flashgateway.Gateway.getHttpRequest().
http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/commo
n/html/wwhelp.htm?context=Flex_Documentationfile=2247.htm
Once you have the
isAdmin is a function... So you need to use parentheses () to invoke it,
even when there are no arguments.
public function loadPerms():Void
{
srvPermissions.isAdmin()
}
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of
Actually, it's likely that you're getting an AppendToGatewayUrl AMF
Response Header from the server because it detected that while a session
was created during the request, the client didn't inform the server
whether it could accept cookies.
This AMF Response Header is trying to tell the client
t it
just doesn't get to the CFC for some reason. Doing the same exact thing
with all the other CFCs and they work fine :/Peter Farland wrote:
Actually, it's likely that you're getting an
AppendToGatewayUrl AMFResponse Header from the server because it detected
that while a sessionwas crea
just doesn't
get to the CFC for some reason. Doing the same exact thing with all the
other CFCs and they work fine :/Peter Farland wrote:
Actually, it's likely that you're getting an
AppendToGatewayUrl AMFResponse Header from the server because it
detected that while a sessionwa
TempObject =
result[i];
GetTechSearchArray.push(TempObject);
} OTD_TECH_RESULTS.dataProvider =
GetTechSearchArray;}Peter Farland
wrote:
Are you setting remote-objects-debug in flex-config.xml?
What version of ColdFusion are you using?
Re: the unsupported type in stream message... are you
doing anyt
Er,that wouldrequire the "Debug" level log
too...
logger
level="Debug"flashgateway.log.DefaultLogger/logger
And I should have
also mentioned that you need to restart JRun if you change any config
files.
--
Flexcoders Mailing List
FAQ:
Are you using the CFC as a web service?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Greg Johnson
Sent: Wednesday, October 05, 2005 10:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] CFC Cashing
I make a change to the CFC and the
Are you sure that /amfgateway is mapped to your Flex AMF
GatewayServlet in /WEB-INF/web.xml and not a coldfusion one? Have you used a
sniffer to try and watch where your SWF is trying to call - i.e. tracking down
host names, ports, context roots, what have you...
From:
I think JRun has a sniffer.exe in the main jrun bin
directory that you could use...
I think you would have to methodically track down what URLs
are being used at compile time, what URLs are being used to host the SWF, what
URLs are being used to make data requests. Without detailed info I
Dates are supported via AMF in the manner you describe.
Can you send me the full method signatures that are supposed to line up?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Wolf
Sent: Thursday, November 03, 2005 6:00 PM
To:
Benoit, both of those approaches are Flex 2.0 only.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benoit
Hediard
Sent: Sunday, November 20, 2005 6:56 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Returning Object Instances
The Flash Remoting Gateway has been superseded by the
Remoting Service from Flex Enterprise Services (now referred to as Flex Data
Services as of Flex Beta 2). RemoteObject in Flex 2 connects to the FDS
RemotingService using RemotingMessages.
From: flexcoders@yahoogroups.com
If you could send me the WSDL I could take a look. It might
be a problem with non-qualified versus qualified wrapped document literal web
services.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jonathan
MirandaSent: Monday, March 13, 2006 6:41 PMTo:
This looks like a Flex 2 bug with the schema
elementFormDefault="qualified" attribute not being honored for each element
defined in the types section. I believe a work around for now is to manually add
form="qualified" attributes to the relevant element tags for each type
definition. I've
Actually, sorry, this is not the case. Your issue is a Flex
2 Beta 1 bug that should be fixed for Beta 2.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
FarlandSent: Wednesday, March 15, 2006 2:08 PMTo:
flexcoders@yahoogroups.comSubject: RE: [flexcoders]
If you use {server.name} in place of the IP address or host
server name then it will be replaced at runtime with that used to load the SWF.
Note that if you load a SWF from the file system using the standalone player
then it will be interpreted as localhost. As for the port token,
Additionally, you could configure several channels for a
destination and rely on channel failover so that it will look for one then the
other...
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
Jason Y. KwongSent: Wednesday, March 15, 2006 7:41
PMTo:
I can take a look. Can you send me the WSDL directly?
Thanks,
Pete
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richie Rich
Sent: Wednesday, March 15, 2006 9:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Web Service Call
is terribly inconsistent about what text to use to reference the
styles. It uses font-family, fontFamily, font-weight,
borderStyle... What is it supposed to be?
Perhaps the documentation didn't explain this but the style names can be
represented in either way... it depends on how they're
Is this for Flex 1.5 or Flex 2?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ryan Pieszak
Sent: Tuesday, March 21, 2006 6:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] What is the basic flow of Flex?
Hello again,
I'm very new to
java.util.Map is supported in any version of Flex and
the following should work in either
version:
var
stab:Object = event.result;for (var key:String in
stab)
{
txt.text = "--" +
stab[key];
}
advanced
Are you using Flex 1.5 or Flex 2?
The difference between Flex 1.5 and Flex 2 is
: [flexcoders] Re: What is the basic flow of Flex?
Sorry, it's for Flex 2. And I'm talking specifically about ColdFusion
and Flex integration. Thanks.
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED]
wrote:
Is this for Flex 1.5 or Flex 2?
-Original Message-
From
No, you must have a refernence to MyClass somewhere in your code in
order for it to be linked in to the SWF at compile time. A string
'myPackage.MyClass' does not constitute a reference. This is not a bug -
the compiler must optimize what classes are actually needed to keep the
SWF size down.
Do you have the
[RemoteClass(alias="your.fully.qualified.case.sensitive.VO")] correctly
registered on the ActionScript VO class? Are you sure you have the case of the
package and class name exactly the same as the CFC VO? ActionScript 3 is case
sensitive, even for package names (i.e.
ArrayCollection on the server extends ArrayList so that should work, but
if you've got ManagedProxies instead of Books then it's likely the Book
client type wasn't linked in to the SWF and/or properly registered with
the correct [RemoteClass(alias=...)] metadata.
Can you try adding a reference to
It is intended behavior and it's not an error (although a common one). If you
don't create a reference to the class the optimizer won't keep it in the swf.
If you didn't do this then each SWF would contain every class in the classpath
- this is not good. An import doesn't guarantee the class
This is for Flex 2.0... are you compiling with Flex Builder 2 or the
webtier compiler in FDS or perhaps even the command line using mxmlc? If
you're not using the webtier compiler you need to specify the location
of the flex-enterprise-services.xml file to the mxmlc compiler with the
--services
It's prefilled with a path for the typical Java based
installation. We expect uses to change this value for a variety of installation
scenarios - essentially you will have to know the location of this file and
update this value on ANY mxmlc compilation when using FDS or CF data services,
Darren, yep, we use this approach ourselves internally.
I would like to clarify that ByteArray readObject and writeObject do
retain object references between instances within the graph being cloned... just
not to any other object outside of the graph.
From: flexcoders@yahoogroups.com
Hi Kim,
How are you compiling the application? The reason I ask
is that it's not clear from your email what is reporting this error or where/how
it is reported to you...
When you say that you tried to run it in a browser, are
you relying on the webtier compiler by browsing to a .mxml
n their PC. The only
differences are what software we have installed on our machines outside of this
project.
Thanks,
Kim
--- In flexcoders@yahoogroups.com, "Peter
Farland" [EMAIL PROTECTED] wrote: Hi Kim,
How are you compiling the application? The reason I ask is that it's
not clear fro
Are you trying to contact the CF event gateway, or a normal endpoint
like a CFC for RemoteObject?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of a1
Sent: Saturday, April 08, 2006 7:18 PM
To: flexcoders@yahoogroups.com
Subject:
If your serlvet mapping is /amfgateway/* then you should be
allowed to append path info to the endpoint URI after the servlet
mapping.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of
siddiquihashimSent: Thursday, April 13, 2006 4:20
AMTo:
It might simply be a problem in the beta 2 player, as I
have registerClassAlias working for AMF 0 using a beta 3 player (not yet
released, obviously).
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Xavi
BeumalaSent: Monday, April 17, 2006 5:05 AMTo:
What was the exception? Did you get a stack
trace?
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]Sent: Monday, April 17, 2006 12:25
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders]
logout remote object in flex
I tried that with the
It isn't up to the Flex RemoteObject feature... it's how the flash
player NetConnection works with AMF requests (and continues to work in
FP 8.5).
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sof4real03
Sent: Monday, April 17, 2006 3:15 PM
To:
How are you loading your SWF? Are you loading it over HTTPS too? Is it
on the same domain as the secure AMF endpoint?
Did you recompile your SWF with the updated configuration? Did you
restart the server with the updated configuration?
How many channels are referenced under your RemotingService
or" code =
null type =
"" details =
"" description =
"flashgateway/Gateway" details =
"" description =
"flashgateway/Gateway"Peter Farland
[EMAIL PROTECTED] wrote:
What was the exception? Did you get a stack
trace?
From: flexcoders
not operate in
parallel?
Yes, that was the workaround. Is there look into changing the behavior
of NetConnection in the player before Flex is released for production?
By the way, thanks for the code tip.
- Sof
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote
before Flex is released for production?
By the way, thanks for the code tip.
- Sof
--- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote:
Was that the workaround that involved using a unique endpoint URL to
avoid connection sharing?
If so, in FDS 2 you could create
Perhaps your SiteKeywordVO is never linked into the SWF because you
never create a dependency on the class name (as mxmlc will optimize and
remove unreferenced class definitions). An import statement is not
enough to create a dependency.
-Original Message-
From:
(Note that this is Flex 2 Beta)
We didn't want the parent mx.rpc.soap.WebService to introduce extraneous
dependencies on other parts of the Application framework. So any
functionality that does introduce such a dependency (such as busy
cursors or bubbling of events to top level application
Operation.send(args) has the method signature:
override public function send(... args : Array) : AsyncToken
So the ... args:Array param will be an Array of length 1 with an
Object as _your_ args var. This means you can only send ordered
arguments via send(). For named arguments, you use the
in the
documentation (I realize that is probably low priority at this point),
because when I read it (a few times) I got the impression that the two
ways of sending arguments were functionally equivalent.
Thanks again,
Ben
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote
ObjectProxy is a Flex specific subclass of Proxy for wrapping anonymous
Objects that are dynamic and can't be predictably made bindable to
report property change events. It shouldn't be used to wrap typed
objects like instances of B (see later). You can never cast ObjectProxy
to B... the as
,
Vadim Melnik.
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED]
wrote:
ObjectProxy is a Flex specific subclass of Proxy for wrapping
anonymous
Objects that are dynamic and can't be predictably made bindable to
report property change events. It shouldn't be used to wrap typed
It depends on what the method signature for SampleDAO.getPersons looks
like. Where did you find this sample?
Note that the AS signature for NetConnection.call() is:
public function call(command:String, responder:Responder, ...
arguments):void
So the ... syntax in AS means the rest of the
Did the request come through the gateway servlet?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dmitry Miller
Sent: Wednesday, April 19, 2006 8:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with AMFGateway and Sessions
] Re: Problem with AMFGateway and Sessions - please
help
I assume so. The event handler class's methods are all static. This is
also unnamed service.
Thanks,
--- Dmitry
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:
Did the request come through the gateway servlet
Don't know of a way to do that in Flex 1.5... I don't think base64Binary
was supported in WS in that release... But, fwiw, when Flex 2 Beta 3
comes out I could see it being done.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of digital_eyezed
In AS3 you can set AMF0 to be used globally for any NetConnection:
import flash.net.*;
...
NetConnection.defaultObjectEncoding = ObjectEncoding.AMF0;
though you'd have to unwrap the messages from the request on the OpenAMF side of things since Flex 2 RemoteObject uses a messaging framework
Title: RE: [flexcoders] Flex2B2: JAVA to AS object serialization issue
Valy, the only bug I know of in this area for Beta 2 has to do with AMF 0. If you're not changing the objectEncoding of the underlying NetConnection to ObjectEncoding.AMF0 then it's likely that you either have
Mykola, I'm slightly confused by your post in contrast to
what Sergey and Stanislav originally said.
I read Sergey's post as that he was having trouble with
uncaught exceptions and had to add a lot of code to catch and possibly ignore
such errors. I read your post to mean the opposite of
Are you precompiling the SWFs? If so, are you specifying
--services and pointing to the configuration file at compile time with either
Flex Buildercompilercommand line arguments or mxmlc command line
arguments?
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of
You shouldn't have both "localhost" and "{server.name}" in
your channel-definitionendpoint
uri="..."
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of sank
xuanSent: Tuesday, April 25, 2006 12:45 AMTo:
flexcoders@yahoogroups.comSubject: 回复: RE: [flexcoders] Flex 2
Just comment out the messaging service include in your
/WEB-INF/flex/flex-enterprise-services.xml file.
!-- service-include
file-path="flex-message-service.xml" / --
The messaging service has a JMS adapter registered which
you don't need unless you're planning on using the messaging
:\tomcat\webapps\flex\WEB-INF\flex\flex-remoting-service.xml
do can't it be done manually.
Thanks,
Aejaz
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:
Are you precompiling the SWFs? If so, are you specifying --services
and
pointing to the configuration file
This is a known issue in Beta 2, should be addressed in Beta 3.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ilia_papas
Sent: Tuesday, April 25, 2006 11:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 not maintaining
=129 id=formInput/
mx:Button x=119 y=170 label=Submit fontSize=13
id=button1
click=SendStringBack.getString.send()/
mx:Label x=119 y=86 text=What is your name ? width=160
fontSize=15 id=label1/
/mx:Application
--- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote:
You
pleRemoteObject.html
there is no change in behavior. I must have not understood you
correctly. Can you please clarify if possible on how to set context root step by
step.Thanks again,Aejaz--- In
flexcoders@yahoogroups.com, "Peter Farland" [EMAIL PROTECTED]
wrote: Sorry, the J2! EE context ro
do trust me without responding to the real feedback from developers any
technology will shortly become outdated.
On 4/24/06, Peter
Farland [EMAIL PROTECTED]
wrote:
Mykola,
I'm slightly confused by your post in contrast to what Sergey and Stanislav
originally said.
I read
Serg
need crossdomain.xml as Tomcat is running locally.
If so what will this file contain in which directory I should create
it.
Thanks,
Aejaz
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:
Are you loading your SWF from http://localhost:8080? Or are you using
To cast a typein ActionScript you use this
syntax:
tmpDoctor =
samples.Doctor(event.result);
(i.e. it is not the same syntax as
Java).
Also, in your Java class, note it must have a public
no-args constructor and the fields (or bean getter/setters) must be
public.
From:
Flex 1.5.
So
the question is How we can fight silent exceptions death in Flex 1.
5
???.
I have some ideas but to realise them i have to rewrite all flex 1.5
framework and i think it's not acceptable.
Waiting for reply ,
Max
--- In flexcoders@yahoogroups.com, Peter Farland pfarland
The crossdomain.xml file resides on the remote server that
you're trying to contact, so it should be accessible like
this:
http://someserver:someport/crossdomain.xml
This fileis not involved at compile
time.
(Also, that is not a warning and it can't be ignored, it's
a hard error
Sorry, this method of invocation is not supported by Flex.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Avi Flax
Sent: Friday, April 28, 2006 10:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Possible to invoke Flex2b2
As far as I know this won't happen (it's largely guided by
the ECMA 4 standard) so for AS3 you'll need to use the varargs ...syntax
to take a variable number of arguments:
public function calculateSomething (required:int,
...others:Array):int
{
}
Note that you can place functions in
How did you embed the font? Did you change the character
range to include these high-ascii characters?
Note by default the english range is used which by default
has the range U+0020-U+007E. You'd either need to create a new language range in
the flex-config.xml file and refer to this by
In Flex 2 / Flash Player 9 you'll use ActionScript 3, which has the
final keyword which can be applied at the class or method levels to stop
subclasses overriding/extending functionality.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of
didn't know that. I'll
use
all of these tools. And i'm waiting for Flex 2.
Thank You one more time.
--- In flexcoders@yahoogroups.com, Peter Farland pfarland@
wrote:
Some of the comments I made also apply to Flex 1.5's usage of
ActionScript 2 in Flash Player 7.
ActionScript 2
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:
In Flex 2 / Flash Player 9 you'll use ActionScript 3, which has the
final keyword which can be applied at the class or method levels to
stop subclasses overriding/extending functionality.
-Original Message-
From
.
...but at least I understand why now! :-)
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:
Correct.
public final function set thumbCount(number:Number):void {
super.thumbCount = number;
}
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL
Try calling it on the underlying Connection... remoteObjectId.connection.connect(newURIGoesHere);
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton
Sent: Thursday, May 04, 2006 5:27 AM
To: flexcoders@yahoogroups.com
Subject:
Is the Program class correctly declared inside a package test {} block?
Does Program.as live in a subdirectory called test?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of eairox
Sent: Thursday, May 04, 2006 7:02 PM
To:
You need to add a fault handler to the WebService to see why it has
failed.
How are you loading the SWF? Is the SWF hosted on the same machine as
the CFC? Note that localhost and 127.0.0.1 are not the same string for
purposes of domain name checking for security sandbox restrictions.
I believe that since flex.compiler.ErrorPageServlet doesn't override
doPost, this is expected. Any chance you can track down what is making
the request via POST instead of GET?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Libby
Sent:
Did you call loadWSDL() on the __mxna:WebService first?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nirth Fur Zahad
Sent: Thursday, May 11, 2006 1:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders][Flex2B3] Newbie question:
The remoting service on the server attempts to bind to an
appropriate method signature based on both the number of arguments provided and
also their data types.Some type marshalling must take placeto cater
for the weaker type system on the client.This method lookup is cached for
the
I'd just delete the stateful property. stateful would now be scope
in Beta 3, but since you're relying on the default, just remove the
property. Note that scope now takes three possible values, request,
session or application.
-Original Message-
From: flexcoders@yahoogroups.com
You're running into the sandbox security restrictions of the Flash
Player.
In short, to contact a remote webservice without using the proxy service
the owner of the domain hosting the service would need to place a
crossdomain.xml file in their webroot and specify your domain in the
list of
How are you calling your amfphp endpoint?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jesús Iglesias
Sent: Thursday, May 18, 2006 7:19 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AMFPHP credentials, secured services
Hi,
nombre de Peter Farland Enviado el: jueves, 18 de mayo de 2006 15:55
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] AMFPHP credentials, secured services
How are you calling your amfphp endpoint?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED
In Flex 2, mx.rpc.events.ResultEvent is a subclass of mx.rpc.events.AbstractEvent which still contains a deprecated getter for a call property. The new name for this property is token (as per the dynamic mx.rpc.AsyncToken instance that is returned from any RPC service invocation).
I'm not
You can use HTTP 1.1 methods such as PUTwith the FDS
Proxy Service.
The Flash Player URLLoader only supports GET and POST,
however the FDS Proxy Service uses Apache Commons HTTPClient to make the request
for you and this library is HTTP 1.1 compliant. Note, however, that the Proxy
This feature was deferred until a later
release of Flex.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of busitech
Sent: Wednesday, July 12, 2006
6:53 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] java enum
does not serialize
Flex is restricted by the functionality of the Flash Player. The
underlying API flash.net.URLLoader will not let Flex set any of the
headers required to mimic what you're asking for, i.e.
pre-authentication. If you're using Basic Authentication from the J2EE
web application container, then the
. It
does have a number so it must be, at eleast internally, documented somewhere.
Regards
Hank
On 7/11/06, hank
williams
[EMAIL PROTECTED] wrote:
On 7/11/06, Peter
Farland
[EMAIL PROTECTED] wrote:
Hank, this isn't much information to go on. What technology
are you
Load your SWF from HTTPS. Ensure your channel-definition is correct
(i.e. using SecureAMFEndpoint and SecureAMFChannel classes in the config
and ensure https is in the endpoint url). Ensure the id of this channel
is in the list of channels for your destination. Ensure you're compiling
against the
It seems youre using the proxy
service through FDS but relying on the DefaultHTTP destination (since a
destination was not specified). Have you setup the allowed URL patterns in the corresponding
/WEB-INF/flex/proxy-config.xml file for the DefaultHTTP destination? Have you
looked at
Did you read the online documentation for
Flex Data Services 2? Did you see these pages?
http://livedocs.macromedia.com/flex/2/docs/1162.html
http://livedocs.macromedia.com/flex/2/docs/1163.html
http://livedocs.macromedia.com/flex/2/docs/1164.html
From:
What endpoint are you contacting with
RemoteObject an FDS 2.0 endpoint? From that error Id have to
guess youre trying to contact an old endpoint that isnt returning
the new message types as expected by the mx.messaging.channels.AMFChannel (the
default channel for mx:RemoteObject).
You can just programmatically create a
ChannelSet that contains one or more Channel implementations, such as
mx.messaging.channels.AMFChannel, that are configured to contact your
ColdFusion endpoint (that has the update).
Or, if you want to use the MXML API, you
can set a fully
The convention is 4 spaces for an indent, tabs
are converted to 4 spaces. I imagine everyone uses fixed-width fonts and
Eclipse doesnt show whitespace characters (that I know of, to-date) so code
formatting like this must have just slipped through the cracks (in my
experience this is
Mike, can you send me a clear and simple
test case containing Java and AS source as an example of the issue?
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike_Robinson_98
Sent: Friday, July 21, 2006 5:00
PM
To: flexcoders@yahoogroups.com
Subject:
Is the client throwing an error? Any
chance youre trying to cast a result but do not have that ActionScript
type mapped to the Java type?
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Allen Riddle
Sent: Friday, July 21, 2006 3:45
PM
To:
Im assuming Flex 2 and ActionScript
3.0.
Have you ensured that the client has that
type linked in to the SWF (one does so by making a reference to the type
somewhere in the code either in a variable type or a function signature etc.)?
Have you used [RemoteClass(alias=xyz)]
As a work around for now, try using double
instead of float.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Mike_Robinson_98
Sent: Friday, July 21, 2006 5:00
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: AMF
serialization of floats
Do a search for problems with HTTPS responses containing
Pragma,no-cache headers and Expires headers with a time set in the past
and MSIE (it has been discussed on this list before too)... to sniff HTTPS
requests consider using Paros Proxy with MSIE on the client to see the actual
headers
1 - 100 of 596 matches
Mail list logo