SlideShare a Scribd company logo
Connect
Magento & OpenERP
XML-RPC Protocol
1. Magento
1.1 Install Xampp
1.2 Install Magento
1.3 Magento Role & User
1.4 Guide to create product in Magento
1.5 Guide to design Homepage in Magento
1.6 Magento API
2. XML-RPC protocol
2.1 Web service
2.2 What is Xml-rpc protocol
2.3 Activity of Xml-rpc
3. OpenERP connect Magento
3.1 Demo OpenERP connect Magento
3.2 Demo OpenERP load products from Magento
1.1 Install Xampp
• Link: http://www.apachefriends.org/en/xampp.html
• When install Xampp:
• Control Panel – Change User Account Control Settings
1.1 Install Xampp:
• Can’t Start Apache because duplicated port
• Error: Apache shutdown unexpectedly.
• 11:38:51 PM [Apache] This may be due to a blocked port, missing dependencies,
• 11:38:51 PM [Apache] improper privileges, a crash, or a shutdown by another method.
• 11:38:51 PM [Apache] Check the "/xampp/apache/logs/error.log" file
• 11:38:51 PM [Apache] and the Windows Event Viewer for more clues
• Config – service and port settings – change
main port & ssl port
• Reference: http://www.zend.vn/public/lap-
trinh/php-mysql/webserver-huong-dan-cai-dat-
va-su-dung-xampp/l1l4l56.html
1.2 Install Magento
• Link:
http://www.magentocommerce.com/getmagento/1.7.0.2/mag
ento-1.7.0.2.zip
• Unzip: xampphtdocs
• Create database with php admin.
• Merge and config database Magento
• Error:
http://www.magentocommerce.com/boards/viewthread/30944/
1.2 Instal Magento
• Note: Back end và Cookie
– Firefox:
• Localhost: work
• 127.0.0.1: no work
– Google Chrome, Internet Explorer, Opera:
• Localhost: no work
• 127.0.0.1: work
1.3 Magento role & user
• Add Role:
1. Go to System > Web Services.
a. Magento Community: Select SOAP/XML-RPC-Roles
b. Magento Go: Select Roles
2. Click to add a new role.
3. Give your Role a name, such as “Brightpearl API”.
4. Select the Role Resources menu on the left panel to set
the Role permissions.
5. Select “All” in the Resources Access field, this will allow
your Brightpearl account to send and receive all the
information it needs to.
6. Save the Role.
1.3 Magento role & user
• Add a User:
1. Go to System  Web Services.
a. Magento Community: Select SOAP/XML-RPC-Users
b. Magento Go: Select Users
2. Click to add a new user.
3. Enter a user name, such as “brightpearl”; whatever it is keep a note of it, you’ll
need to enter it into the Brightpearl setup.
4. Enter a first and last name, your name, or a made up name, it doesn’t matter.
5. Enter an email address; you can use your own email address if you want.
6. Make up a new API key; make sure you keep a note of this as you’ll need to
enter it into the Brightpearl setup.
7. Confirm the API key.
8. Select the User Role menu from the left hand panel.
9. Select the Role you added above.
10. Save the user.
1.4 Guide to create product in Magento:
View in demo
1.5 Guide to design Homepage in Magento:
View in demo
1.6 Magento API
• Support 2 types:
– SOAP
– XML-RPC
• In case:
– SOAP: http://magentohost/api/soap/?wsdl
– XML-RPC: http://magentohost/api/xmlrpc/
• Reference:
http://www.magentocommerce.com/api/soap/int
roduction.html#Introduction-XMLRPC
1.6 Magento API
• API Methods
Method Description Return Value
startSession() Start the API session and return session ID. string
endSession(sessionId) End the API session. boolean
login(apiUser, apiKey) Start the API session, return the session ID, and authorize the API
user.
string
call(sessionId, resourcePath,array
arguments)
Call the API resource that is allowed in the current session. See
Note below.
mixed
multiCall(sessionId, array calls,array
options)
Call the API resource’s methods that are allowed for current
session. See Notes below.
array
resources(sessionId) Return a list of available API resources and methods allowed for
the current session.
array
globalFaults(sessionId) Return a list of fault messages and their codes that do not depend
on any resource.
array
resourceFaults(sessionId, resourceName) Return a list of the specified resource fault messages, if this
resource is allowed in the current session.
array
2.1 Web service
Web services are a set of tools that let you build
distributed applications on top of existing web
infrastructures. These applications use the Web
as a kind of"transport layer" but don't offer a
direct human interface via the browser. Reusing
web infrastructures can drasticallylower the cost
of setting up these applications and allows you
to reuse all kinds of tools originally built for the
Web
2.1 What is xml-rpc protocol
• XML-RPC is among the simplest (and most foolproof) web service approaches, and
makes it easyfor computers to call procedures on other computers. XML-RPC reuses
infrastructure that was originally created for communications between humans to
support communications between programs on computers. Extensible Markup
Language (XML) provides a vocabulary for describing Remote Procedure Calls
(RPC), which are then transmitted between computers using the HyperText Transfer
Protocol (HTTP).
• XML-RPC can simplify development tremendously and make it far easier for different
types of computers to communicate. By focusing on computer-to-computer
communications, XML-RPC lets you use web technologies without getting trapped in
the focus on human-readable content that has characterized most previous web
development. Most of the XML-RPC framework will be familiar to web developers, but
as a web developer, you will probably use off-the-shelf packages to connect your
programs.
2.1 Activity of xml-rpc
• At the most basic level, XML-RPC lets you make function calls across networks. XML-RPC
isn't doing anything especially new, and that largely explains why XML-RPC is useful. By
combining an RPC architecture with XML and HTTP technology, XML-RPC makes it easy to
for computers to shareresources over a network. This means that you can give users direct
access to the information they need to process, not just read and reuse systems you've
already built in new contexts, or mix and match programs so that each can focus on what
it does best.
• Remote ProcedureCalls (RPC) are a much older technology than the Web. Although the
concept of computers calling functions on other systems across a network has been around
as long as networks have existed, Sun Micro systems is usually given credit for creating a
generic formal mechanism used to call procedures and return results over a network.
3. OpenERP connect Magento
3.1 Demo OpenERP connect Magento
3.2 Demo OpenERP load products from Magento

