How to integrate C# Application with OFBIZ Framework?

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

How to integrate C# Application with OFBIZ Framework?

saravanan6
Hi All,

            We already created a window application in C#. Now, We want to integrate C# Application with OFBIZ. But we don't know how to switch to ofbiz. Thus ofbiz support C#. Please post your suggestions for this problem.


Thanks & Regards,
P.SARAVANAN
Reply | Threaded
Open this post in threaded view
|

Re: How to integrate C# Application with OFBIZ Framework?

Paul Foxworthy
Hello P. Saravanan,

Ofbiz is mostly written in Java, Groovy and its own XML domain specific languages. It does not directly support C# or .NET - in other words, you can't call the functions in Ofbiz with C# method calls.

However, Ofbiz implements a service interface, so there is a separation between the "engine" that does the work and the user interface. If you want to keep your C# application and call on Ofbiz services, you will need to use some form of remote procedure call or web service. There are several to choose from.

Microsoft supply tools in Studio and the .NET framework to make it easy to call web services using SOAP (Simple Object Access Protocol). WCF, a component of .NET 3 and later versions, supports REST (Representational State Transfer) as well.

I haven't needed to call Ofbiz from another application, so I don't have experience in this area, but some people on the mailing list have suggested XML-RPC works better than SOAP. The trouble from your perspective is XML-RPC is not provided in the .NET Framework so you'll need to find a third party component such as XML-RPC.NET (www.xml-rpc.net).

See the section Soap / XML-RPC / REST in https://cwiki.apache.org/OFBIZ/faq-tips-tricks-cookbook-howto.html to get started.

Hope this helps.

Paul Foxworthy


--
Coherent Software Australia Pty Ltd
http://www.coherentsoftware.com.au/

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/
Reply | Threaded
Open this post in threaded view
|

Re: How to integrate C# Application with OFBIZ Framework?

saravanan6
Hi Paul...

              Thank you very much for your post.It helps more...

Thanks & Regards.,
P.SARAVANAN