Re: Customization of Service

Posted by Ashish Vijaywargiya-2 on
URL: http://ofbiz.116.s1.nabble.com/Customization-of-Service-tp140861p140867.html

Yeah you are correct subhra,
 I didn't noticed that event type is service.
 Your suggesstion is correct.
 
 Regards
 Ashish Vijaywargiya
subhradeep bhatacharya <[hidden email]> wrote: Hi Ashish/Venkata,
   
 In OfBiz a service is visible to all applications deployed. So in all the applications scope in total you cannot have two services with same name. As far my experience it will not give any exception but you cannot guarantee which service will get called when. Whenever you made any change in any service, it will be visible for all
  applications.
   
  Also according to me, we can use path attribute for event type java or simple and not for service.
   
  Bug me if I'm wrong.
   
 But sorry I have no solution for the problem. May be you can use something like wrapper service. Hope you will get workaround for it soon.
   
  Regards,
  Subhra

Ashish Vijaywargiya  wrote:
  Hi,

With the help of path attribute you can easily specify location to redirect.
For eg :


I hope this would be helpful for you.

Regards
Ashish Vijaywargiya

"G.Venkata Phanindra"
wrote: Hi..
I want to make few changes with SurveyServices.xml file and i want to
move the files into my own application so as to the entire ofbiz will not be
getting effected but when i call the service in controller.xml file as
bellow








by default it will go to service_servey,xml file in
applications/content/servicedef/services_servey.xml file and from there it
will look at SurveyServices.xml file in
applications/content/script/org/ofbiz/content/survey/SurveyServices.xml file
but i want to move into different location how can i change it.


--
G.Venkata Phanindra
Mob:: 9849852989



---------------------------------
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.

   
---------------------------------
Do you Yahoo!?
 Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.

 
---------------------------------
Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail Beta.