SlideShare a Scribd company logo
1www.confiz.com
Web Services in AX 2012
2
Confiz Limited
3
Confiz Limited
Agenda:
• What are Web Services?
• Why web services?
• Consuming Web Services in AX 2012
• Demo
Confiz Limited
What are Web Services?
 Web services are application components
 Web services communicate using open protocols
 Web services are self-contained and self-describing
 Web services can be used by other applications
 XML is the basis for Web services
Confiz Limited
Why web services?
 Using Web services you can exchange data between different applications and
different platforms.
 Web services help solve the interoperability problem by giving different
applications a way to link their data.
 Reusable application components. Ideally, there will only be one type of each
application component, and anyone can use it in their application.
 Using Web services your application can publish its function or message to the rest
of the world.
Consuming Web Services in AX 2012
• Usually, there come business scenarios where we need to consume external web
services in Dynamics AX 2012.
• To consume an external Web service, you must:
 Create a reference to the web service
 Call the web service from the X++ Code Studio proxy library
Adding a service reference
www.confiz.com 6
Creating Reference to the Web Service
1. Create a new project.
www.confiz.com 7
Creating Reference to the Web Service
• In Solution Explorer, right-click the project name, and then click Add
Service Reference.
www.confiz.com 8
• In the Add Service Reference dialog box, type the URL for the Web service
in the Address box and and click ‘GO’ to validate the web service.
www.confiz.com 9
Creating Reference to the Web Service
Creating Reference to the Web Service
• Build and add the project to the AOT
www.confiz.com 10
• Set the deployment properties.
• Right-click on the project and click on Deploy.
www.confiz.com 11
Creating Reference to the Web Service
• Add a reference of ConsumingWebService.dll file to AOT in Dynamics AX 2012.
www.confiz.com 12
Consuming Web Services
Consuming Web Services
• Write a job in X++ in AX 2012 to access the web service.
www.confiz.com 13
Consuming Web Services
• Below is the output of the job
www.confiz.com 14
Confiz Limited
Thank You for participating!
16www.confiz.com

More Related Content

PPTX
Simulating Networks Using Cisco Modeling Labs (TechWiseTV Workshop)
PPT
An Introduction to the Dynamics AX Application Integration Framework
DOC
Resume for manual testing.
DOC
01. testing fresher-resume
DOC
FRESHER TESTING
PPT
AIXpert - AIX Security expert
DOCX
sumeet_resume(Manual_Testing)latest
DOCX
linux fresher resume
Simulating Networks Using Cisco Modeling Labs (TechWiseTV Workshop)
An Introduction to the Dynamics AX Application Integration Framework
Resume for manual testing.
01. testing fresher-resume
FRESHER TESTING
AIXpert - AIX Security expert
sumeet_resume(Manual_Testing)latest
linux fresher resume

What's hot (12)

DOC
Fresher testing-resume-template
PPTX
Modern CI/CD Pipeline Using Azure DevOps
PDF
Prometheus monitoring
DOC
PDF
The ultimate guide to software updates on embedded linux devices
PDF
Clouds and Tools: Cheat Sheets & Infographics
PDF
DevOps Transformation in Technical
DOC
priti_resume
DOCX
Mohamed_Resume
PPTX
DOC
Prasanna_Software Testing Engineer resume
PDF
DevSecOps : de la théorie à la pratique
Fresher testing-resume-template
Modern CI/CD Pipeline Using Azure DevOps
Prometheus monitoring
The ultimate guide to software updates on embedded linux devices
Clouds and Tools: Cheat Sheets & Infographics
DevOps Transformation in Technical
priti_resume
Mohamed_Resume
Prasanna_Software Testing Engineer resume
DevSecOps : de la théorie à la pratique
Ad

Similar to Web services in ax 2012 (20)

