Posted by
subhradeep bhatacharya on
URL: http://ofbiz.116.s1.nabble.com/Customization-of-Service-tp140861p140863.html
Hi Phani,
What I guess is that you have added a new service defination file in your application and you have missed to mount it by adding its entry in ofbiz-component.xml.
For e.g.:
<service-resource type="model" loader="main" location="servicedef/services_club.xml"/>
Hope this will work for you.
Regards,
Subhra
"G.Venkata Phanindra" <
[hidden email]> wrote:
Hi..
I have created a new service defination and i have created respective
xml files in my respective folder but i am getting the Exception that
[java] 1186168 (http-0.0.0.0-8080-Processor4) [
RequestHandler.java:282:ERROR]
Request minipoll caused an error with the following message: Error calling
event: org.ofbiz.webapp.event.EventHandlerException: Problems getting the
service model (Cannot locate service by name (gniCreateSurveyResponse))
[java] 1187026 (http-0.0.0.0-8080-Processor4) [ EntityExpr.java:60
:ERROR]
[java] ---- exception report
----------------------------------------------------------
[java] EntityExpr called with lhs as a String; consider recompiling
[java] Exception: java.lang.Exception
[java] Message: null
[java] ---- stack trace
---------------------------------------------------------------
Do i need to configure my service else where.....
Regards,
Phani
On 7/24/06, 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
>
--
G.Venkata Phanindra
Mob:: 9849852989
---------------------------------
How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.