You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Sebastian Erler <Se...@gmx.net> on 2010/12/11 16:46:00 UTC

Remote Access of OFBiz Services

Hi All,

i want to set up two OFBiz instances in the following way. One Ofbiz uses specific services of the second ofbiz remotely and not its local services (for study reasons). 

As far as i understand it, ofbiz services are defined in several service.xml files (i.e. OFBiz_home/applications/product/servicedef/service.xml).
There we have elements like this:

<service name="..." location"...">...</service>

Is it possible to set a service location to another running Ofbiz instance? 
Or does somebody know a better way of telling Ofbiz to use a remote service(or component) of another Ofbiz?


Thanks in advance

Sebastian Erler


-- 
GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit 
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl

Re: Remote Access of OFBiz Services

Posted by Abhishake Agarwal <ab...@gmail.com>.
Hi,

you can expose the service  using export attribute.

<service name="..." location"..."   export="true">...</service>

This will expose the service as a webservice.

Regards,
Abhishake


On Sat, Dec 11, 2010 at 9:16 PM, Sebastian Erler
<Se...@gmx.net>wrote:

> Hi All,
>
> i want to set up two OFBiz instances in the following way. One Ofbiz uses
> specific services of the second ofbiz remotely and not its local services
> (for study reasons).
>
> As far as i understand it, ofbiz services are defined in several
> service.xml files (i.e.
> OFBiz_home/applications/product/servicedef/service.xml).
> There we have elements like this:
>
> <service name="..." location"...">...</service>
>
> Is it possible to set a service location to another running Ofbiz instance?
> Or does somebody know a better way of telling Ofbiz to use a remote
> service(or component) of another Ofbiz?
>
>
> Thanks in advance
>
> Sebastian Erler
>
>
> --
> GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit
> gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
>