Latest Posts

Django Handouts

pip install django django-admin django-admin startproject project-name python manage.py runserver python manage.py startapp app-name python manage.py migrate python manage.py createsuperuser python manage.py makemigrations python manage.py migrate After applying migration we need to register the migrated model with the admin of that app: from . models import * admin.site.register(model-name) python manage.py shell pip install psycopg2 –> This library makes django communicate […]

How to integrate iDempiere with PHP Apps using SOAP APIs?

Useful resources regarding the subject matter are as follow: Starting Point: https://wiki.idempiere.org/en/Web_Services_First_Steps Web Service Security: https://wiki.idempiere.org/en/Web_Services_Security More Info: https://wiki.idempiere.org/en/Web_services Access APIs: http://localhost:8080/ADInterface/services To learn about CURL: https://phpenthusiast.com/blog/five-php-curl-examples To Process Response: https://stackoverflow.com/questions/35581239/returning-a-xml-response-with-curl/35581517 To Beautify Response: https://www.semicolonworld.com/php/tutorial/convert-array-to-xml-php Scenario: Integrate iDempiere with PHP application and get all Business Partners using SOAP API. Solution: First of all, we have to setup web service cofigurations […]