"Positional" parameters work fine for me against my dot.net web service.
Though I use the send() syntax: atCall = wsOperation.send(sKey1,sKey2,_sSId); Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Monday, June 30, 2008 6:56 AM To: [email protected] Subject: Re: [flexcoders] WebService call with more than one argument in call You want: myService.myOperation.arguments = { parm1: value1, parm2: value2 }; myService.myOperation.send(); -Josh On Mon, Jun 30, 2008 at 5:39 PM, dsb1971 <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Hello group, I am new to Flex and try to play around with WebServcies. Everything is ok when I only have one paramter as an argument for the service. But when I try to use more than one parameter to hand over to the service-operation, the value of the first argument overwrites the second argument. I do call the Service in this way: webService.myoperation('D','990'); I did some traffic-sniffing using fiddler and the sent request looks like this: <SOAP-ENV:Envelope xmlns:SOAP- ENV="http://schemas.xmlsoap.org/soap/envelope/ <http://schemas.xmlsoap.org/soap/envelope/> " xmlns:xs="http://www.w3.org/2001/XMLSchema <http://www.w3.org/2001/XMLSchema> " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance <http://www.w3.org/2001/XMLSchema-instance> "> <SOAP-ENV:Body> <ns0:myoperation xmlns:ns0="http://sv0000.wsbeans.iseries/xsd <http://sv0000.wsbeans.iseries/xsd> "> <ns0:param0> <ns0:_IARTNR>D</ns0:_IARTNR> <ns0:_IFIRMA>D</ns0:_IFIRMA> </ns0:param0> </ns0:myoperation> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Whereas it should look like this: ... <ns0:_IARTNR>D</ns0:_IARTNR> <ns0:_IFIRMA>990</ns0:_IFIRMA> ... Am I doing something wrong or is this a bug in Flex when dealing with more than one parameter in the service call? I couldn't find an example where a webservice uses more than one argument but my call is just the way it is described in the manual. Does anybody have a link to a working example that uses webservices with more than one argument? Btw.: up to now I do use the trial version of Flex Builder 3 - maybe this is a limitation of the trial version? Thanks in advance for any hint, Daniel Schlichtholz ------------------------------------ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo <http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo> ! Groups Links (Yahoo! ID required) mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