More Related Content

What's hot

Servlet api & servlet http package
Servlet api & servlet http packageServlet api & servlet http package
Servlet api & servlet http package
renukarenuka9
 
Knowledge Sharing : Java Servlet
Knowledge Sharing : Java ServletKnowledge Sharing : Java Servlet
Knowledge Sharing : Java Servlet
Fahmi Jafar
 
Laravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routingLaravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routing
Christopher Pecoraro
 
Tomcat 6: Evolving our server
Tomcat 6: Evolving our serverTomcat 6: Evolving our server
Tomcat 6: Evolving our server
Jorge S Cruz Lambert
 
Java servlet technology
Java servlet technologyJava servlet technology
Java servlet technology
Minal Maniar
 
The Mule Agent
The Mule AgentThe Mule Agent
The Mule Agent
Shanky Gupta
 
Using message enricher
Using message enricherUsing message enricher
Using message enricher
Son Nguyen
 
Laravel 6 and its features
Laravel 6 and its featuresLaravel 6 and its features
Laravel 6 and its features
SudabaSolaimankhil
 
java Servlet technology
java Servlet technologyjava Servlet technology
java Servlet technology
Tanmoy Barman
 
Create Account in Salesforce using Mule ESB
Create Account in Salesforce using Mule ESBCreate Account in Salesforce using Mule ESB
Create Account in Salesforce using Mule ESB
Sanjeet Pandey
 
Tomcat Server
Tomcat ServerTomcat Server
Tomcat Server
Anirban Majumdar
 
Using spring task scheduler in java in mule
Using spring task scheduler in java in muleUsing spring task scheduler in java in mule
Using spring task scheduler in java in mule
Anirban Sen Chowdhary
 
JSP Error handling
JSP Error handlingJSP Error handling
JSP Error handling
kamal kotecha
 
