Integrating OFBiz with mobile clients

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

Integrating OFBiz with mobile clients

taher
Hello Folks,

We're looking at possible architectures for communication between
OFBiz as a server and mobile apps (iOS & Android). In other frameworks
we usually achieve this using a RESTful API to communicate between
both end points.

Given that we didn't (yet) implement REST integration in OFBiz, what
are the possible architectures? Should we go with SOAP, HTTP requests,
something else? What would you consider to be the pros and cons? Did
anyone find a simple-enough solution to this?
Reply | Threaded
Open this post in threaded view
|

Re: Integrating OFBiz with mobile clients

Michael Brohl-3
Hi Taher,

we use http requests with authentication headers and Json as the
exchange format.

Best regards,

Michael


Am 28.10.18 um 17:08 schrieb Taher Alkhateeb:

> Hello Folks,
>
> We're looking at possible architectures for communication between
> OFBiz as a server and mobile apps (iOS & Android). In other frameworks
> we usually achieve this using a RESTful API to communicate between
> both end points.
>
> Given that we didn't (yet) implement REST integration in OFBiz, what
> are the possible architectures? Should we go with SOAP, HTTP requests,
> something else? What would you consider to be the pros and cons? Did
> anyone find a simple-enough solution to this?


smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Integrating OFBiz with mobile clients

satish
In reply to this post by taher
Hi Taher,
It will be better if we will use HTTPS based RESTful Services with Header
Authentication which produces and consume JSON data. For this, we can use
Jersey RESTful Web Services framework.

I think we can easily expose most of OFBiz services as REST by using the
Jersey framework.

Thanks,
Satish Kumar



--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
Reply | Threaded
Open this post in threaded view
|

Re: Integrating OFBiz with mobile clients

taher
In reply to this post by Michael Brohl-3
Simple and beautiful, it's good to know that this is doable without
issues. Thank you for sharing Michael.
On Sun, Oct 28, 2018 at 7:48 PM Michael Brohl <[hidden email]> wrote:

>
> Hi Taher,
>
> we use http requests with authentication headers and Json as the
> exchange format.
>
> Best regards,
>
> Michael
>
>
> Am 28.10.18 um 17:08 schrieb Taher Alkhateeb:
> > Hello Folks,
> >
> > We're looking at possible architectures for communication between
> > OFBiz as a server and mobile apps (iOS & Android). In other frameworks
> > we usually achieve this using a RESTful API to communicate between
> > both end points.
> >
> > Given that we didn't (yet) implement REST integration in OFBiz, what
> > are the possible architectures? Should we go with SOAP, HTTP requests,
> > something else? What would you consider to be the pros and cons? Did
> > anyone find a simple-enough solution to this?
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Integrating OFBiz with mobile clients

taher
In reply to this post by satish
Hi Satish,

Multiple discussions happened around REST integration and it is a work
in progress right now, you can check at the developers mailing list. I
was just trying to find a solution _now_ and Michael gave me a good
starting point.
On Mon, Oct 29, 2018 at 8:00 AM satish <[hidden email]> wrote:

>
> Hi Taher,
> It will be better if we will use HTTPS based RESTful Services with Header
> Authentication which produces and consume JSON data. For this, we can use
> Jersey RESTful Web Services framework.
>
> I think we can easily expose most of OFBiz services as REST by using the
> Jersey framework.
>
> Thanks,
> Satish Kumar
>
>
>
> --
> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
Reply | Threaded
Open this post in threaded view
|

Re: Integrating OFBiz with mobile clients

Lokesh
Dear Team,

We are in similar situation, where in Ofbiz 16.11 currently used, and we
want RESTFul API's for our Mobile app and Angular based web application.

Is there any successful RESTFul apis made by other developers @Satish and
@Taher?

What is the specific JAX-RS version is compatible or much easier to go
16.11?

Many thanks in advance.

Regards
Lokesh



--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html