Re: Customization of Service
Posted by
G.Venkata Phanindra on
URL: http://ofbiz.116.s1.nabble.com/Customization-of-Service-tp140861p140862.html
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 <
[hidden email]> 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
> <request-map uri="minipoll">
> <security https="false" auth="false"/>
> <event type="service" invoke="createSurveyResponse"/>
> <response name="success" type="view" value="surveyresponse"/>
> <response name="error" type="view" value="surveyresponse"/>
> <response name="asyncSuccess" type="view" value="surveyresponse"/>
> </request-map>
>
> 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