Custom connector development using mule DevKit
Custom connector development using mule DevKitCustom connector development using mule DevKit
Custom connector development using mule DevKit
Ramakrishna Narkedamilli
 
Creating restful api using mule esb
Creating restful api using mule esbCreating restful api using mule esb
Creating restful api using mule esb
RaviShankar Mishra
 
Mule esb soap_service
Mule esb soap_serviceMule esb soap_service
Mule esb soap_service
Gennaro Spagnoli
 
Async Scope With Mule ESB
Async Scope With Mule ESBAsync Scope With Mule ESB
Async Scope With Mule ESB
Jitendra Bafna
 
JEE Programming - 04 Java Servlets
JEE Programming - 04 Java ServletsJEE Programming - 04 Java Servlets
JEE Programming - 04 Java Servlets
Danairat Thanabodithammachari
 
Servletarchitecture,lifecycle,get,post
Servletarchitecture,lifecycle,get,postServletarchitecture,lifecycle,get,post
Servletarchitecture,lifecycle,get,post
vamsi krishna
 
Mule message enricher
Mule message enricherMule message enricher
Mule message enricher
Anirban Sen Chowdhary
 

What's hot (20)

Servlet api & servlet http package
Servlet api & servlet http packageServlet api & servlet http package
Servlet api & servlet http package
 
Knowledge Sharing : Java Servlet
Knowledge Sharing : Java ServletKnowledge Sharing : Java Servlet
Knowledge Sharing : Java Servlet
 
Laravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routingLaravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routing
 
Tomcat 6: Evolving our server
Tomcat 6: Evolving our serverTomcat 6: Evolving our server
Tomcat 6: Evolving our server
 
Java servlet technology
Java servlet technologyJava servlet technology
Java servlet technology
 
The Mule Agent
The Mule AgentThe Mule Agent
The Mule Agent
 
Using message enricher
Using message enricherUsing message enricher
Using message enricher
 
Laravel 6 and its features
Laravel 6 and its featuresLaravel 6 and its features
Laravel 6 and its features
 
java Servlet technology
java Servlet technologyjava Servlet technology
java Servlet technology
 
Create Account in Salesforce using Mule ESB
Create Account in Salesforce using Mule ESBCreate Account in Salesforce using Mule ESB
Create Account in Salesforce using Mule ESB
 
Tomcat Server
Tomcat ServerTomcat Server
Tomcat Server
 
Using spring task scheduler in java in mule
Using spring task scheduler in java in muleUsing spring task scheduler in java in mule
Using spring task scheduler in java in mule
 
JSP Error handling
JSP Error handlingJSP Error handling
JSP Error handling
 
Custom connector development using mule DevKit
Custom connector development using mule DevKitCustom connector development using mule DevKit
Custom connector development using mule DevKit
 
Creating restful api using mule esb
Creating restful api using mule esbCreating restful api using mule esb
Creating restful api using mule esb
 
Mule esb soap_service
Mule esb soap_serviceMule esb soap_service
Mule esb soap_service
 
Async Scope With Mule ESB
Async Scope With Mule ESBAsync Scope With Mule ESB
Async Scope With Mule ESB
 
JEE Programming - 04 Java Servlets
JEE Programming - 04 Java ServletsJEE Programming - 04 Java Servlets
JEE Programming - 04 Java Servlets
 
Servletarchitecture,lifecycle,get,post
Servletarchitecture,lifecycle,get,postServletarchitecture,lifecycle,get,post
Servletarchitecture,lifecycle,get,post
 
Mule message enricher
Mule message enricherMule message enricher
Mule message enricher
 

Similar to Connect Magento & OpenERP

It and ej
It and ejIt and ej
It and ej
Harihar Kalia
 
X realtime xmp-ptut-pdf
X realtime xmp-ptut-pdfX realtime xmp-ptut-pdf
X realtime xmp-ptut-pdf
Hsiao Tim
 
