Hi Allan,to find the best solution, it would be helpful to know your requirements for the interface between your system and OFBiz.
In some cases, it might be a good solution to have an asynchronous interface like a file import (e.g. if you have thousands of payment infos in a short amount of time, or if you want to be able to preserve and reimport your data in case of failure, etc.).
In other cases, a web service interface like REST or a messaging solution like JMS can be helpful. It depends on your requirements and environment parameters...
It's easy to provide your own services as REST services taking JSON data from a specific URL, read, parse and convert it and call the standard services to write data to the OFBiz database. You don't necessarily need a REST framework for this (although it would be great if we have a standard OFBiz way to deal with REST).
I think connecting to a legacy db (which should be read only if updated from other applications than OFBiz) is uncommon in your case. You would have to monitor the legacy db or put some ECA's/triggers on it to be noticed about the changes and write the data to the OFBiz database on these events. For my taste it would tie the systems together instead of having them loosely coupled.
Best regards, Michael Brohl ecomify GmbH www.ecomify.de Am 10.08.17 um 08:12 schrieb Allan Zarsuela:
Hi OFBiz Dev/Admin Team, Good day! Currently, most of my concern is to integrate our company system to OFBiz Accounting module. I am following the tutorial but I am currently experiencing bugs/bottlenecks such as in connecting to a legacy db and the the SOAP RPC example integration with LifeRay(https://cwiki.apache. org/confluence/display/OFBIZ/Calling+OFBiz+services+from+Liferay+using+SOAP). I am missing the correct jars. As I see there are deprecated tutorials, I don't know which one will fit the release 16.11 svn release. For this, I created an issue in stackoverflow.com which is https://stackoverflow.com/questions/45569501/how-to-pass-dat a-from-a-remote-database-into-ofbiz-database Now, I am trying the REST approach in https://cwiki.apache.org/confl uence/display/OFBIZ/REST+Service+Implementation As a summary, I am passing payment info from a separate JSF application towards OFBiz Accounting module. So as I look in the OFBiz documentation, there are several ways... 1. By reading XML file 2. Via connecting to a legacy db 3. By SOAP RPC 4. Via REST. So the tutorials from 2,3,4 methods are very limited and missing details. And I don't know even it works in the latest version of 16.11 updated svn link. Platform Summary: Eclipse Oxygen(OFBiz) Netbeans IDE(Remote Application/Our PrimeFace-JSF application) Ubuntu 16.04 For SOAP RPC client : -jaxrpc-api-1.1.jar -wsdl4j.jar -axis-1.4.jar -commons-discovery-0.5.jar I hope you can help me find the necessary tutorial for the integration. Thanks a lot! Regards,
smime.p7s
Description: S/MIME Cryptographic Signature
