SlideShare a Scribd company logo
ACE 2011 International




 Understanding Federation 
 Understanding Federation
 and Web Services

  www.aras.com




Copyright © 2011 Aras   All Rights Reserved.                     aras.com
Welcome
Session Goals

        Previous session covered overall Integration 
        strategies and a focus on how to integrate desktop 
        applications (authoring tools)
        applications (authoring tools)

        This session:  PLM Server                         other business servers
                Creating server peer‐to‐peer configurations

                Data and Process status exchange
                       d                   h

                For the end‐users,  blurring the lines between systems and 
                presenting all their relevant data in a single context

 Copyright © 2011 Aras   All Rights Reserved.   Slide 2                            aras.com
Session Topic
1. Pull data from external
   apps into PLM to use in
   Client, Reports, workflows
2. External apps using PLM
   as a data source

        Homegrown
        Applications
                                                                 Database   File Vault



                                                                    Legacy PDM
                                                 ERP




  Copyright © 2011 Aras   All Rights Reserved.         Slide 3                           aras.com
Two Use Cases
1. Data in the ERP system or your legacy applications is 
      relevant to the PLM users.   We want this data and PLM 
      data together in the right context on the PLM user 
      interface ‐‐ like a Mash‐Up
                 Corporate Document Management office files
                 ERP for costing or inventory records
                 CRM customer information
                 CRM      t      i f     ti

2. Other systems need access to data records or files 
          y
      stored in the PLM system
                 Shop floor viewing of Drawings through MES
                 Quality system view of Part‐BOM structure
 Copyright © 2011 Aras   All Rights Reserved.   Slide 4       aras.com
Two Use Cases
• NOTE: for many commercial systems, such as SAP and  
  SharePoint,  you can find a commercial 3rd party 
            , y                              p y
  connector from an Aras partner.    
      – For this discussion, it is more interesting to imagine
        For this discussion,  it is more interesting to imagine 
        that we are building an integration from scratch.

• NOTE:   it’s always possible to batch transfer data from 
  one system to another.  We (IT folks) have been doing 
        y                       (      )                 g
  that forever.  
      – For this discussion it is more interesting to talk about 
                                                 g
        how we build real‐time connectors
 Copyright © 2011 Aras   All Rights Reserved.   Slide 5        aras.com
Two Use Cases
1. Data in the ERP system or your legacy applications is 
         relevant to the PLM users.   We want this data and PLM 
         data mixed together in the right context on the PLM 
         user interface ‐‐ like a Mash‐Up

                                                 Federation

2. Other systems need access to data records or files 
         stored in the PLM system
          t d i th PLM t

                                                Web Services
 Copyright © 2011 Aras   All Rights Reserved.     Slide 6      aras.com
Federation ‐ Definition
    Core concept in Aras:   Federation creates a wrapper 
    around data objects in remote systems,  and then 
    around data objects in remote systems, and then
    extends their definition with PLM functionality

    The wrapper defines  the data transfer, data mapping 
    Th           d fi    th d t t      f d t         i
    and the internal PLM representation

    We can add security, web interface, workflow routing 
    to data in the legacy system,  using it as a data source 
    for a new audience of users   
    f            di       f

    We can federate an entire ItemType or just federate a 
                                   yp      j
    few properties on a PLM internal Item in Aras
 Copyright © 2011 Aras   All Rights Reserved.   Slide 7     aras.com
Federation – Definition 
(
(continued)
          )
     We aggregate data from many sources in this way in 
     order to:
     o Present the aggregated data in a single window for the user,  e.g. 
       a Mash‐Up
     o Execute business rules, BI dashboards, or Reports against the 
       consolidated data set
            lid d d
     o Add advanced PLM capabilities such as BPM workflow or a secure 
       web interface to legacy systems
       web interface to legacy systems


Done well,  the end user is not aware of the sources of data
Done well, the end‐user is not aware of the sources of data

  Copyright © 2011 Aras   All Rights Reserved.   Slide 8             aras.com
Federation Scenarios
 Corporate document management system
         Documents checked in to the PLM system are transferred 
                                            y
         directly to a corporate document archiving solution
         Searching and viewing documents is performed within the PLM 
         interface,  directly accessing remotely stored data
         i    f      di    l        i         l       dd

 Cost and inventory on hand fields in ERP
 Cost and inventory‐on‐hand fields in ERP
         Material cost may be maintained in the ERP system,  but is 
         useful information to engineers using PLM
         The PLM material forms contains a mash‐up of data from both 
         PLM and a real‐time ERP query
         The PLM workflows may branch automatically based on the 
         levels of inventory of parts being changed
 Copyright © 2011 Aras   All Rights Reserved.   Slide 9                aras.com
Why Server‐Based Federation?
    Aras Innovator is an HTML Client; we can use the client as 
    an integration platform also.   
           g       p
    Server‐based Federation Advantages:
        PLM client is sent a single data set, and is not aware that core 
        business objects have been modified with remote properties,  
        or that the data objects are not native
                            j
        Integration of remote data objects is encapsulated on the 
        server, eliminating client customizing
                          g                  g
        Server‐side business rules such as Permissions, LifeCycle, and 
        Workflow logic can act on the 3rd party data objects


 Copyright © 2011 Aras   All Rights Reserved.   Slide 10           aras.com
Simple Exercise
 Create an ItemType named Test with 1 Property=name
 Add a Server Event OnGet with a Method that creates 
 Add a Server Event OnGet with a Method that creates
 and returns a hardcoded XML string
 <Item type=‘Test’ id=‘1234’><name>Hello</name></Item>
 <It   t    ‘T t’ id ‘1234’><     >H ll </    ></It >
   Select this item on the TOC
   Grid will populate with the ‘fake’ data.



 NOTE:
    o Had to create a dummy ID for each row
 Copyright © 2011 Aras   All Rights Reserved.   Slide 11   aras.com
Why is the Simple Exercise Simple?
 Aras Client and all internal framework services expect 
 AML to be returned on every transaction ‐ this is key to 
 the simplicity of Federation

 No customizations normally on the client
 No customizations normally on the client
    o As long as AML is returned,  the client is happy to work with any 
      data it receives
    o Exception is file check‐in handling  ( ** discussed later )

 Use standard Server Events to add the Federation logic
 Use standard Ser er E ents to add the Federation logic
    o OnAfterGet                                to merge federated properties
    oO G t
     OnGet                                      to return 100% federated items
                                                t    t    100% f d t d it

 Copyright © 2011 Aras   All Rights Reserved.   Slide 12                         aras.com
Pseudo Code for a View
 Assume “MyFederation”   OnGet event  ‐ VB/C# Method

 Assume entire ItemType has been Federated
 Assume entire ItemType has been Federated

 Properties for the remote object, TOC Access, Form Views 
 are defined in standard Aras Innovator ItemType Editor

 2 Modes:
 2 Modes:
    1. Simple Searching and Viewing (unstructured)
    2. Using the Federated Item in Relationships
    2 U i th F d t d It         i R l ti hi
               For example:   Part to Document Relationship where 
               the Documents are federated
               th D         t      f d t d

 Copyright © 2011 Aras   All Rights Reserved.   Slide 13       aras.com
Pseudo Code for View #1

     User query parameters from the Simple Search grid row 
     are Properties on the Me / This object 
     are Properties on the Me / This object
     Check if this is a Get for one record or a set.   How?
     Build the query for the remote system, passing the query 
     B ild h         f h                        i    h
     parameters the user entered in the client
     Run the query code  ( ** discussed next )
     R    h          d ( ** di        d      )
     Create an AML string from the query result
     Add a dummy ID for each row
     Return AML
QUIZ:  Is there an ItemType table for this item?
  Copyright © 2011 Aras   All Rights Reserved.   Slide 14     aras.com
Pseudo‐Code for View #2

Federated Items will be used as Item Properties, 
or either the Source or Related in a Relationship
    ith th S            R l t d i R l ti hi


  ItemType is not flagged as Federated this time 
  because we do want an Aras Innovator table
  because we do want an Aras Innovator table


QUIZ ‐ What properties must this table store?


 Copyright © 2011 Aras   All Rights Reserved.   Slide 15   aras.com
Pseudo‐Code for View #2
Three properties are required to maintain configurations
        ID
        Federated‐ID
        Keyed‐Name


Solution:   in the OnGet method we add a function to 
   register the data objects found via user queries,  
   register the data objects found via user queries,
   assigning a new Aras Innovator ID to each
     I use a small stored procedure to execute this efficiently
                          p                          ff       y

 Copyright © 2011 Aras   All Rights Reserved.   Slide 16          aras.com
Remote Data Access Techniques

  Web Services
     o Building an ASPX/PHP page as a wrapper around legacy systems
          ld           /                           dl
     o Using Visual Studio to make a Proxy
     o XMLHTTP bj t
       XMLHTTP object

  ODBC

  Commercial API from the other system vendor


QUIZ:   How do we register a DLL (either API or WS Proxy) 
 so that you can use the DLL directly in Methods ?
    th t             th DLL di tl i M th d ?

  Copyright © 2011 Aras   All Rights Reserved.   Slide 17       aras.com