Create Home Directories on Storage Using WFA and ServiceNow integration
Create Home Directories on Storage Using WFA and ServiceNow integrationCreate Home Directories on Storage Using WFA and ServiceNow integration
Create Home Directories on Storage Using WFA and ServiceNow integration
Rutul Shah
 
IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...
IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...
IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...
IRJET Journal
 
XML-RPC and SOAP (April 2003)
XML-RPC and SOAP (April 2003)XML-RPC and SOAP (April 2003)
XML-RPC and SOAP (April 2003)
Kiran Jonnalagadda
 
JOSA TechTalks - RESTful API Concepts and Best Practices
JOSA TechTalks - RESTful API Concepts and Best PracticesJOSA TechTalks - RESTful API Concepts and Best Practices
JOSA TechTalks - RESTful API Concepts and Best Practices
Jordan Open Source Association
 
Programming Server side with Sevlet
 Programming Server side with Sevlet  Programming Server side with Sevlet
Programming Server side with Sevlet
backdoor
 
cakephp UDUYKTHA (1)
cakephp UDUYKTHA (1)cakephp UDUYKTHA (1)
cakephp UDUYKTHA (1)
Varsha Krishna
 
Java Abs Dynamic Server Replication
Java Abs   Dynamic Server ReplicationJava Abs   Dynamic Server Replication
Java Abs Dynamic Server Replication
ncct
 
The Art of Message Queues - TEKX
The Art of Message Queues - TEKXThe Art of Message Queues - TEKX
The Art of Message Queues - TEKX
Mike Willbanks
 
Crime Reporting System.pptx
Crime Reporting System.pptxCrime Reporting System.pptx
Crime Reporting System.pptx
PenilVora
 
PHP Frameworks, or how I learnt to stop worrying and love the code
PHP Frameworks, or how I learnt to stop worrying and love the codePHP Frameworks, or how I learnt to stop worrying and love the code
PHP Frameworks, or how I learnt to stop worrying and love the code
Michal Juhas
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web services
Neil Ghosh
 
Introduction to web and php mysql
Introduction to web and php mysqlIntroduction to web and php mysql
Introduction to web and php mysql
Programmer Blog
 
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 TutorialAdventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
Joe Ferguson
 
Xamarin Workshop Noob to Master – Week 5
Xamarin Workshop Noob to Master – Week 5Xamarin Workshop Noob to Master – Week 5
Xamarin Workshop Noob to Master – Week 5
Charlin Agramonte
 
Web Service
Web ServiceWeb Service
Web Service
Ashwani kumar
 
Chat application through client server management system project.pdf
Chat application through client server management system project.pdfChat application through client server management system project.pdf
Chat application through client server management system project.pdf
Kamal Acharya
 
What I learned about APIs in my first year at Google
What I learned about APIs in my first year at GoogleWhat I learned about APIs in my first year at Google
What I learned about APIs in my first year at Google
Tim Burks
 
Web services Concepts
Web services ConceptsWeb services Concepts
Web services Concepts
pasam suresh
 

Similar to Connect Magento & OpenERP (20)

It and ej
It and ejIt and ej
It and ej
 
X realtime xmp-ptut-pdf
X realtime xmp-ptut-pdfX realtime xmp-ptut-pdf
X realtime xmp-ptut-pdf
 
Create Home Directories on Storage Using WFA and ServiceNow integration
Create Home Directories on Storage Using WFA and ServiceNow integrationCreate Home Directories on Storage Using WFA and ServiceNow integration
Create Home Directories on Storage Using WFA and ServiceNow integration
 
IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...
IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...
IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...
 
XML-RPC and SOAP (April 2003)
XML-RPC and SOAP (April 2003)XML-RPC and SOAP (April 2003)
XML-RPC and SOAP (April 2003)
 
JOSA TechTalks - RESTful API Concepts and Best Practices
JOSA TechTalks - RESTful API Concepts and Best PracticesJOSA TechTalks - RESTful API Concepts and Best Practices
JOSA TechTalks - RESTful API Concepts and Best Practices
 
Programming Server side with Sevlet
 Programming Server side with Sevlet  Programming Server side with Sevlet
