Community mailing list archives

community@mail.odoo.com

Re: Call a webservice from odoo

by
Phillip
- 11/19/2015 11:00:05
I think you could accomplish what you are looking for using javascript in your page using ajax I think you could make a call to a php page. You could run javascript which interacts with php through ajax. Retrieve your data and either update the dom or use json rpc to import the data into odoo database.

Using python you could use requests. Check out REQUESTS INFO
use requests to interact with php get your data and utilize it for your odoo function.


 On 2015-11-19 10:42 AM, Moises Lopez wrote:
<blockquote cite="mid:CAGro9RUWx0FRwQdrSRbLqwaex0CbGD-2R5oY+FPNjBkCKtbxfw@mail.gmail.com" type="cite">
Hello Franco,
Your question should be with "python" (not odoo).

You can call webservices with python:
(if is a xmlrpc provider)

What is the type of webservice provider from php?


2015-11-19 10:34 GMT-05:00 Kristian Koci <kristian.koci@gmail.com>:
Hi Franco

Why you need to interact from odoo, and not the other way around?

On Thu, Nov 19, 2015 at 10:57 AM, Franco Ordoñez <francordonez@gmail.com> wrote:
Hi Community

Is there some way to call a php webservice from odoo... i've been serching but nothing, i only find how to call an odoo werbservice from php.

My need is to intereact with a php application 

THanks

--
- FO

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Kristian Koci
Linux User #582221

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Moisés López Calderón
Vauxoo - OpenERP's Gold Partner
Mobile: (+521) 477-752-22-30
Office: (+52) 477-773-33-46
web: http://www.vauxoo.com
twitter: @vauxoo
           @moylop260           

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


-- 
Phillip 

AIM Systems