Other Design Considerations

 File check‐in to a Federated source
         After check‐in, move file from Aras vault to remote vault
         Aras client does direct file upload

 Actions for Add, Update and Delete are possible
                , p                     p
         Synchronizing permissions and access




 Copyright © 2011 Aras   All Rights Reserved.   Slide 18     aras.com
Two Use Cases
1. Data in the ERP system or your legacy applications is 
         relevant to the PLM users.   We want this data and PLM 
         data together in the right context on the PLM user 
         interface ‐‐ like a Mash‐Up

                                                 Federation
2. Other systems need access to data records or files 
         stored in the PLM system
                            y

                                                Web Services

 Copyright © 2011 Aras   All Rights Reserved.     Slide 19     aras.com
Web Services

    Example:  On‐line website catalog needs data from 
         p                          g
    the PLM system (drawings, specs, part numbers).      
       • BTW this is how the Aras web site runs


    Shop floor MES system displays drawings from the 
       p            y        p y         g
    PLM vault




 Copyright © 2011 Aras   All Rights Reserved.   Slide 20    aras.com
Aras Training Class ‐ Outline
    Overview of Aras Web Services

    Creating a Web Service Configuration

    Generating the Web Service Code

    Publishing a new Application to IIS

    Testing the Web Service
    T i      h W bS i

    Consuming the Web Service example using Visual Studio
    Consuming the Web Service example using Visual Studio

 Copyright © 2011 Aras   All Rights Reserved.   Slide 21   aras.com
Web Services
    You can develop XML/SOAP messages that are sent 
    directly to the Aras Server,  the only requirement is that 
    each transaction is authenticated,  and you have the XML 
    message payload correct.

    http://myServer/Innovator/Server/InnovatorServer.aspx
         What?  No WSDL.      Why is there no WSDL?   
         What? No WSDL        Why is there no WSDL?
         WDL implies a static object model  
         Tradeoffs   
          • Performance
          • Static vs. Dynamic view of the world
 Copyright © 2011 Aras   All Rights Reserved.   Slide 22   aras.com
Aras Web Services Choices
    Interfacing to the Aras Server directly
         InnovatorServer.aspx provides the ApplyItem service
         All AML commands are available
         No WSDL necessary

    Creating a Custom Web Service
         Advantages
             • Can generate WSDL
             • C b
               Can be used with tools that use WSDL to build interfaces
                         d ih      l h         WSDL b ild i       f

         Disadvantages
             • St ti
               Static model
                        d l
             • If an ItemType is altered, the service must be regenerated
 Copyright © 2011 Aras   All Rights Reserved.   Slide 23                    aras.com
Service Publishing Overview

    Steps:
     1) Establish a physical directory location for the service
     2) Create a Web Configuration Item
      )                   g
     3) Save the Web Configuration File to web service 
               directory
     4) Generate the Web Service program code and 
               configure service
               configure service
     5) Add the Web Service to IIS
     6) Test the Service
 Copyright © 2011 Aras   All Rights Reserved.   Slide 24   aras.com
Creating Web Service 
Configuration
     g

                                 1                                 2

                                                3



                                                    6              8
                         4




                                       5                       7
 Copyright © 2011 Aras       All Rights Reserved.   Slide 25           aras.com
Specifying Actions




 Copyright © 2011 Aras   All Rights Reserved.   Slide 26   aras.com
Creating Custom Actions
     1     Create Server Method




                                                           2   Create Corresponding Action




 Copyright © 2011 Aras   All Rights Reserved.   Slide 27                                     aras.com
Creating a Location Directory
    Locate the web service generator files:
    …Innovator/Server/bin/WebServiceGenerator
     Innovator/Server/bin/WebServiceGenerator


    Copy the folder to a new location
    Example:                                C:WebServiceGenerator


    Rename directory
                   y
    Example:                                C:WorkOrder_Service


 Copyright © 2011 Aras   All Rights Reserved.   Slide 28             aras.com
Saving the Web Configuration File

                                                1




                                                               2




 Copyright © 2011 Aras   All Rights Reserved.       Slide 29       aras.com
Generating the Web Service Code

    GenerateWS.exe
         Parameters:
             • Folder to generate Web Service code files
             • File name of Web Service Configuration File
             • Folder containing  the template configuration .zip file
             • Name of published web service



    Example:
    GenerateWS . WSC_1.xml . WorkOrderService
    G     t S     SC 1   l      kO d S    i

 Copyright © 2011 Aras   All Rights Reserved.   Slide 30                 aras.com
Configuring the Web Service

    Locate the innovator.config.xml file

    Replace the following parameter values
         URL
         DB

    Example:
    E    l
   <?xml version="1.0" encoding="utf-8" ?>
   <appSettings>
     pp      g
         <add key="url" value="http://localhost/Innovator920" />
         <add key="db" value="DevelopingSolutions920" />
   </appSettings>


 Copyright © 2011 Aras   All Rights Reserved.   Slide 31           aras.com
