Hi Everyone!
I'm having an issue with getting the names of parameters in Java defined services to show up in the converted Action Script services.
Unfortunatley, whenever I define a java service with parameters, the names of those parameters are lost on intorspection and are only represented with names like "arg1, arg2, arg3.." instead of "userId, name, password" etc..
So My question is, how do I get BlazeDS to maintain those parameter names or at the very least allow me to redefine them something other than the generic (and useless) arg1, arg2, arg3 ?
Note**: I have tried packaging BeanInfo.java classes with my services but it doesn't seem to make a differance.
Thanks!
UPDATE: just a simple example to better explain the situation:
So this method in java:
||| |||
vvv vvv
public HelloWorld getHelloWorld(String hello, String world)
{
HelloWorld helloWorld = new HelloWorld();
return helloWorld;
}
}
Becomes in Action Script(in Flash Builder):
||| |||
vvv vvv
public function getHelloWorld(arg0:int, arg1:String) : mx.rpc.AsyncToken
{
var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("getHelloWorld");
var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(arg0,arg1) ;
return _internal_token;
}
how do I get hello & world to replace arg0 & arg1 respectively?
Thanks again!
North America
Europe, Middle East and Africa
Asia Pacific