what this line of code mean
if it is calling a service named userLogin where is it defined result = dispatcher.runSync("userLogin", UtilMisc.toMap("login.username", username, "login.password", password, "visitId", visitId, "locale", UtilHttp.getLocale(request))); |
Hi,
If you are using eclipse, you can do a ctrl+H and search for your service keyword eg. "userLogin" in containing text and for file name patterns put - *ser*.xml, else u can find it in servicedef folder which contains the service definition files. Thanks, Nikita Shinde. Amicon Technologies Pvt. Ltd. Mumbai. -----Original Message----- From: amit charaya [mailto:[hidden email]] Sent: Tuesday, August 14, 2007 6:10 PM To: [hidden email] Subject: loginworker code explanation what this line of code mean if it is calling a service named userLogin where is it defined result = dispatcher.runSync("userLogin", UtilMisc.toMap("login.username", username, "login.password", password, "visitId", visitId, "locale", UtilHttp.getLocale(request))); -- View this message in context: http://www.nabble.com/loginworker-code-explanation-tf4267047.html#a12143707 Sent from the OFBiz - User mailing list archive at Nabble.com. |
Thanx for Help
I tried that but no success. Amit Kumar Pal Info Com Chandigarh
|
Try putting the keyword in containing text as - <service name="userLogin"
And file name patterns put - *ser*.xml I hope you selecting the scope as well. Nikita Shinde. Amicon Technologies Pvt. Ltd. Mumbai. -----Original Message----- From: amit charaya [mailto:[hidden email]] Sent: Tuesday, August 14, 2007 6:44 PM To: [hidden email] Subject: RE: loginworker code explanation Thanx for Help I tried that but no success. Amit Kumar Pal Info Com Chandigarh Nikita Shinde wrote: > > Hi, > > If you are using eclipse, you can do a ctrl+H and search for your > service > keyword eg. "userLogin" in containing text and for file name patterns put > - > *ser*.xml, else u can find it in servicedef folder which contains the > service definition files. > > > > Thanks, > Nikita Shinde. > Amicon Technologies Pvt. Ltd. > Mumbai. > > -----Original Message----- > From: amit charaya [mailto:[hidden email]] > Sent: Tuesday, August 14, 2007 6:10 PM > To: [hidden email] > Subject: loginworker code explanation > > > what this line of code mean > if it is calling a service named userLogin where is it defined > result = dispatcher.runSync("userLogin", UtilMisc.toMap("login.username", > username, "login.password", password, "visitId", visitId, "locale", > UtilHttp.getLocale(request))); > -- > View this message in context: > > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > -- View this message in context: http://www.nabble.com/loginworker-code-explanation-tf4267047.html#a12144110 Sent from the OFBiz - User mailing list archive at Nabble.com. |
In reply to this post by Pal Infocom Technologies-2
Hi
U can find this service in org.ofbiz.common.login.LoginServices Thanks Ahmed Raza Amicon Technologies Pvt. Ltd. Mumbai. -----Original Message----- From: amit charaya [mailto:[hidden email]] Sent: Tuesday, August 14, 2007 6:44 PM To: [hidden email] Subject: RE: loginworker code explanation Thanx for Help I tried that but no success. Amit Kumar Pal Info Com Chandigarh Nikita Shinde wrote: > > Hi, > > If you are using eclipse, you can do a ctrl+H and search for your > service > keyword eg. "userLogin" in containing text and for file name patterns put > - > *ser*.xml, else u can find it in servicedef folder which contains the > service definition files. > > > > Thanks, > Nikita Shinde. > Amicon Technologies Pvt. Ltd. > Mumbai. > > -----Original Message----- > From: amit charaya [mailto:[hidden email]] > Sent: Tuesday, August 14, 2007 6:10 PM > To: [hidden email] > Subject: loginworker code explanation > > > what this line of code mean > if it is calling a service named userLogin where is it defined > result = dispatcher.runSync("userLogin", UtilMisc.toMap("login.username", > username, "login.password", password, "visitId", visitId, "locale", > UtilHttp.getLocale(request))); > -- > View this message in context: > > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > -- View this message in context: http://www.nabble.com/loginworker-code-explanation-tf4267047.html#a12144110 Sent from the OFBiz - User mailing list archive at Nabble.com. |
Free forum by Nabble | Edit this page |