Creating the IIS Application




 Copyright © 2011 Aras   All Rights Reserved.   Slide 32   aras.com
Testing the Service

 Use Internet Explorer and enter the URL:
 Example:
 http://localhost/WorkOrderService/innovator.asmx




 Copyright © 2011 Aras   All Rights Reserved.   Slide 33   aras.com
Consuming the Web Service in 
Visual Studio




 Copyright © 2011 Aras   All Rights Reserved.   Slide 34   aras.com
Two Use Cases
1. Data in the ERP system or your legacy applications is 
         relevant to the PLM users.   We want this data and PLM 
         data together in the right context on the PLM user 
         interface ‐‐ like a Mash‐Up

                                                 Federation

2. Other systems need access to data records or files 
         stored in the PLM system
          t d i th PLM t

                                                Web Services
 Copyright © 2011 Aras   All Rights Reserved.     Slide 35     aras.com
More Resources

    Federation test package
         Innovator‐to‐Innovator federation used for
         testing of the Server Events   

    Aras wiki articles

            http://www.aras.com/community/wikis/

    Aras training classes and materials

            http://www.aras.com/university/

 Copyright © 2011 Aras   All Rights Reserved.   Slide 36   aras.com
ACE 2011 International




 Understanding Federation 
 Understanding Federation
 and Web Services

  www.aras.com




Copyright © 2011 Aras   All Rights Reserved.                     aras.com

More Related Content

What's hot (20)

PPTX
fungsi dan sifat-sifat fungsi
nurjannahkomariah
 
PPTX
4 turunan
iksanmaualana
 
PPTX
Sistem persamaan linear tiga variabel
Ana Sugiyarti
 
PPTX
1.1 exponents t
math260
 
PPTX
Counting 1
Heni Widayani
 
PDF
KSSM Form 4 Additional Mathematics Notes (Chapter 1-5)
Lai Zhi Jun
 
PDF
Bab.2 matematika dasar
Bayu Bayu
 
PDF
Aplikasi Aljabar Max-plus
petrus fendiyanto
 
PDF
Biologi perfect score form 4 (2017)
hafizah manap
 
DOCX
Lkpd konsep (buat sampai pertemuan 3)
Sriwijaya University
 
DOCX
Ujian akhir tahun matematik tingkatan 1 2
HudaYusop
 
PDF
MODUL-FORM2-SCIENCE-CHAPTER-2
Mudzaffar Shah
 
PDF
Logika
tafrikan
 
PDF
Kendali Kecepatan Motor DC Berdasarkan Perubahan Jarak
Materi Kuliah Online
 
PDF
Makalah metode numerik regula falsi
anisah cantik
 
DOCX
Buku prolin
Vina Amalia
 
PDF
Nov 2002 p.3
King Ali
 
PPTX
Persamaan ellips pusat (0,0)
matematikasma10
 
PPTX
Program linear
Muhamad A D
 
DOCX
Tugas program zodiak
Devi Apriansyah
 
fungsi dan sifat-sifat fungsi
nurjannahkomariah
 
4 turunan
iksanmaualana
 
Sistem persamaan linear tiga variabel
Ana Sugiyarti
 
1.1 exponents t
math260
 
Counting 1
Heni Widayani
 
KSSM Form 4 Additional Mathematics Notes (Chapter 1-5)
Lai Zhi Jun
 
Bab.2 matematika dasar
Bayu Bayu
 
Aplikasi Aljabar Max-plus
petrus fendiyanto
 
Biologi perfect score form 4 (2017)
hafizah manap
 
Lkpd konsep (buat sampai pertemuan 3)
Sriwijaya University
 
Ujian akhir tahun matematik tingkatan 1 2
HudaYusop
 
MODUL-FORM2-SCIENCE-CHAPTER-2
Mudzaffar Shah
 
Logika
tafrikan
 
Kendali Kecepatan Motor DC Berdasarkan Perubahan Jarak
Materi Kuliah Online
 
Makalah metode numerik regula falsi
anisah cantik
 
Buku prolin
Vina Amalia
 
Nov 2002 p.3
King Ali
 
Persamaan ellips pusat (0,0)
matematikasma10
 
Program linear
Muhamad A D
 
Tugas program zodiak
Devi Apriansyah
 

Similar to Advanced Federation and Web Services in Aras for Enterprise PLM (20)

PDF
10 Ace 2010 Aras Federation Workshop
Prodeos
 
PDF
Aras Connected Cloud for PLM
Aras
 
PPTX
Pervasive PLM
Aras
 
