This forum is now just an archive. Use the new Q&A website
It is currently Sat Apr 19, 2014 6:21 am

All times are UTC + 2 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: XML/RPC server not supporting introspection?
PostPosted: Sun Mar 30, 2008 4:02 am 
Offline

Joined: Fri Jan 25, 2008 8:01 pm
Posts: 720
Hi,

I just wanted to test a bit TinyERP interoperability. I would be really pleased if I could tigger TinyERP events from some external workflow engine like Intalio BPM (now open source). Usuallly, such BPEL engines offer a nice looking grad'n'drop GUI interface for non coder to design enterprise workflows where they can interconnect webservices based on their WSDL desciption.

No more SOAP neither WSDL in Tiny. Fine. So I would like to know if I could developp a custom connector based on XML/RPC instrospection instead.

But I'm not sure this possible. Indeed. XML/RPC servers supporting the introspection API are suposed to proxy system.listMethods(), system.methodSignature(name) and system.methodHelp(name) as describded here: http://docs.python.org/lib/serverproxy-objects.html

But while I can XML/RPC with TinyERP, it looks like I can't get the introspection working, I'm getting those errors when trying to call the introspection methods:
xmlrpclib.Fault: <Fault 'LocalService' object has no attribute 'system.methodSignature': ...

Please, is there something I'm doing wrong? Or does TinyERP simply not support XML/RPC introspection? Isn't it a good feature to incorporate?
Thanks for any help.


Rapha


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 28, 2008 1:44 pm 
Offline

Joined: Fri Mar 31, 2006 9:16 pm
Posts: 12
Hi there,

I couldn't agree with you more. Look at the major ERP manufacturers, they are all (almost all) adding a SOA layer to extend their ERP features to the rest of the world. They (and We) know an ERP will cover 40-50% of your business processes, thoses processes that can hardly suffer exceptions. Using a BPMS like Intalio is very powerful in terms of process improvement, agility and integration of particular processes.

For the time being, I don't believe Tiny will come up with a real SOAP interface, respecting the WSI BasicProfile recommendations. All you could do is to develop your own Data Services using open source tools such as Talend or Xaware. You would then invoke these web services from Intalio on one hand. On the other hand, if you want to trigger Intalio processes from TinyERP, you would have to use Python scripting to add triggers on specific user actions in TinyERP.

Good luck !

_________________
Hicham
OperMIX = BPM + SOA + RIA + SaaS + Open Source


Top
 Profile  
 
 Post subject: So... ? :)
PostPosted: Thu Jul 24, 2008 3:19 pm 
Offline

Joined: Thu Jul 24, 2008 3:03 pm
Posts: 2
Hm seems like nobody gave a clear answer to your question yet.
I'm starting to learn about OpenERP integration and I came accross with the same error:
xmlrpclib.Fault: <Fault 'LocalService' object has no attribute 'system.listMethods'

I understand that server-side introspection may not be suitable in a production system but it would be a nice help for developers, as the documentation about OpenERP's XML-RPC methods is still quite minimal.

Is there any place where I can find more informations about XML/NET RPC methods than the actual devbook?

Abric Luc
Omega Consulting


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 29, 2008 4:02 pm 
Offline

Joined: Fri Jan 25, 2008 8:01 pm
Posts: 720
Hi,

I've discussed the issue with Tiny. That wouldn't be that hard they say. Anyway I've added a blueprint for this as they suggested:
https://blueprints.launchpad.net/openob ... rospection

Raphaël Valyi.

_________________
Raphaël Valyi

CEO and OpenERP consultant at
http://www.akretion.com
http://twitter.com/rvalyi


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 05, 2009 3:20 pm 
Offline

Joined: Fri Feb 13, 2009 11:35 am
Posts: 8
Hello,

I'm currently developing an application (Java Micro Edition) that should talk to OpenERP in XML/RPC, in particular with the hr_timesheet module. For example, to do a sign in/out from a mobilephone :D

Sorry to up such an old topic but I need answers :cry:

Quote:
Is there any place where I can find more informations about XML/NET RPC methods than the actual devbook?


:arrow: Does someone have any hints please?

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 06, 2009 1:12 am 
Offline

Joined: Fri Jan 25, 2008 8:01 pm
Posts: 720
Dweawyn,

I you want and if you can expermient with the Ruby On Rails connector I'm building for OpenERP. It's using native webservices to indeed introspect the datamodel, at least the relationnal part of it (the extra non CRUD controllers methodes aren't introspected, I don't know if they could be). So this is not an API introspection but still this is introspection.
The connector isn't released yet officially, but you can read a preview and experiment from here, may it help you:
http://code.google.com/p/ooor/source/br ... unk/README

Raphaël Valyi

_________________
Raphaël Valyi

CEO and OpenERP consultant at
http://www.akretion.com
http://twitter.com/rvalyi


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 09, 2009 1:44 pm 
Offline

Joined: Fri Feb 13, 2009 11:35 am
Posts: 8
I've looked but it doesn't help. Thanks for trying to help me.
I'll create another topic about my specific problem.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP