Re: Java Service Classes

2012-07-16 Thread Robert G.
...at the end, you save time with that! Kindly Robert -- View this message in context: http://ofbiz.135035.n4.nabble.com/Java-Service-Classes-tp4634814p4634912.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Java Service Classes

2012-07-16 Thread BJ Freeman
a bundle of services, which run all together with just one call.. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Java-Service-Classes-tp4634814p4634819.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Java Service Classes

2012-07-15 Thread Prabhakar Pandey
-groups with that you can call a bundle of services, which run all together with just one call.. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Java-Service-Classes-tp4634814p4634819.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Java Service Classes

2012-07-13 Thread Himanil Gupta
Hi Prabhakar, The scenario you are given is not properly executed because, in this case the second event(viewEmployee) doesn't works for either success or failure of event(createEmployee). Thus to successfully execute this you have to provide response 'type=request' for first event which on

Re: Java Service Classes

2012-07-13 Thread Mayank
hi Prabhakar, In this scenario , your second event will not get executed because after getting response success(or error) from first event it will not return back to call the second event. For achieving required functionality you can use response type=request-redirect in your first

Re: Java Service Classes

2012-07-13 Thread Mayank
Prabhakar, You can't call runSync in this way because it is wrong syntactically, you have to pass map as parameter while calling runSync. Also you can pass empty map as parameter but in this case service will return error : IN parameter is missing. Regards Mayank Sheth On 07/13/2012

Re: Java Service Classes

2012-07-13 Thread Robert G.
Why dont you use service-groups with that you can call a bundle of services, which run all together with just one call.. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Java-Service-Classes-tp4634814p4634819.html Sent from the OFBiz - User mailing list archive at Nabble.com.