]
On Behalf Of Franck de Bruijn
Sent: Thursday, September 07, 2006
3:27 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Why is
import mandatory?
Hi,
Just a small actionscript question.
I have the following interface definition:
package a.b.c
{
public interface
de Bruijn
Sent: Thursday, September 07, 2006
3:27 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Why is import
mandatory?
Hi,
Just a small actionscript question.
I have the following interface definition:
package a.b.c
{
public interface SecurityWebservice
justification for you,
only that its intentional.
Matt
From: [EMAIL PROTECTED]ups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Franck de Bruijn
Sent: Thursday, September 07, 2006
12:27 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Why is
import mandatory?
Hi
Click the row in which you would like to
have a breakpoint and press CTRL-SHIFT-B, or use Run-Toggle Breakpoint from the
menu.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Douglas McCarroll
Sent: Friday, September 08, 2006
7:05 PM
To:
I just did this myself today, so here is
my solution:
In the file html-template/index.template.html
in the section else if (hasReqestedVersion) I modified the line
with flashVars as follows:
flashvars,'historyUrl=history.htm?lconid='
+ lc_id +'' + 'wsPrefix=' + wsPrefix +
'',
In my case, the parameter I add to my Flex
app is simply calculated in the HTML wrapper page.
If it needs to be more dynamic (as you
point out), my recipe would be something like this (I use basic J2EE stuff):
Somehow
the server would receive an HttpServletRequest containing
I tried it, and it works nice. Thanks for
the tip. It keeps the page cleaner.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Adam Dorritie
Sent: Friday, September 08, 2006
9:21 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
Hi Pablo,
No, I did not. I stored your WSDL in a
separate file and downloaded it from there (so, within the scope of my Flex
project). Unless you have a crossdomain.xml file set up, I can impossibly load
the WSDL from the original URL.
Cheers,
Franck
From:
LOL: never expected that crossdomain.xml
would solve your problem :)
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek
Sent: Thursday, September 07, 2006
9:39 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Could
Hi,
Just a small actionscript question.
I have the following interface definition:
package a.b.c
{
public interface
SecurityWebservice
{
function findUser(userId:String):d.e.f.UserDto;
}
}
It does not compile (1046: Type was not
found), which I find strange since
Hi Pablo,
I did not know that ... :)
The answer to your question is yes.
Cheers,
Franck
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasionek
Sent: Wednesday, September 06,
2006 2:20 PM
To: flexcoders@yahoogroups.com
I second that, but also thanks to you Ben!
Cheers,
Franck
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ben.clinkinbeard
Sent: Tuesday, September 05, 2006
6:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Confirmed Bug:
Hi Pablo,
Just guessing I can think of 2 reasons:
Are
you hosting your flex application on the webserver on localhost too? Or
are you running the application through FlexBuilder (with run as
Flex Application). Myself, I sometimes experience issues with this,
Hi Pablo,
I wrote the following small test
application:
mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute
mx:Button
x=167 y=108 label=Click me!
click=doClickMe();/
mx:Script
![CDATA[
import mx.rpc.soap.LoadEvent;
import
mx.rpc.events.FaultEvent;
Hi Kristian,
Presuming your webservice method returns a
list of Strings, the result from the webservice operation (ResultEvent.result) is
a dynamic object containing a Flex Array object. Probably if you pull this
Array object out you can assign it to the dataprovider property
of a
Im not sure if I understand you.
What do you see in the console output? Do
you see the column names? If not, it seems youre not getting them from
the webservice.
Cheers,
Franck
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of
Hi,
I am not sure if I understand your
situation, but I guess that you have a webservice that returns a list of
records, but the structure of the records can be different per webservice
operation, right?
Could you show us how the XML looks that
you receive from the webservice
True.
But the processing of the XML is only part
of a request. If a certain query itself takes 5 seconds to complete, you can do
your best in the remoting part of the transaction, but it will not bring you much.
Cheers,
Franck
From:
flexcoders@yahoogroups.com
Its nice to hear this feedback.
I am using Axis successfully, but I
remember that it indeed took some time to get to full grips with it. Some other
post also mentioned (I think it was Ben) that real world examples/tutorials of
using web services were not present. And that includes
PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Franck de Bruijn
Sent: Wednesday, August 23, 2006 10:33 PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems -
which provides
Hi Ted,
We all understand your arguments 1 and 2
Hi Laurent,
I dont know of any Maven plugin,
but Id be interested to know as well.
Cheers,
Franck
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of lfontvielle
Sent: Friday, August 25, 2006 1:53
PM
To: flexcoders@yahoogroups.com
The ws-i pages themselves can be found
here:
http://www.ws-i.org/deliverables/workinggroup.aspx?wg=basicsecurity
Although the link was not working while I
was typing this reply :).
Webservices are a very complicated story
if it comes to standards. And to be honest, I am not up
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Franck de Bruijn
Sent: Wednesday, August 23, 2006 10:33 PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems -
which provides
For the .Net guys, remote objects is
pretty much out of the questions, since remote objects are tightly integrated
with the FDS sytem (JAVA-based) which needs to run in a JAVA environment.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mark
Hi Ted,
We all understand your arguments 1 and 2.
But in the end, and thats already identified in this topic, its
the user experience that counts. If it does not suffer by using web services,
its not an issue! Id like to hear the first story that changing
webservices by AMF
Hi Barry,
Im not sure if I can be of much
help here. Im not into PHP, Im not into FDS and remoting and the
AMF protocol that is related to it. For me, but that is totally a personal
opinion, the only acceptable solution for communication with a back-end is
webservices, and nothing
Flex is supposed to be backend
independent. So you should choose the technology youre most comfortable
with.
There are in general 3 ways of integrating
with your back-end:
webservices:
total freedom, but can turn out to be hard. Especially with .Net there are
some
push for Flex adoption as I don't
enjoy looking like an idiot.
Thanks,
Ben
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ,
Franck de Bruijn
[EMAIL PROTECTED] wrote:
Hi Seth,
Thanks for your reply. It's always good to hear something from Adobe.
I already thought
be worth a try.
Best,
Seth
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Franck de Bruijn
Sent: Friday, August 18, 2006 9:49 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: WebService - What's wrong with this code?
And today this one
has a support contract with Adobe),
so they are listening and interested in fixing issues people are
having. I think thats a good sign.
Ben
--- In flexcoders@yahoogroups.com, Samuel D. Colak [EMAIL PROTECTED]
wrote:
Umm Franck what issues with webservices?
On 15/8/06 20:00, Franck de
Hi Kaleb,
Nice test.
Could you try exposing your webservice as
RPC/Encoded. Im very curious to see if that makes a difference. Personally,
I dont have a configuration running where I could test this.
Ben: The XSD is referred to from WSDL, so,
yes: its necessary. But as you
I think that there is a difference in the
return types of Remote objects and WebServices. I dont have any
experience with remote objects, but its a Flex/Flash/CFC/FDS proprietary
protocol I guess. And by nature, proprietary protocols are often much more
powerful.
For sure, with web
It would be great if we would have some
component that could handle this, but Im afraid itll be extremely
hard to accomplish:
You
would need some sort of a reflection API, and Im not
sure if that exists in Flash/Flex.
Itll
be tricky to deal with nested custom objects
in a number of cases i can
think of. But one thing for sure, i cant wait for Flex on Mac - it pains me to
run two systems side by side and my trusty macbook pro no more than an mp3
player whilst coding on a dell ;(
Oh well - such is like ;) TTFN
On 13 Aug 2006, at 07:47, Franck de
Im not sure if my message made it
to the list ...
Hi Tom,
Try: myWebService.myMethod();
Thats how I invoke my webservice
operations from Flex.
Cheers,
Franck
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Lee
Sent:
Hi Tom,
Try: myWebService.myMethod();
Thats how I invoke my webservice
operations from Flex.
Cheers,
Franck
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Lee
Sent: Thursday, August 10, 2006
7:01 PM
To:
Webservices are indeed never meant to be
hard and if they work its totally simple. If they dont work ...
youre in for trouble: check the posts ... :) Unfortunately, my feeling
tells me that Flex has more problems communicating with .Net webservices than Java
(AXIS based) webservices.
someone on this list forward me a link
to a WSDL that is publicly accessible with sample code to execute?
Thanks, Bill
FDS QA Adobe Systems Inc.
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Franck de Bruijn
Sent: Tuesday, August 08, 2006
1:59 PM
Hi Graham,
I did not read your entire post, nor do I
have any knowledge about cairngorm. But Ill give a try ...
Your code: var tObj:TestObj = event.result
as TestObj; will not work.
event.result is a dynamic Object and you
cannot cast it to your own custom made ActionScript
a look at www.xmethods.net and see if the error
reproduces
on some of their publically available services. I'll post back
once
I know whether or not it reproduces.
Thanks.
--Kaleb
--- In [EMAIL PROTECTED]ups.com
mailto:flexcoders%40yahoogroups.com
, Franck de Bruijn
Hi Samuel,
A few things:
Are
you sure that you host your Flex application also at the www.ifeel3.com site? This is a necessity
for a Flex application to communicate with a webservice, due to Flashs
security model. (unless there is somewhere a crossdomain.xml file
I was wondering about this after I sent my
reply ... What if you need a return value?
I think there are basically 3 ways to go:
The
circular dependency way: define an instance of your (custom)
view stack in your child, with a setter. After you loaded the child into
I use a function like this:
private
function loadXml(aXmlFileName:String, aResultCallBack:Function):void
{
var
xmlLoader:HTTPService;
xmlLoader
= new HTTPService();
xmlLoader.resultFormat
= e4x;
xmlLoader.url
= "">
xmlLoader.addEventListener(fault,
Hi Ben,
I personally do not like circular
dependencies. In your case the ViewStack would know about its children and the
children also know about the ViewStack. If you later decide to hang your
children in a different container you will probably have to rewrite some code
in the
,
Franck de Bruijn
franck.de.bruijn@... wrote:
Hi Kaleb,
I always expected the web service to be ready after the load event
completed. Probably it's a matter of milliseconds. I never
encountered your
problem before, since I don't automatically call web services
after loading.
So far, my
, but it rings of the unrealistic and arguably unsuccessful model
upon which Flex 1 and 1.5 were based on.
Ben
--- In [EMAIL PROTECTED]ups.com,
Franck de Bruijn
franck.de.bruijn@... wrote:
Hi Ben,
I'm not sure if I'm following you, but I'll try :).
I don't have answers, just questions
Hi Kaleb,
I always expected the web service to be
ready after the load event completed. Probably its a matter of
milliseconds. I never encountered your problem before, since I dont
automatically call web services after loading. So far, my webservices are only
invoked behind a
Hi Ben,
Im not sure if Im following
you, but Ill try :).
I dont have answers, just
questions. Let me put them to you:
Could
it maybe be the type=s:string part? Is s
pointing to the right xsd namespace?
Im
curious what is exactly making the ContainerType element
Hi,
I am not sure if my answer is really the
answer, since I personally dont use the Webservice tag, but the
webservice action script classes.
When a webservice is initialized, it will
load the wsdl from an URL. This can take some time and is an asynchronous
process. This means
Hi Ben,
I do the following to achieve this.
Lets say I have a Customer who can
have multiple Address objects. Compare Customer with your SelectedPlans and
Address with PlanNumber.
My Customer AS class looks like this
(boring parts omitted)
package
model {
your
imports
Hi Dave,
I use Eclipse WTP with the Flex plugin.
I develop my Flex application in a single Flex
project.
I then have a dummy Eclipse WTP Dynamic
project, which is nothing more than an empty shell. I have than an ant script
copying over all the binary files from the
property of an object or something?
Does valueOf() still exist?
Ben
--- In [EMAIL PROTECTED]ups.com,
Franck de Bruijn
franck.de.bruijn@... wrote:
Hi Ben,
I do the following to achieve this.
Let's say I have a Customer who can have multiple Address objects.
Compare
Customer
not until I get my IP put on a crossdomain on
the Google server? Is that right?
Charles
--- In [EMAIL PROTECTED]ups.com,
Franck de Bruijn
franck.de.bruijn@... wrote:
I checked the WSDL with SOAPUI and the WSDL looks fine.
I do see however that the WSDL is of the type doc/literal. I have
Hi Kiran,
Are you sure that the URL http://misdevservices/wsCommon/Options.asmx?wsdl
is actually a valid URL? If you are running the web services on your local
machine, youd probably have something like localhost in the URL.
How did you actually run your application?
Through
Hi Charles,
Due to the Flash security model, you
cannot access a URL that is not hosted on the same server your Flex application
is hosted, unless a crossdomain.xml is present (which does not seem to be, I
checked).
If you want to access a webservice on a
different host, you have
an error returned: The request XML was
invalid. So that is currently where I'm hung up. Thanks for the
reply though.
Charles
--- In [EMAIL PROTECTED]ups.com,
Franck de Bruijn
franck.de.bruijn@ wrote:
Hi Charles,
Due to the Flash security model, you cannot access a URL
Asynchronous event driven architecture are
a nice thing, however In a GUI you sometimes just *have* to wait before things come back, otherwise your system
becomes instable.
For example, lets say Im
doing an expensive search (takes a couple of seconds). The result needs to be
placed
, July 30, 2006 9:15
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
WebService Call
I'll try that and let you know what the results are.
Rich
--- In [EMAIL PROTECTED]ups.com,
Franck de Bruijn
franck.de.bruijn@... wrote:
Have you tried to access the wsdl and call the webservice
Have you tried to access the wsdl and call
the webservice operation from another webservice client than Flex?
The tool I always use is: http://www.soapui.org/jnlp/1.5/soapui.jnlp
(this is a webstart link; if you click it, and you have Java installed on your
machine it should start
The error you get means that the WSDL was
not loaded/parsed correctly.
Are you sure that http://localhost:9126/SOAP returns a
WSDL document?
And are you sure that you serve your application from localhost. I
mean, if you run the application locally through FlexBuilder for
I am using wsdl imports for schemas and
that works ok.
You have to be careful with the URL in the
import though. Initially, in my situation, the external IP-address of the
server was used in the import-URL, while I was testing the application from localhost.
Flex security mechanism
Hi Ben,
Seeing all your e-mails with questions about webservices, it looks, like
myself, you are struggling to get webservices to work within Flex.
Personally I investigated the compliance of Flex for both RPC/Encoded and
DOC/Literal webservices. I concluded that Flex supports the RPC/Encoded
Hi Jeremy,
The most I have for you is a guess ... I had once the same error ...
Are you sure that you are downloading your application from the url
http://fx3.homesmartagent.com?
Due to security rules, Flex applications can only stuff from the URL they
are downloaded from themselves. That
Hi Tom,
I encountered the same error today.
Your webservice is probably exposing an
operation called logout. The same method is already present in
the class mx.rpc.AbstratctService, which is a baseclass of
mx.rpc.soap.mxml.WebService. When Flex is parsing your wsdl it tries to add
--- In flexcoders@yahoogroups.com,
Franck de Bruijn
[EMAIL PROTECTED]
wrote:
Hi Malik,
It looks like your url is not
pointing to a real XML file. I
tried your
app
and I got the message 'Error #1090:
XML parser failure: element
is
malformed'.
Also be aware that
Since you are writing an open source
application, I would stick as much as possible to open source frameworks and
tools.
Im currently prototyping a Flex 2
application on the following software stack:
Frontend:
Flex 2
Interface
towards backend: Web services with Apache
in different middle-wares.
DK
On 1/3/06, Franck de Bruijn [EMAIL PROTECTED] wrote:
Since you are writing an open source
application, I would stick as much as
possible to open source frameworks and tools.
I'm currently prototyping a Flex 2
application on the following software
stack
Hi Weyert,
Im not into ECM personally. I
mostly develop administrative systems like order management systems and the
like.
I had a look though at Alfresco and after
10 minutes I have a good impression. The webservices api was not entirely
developed yet, but a quick glance at the
januari 2006 22:12
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] open
sourced Flex app
On 1/3/06, Franck de
Bruijn [EMAIL PROTECTED]
wrote:
Hi Douglas,
Exactly the same reason why I chose for web services. It's
standards based, so you're free to go on the back end.
I don't
named Dave
might have said something :) I'm thinking
for an open sourced
project, web services is the way to go, should
make it easier to plug
in different middle-wares.
DK
On 1/3/06, Franck de Bruijn [EMAIL PROTECTED] wrote:
Since you are writing an open source
application, I would stick
Hi Malik,
It looks like your url is not pointing to
a real XML file. I tried your app and I got the message Error #1090: XML
parser failure: element is malformed.
Also be aware that you cannot point to any
arbitrary URL in the WWW, since Flex apps are only allowed to obtain
71 matches
Mail list logo