SlideShare a Scribd company logo
1 of 42
Developing Cross-System Workflow Applications with Wf-XML
Speaker Information ,[object Object],[object Object]
Learning Objectives ,[object Object],[object Object],[object Object],[object Object]
Server Configuration Workflow Setup Wf-XML At Run Time Wf-XML Document Overview Communicating With Non-SAP Systems
Server Configuration Workflow Setup Wf-XML At Run Time Wf-XML Document Overview Communicating With Non-SAP Systems
Creating a Service Alias in transaction SICF ,[object Object],[object Object],[object Object],[object Object]
Setting Service Parameters (1) ,[object Object],[object Object],[object Object]
Setting Service Parameters (2) ,[object Object],[object Object]
Activating alias link in SICF ,[object Object]
Determining HTTP Port Number and Host Name ,[object Object],[object Object],[object Object],[object Object]
Setting handler for workflows in SWR_WEBSERVER ,[object Object],[object Object],[object Object]
Server Configuration Workflow Setup Wf-XML At Run Time Wf-XML Document Overview Communicating With Non-SAP Systems
Container interface for remote workflow ,[object Object]
Remote workflow template ,[object Object],[object Object]
Container interface for reference workflow ,[object Object],[object Object]
Reference Workflow Template ,[object Object],[object Object]
Creating the Calling Workflow
Creating a Web Activity ,[object Object],[object Object],[object Object]
Using the URL Wizard ,[object Object]
Adding an alias to the URL ,[object Object],[object Object],[object Object]
Adding the Reference Workflow ,[object Object],[object Object]
Server Configuration Workflow Setup Wf-XML At Run Time Wf-XML Document Overview Communicating With Non-SAP Systems
Viewing progress in the Workflow Log ,[object Object],[object Object]
Viewing XML files with transaction SWXML ,[object Object],[object Object]
[object Object],[object Object],View documents in transaction OAOR (BDS)
Server Configuration Workflow Setup Wf-XML At Run Time Wf-XML Document Overview Communicating With Non-SAP Systems
[object Object],[object Object],[object Object],Wf-XML Specification
[object Object],[object Object],[object Object],System Interaction Source:  http://www.wfmc.org/standards/docs/Wf-XML-11.pdf
[object Object],[object Object],System Interaction (2) Source:  http://www.wfmc.org/standards/docs/Wf-XML-11.pdf
[object Object],CreateProcessInstance - Request
[object Object],CreateProcessInstance - Response The MIME type of the returned document MUST BE  text/xml .  Any other type will cause the originating workflow to end in error
ProcessInstanceStateChanged
Server Configuration Workflow Setup Wf-XML At Run Time Wf-XML Document Overview Communicating With Non-SAP Systems
[object Object],Interfacing With Foreign Systems #!c:/perl/bin/Perl.exe ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); print &quot;Content-type: text/xml&quot;; print &quot;<?xml version=amp;quot;1.0amp;quot; encoding=amp;quot;ISO-8859-1amp;quot; ?>&quot;;  print &quot;  <WfMessage xmlns=amp;quot;http://www.wmfc.org/standards/docs/Wf-XMLamp;quot; Version=amp;quot;1.1amp;quot;>&quot;; print &quot;  <WfMessageHeader>&quot;; print &quot;  <Response />&quot;; print &quot;  <Key>Apache Transaction - Free Text 1</Key>&quot;; print &quot;  </WfMessageHeader>&quot;; print &quot;  <WfMessageBody>&quot;; print &quot;  <CreateProcessInstance.Response>&quot;; print &quot;  <ProcessInstanceKey>Apache Transaction - Free Text 2</ProcessInstanceKey>&quot;; print &quot;  <ContextData>&quot;; print &quot;  <Name>Date</Name><Value>$mon/$mday/$year</Value>&quot;; print &quot;  <Name>Time</Name><Value>$hour:$min:$sec</Value>&quot;; print &quot;  <Return>&quot;; print &quot;  <Success />&quot;; print &quot;  <Message>&quot;; print &quot;  <Number>ZH999</Number>&quot;; print &quot;  <Text>&amp; &amp; &amp; &amp;</Text>&quot;; print &quot;  <V1>The method was executed successfully</V1>&quot;; print &quot;  </Message>&quot;; print &quot;  </Return>&quot;;
[object Object],[object Object],Interfacing With Foreign Systems (2) public class JavaAgent extends AgentBase { public void NotesMain() { try { ... creating calendar entry in Notes printXMLDocument(notes_doc.getUniversalID()); } catch(NotesException e) { createErrorDocument(e.text, 1); } }
Interfacing With Foreign Systems (3) private void createErrorDocument(String msg, int type) { try { notes_doc = sapleave_db.createDocument(); notes_doc.replaceItemValue(&quot;Form&quot;, &quot;Incoming&quot;); notes_doc.replaceItemValue(&quot;Error&quot;, new Integer(type)); notes_doc.save(); printXMLDocument(notes_doc.getUniversalID()); } catch (NotesException ex) { ex.printStackTrace(); }  } private void printXMLDocument(String id) { try { pw.println(&quot;Content-type: text/xml&quot;); pw.println(&quot;<?xml version=amp;quot;1.0amp;quot; encoding=amp;quot;ISO-8859-1amp;quot; ?>&quot;);  pw.println(&quot;<WfMessage xmlns=amp;quot;http://www.wmfc.org/standards/docs/Wf-XMLamp;quot; Version=amp;quot;1.1amp;quot;>&quot;); pw.println(&quot;<WfMessageBody>&quot;); … . Context Data of Response Document pw.println(&quot;</WfMessageBody>&quot;); pw.println(&quot;</WfMessage>&quot;); } catch (Exception ex) { ex.printStackTrace(); }  }
Summary ,[object Object],[object Object],[object Object],[object Object]
Transaction Reference ,[object Object],[object Object],[object Object],[object Object]
Further Information  Public Web: http://www.wfmc.org  – Workflow Management Coalition www.sdn.sap.com   - SAP Developers‘ Network  Related  Workshops/Lectures  at SAP TechEd ’05 EPI104  –  Interoperability SAP NetWeaver–IBM WebSphere, Lotus, and Tivoli EPI200  - ASUG Workflow/Webflow SIG Community: Tips, Tricks and Information Sharing Session   Americas’ SAP Users’ Group (ASUG) www.asug.com
THANK YOU FOR YOUR ATTENTION ! QUESTIONS  –  SUGGESTIONS  –  DISCUSSION
Feedback Please complete your session evaluation. Be courteous — deposit your trash,  and do not take the handouts for the following session.  Thank You !
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Copyright 2006 SAP AG. All Rights Reserved

More Related Content

Viewers also liked

Russo Revelation on Mad Men Vol 1.7
Russo Revelation on Mad Men Vol 1.7Russo Revelation on Mad Men Vol 1.7
Russo Revelation on Mad Men Vol 1.7Jaci Russo
 
數位學院:好事吸引力
數位學院:好事吸引力數位學院:好事吸引力
數位學院:好事吸引力Isaac Chao
 
Global Climatic Change - Engineers Perspective
Global Climatic Change - Engineers PerspectiveGlobal Climatic Change - Engineers Perspective
Global Climatic Change - Engineers PerspectiveAshok Ghosh
 
Ti cwiczenia-word 2010-style
Ti cwiczenia-word 2010-styleTi cwiczenia-word 2010-style
Ti cwiczenia-word 2010-styleEwaB
 
Security Storage Containers
Security Storage ContainersSecurity Storage Containers
Security Storage Containersguest08ead4
 
Opdracht Informatica
Opdracht InformaticaOpdracht Informatica
Opdracht Informaticastijngheysen
 
Dexma project plm
Dexma project plmDexma project plm
Dexma project plmDEXMA Labs
 
Px09683
Px09683Px09683
Px09683jdegra
 
Online Reputation Management
Online Reputation ManagementOnline Reputation Management
Online Reputation ManagementCritical Mass
 
Slide Share Thin2
Slide Share Thin2Slide Share Thin2
Slide Share Thin2noo0002
 
Experiências de aprendizagem aberta, flexível e a distância para a 4ª revoluç...
Experiências de aprendizagem aberta, flexível e a distância para a 4ª revoluç...Experiências de aprendizagem aberta, flexível e a distância para a 4ª revoluç...
Experiências de aprendizagem aberta, flexível e a distância para a 4ª revoluç...UFPE
 
Fav’ Pix Of The Week
Fav’ Pix Of The WeekFav’ Pix Of The Week
Fav’ Pix Of The Weekguestf85a16
 
Increase Adwords Profits
Increase Adwords ProfitsIncrease Adwords Profits
Increase Adwords ProfitsGreg Cassar
 
Are We There Yet
Are We There YetAre We There Yet
Are We There Yetjkchapman
 
I Formation Offense
I Formation OffenseI Formation Offense
I Formation OffenseTom Neuman
 
Pistol Offense
Pistol OffensePistol Offense
Pistol OffenseTom Neuman
 
Apres Resultados 4 T07 Eng Final
Apres Resultados 4 T07 Eng FinalApres Resultados 4 T07 Eng Final
Apres Resultados 4 T07 Eng Finalp.correa
 
Fball Brophy Urban Meyer Spread
Fball Brophy Urban Meyer SpreadFball Brophy Urban Meyer Spread
Fball Brophy Urban Meyer SpreadTom Neuman
 

Viewers also liked (20)

Russo Revelation on Mad Men Vol 1.7
Russo Revelation on Mad Men Vol 1.7Russo Revelation on Mad Men Vol 1.7
Russo Revelation on Mad Men Vol 1.7
 
數位學院:好事吸引力
數位學院:好事吸引力數位學院:好事吸引力
數位學院:好事吸引力
 
Global Climatic Change - Engineers Perspective
Global Climatic Change - Engineers PerspectiveGlobal Climatic Change - Engineers Perspective
Global Climatic Change - Engineers Perspective
 
Ti cwiczenia-word 2010-style
Ti cwiczenia-word 2010-styleTi cwiczenia-word 2010-style
Ti cwiczenia-word 2010-style
 
Pel1
Pel1Pel1
Pel1
 
Security Storage Containers
Security Storage ContainersSecurity Storage Containers
Security Storage Containers
 
Opdracht Informatica
Opdracht InformaticaOpdracht Informatica
Opdracht Informatica
 
Dexma project plm
Dexma project plmDexma project plm
Dexma project plm
 
Px09683
Px09683Px09683
Px09683
 
Online Reputation Management
Online Reputation ManagementOnline Reputation Management
Online Reputation Management
 
Slide Share Thin2
Slide Share Thin2Slide Share Thin2
Slide Share Thin2
 
Experiências de aprendizagem aberta, flexível e a distância para a 4ª revoluç...
Experiências de aprendizagem aberta, flexível e a distância para a 4ª revoluç...Experiências de aprendizagem aberta, flexível e a distância para a 4ª revoluç...
Experiências de aprendizagem aberta, flexível e a distância para a 4ª revoluç...
 
Fav’ Pix Of The Week
Fav’ Pix Of The WeekFav’ Pix Of The Week
Fav’ Pix Of The Week
 
Increase Adwords Profits
Increase Adwords ProfitsIncrease Adwords Profits
Increase Adwords Profits
 
Are We There Yet
Are We There YetAre We There Yet
Are We There Yet
 
I Formation Offense
I Formation OffenseI Formation Offense
I Formation Offense
 
Pistol Offense
Pistol OffensePistol Offense
Pistol Offense
 
Apres Resultados 4 T07 Eng Final
Apres Resultados 4 T07 Eng FinalApres Resultados 4 T07 Eng Final
Apres Resultados 4 T07 Eng Final
 
Fball Brophy Urban Meyer Spread
Fball Brophy Urban Meyer SpreadFball Brophy Urban Meyer Spread
Fball Brophy Urban Meyer Spread
 
Pronk like you mean it
Pronk like you mean itPronk like you mean it
Pronk like you mean it
 

Similar to Developing Cross-System Workflows

Dh2 Apps Training Part2
Dh2   Apps Training Part2Dh2   Apps Training Part2
Dh2 Apps Training Part2jamram82
 
jkljklj
jkljkljjkljklj
jkljkljhoefo
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web servicesNeil Ghosh
 
Nhi Doan Portfolio
Nhi Doan PortfolioNhi Doan Portfolio
Nhi Doan Portfoliochaunhi
 
Intro to AppExchange - Building Composite Apps
Intro to AppExchange - Building Composite AppsIntro to AppExchange - Building Composite Apps
Intro to AppExchange - Building Composite Appsdreamforce2006
 
WF 4.0 Overview
WF 4.0 OverviewWF 4.0 Overview
WF 4.0 Overviewdannicola
 
Power Shell and Sharepoint 2013
Power Shell and Sharepoint 2013Power Shell and Sharepoint 2013
Power Shell and Sharepoint 2013Mohan Arumugam
 
Funabol Connector Development Roadmap
Funabol Connector Development RoadmapFunabol Connector Development Roadmap
Funabol Connector Development RoadmapFunambol
 
FMS Administration Seminar
FMS Administration SeminarFMS Administration Seminar
FMS Administration SeminarYoss Cohen
 
CenitHub Presentations | 4- Flows, Connections & Webhooks
CenitHub Presentations | 4- Flows, Connections & WebhooksCenitHub Presentations | 4- Flows, Connections & Webhooks
CenitHub Presentations | 4- Flows, Connections & WebhooksMiguel Sancho
 
Process mining with Disco (Eng)
Process mining with Disco (Eng)Process mining with Disco (Eng)
Process mining with Disco (Eng)Dafna Levy
 

Similar to Developing Cross-System Workflows (20)

QSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load RunnerQSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load Runner
 
Dh2 Apps Training Part2
Dh2   Apps Training Part2Dh2   Apps Training Part2
Dh2 Apps Training Part2
 
jkljklj
jkljkljjkljklj
jkljklj
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web services
 
About work flow
About work flowAbout work flow
About work flow
 
Nhi Doan Portfolio
Nhi Doan PortfolioNhi Doan Portfolio
Nhi Doan Portfolio
 
SAP workflow events
SAP workflow eventsSAP workflow events
SAP workflow events
 
Intro to AppExchange - Building Composite Apps
Intro to AppExchange - Building Composite AppsIntro to AppExchange - Building Composite Apps
Intro to AppExchange - Building Composite Apps
 
PDC Highlights
PDC HighlightsPDC Highlights
PDC Highlights
 
Ds
DsDs
Ds
 
WF 4.0 Overview
WF 4.0 OverviewWF 4.0 Overview
WF 4.0 Overview
 
Power Shell and Sharepoint 2013
Power Shell and Sharepoint 2013Power Shell and Sharepoint 2013
Power Shell and Sharepoint 2013
 
Wwf
WwfWwf
Wwf
 
Step types
Step typesStep types
Step types
 
JBUG.Jbpm.2009
JBUG.Jbpm.2009JBUG.Jbpm.2009
JBUG.Jbpm.2009
 
Funabol Connector Development Roadmap
Funabol Connector Development RoadmapFunabol Connector Development Roadmap
Funabol Connector Development Roadmap
 
Windows Workflow Foundation
Windows Workflow FoundationWindows Workflow Foundation
Windows Workflow Foundation
 
FMS Administration Seminar
FMS Administration SeminarFMS Administration Seminar
FMS Administration Seminar
 
CenitHub Presentations | 4- Flows, Connections & Webhooks
CenitHub Presentations | 4- Flows, Connections & WebhooksCenitHub Presentations | 4- Flows, Connections & Webhooks
CenitHub Presentations | 4- Flows, Connections & Webhooks
 
Process mining with Disco (Eng)
Process mining with Disco (Eng)Process mining with Disco (Eng)
Process mining with Disco (Eng)
 

More from Keith Swenson

Finding documents in Cognoscenti
Finding documents in CognoscentiFinding documents in Cognoscenti
Finding documents in CognoscentiKeith Swenson
 
Adaptive Case Management Workshop 2014 - Keynote
Adaptive Case Management Workshop 2014 - KeynoteAdaptive Case Management Workshop 2014 - Keynote
Adaptive Case Management Workshop 2014 - KeynoteKeith Swenson
 
Seven Domains of Predictability - BPMCM 2014
Seven Domains of Predictability - BPMCM 2014Seven Domains of Predictability - BPMCM 2014
Seven Domains of Predictability - BPMCM 2014Keith Swenson
 
2014 bpm next_slide_share
2014 bpm next_slide_share2014 bpm next_slide_share
2014 bpm next_slide_shareKeith Swenson
 
OpenID Protocol Explained
OpenID Protocol ExplainedOpenID Protocol Explained
OpenID Protocol ExplainedKeith Swenson
 
New Tools: ACM for Human Resources
New Tools: ACM for Human ResourcesNew Tools: ACM for Human Resources
New Tools: ACM for Human ResourcesKeith Swenson
 
Seven Domains of Predictability
Seven Domains of PredictabilitySeven Domains of Predictability
Seven Domains of PredictabilityKeith Swenson
 
Smart Process Apps on Interstage BOP
Smart Process Apps on Interstage BOPSmart Process Apps on Interstage BOP
Smart Process Apps on Interstage BOPKeith Swenson
 
BPMNext 2013 Swenson
BPMNext 2013 SwensonBPMNext 2013 Swenson
BPMNext 2013 SwensonKeith Swenson
 
Position paperpresentation
Position paperpresentationPosition paperpresentation
Position paperpresentationKeith Swenson
 
PEHRS Presentation on ACM
PEHRS Presentation on ACMPEHRS Presentation on ACM
PEHRS Presentation on ACMKeith Swenson
 
Taming The Unpredictable: Real-World Adaptive Case Management
Taming The Unpredictable: Real-World Adaptive Case ManagementTaming The Unpredictable: Real-World Adaptive Case Management
Taming The Unpredictable: Real-World Adaptive Case ManagementKeith Swenson
 
Figures for Mastering the Unpredictable
Figures for Mastering the UnpredictableFigures for Mastering the Unpredictable
Figures for Mastering the UnpredictableKeith Swenson
 
The Nature of Knowledge Work
The Nature of Knowledge WorkThe Nature of Knowledge Work
The Nature of Knowledge WorkKeith Swenson
 
Large-Scale Federated BPM / Workflow
Large-Scale Federated BPM / WorkflowLarge-Scale Federated BPM / Workflow
Large-Scale Federated BPM / WorkflowKeith Swenson
 
BPM Model Preserving Strategy vs. Model Transforming Strategy
BPM Model Preserving Strategy vs. Model Transforming StrategyBPM Model Preserving Strategy vs. Model Transforming Strategy
BPM Model Preserving Strategy vs. Model Transforming StrategyKeith Swenson
 

More from Keith Swenson (20)

Finding documents in Cognoscenti
Finding documents in CognoscentiFinding documents in Cognoscenti
Finding documents in Cognoscenti
 
mcetech2015
mcetech2015mcetech2015
mcetech2015
 
mri-bp2015
mri-bp2015mri-bp2015
mri-bp2015
 
BPM2014
BPM2014BPM2014
BPM2014
 
Adaptive Case Management Workshop 2014 - Keynote
Adaptive Case Management Workshop 2014 - KeynoteAdaptive Case Management Workshop 2014 - Keynote
Adaptive Case Management Workshop 2014 - Keynote
 
Seven Domains of Predictability - BPMCM 2014
Seven Domains of Predictability - BPMCM 2014Seven Domains of Predictability - BPMCM 2014
Seven Domains of Predictability - BPMCM 2014
 
2014 bpm next_slide_share
2014 bpm next_slide_share2014 bpm next_slide_share
2014 bpm next_slide_share
 
OpenID Protocol Explained
OpenID Protocol ExplainedOpenID Protocol Explained
OpenID Protocol Explained
 
New Tools: ACM for Human Resources
New Tools: ACM for Human ResourcesNew Tools: ACM for Human Resources
New Tools: ACM for Human Resources
 
EDOC2013
EDOC2013EDOC2013
EDOC2013
 
Seven Domains of Predictability
Seven Domains of PredictabilitySeven Domains of Predictability
Seven Domains of Predictability
 
Smart Process Apps on Interstage BOP
Smart Process Apps on Interstage BOPSmart Process Apps on Interstage BOP
Smart Process Apps on Interstage BOP
 
BPMNext 2013 Swenson
BPMNext 2013 SwensonBPMNext 2013 Swenson
BPMNext 2013 Swenson
 
Position paperpresentation
Position paperpresentationPosition paperpresentation
Position paperpresentation
 
PEHRS Presentation on ACM
PEHRS Presentation on ACMPEHRS Presentation on ACM
PEHRS Presentation on ACM
 
Taming The Unpredictable: Real-World Adaptive Case Management
Taming The Unpredictable: Real-World Adaptive Case ManagementTaming The Unpredictable: Real-World Adaptive Case Management
Taming The Unpredictable: Real-World Adaptive Case Management
 
Figures for Mastering the Unpredictable
Figures for Mastering the UnpredictableFigures for Mastering the Unpredictable
Figures for Mastering the Unpredictable
 
The Nature of Knowledge Work
The Nature of Knowledge WorkThe Nature of Knowledge Work
The Nature of Knowledge Work
 
Large-Scale Federated BPM / Workflow
Large-Scale Federated BPM / WorkflowLarge-Scale Federated BPM / Workflow
Large-Scale Federated BPM / Workflow
 
BPM Model Preserving Strategy vs. Model Transforming Strategy
BPM Model Preserving Strategy vs. Model Transforming StrategyBPM Model Preserving Strategy vs. Model Transforming Strategy
BPM Model Preserving Strategy vs. Model Transforming Strategy
 

Recently uploaded

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 

Recently uploaded (20)

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 

Developing Cross-System Workflows

  • 1. Developing Cross-System Workflow Applications with Wf-XML
  • 2.
  • 3.
  • 4. Server Configuration Workflow Setup Wf-XML At Run Time Wf-XML Document Overview Communicating With Non-SAP Systems
  • 5. Server Configuration Workflow Setup Wf-XML At Run Time Wf-XML Document Overview Communicating With Non-SAP Systems
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12. Server Configuration Workflow Setup Wf-XML At Run Time Wf-XML Document Overview Communicating With Non-SAP Systems
  • 13.
  • 14.
  • 15.
  • 16.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22. Server Configuration Workflow Setup Wf-XML At Run Time Wf-XML Document Overview Communicating With Non-SAP Systems
  • 23.
  • 24.
  • 25.
  • 26. Server Configuration Workflow Setup Wf-XML At Run Time Wf-XML Document Overview Communicating With Non-SAP Systems
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 33. Server Configuration Workflow Setup Wf-XML At Run Time Wf-XML Document Overview Communicating With Non-SAP Systems
  • 34.
  • 35.
  • 36. Interfacing With Foreign Systems (3) private void createErrorDocument(String msg, int type) { try { notes_doc = sapleave_db.createDocument(); notes_doc.replaceItemValue(&quot;Form&quot;, &quot;Incoming&quot;); notes_doc.replaceItemValue(&quot;Error&quot;, new Integer(type)); notes_doc.save(); printXMLDocument(notes_doc.getUniversalID()); } catch (NotesException ex) { ex.printStackTrace(); } } private void printXMLDocument(String id) { try { pw.println(&quot;Content-type: text/xml&quot;); pw.println(&quot;<?xml version=amp;quot;1.0amp;quot; encoding=amp;quot;ISO-8859-1amp;quot; ?>&quot;); pw.println(&quot;<WfMessage xmlns=amp;quot;http://www.wmfc.org/standards/docs/Wf-XMLamp;quot; Version=amp;quot;1.1amp;quot;>&quot;); pw.println(&quot;<WfMessageBody>&quot;); … . Context Data of Response Document pw.println(&quot;</WfMessageBody>&quot;); pw.println(&quot;</WfMessage>&quot;); } catch (Exception ex) { ex.printStackTrace(); } }
  • 37.
  • 38.
  • 39. Further Information  Public Web: http://www.wfmc.org – Workflow Management Coalition www.sdn.sap.com - SAP Developers‘ Network  Related Workshops/Lectures at SAP TechEd ’05 EPI104 – Interoperability SAP NetWeaver–IBM WebSphere, Lotus, and Tivoli EPI200 - ASUG Workflow/Webflow SIG Community: Tips, Tricks and Information Sharing Session  Americas’ SAP Users’ Group (ASUG) www.asug.com
  • 40. THANK YOU FOR YOUR ATTENTION ! QUESTIONS – SUGGESTIONS – DISCUSSION
  • 41. Feedback Please complete your session evaluation. Be courteous — deposit your trash, and do not take the handouts for the following session. Thank You !
  • 42.

Editor's Notes

  1. In this example, we’ve used a dialog user. It needs to be pointed out that a Communications user is actually the ideal type of user for this application, since they can not log in as a dialog user can.
  2. This step needs to be done in both systems to enable communication. The called system will need to be able to create XML documents in the calling system through this service.
  3. If a workflow finishes almost instantaneously, the document interchange may become confused, which will result in error.
  4. Without the reference workflow, you would have no context for binding the local workflow to the remote workflow.
  5. Creating the reference workflow ahead of time may save you some trouble later when creating a web activity to call a remote system.
  6. The calling workflow is an entirely different template than the reference workflow. It will use the reference workflow interface to exchange elements with the remote system.
  7. The transfer format may be one of several versions of Wf-XML, as well as one or two other encoding schemes. Note on extra dialog: this dialog allows you to create your reference workflow on the fly, but it can cause issues with object locking. It also may be difficult to adjust the container interface and/or activate the newly created reference workflow if it is created here. It is much easier to create the reference workflow first, in a separate step, as we have done in our example.
  8. The hostname and port number were entered in the remote system in transaction SWR_WEBSERVER. The workflow template number is the number from the REMOTE system. This needs to be differentiated from the reference workflow number, which will be entered in a different location a couple of slides later.
  9. Two sets of documents are created if the “Wait For Feedback” box was checked in the Workflow Builder. Only one set of documents is necessarily created in the other instance (the CreateProcessInstance.request set). The second set indicates that the remote workflow has finished, which is only useful if you have instructed your calling workflow to wait for this information.
  10. Mention work item ID at left side again. This transaction can be reached (for individual documents) by double clicking in SWXML. Mention needs to be made about error processing; specifically that it is done through the workflow log, where you can automatically navigate to this transaction.
  11. Different versions of Wf-XML may be used. The standard specifications are also available at http://www.wfmc.org.
  12. The header section contains the URL of the called system. The body’s ObserverKey section contains the callback URL which will be used in the ProcessInstanceStateChanged interchange. The ContextData section, according to the spec, is completely free form. SAP, when generating documents, uses the above format for passing elements bound to the reference workflow’s container.
  13. The immediacy of the response should be stressed, as in: the data returned from the HTTP request made with the originating document must actually contain the response document. Any other data returned immediately by the remote server will result in error. The MIME type is only of concern when dealing with Non-SAP systems. SAP’s Workflow environment will automatically generate documents of the correct type
  14. REQUEST DOCUMENT: The state that is passed informs the calling system of the current state of the remote workflow. The remote workflow will export container elements in its “ResultData” section (corresponding with the ContextData section in the previous slides). RESPONSE DOCUMENT: Returned immediately by the calling system, similarly to the process in the previous slides.
  15. Any language could be used on the web server in the example, as long as it immediately returns a proper Wf-XML document. In this example, a background process is not launched by the script, but there is no reason it couldn’t run some background programs that send a ProcessInstanceStateChanged document back to the R/3 system upon completion.