Programming Server side with Sevlet
 
cakephp UDUYKTHA (1)
cakephp UDUYKTHA (1)cakephp UDUYKTHA (1)
cakephp UDUYKTHA (1)
 
Java Abs Dynamic Server Replication
Java Abs   Dynamic Server ReplicationJava Abs   Dynamic Server Replication
Java Abs Dynamic Server Replication
 
The Art of Message Queues - TEKX
The Art of Message Queues - TEKXThe Art of Message Queues - TEKX
The Art of Message Queues - TEKX
 
Crime Reporting System.pptx
Crime Reporting System.pptxCrime Reporting System.pptx
Crime Reporting System.pptx
 
PHP Frameworks, or how I learnt to stop worrying and love the code
PHP Frameworks, or how I learnt to stop worrying and love the codePHP Frameworks, or how I learnt to stop worrying and love the code
PHP Frameworks, or how I learnt to stop worrying and love the code
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web services
 
Introduction to web and php mysql
Introduction to web and php mysqlIntroduction to web and php mysql
Introduction to web and php mysql
 
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 TutorialAdventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
 
Xamarin Workshop Noob to Master – Week 5
Xamarin Workshop Noob to Master – Week 5Xamarin Workshop Noob to Master – Week 5
Xamarin Workshop Noob to Master – Week 5
 
Web Service
Web ServiceWeb Service
Web Service
 
Chat application through client server management system project.pdf
Chat application through client server management system project.pdfChat application through client server management system project.pdf
Chat application through client server management system project.pdf
 
What I learned about APIs in my first year at Google
What I learned about APIs in my first year at GoogleWhat I learned about APIs in my first year at Google
What I learned about APIs in my first year at Google
 
Web services Concepts
Web services ConceptsWeb services Concepts
Web services Concepts
 

Recently uploaded

Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
Federico Razzoli
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
jpupo2018
 

Recently uploaded (20)

Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
 