PDF
Consuming web services_ax2012
PPTX
Application integration framework & Adaptor ppt
PPTX
Microsoft Dynamics AX 2012 - Services Overview
PPTX
Integration with dynamics ax 2012
PPT
Web services
PPTX
SOA - Unit 1 - Introduction to SOA with Web Services
PDF
Services ax2012
PPT
Build Message-Based Web Services for SOA
PPTX
Web services
PPTX
Web service, wcf, web api
PDF
CASE-4 Automating Business Processes in Denver: A Technical Case Study
PPTX
SharePoint Data Anywhere and Everywhere by Chris Beckett - SPTechCon
ODP
S111 cics connectivity in devops
PPTX
Xml web services
PDF
Admin2012 buchan web_services-v101
ODP
Web service Introduction
PPT
Web Services - Lectures and architecture.ppt
PPT
Working with WebServices.ppt
PPT
Detailed information on webservice by websoles
Consuming web services_ax2012
Application integration framework & Adaptor ppt
Microsoft Dynamics AX 2012 - Services Overview
Integration with dynamics ax 2012
Web services
SOA - Unit 1 - Introduction to SOA with Web Services
Services ax2012
Build Message-Based Web Services for SOA
Web services
Web service, wcf, web api
CASE-4 Automating Business Processes in Denver: A Technical Case Study
SharePoint Data Anywhere and Everywhere by Chris Beckett - SPTechCon
S111 cics connectivity in devops
Xml web services
Admin2012 buchan web_services-v101
Web service Introduction
Web Services - Lectures and architecture.ppt
Working with WebServices.ppt
Detailed information on webservice by websoles
Ad

Recently uploaded (20)

PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Machine learning based COVID-19 study performance prediction
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
A Presentation on Artificial Intelligence
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation theory and applications.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Unlocking AI with Model Context Protocol (MCP)
Empathic Computing: Creating Shared Understanding
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Understanding_Digital_Forensics_Presentation.pptx
Spectral efficient network and resource selection model in 5G networks
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
NewMind AI Weekly Chronicles - August'25 Week I
Machine learning based COVID-19 study performance prediction
The AUB Centre for AI in Media Proposal.docx
Network Security Unit 5.pdf for BCA BBA.
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
A Presentation on Artificial Intelligence
Advanced methodologies resolving dimensionality complications for autism neur...
Building Integrated photovoltaic BIPV_UPV.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation theory and applications.pdf

Web services in ax 2012

  • 2. Web Services in AX 2012 2 Confiz Limited
  • 3. 3 Confiz Limited Agenda: • What are Web Services? • Why web services? • Consuming Web Services in AX 2012 • Demo
  • 4. Confiz Limited What are Web Services?  Web services are application components  Web services communicate using open protocols  Web services are self-contained and self-describing  Web services can be used by other applications  XML is the basis for Web services
  • 5. Confiz Limited Why web services?  Using Web services you can exchange data between different applications and different platforms.  Web services help solve the interoperability problem by giving different applications a way to link their data.  Reusable application components. Ideally, there will only be one type of each application component, and anyone can use it in their application.  Using Web services your application can publish its function or message to the rest of the world.
  • 6. Consuming Web Services in AX 2012 • Usually, there come business scenarios where we need to consume external web services in Dynamics AX 2012. • To consume an external Web service, you must:  Create a reference to the web service  Call the web service from the X++ Code Studio proxy library Adding a service reference www.confiz.com 6
  • 7. Creating Reference to the Web Service 1. Create a new project. www.confiz.com 7
  • 8. Creating Reference to the Web Service • In Solution Explorer, right-click the project name, and then click Add Service Reference. www.confiz.com 8
  • 9. • In the Add Service Reference dialog box, type the URL for the Web service in the Address box and and click ‘GO’ to validate the web service. www.confiz.com 9 Creating Reference to the Web Service
  • 10. Creating Reference to the Web Service • Build and add the project to the AOT www.confiz.com 10
  • 11. • Set the deployment properties. • Right-click on the project and click on Deploy. www.confiz.com 11 Creating Reference to the Web Service
  • 12. • Add a reference of ConsumingWebService.dll file to AOT in Dynamics AX 2012. www.confiz.com 12 Consuming Web Services
  • 13. Consuming Web Services • Write a job in X++ in AX 2012 to access the web service. www.confiz.com 13
  • 14. Consuming Web Services • Below is the output of the job www.confiz.com 14
  • 16. Thank You for participating! 16www.confiz.com