Debug this by breaking the issue into parts.  Make sure you have the
values in the component first.  There are several ways to do this, try a
few.

 

One alternative to the declaritive style is to set the request object
and invoke send() in AS.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of sanyobn2
Sent: Thursday, January 18, 2007 9:01 AM
To: [email protected]
Subject: [flexcoders] Probably dead simple but......

 

HI,

Been thrashing about all morning with this.

I cant get two variables that I have passed in as 'flashVars' to act
as <mx:request> options for accessing a web service, I can use them as
on everything else (text etc) but when i call the webservice nothing
is passed. Sure it must be easy but cant see the wood from the trees.

Thanks in advance.

example code - 

This returns nothing
--------------------

<mx:operation name="getUserinfo" resultFormat="e4x">
<mx:request>
<SFSESSION_ID>{Application.application.parameters.SESSION_ID.value}</SFS
ESSION_ID>
<SERVER_URL>{Application.application.parameters.SERVER_URL.value}</SERVE
R_URL>
</mx:request>
</mx:operation>

This returns the session_Id correctly
-------------------------------------

<mx:Text x="23" y="380"
text="{Application.application.parameters.SESSION_ID}"/>

They are directly under each other....

Help !!

 

Reply via email to