How to create our own service

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

How to create our own service

prasanthi_ofbiz
Hi,
I want to know How to create our own service in side ofbiz application . I want to create a service which will insert
FIN_ACCOUNT_TYPE_ID, PARENT_TYPE_ID, REPLENISH_ENUM_ID, IS_REFUNDABLE, HAS_TABLE, DESCRIPTION, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP
data into OFBIZ.FIN_ACCOUNT_TYPE table and it will be called from external java application i.e; out side ofbiz application.
Please help me.
Regards
Prasanthi
Reply | Threaded
Open this post in threaded view
|

Re: How to create our own service

Santosh Malviya-3
Hello Prasanthi,

Have a look on createRoleType service.

Thanks and Regards
Santosh Malviya

On Fri, Jul 9, 2010 at 5:38 PM, prasanthi_ofbiz <
[hidden email]> wrote:

>
> Hi,
> I want to know How to create our own service in side ofbiz application . I
> want to create a service which will insert
> FIN_ACCOUNT_TYPE_ID, PARENT_TYPE_ID, REPLENISH_ENUM_ID, IS_REFUNDABLE,
> HAS_TABLE, DESCRIPTION, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP,
> CREATED_STAMP, CREATED_TX_STAMP
> data into OFBIZ.FIN_ACCOUNT_TYPE table and it will be called from external
> java application i.e; out side ofbiz application.
> Please help me.
> Regards
> Prasanthi
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/How-to-create-our-own-service-tp2283203p2283203.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: How to create our own service

Brajesh Patel-2
In reply to this post by prasanthi_ofbiz
Hi,
http://markmail.org/search/?q=Access%20OFBiz%20webservice%20from%20external%20java%20client#query:Access%20OFBiz%20webservice%20from%20external%20java%20client+page:1+mid:u7btmnwh5g3j3zj3+state:results
please refer above link.

Thanks
Brajesh Patel

prasanthi_ofbiz wrote:

> Hi,
> I want to know How to create our own service in side ofbiz application . I
> want to create a service which will insert
> FIN_ACCOUNT_TYPE_ID, PARENT_TYPE_ID, REPLENISH_ENUM_ID, IS_REFUNDABLE,
> HAS_TABLE, DESCRIPTION, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP,
> CREATED_STAMP, CREATED_TX_STAMP
> data into OFBIZ.FIN_ACCOUNT_TYPE table and it will be called from external
> java application i.e; out side ofbiz application.
> Please help me.
> Regards
> Prasanthi
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: How to create our own service

BJ Freeman
In reply to this post by prasanthi_ofbiz
do a search for the entity in code for how to create and add data.
create a event service.
I call this through the controller as a post then have a ftl that return
an xml response that I use.
you can look at taxware, USP code for an idea what you implement as far
as communication with ofbiz this way.
note this is one way to do it but not the only way.

prasanthi_ofbiz sent the following on 7/9/2010 5:08 AM:

>
> Hi,
> I want to know How to create our own service in side ofbiz application . I
> want to create a service which will insert
> FIN_ACCOUNT_TYPE_ID, PARENT_TYPE_ID, REPLENISH_ENUM_ID, IS_REFUNDABLE,
> HAS_TABLE, DESCRIPTION, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP,
> CREATED_STAMP, CREATED_TX_STAMP
> data into OFBIZ.FIN_ACCOUNT_TYPE table and it will be called from external
> java application i.e; out side ofbiz application.
> Please help me.
> Regards
> Prasanthi
>