PDF
Autonomous Platform with AIML Document Intelligence Capabilities to Handle Se...
IRJET Journal
 
PDF
Z Data Tools and APIs Overview
HCLSoftware
 
PPTX
Hp trim vs objective
traciep
 
DOC
Informatica Interview Questions & Answers
ZaranTech LLC
 
PDF
Aras Role Based Clients
Prodeos
 
PDF
Special Purpose Role-Based Clients for PLM using Aras
Aras
 
PPT
Web engineering
•sreejith •sree
 
PDF
IRJET- ALPYNE - A Grid Computing Framework
IRJET Journal
 
PPTX
System analysis and design
RobinsonObura
 
PDF
Workshop on requirements and modeling at HAE 2015
Olivier Béghain
 
PPTX
Taw opening session
Michel Burger
 
PPSX
M.S. Dissertation in Salesforce on Force.com
Arun Somu Panneerselvam
 
PDF
AIIM Cloud Collaboration Presentation Jan. 2012
Porter-Roth Associates
 
PPTX
Training Report
Anjali Kamboj
 
PPT
Informix warehouse and accelerator overview
Keshav Murthy
 
PPT
Z cloud with technical details
Jim Porell
 
10 Ace 2010 Aras Federation Workshop
Prodeos
 
Aras Connected Cloud for PLM
Aras
 
Pervasive PLM
Aras
 
Autonomous Platform with AIML Document Intelligence Capabilities to Handle Se...
IRJET Journal
 
Z Data Tools and APIs Overview
HCLSoftware
 
Hp trim vs objective
traciep
 
Informatica Interview Questions & Answers
ZaranTech LLC
 
Aras Role Based Clients
Prodeos
 
Special Purpose Role-Based Clients for PLM using Aras
Aras
 
Web engineering
•sreejith •sree
 
IRJET- ALPYNE - A Grid Computing Framework
IRJET Journal
 
System analysis and design
RobinsonObura
 
Workshop on requirements and modeling at HAE 2015
Olivier Béghain
 
Taw opening session
Michel Burger
 
M.S. Dissertation in Salesforce on Force.com
Arun Somu Panneerselvam
 
AIIM Cloud Collaboration Presentation Jan. 2012
Porter-Roth Associates
 
Training Report
Anjali Kamboj
 
Informix warehouse and accelerator overview
Keshav Murthy
 
Z cloud with technical details
Jim Porell
 
Ad

More from Aras (20)

PDF
Implementing PLM in the Fast-Paced, Innovation Driven Prepared Foods Industry
Aras
 
PDF
Strategic BOM Management
Aras
 
PDF
Client Technology Directions
Aras
 
PDF
Aras Vision and Roadmap 2016
Aras
 
PDF
Aras Community Update 2016
Aras
 
PDF
MBSE and the Business of Engineering
Aras
 
PDF
Beyond ECAD Connectors
Aras
 
PDF
The PLM Journey of Justifying Change with Strategic Vision
Aras
 
PDF
The Impact of IoT on Product Design
Aras
 
PDF
Enterprise Agile Deployment
Aras
 
PDF
Taking Manufacturing Process Planning to the Next Level
Aras
 
PDF
Quality Systems
Aras
 
PDF
Variant Management
Aras
 
PDF
The Power of Self Service Reporting
Aras
 
PDF
Making users More Productive with Enterprise Search
Aras
 
PDF
Understanding the New Content Modeling Framework
Aras
 
PDF
Technical Documentation for Technical Publications
Aras
 
PDF
Supplier Exchange Portal
Aras
 
PDF
Quality Planning for Product Risk Management
Aras
 
PDF
How to Configure Tech Docs
Aras
 
Implementing PLM in the Fast-Paced, Innovation Driven Prepared Foods Industry
Aras
 
Strategic BOM Management
Aras
 
Client Technology Directions
Aras
 
Aras Vision and Roadmap 2016
Aras
 
Aras Community Update 2016
Aras
 
MBSE and the Business of Engineering
Aras
 
Beyond ECAD Connectors
Aras
 
The PLM Journey of Justifying Change with Strategic Vision
Aras
 
The Impact of IoT on Product Design
Aras
 
Enterprise Agile Deployment
Aras
 
Taking Manufacturing Process Planning to the Next Level
Aras
 
Quality Systems
Aras
 
Variant Management
Aras
 
The Power of Self Service Reporting
Aras
 
Making users More Productive with Enterprise Search
Aras
 
Understanding the New Content Modeling Framework
Aras
 
Technical Documentation for Technical Publications
Aras
 
Supplier Exchange Portal
Aras
 
Quality Planning for Product Risk Management
Aras
 
How to Configure Tech Docs
Aras
 
