[OFBiz] Users - need help!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Users - need help!

Hao Jiang-4
Hello,

I'm trying to do something like Si Chen did in "hello3", the guestbook

Now I get the form showing up, then I add the action to it

give the form a target  A1

in controller.xml, define request-url="A1", type="service" invoke="A2"

in servicedef/services.xml  define service name='A2" type="java"  and so
on

now the system report can't locate service "A2", it seems don't know
where to find "services.xml"

in web.xml,

   <context-param>
        <param-name>serviceReaderUrls</param-name>
        <param-value>/WEB-INF/services.xml</param-value>
        <description>Configuration File(s) For The Service
Dispatcher</description>
    </context-param>  

is there

do I miss something else?

Thank you

Hao


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - need help!

Andrew Sykes
Hao,

Did you remember to edit ofbiz-component.xml

You need an entry something like this...
<service-resource type="model" loader="main"
location="servicedef/services.xml"/>

Kind Regards
--
Andrew Sykes <[hidden email]>
Sykes Development Ltd

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - need help!

Hao Jiang-4
Thanks a lot, it solved my problem

Hao

On Fri, 2005-09-23 at 22:06 +0100, Andrew Sykes wrote:
> Hao,
>
> Did you remember to edit ofbiz-component.xml
>
> You need an entry something like this...
> <service-resource type="model" loader="main"
> location="servicedef/services.xml"/>
>
> Kind Regards


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - need help!

Andrew Sykes
Hao,

No problem, hope you like it!
--
Andrew Sykes <[hidden email]>
Sykes Development Ltd

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users