Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
Bob A #1
required arguments in Flex 1.5 - kills webservice
I am running Flex1.5 with Tomcat 5.0. I dropped the samples.war file in webapps
and everything worked great.
I am planning to use on example, the NamedWebServiceDemo, with mods as my
first application. I simply recompiled the EmployeeManager.java file in
{tomcat}\webapps\samples\WEB-INF\classes\samples\explorer in preparation for
actually changing it a bit. NOW the application fails with the message:
Required parameter 'in0' not found in input argument.
I did find one reference to this error
([url]http://www.macromedia.com/support/documentation/en/flex/1_5/migration.html[/url])
message stating that 1.5 enforces arguments. I did not change arguments for
anything and this should still work. I decompiled the included class file and
it is, except for variable names, identical to the file EmployeeManager.java
file that I have.
I am stuck! I do not see how to get around this behavior.
Bob A Guest
-
Flex 3 webservice fail
Hello, I have an app i've been creating over the last couple months using Flex 2. Yesterday i upgraded to FB 3 Pro, and imported my previous... -
Help loading .net webservice data into flex grid -surely this is simple???!!!
Hi, Tanks for your answer, but im not seem the solution yet. I have dificult whith XML structure. My webservice return the XLM below. I need... -
WebService Proxy Error: Positive number required
We are attempting to utilize a J2EE\IBM WSA webservice and on the oneway method call I get the following exception ... -
Question about privileges required to call LoadUserProfile from ASP.NET webservice
I am trying to call LoadUserProfile from within an ASP.NET webservice. I have set the process to run under an impersonated account that is an... -
Ineroperability of Webservice arguments.
I have a web service that takes and returns a byte . As long as I have a .NET client this seems to work OK. I was wondering if I would be better... -
thymecd@sina.com #2
Re: required arguments in Flex 1.5 - kills webservice
I met the same problem.
My previous code:
<mx:operation name="updateUser">
<mx:request>
<id>{dg.selectedItem.id}</id>
<name>{txtname.text}</name>
<password>{txtpass.text}</password>
<age>{txtage.text}</age>
</mx:request>
</mx:operation>
But it did not work.
My current code:
<mx:operation name="updateUser">
<mx:request>
<in0>{dg.selectedItem.id}</in0>
<in1>{txtname.text}</in1>
<in2>{txtpass.text}</in2>
<in3>{txtage.text}</in3>
</mx:request>
</mx:operation>
It runs correctly now.
I am not sure why. But I think, user who invoke the web service should
not know the arguments' name of the remote method. So we should depend
on the position of the arguments, not the name of the arguments to
match the remote method.
thymecd@sina.com Guest



Reply With Quote