Connect Magento & OpenERP

  • 2. 1. Magento 1.1 Install Xampp 1.2 Install Magento 1.3 Magento Role & User 1.4 Guide to create product in Magento 1.5 Guide to design Homepage in Magento 1.6 Magento API
  • 3. 2. XML-RPC protocol 2.1 Web service 2.2 What is Xml-rpc protocol 2.3 Activity of Xml-rpc
  • 4. 3. OpenERP connect Magento 3.1 Demo OpenERP connect Magento 3.2 Demo OpenERP load products from Magento
  • 5. 1.1 Install Xampp • Link: http://www.apachefriends.org/en/xampp.html • When install Xampp: • Control Panel – Change User Account Control Settings
  • 6. 1.1 Install Xampp: • Can’t Start Apache because duplicated port • Error: Apache shutdown unexpectedly. • 11:38:51 PM [Apache] This may be due to a blocked port, missing dependencies, • 11:38:51 PM [Apache] improper privileges, a crash, or a shutdown by another method. • 11:38:51 PM [Apache] Check the "/xampp/apache/logs/error.log" file • 11:38:51 PM [Apache] and the Windows Event Viewer for more clues • Config – service and port settings – change main port & ssl port • Reference: http://www.zend.vn/public/lap- trinh/php-mysql/webserver-huong-dan-cai-dat- va-su-dung-xampp/l1l4l56.html
  • 7. 1.2 Install Magento • Link: http://www.magentocommerce.com/getmagento/1.7.0.2/mag ento-1.7.0.2.zip • Unzip: xampphtdocs • Create database with php admin. • Merge and config database Magento • Error: http://www.magentocommerce.com/boards/viewthread/30944/
  • 8. 1.2 Instal Magento • Note: Back end và Cookie – Firefox: • Localhost: work • 127.0.0.1: no work – Google Chrome, Internet Explorer, Opera: • Localhost: no work • 127.0.0.1: work
  • 9. 1.3 Magento role & user • Add Role: 1. Go to System > Web Services. a. Magento Community: Select SOAP/XML-RPC-Roles b. Magento Go: Select Roles 2. Click to add a new role. 3. Give your Role a name, such as “Brightpearl API”. 4. Select the Role Resources menu on the left panel to set the Role permissions. 5. Select “All” in the Resources Access field, this will allow your Brightpearl account to send and receive all the information it needs to. 6. Save the Role.
  • 10. 1.3 Magento role & user • Add a User: 1. Go to System  Web Services. a. Magento Community: Select SOAP/XML-RPC-Users b. Magento Go: Select Users 2. Click to add a new user. 3. Enter a user name, such as “brightpearl”; whatever it is keep a note of it, you’ll need to enter it into the Brightpearl setup. 4. Enter a first and last name, your name, or a made up name, it doesn’t matter. 5. Enter an email address; you can use your own email address if you want. 6. Make up a new API key; make sure you keep a note of this as you’ll need to enter it into the Brightpearl setup. 7. Confirm the API key. 8. Select the User Role menu from the left hand panel. 9. Select the Role you added above. 10. Save the user.
  • 11. 1.4 Guide to create product in Magento: View in demo 1.5 Guide to design Homepage in Magento: View in demo
  • 12. 1.6 Magento API • Support 2 types: – SOAP – XML-RPC • In case: – SOAP: http://magentohost/api/soap/?wsdl – XML-RPC: http://magentohost/api/xmlrpc/ • Reference: http://www.magentocommerce.com/api/soap/int roduction.html#Introduction-XMLRPC
  • 13. 1.6 Magento API • API Methods Method Description Return Value startSession() Start the API session and return session ID. string endSession(sessionId) End the API session. boolean login(apiUser, apiKey) Start the API session, return the session ID, and authorize the API user. string call(sessionId, resourcePath,array arguments) Call the API resource that is allowed in the current session. See Note below. mixed multiCall(sessionId, array calls,array options) Call the API resource’s methods that are allowed for current session. See Notes below. array resources(sessionId) Return a list of available API resources and methods allowed for the current session. array globalFaults(sessionId) Return a list of fault messages and their codes that do not depend on any resource. array resourceFaults(sessionId, resourceName) Return a list of the specified resource fault messages, if this resource is allowed in the current session. array
  • 14. 2.1 Web service Web services are a set of tools that let you build distributed applications on top of existing web infrastructures. These applications use the Web as a kind of"transport layer" but don't offer a direct human interface via the browser. Reusing web infrastructures can drasticallylower the cost of setting up these applications and allows you to reuse all kinds of tools originally built for the Web
  • 15. 2.1 What is xml-rpc protocol • XML-RPC is among the simplest (and most foolproof) web service approaches, and makes it easyfor computers to call procedures on other computers. XML-RPC reuses infrastructure that was originally created for communications between humans to support communications between programs on computers. Extensible Markup Language (XML) provides a vocabulary for describing Remote Procedure Calls (RPC), which are then transmitted between computers using the HyperText Transfer Protocol (HTTP). • XML-RPC can simplify development tremendously and make it far easier for different types of computers to communicate. By focusing on computer-to-computer communications, XML-RPC lets you use web technologies without getting trapped in the focus on human-readable content that has characterized most previous web development. Most of the XML-RPC framework will be familiar to web developers, but as a web developer, you will probably use off-the-shelf packages to connect your programs.
  • 16. 2.1 Activity of xml-rpc • At the most basic level, XML-RPC lets you make function calls across networks. XML-RPC isn't doing anything especially new, and that largely explains why XML-RPC is useful. By combining an RPC architecture with XML and HTTP technology, XML-RPC makes it easy to for computers to shareresources over a network. This means that you can give users direct access to the information they need to process, not just read and reuse systems you've already built in new contexts, or mix and match programs so that each can focus on what it does best. • Remote ProcedureCalls (RPC) are a much older technology than the Web. Although the concept of computers calling functions on other systems across a network has been around as long as networks have existed, Sun Micro systems is usually given credit for creating a generic formal mechanism used to call procedures and return results over a network.
  • 17. 3. OpenERP connect Magento 3.1 Demo OpenERP connect Magento 3.2 Demo OpenERP load products from Magento