You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jim Yanda <ji...@profitech.us> on 2008/06/17 15:05:00 UTC
pass list to service in beanshell - syntax
Hello,
I'm trying to test a service in beanshell and need to know the syntax for
passing a list to the service. I am doing this:
result = dispatcher.runSync("myNewService", UtilMisc.toMap("orderIdList",
"my, id, list, here", "login.username", "foo", "login.password", "bar"));
I'm getting an error saying I'm passing a string.
Thanks.
Jim
--
View this message in context: http://www.nabble.com/pass-list-to--service-in-beanshell---syntax-tp17899770p17899770.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.
Re: pass list to service in beanshell - syntax
Posted by Bruno Busco <br...@gmail.com>.
Not sure 100% but please read here:
http://markmail.org/message/73e5wtnb2m4w4ikw?q=bruno+busco+map+parameter+service&page=1&refer=73e5wtnb2m4w4ikw
hope it helps.
-Bruno
2008/6/17 Jim Yanda <ji...@profitech.us>:
>
> Hello,
> I'm trying to test a service in beanshell and need to know the syntax for
> passing a list to the service. I am doing this:
> result = dispatcher.runSync("myNewService", UtilMisc.toMap("orderIdList",
> "my, id, list, here", "login.username", "foo", "login.password", "bar"));
> I'm getting an error saying I'm passing a string.
> Thanks.
> Jim
> --
> View this message in context:
> http://www.nabble.com/pass-list-to--service-in-beanshell---syntax-tp17899770p17899770.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>
>
Re: pass list to service in beanshell - syntax
Posted by Jacques Le Roux <ja...@les7arts.com>.
Please use rather user ML for such questions :
http://docs.ofbiz.org/display/OFBADMIN/Mailing+Lists#MailingLists-DeveloperList:dev@ofbiz.apache.org
Thanks
Jacques
From: "Jim Yanda" <ji...@profitech.us>
>
> Hello,
> I'm trying to test a service in beanshell and need to know the syntax for
> passing a list to the service. I am doing this:
> result = dispatcher.runSync("myNewService", UtilMisc.toMap("orderIdList",
> "my, id, list, here", "login.username", "foo", "login.password", "bar"));
> I'm getting an error saying I'm passing a string.
> Thanks.
> Jim
> --
> View this message in context: http://www.nabble.com/pass-list-to--service-in-beanshell---syntax-tp17899770p17899770.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>