The access using array notation worked fine, i was misspelling the word return.
thanks
Hi Ben and thanks for responding
I already tried the array notation but doesn't work. And for the second issue i'm going to try that
Comments?, suggestions?
ThanksOn 10/4/06, ben.clinkinbeard <[EMAIL PROTECTED]> wrote:--My best guess for the first issue would be to use "array notation" or
whatever its called.
WebService.Operation.lastResult["return"]
As for the other one, maybe something like this? (Not sure if this
will work... this might not be possible.)
public dynamic class Name
{}
var n:Name = new Name();
n["Name"] = "Bob";
HTH,
Ben
--- In [email protected], Leo <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I solved this problem setting the property resultFormat to "e4x" and
> using the appropiate namespace like said in the docs. But now i have 2
> more issues:
>
> 1) I can't acces the web service int return value because it's called
> "return" and if i use WebService.Operation.lastResult.return the
> compiler throws an error because return is used for other purpouses.
>
> 2) I need to pass a parameter that has a property named the same as
> the parameter and i'm using action script classes to define the
> complex structures. But the compiler doesn't allow me to do that (i.e:
> public class Name{ public var Name:String; }
>
> If you can give me some advices will be very helpful
>
> Thanks for your time
>> On 10/4/06, Leo <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > I need to use some already deployed webservices made in RAD (Rational
> > Application Developer) and published in a WebSphere v6[.1] server. I'm
> > new in consumig web services in Flex so i referred to the docs and try
> > to find out how to do that in the right way. The services are defined
> > with parameters that can be complex structures and may be in-out-inout
> > and have a return type that in the services i need to consume is a int
> > type. When i define this web service in flex and i make the call
> > websphere receive this call with the parameters that i sent correctly
> > (complex structures included) but when i look for the result in the
> > WebService.Operation.lastResult field back in Flex i just find the int
> > return (Number for ActionScript) from the web service but i can't have
> > the values of the complex structures that are defined inout.
> >
> > So if some of you have faced this problem before or have some docs or
> > hints for me it will be very appreciated
> >
> > Thanks in advance and regards
> >
> > --
> > Leonardo Moreno Guzmán
> > http://leo.logtar.com
> > http://www.flickr.com/photos/leillo/ |
http://www.flickr.com/people/leillo/
> >
>
>
> --
> Leonardo Moreno Guzmán
> http://leo.logtar.com
> http://www.flickr.com/photos/leillo/ |
http://www.flickr.com/people/leillo/
>
Leonardo Moreno Guzmán
http://leo.logtar.com
http://www.flickr.com/photos/leillo/ | http://www.flickr.com/people/leillo/
--
Leonardo Moreno Guzmán
http://leo.logtar.com
http://www.flickr.com/photos/leillo/ | http://www.flickr.com/people/leillo/
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Software development tool Software development Software development services Home design software Software development company
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
- Re: [flexcoders] Re: Accesing complex structures in resul... Leo
- [flexcoders] Re: Accesing complex structures in resu... bobignacio
- [flexcoders] Re: Accesing complex structures in ... ben.clinkinbeard
- [flexcoders] Re: Accesing complex structures... bobignacio
- [flexcoders] Re: Accesing complex struct... ben.clinkinbeard
Reply via email to

