You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by prasanthi_ofbiz <pr...@tcs.com> on 2010/07/09 14:08:19 UTC

How to create our own service

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.

Re: How to create our own service

Posted by Brajesh Patel <br...@hotwaxmedia.com>.
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
>
>   


Re: How to create our own service

Posted by Santosh Malviya <sa...@gmail.com>.
Hello Prasanthi,

Have a look on createRoleType service.

Thanks and Regards
Santosh Malviya

On Fri, Jul 9, 2010 at 5:38 PM, prasanthi_ofbiz <
prasanthi.sreeramjammisetty@tcs.com> 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.
>

Re: How to create our own service

Posted by BJ Freeman <bj...@free-man.net>.
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
>