Ad

Recently uploaded (20)

PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Market Insight : ETH Dominance Returns
CIFDAQ
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
The Future of Artificial Intelligence (AI)
Mukul
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 

Advanced Federation and Web Services in Aras for Enterprise PLM

  • 1. ACE 2011 International Understanding Federation  Understanding Federation and Web Services www.aras.com Copyright © 2011 Aras All Rights Reserved. aras.com
  • 2. Welcome Session Goals Previous session covered overall Integration  strategies and a focus on how to integrate desktop  applications (authoring tools) applications (authoring tools) This session:  PLM Server  other business servers Creating server peer‐to‐peer configurations Data and Process status exchange d h For the end‐users,  blurring the lines between systems and  presenting all their relevant data in a single context Copyright © 2011 Aras All Rights Reserved. Slide 2 aras.com
  • 3. Session Topic 1. Pull data from external apps into PLM to use in Client, Reports, workflows 2. External apps using PLM as a data source Homegrown Applications Database File Vault Legacy PDM ERP Copyright © 2011 Aras All Rights Reserved. Slide 3 aras.com
  • 4. Two Use Cases 1. Data in the ERP system or your legacy applications is  relevant to the PLM users.   We want this data and PLM  data together in the right context on the PLM user  interface ‐‐ like a Mash‐Up Corporate Document Management office files ERP for costing or inventory records CRM customer information CRM t i f ti 2. Other systems need access to data records or files  y stored in the PLM system Shop floor viewing of Drawings through MES Quality system view of Part‐BOM structure Copyright © 2011 Aras All Rights Reserved. Slide 4 aras.com
  • 5. Two Use Cases • NOTE: for many commercial systems, such as SAP and   SharePoint,  you can find a commercial 3rd party  , y p y connector from an Aras partner.     – For this discussion, it is more interesting to imagine For this discussion,  it is more interesting to imagine  that we are building an integration from scratch. • NOTE:   it’s always possible to batch transfer data from  one system to another.  We (IT folks) have been doing  y ( ) g that forever.   – For this discussion it is more interesting to talk about  g how we build real‐time connectors Copyright © 2011 Aras All Rights Reserved. Slide 5 aras.com
  • 6. Two Use Cases 1. Data in the ERP system or your legacy applications is  relevant to the PLM users.   We want this data and PLM  data mixed together in the right context on the PLM  user interface ‐‐ like a Mash‐Up Federation 2. Other systems need access to data records or files  stored in the PLM system t d i th PLM t Web Services Copyright © 2011 Aras All Rights Reserved. Slide 6 aras.com
  • 7. Federation ‐ Definition Core concept in Aras:   Federation creates a wrapper  around data objects in remote systems,  and then  around data objects in remote systems, and then extends their definition with PLM functionality The wrapper defines  the data transfer, data mapping  Th d fi th d t t f d t i and the internal PLM representation We can add security, web interface, workflow routing  to data in the legacy system,  using it as a data source  for a new audience of users    f di f We can federate an entire ItemType or just federate a  yp j few properties on a PLM internal Item in Aras Copyright © 2011 Aras All Rights Reserved. Slide 7 aras.com
  • 8. Federation – Definition  ( (continued) ) We aggregate data from many sources in this way in  order to: o Present the aggregated data in a single window for the user,  e.g.  a Mash‐Up o Execute business rules, BI dashboards, or Reports against the  consolidated data set lid d d o Add advanced PLM capabilities such as BPM workflow or a secure  web interface to legacy systems web interface to legacy systems Done well,  the end user is not aware of the sources of data Done well, the end‐user is not aware of the sources of data Copyright © 2011 Aras All Rights Reserved. Slide 8 aras.com
  • 9. Federation Scenarios Corporate document management system Documents checked in to the PLM system are transferred  y directly to a corporate document archiving solution Searching and viewing documents is performed within the PLM  interface,  directly accessing remotely stored data i f di l i l dd Cost and inventory on hand fields in ERP Cost and inventory‐on‐hand fields in ERP Material cost may be maintained in the ERP system,  but is  useful information to engineers using PLM The PLM material forms contains a mash‐up of data from both  PLM and a real‐time ERP query The PLM workflows may branch automatically based on the  levels of inventory of parts being changed Copyright © 2011 Aras All Rights Reserved. Slide 9 aras.com
  • 10. Why Server‐Based Federation? Aras Innovator is an HTML Client; we can use the client as  an integration platform also.    g p Server‐based Federation Advantages: PLM client is sent a single data set, and is not aware that core  business objects have been modified with remote properties,   or that the data objects are not native j Integration of remote data objects is encapsulated on the  server, eliminating client customizing g g Server‐side business rules such as Permissions, LifeCycle, and  Workflow logic can act on the 3rd party data objects Copyright © 2011 Aras All Rights Reserved. Slide 10 aras.com
  • 11. Simple Exercise Create an ItemType named Test with 1 Property=name Add a Server Event OnGet with a Method that creates  Add a Server Event OnGet with a Method that creates and returns a hardcoded XML string <Item type=‘Test’ id=‘1234’><name>Hello</name></Item> <It t ‘T t’ id ‘1234’>< >H ll </ ></It > Select this item on the TOC Grid will populate with the ‘fake’ data. NOTE: o Had to create a dummy ID for each row Copyright © 2011 Aras All Rights Reserved. Slide 11 aras.com
  • 12. Why is the Simple Exercise Simple? Aras Client and all internal framework services expect  AML to be returned on every transaction ‐ this is key to  the simplicity of Federation No customizations normally on the client No customizations normally on the client o As long as AML is returned,  the client is happy to work with any  data it receives o Exception is file check‐in handling  ( ** discussed later ) Use standard Server Events to add the Federation logic Use standard Ser er E ents to add the Federation logic o OnAfterGet to merge federated properties oO G t OnGet to return 100% federated items t t 100% f d t d it Copyright © 2011 Aras All Rights Reserved. Slide 12 aras.com
  • 13. Pseudo Code for a View Assume “MyFederation”   OnGet event  ‐ VB/C# Method Assume entire ItemType has been Federated Assume entire ItemType has been Federated Properties for the remote object, TOC Access, Form Views  are defined in standard Aras Innovator ItemType Editor 2 Modes: 2 Modes: 1. Simple Searching and Viewing (unstructured) 2. Using the Federated Item in Relationships 2 U i th F d t d It i R l ti hi For example:   Part to Document Relationship where  the Documents are federated th D t f d t d Copyright © 2011 Aras All Rights Reserved. Slide 13 aras.com
  • 14. Pseudo Code for View #1 User query parameters from the Simple Search grid row  are Properties on the Me / This object  are Properties on the Me / This object Check if this is a Get for one record or a set.   How? Build the query for the remote system, passing the query  B ild h f h i h parameters the user entered in the client Run the query code  ( ** discussed next ) R h d ( ** di d ) Create an AML string from the query result Add a dummy ID for each row Return AML QUIZ:  Is there an ItemType table for this item? Copyright © 2011 Aras All Rights Reserved. Slide 14 aras.com
  • 15. Pseudo‐Code for View #2 Federated Items will be used as Item Properties,  or either the Source or Related in a Relationship ith th S R l t d i R l ti hi ItemType is not flagged as Federated this time  because we do want an Aras Innovator table because we do want an Aras Innovator table QUIZ ‐ What properties must this table store? Copyright © 2011 Aras All Rights Reserved. Slide 15 aras.com
  • 16. Pseudo‐Code for View #2 Three properties are required to maintain configurations ID Federated‐ID Keyed‐Name Solution:   in the OnGet method we add a function to  register the data objects found via user queries,   register the data objects found via user queries, assigning a new Aras Innovator ID to each I use a small stored procedure to execute this efficiently p ff y Copyright © 2011 Aras All Rights Reserved. Slide 16 aras.com
  • 17. Remote Data Access Techniques Web Services o Building an ASPX/PHP page as a wrapper around legacy systems ld / dl o Using Visual Studio to make a Proxy o XMLHTTP bj t XMLHTTP object ODBC Commercial API from the other system vendor QUIZ:   How do we register a DLL (either API or WS Proxy)  so that you can use the DLL directly in Methods ? th t th DLL di tl i M th d ? Copyright © 2011 Aras All Rights Reserved. Slide 17 aras.com
  • 18. Other Design Considerations File check‐in to a Federated source After check‐in, move file from Aras vault to remote vault Aras client does direct file upload Actions for Add, Update and Delete are possible , p p Synchronizing permissions and access Copyright © 2011 Aras All Rights Reserved. Slide 18 aras.com
  • 19. Two Use Cases 1. Data in the ERP system or your legacy applications is  relevant to the PLM users.   We want this data and PLM  data together in the right context on the PLM user  interface ‐‐ like a Mash‐Up Federation 2. Other systems need access to data records or files  stored in the PLM system y Web Services Copyright © 2011 Aras All Rights Reserved. Slide 19 aras.com
  • 20. Web Services Example:  On‐line website catalog needs data from  p g the PLM system (drawings, specs, part numbers).       • BTW this is how the Aras web site runs Shop floor MES system displays drawings from the  p y p y g PLM vault Copyright © 2011 Aras All Rights Reserved. Slide 20 aras.com
  • 21. Aras Training Class ‐ Outline Overview of Aras Web Services Creating a Web Service Configuration Generating the Web Service Code Publishing a new Application to IIS Testing the Web Service T i h W bS i Consuming the Web Service example using Visual Studio Consuming the Web Service example using Visual Studio Copyright © 2011 Aras All Rights Reserved. Slide 21 aras.com
  • 22. Web Services You can develop XML/SOAP messages that are sent  directly to the Aras Server,  the only requirement is that  each transaction is authenticated,  and you have the XML  message payload correct. http://myServer/Innovator/Server/InnovatorServer.aspx What?  No WSDL.      Why is there no WSDL?    What? No WSDL Why is there no WSDL? WDL implies a static object model   Tradeoffs    • Performance • Static vs. Dynamic view of the world Copyright © 2011 Aras All Rights Reserved. Slide 22 aras.com
  • 23. Aras Web Services Choices Interfacing to the Aras Server directly InnovatorServer.aspx provides the ApplyItem service All AML commands are available No WSDL necessary Creating a Custom Web Service Advantages • Can generate WSDL • C b Can be used with tools that use WSDL to build interfaces d ih l h WSDL b ild i f Disadvantages • St ti Static model d l • If an ItemType is altered, the service must be regenerated Copyright © 2011 Aras All Rights Reserved. Slide 23 aras.com
  • 24. Service Publishing Overview Steps: 1) Establish a physical directory location for the service 2) Create a Web Configuration Item ) g 3) Save the Web Configuration File to web service  directory 4) Generate the Web Service program code and  configure service configure service 5) Add the Web Service to IIS 6) Test the Service Copyright © 2011 Aras All Rights Reserved. Slide 24 aras.com
  • 25. Creating Web Service  Configuration g 1 2 3 6 8 4 5 7 Copyright © 2011 Aras All Rights Reserved. Slide 25 aras.com
  • 26. Specifying Actions Copyright © 2011 Aras All Rights Reserved. Slide 26 aras.com
  • 27. Creating Custom Actions 1 Create Server Method 2 Create Corresponding Action Copyright © 2011 Aras All Rights Reserved. Slide 27 aras.com
  • 28. Creating a Location Directory Locate the web service generator files: …Innovator/Server/bin/WebServiceGenerator Innovator/Server/bin/WebServiceGenerator Copy the folder to a new location Example: C:WebServiceGenerator Rename directory y Example: C:WorkOrder_Service Copyright © 2011 Aras All Rights Reserved. Slide 28 aras.com
  • 29. Saving the Web Configuration File 1 2 Copyright © 2011 Aras All Rights Reserved. Slide 29 aras.com
  • 30. Generating the Web Service Code GenerateWS.exe Parameters: • Folder to generate Web Service code files • File name of Web Service Configuration File • Folder containing  the template configuration .zip file • Name of published web service Example: GenerateWS . WSC_1.xml . WorkOrderService G t S SC 1 l kO d S i Copyright © 2011 Aras All Rights Reserved. Slide 30 aras.com
  • 31. Configuring the Web Service Locate the innovator.config.xml file Replace the following parameter values URL DB Example: E l <?xml version="1.0" encoding="utf-8" ?> <appSettings> pp g <add key="url" value="http://localhost/Innovator920" /> <add key="db" value="DevelopingSolutions920" /> </appSettings> Copyright © 2011 Aras All Rights Reserved. Slide 31 aras.com
  • 32. Creating the IIS Application Copyright © 2011 Aras All Rights Reserved. Slide 32 aras.com
  • 33. Testing the Service Use Internet Explorer and enter the URL: Example: http://localhost/WorkOrderService/innovator.asmx Copyright © 2011 Aras All Rights Reserved. Slide 33 aras.com
  • 34. Consuming the Web Service in  Visual Studio Copyright © 2011 Aras All Rights Reserved. Slide 34 aras.com
  • 35. Two Use Cases 1. Data in the ERP system or your legacy applications is  relevant to the PLM users.   We want this data and PLM  data together in the right context on the PLM user  interface ‐‐ like a Mash‐Up Federation 2. Other systems need access to data records or files  stored in the PLM system t d i th PLM t Web Services Copyright © 2011 Aras All Rights Reserved. Slide 35 aras.com
  • 36. More Resources Federation test package Innovator‐to‐Innovator federation used for testing of the Server Events    Aras wiki articles http://www.aras.com/community/wikis/ Aras training classes and materials http://www.aras.com/university/ Copyright © 2011 Aras All Rights Reserved. Slide 36 aras.com
  • 37. ACE 2011 International Understanding Federation  Understanding Federation and Web Services www.aras.com Copyright © 2011 Aras All Rights Reserved. aras.com