XML Data Connections

63
@ Everything Xcelsius.com 2009 Presented by: Mico Yuk & Ryan Goodman Date: June 10 th , 2009 When NOT to Utilize SAP Business Objects Enterprise for your Dashboard? Xcelsius Gurus: Part 2 - Data Connectivity Series

Transcript of XML Data Connections

Page 1: XML Data Connections

@ Everything Xcelsius.com 2009

Presented by: Mico Yuk & Ryan Goodman

Date: June 10th, 2009

When NOT to Utilize SAP Business Objects Enterprisefor your Dashboard?

Xcelsius Gurus: Part 2 - Data Connectivity Series

Page 2: XML Data Connections

@ Everything Xcelsius.com 2009

Mico YukFounder – http://www.EverythingXcelsius.com (popular weblog)

Founder - Xcelsius Guru Network

Xcelsius Trainer / Developer / Architect / Blogger/ Fanatic

Ryan GoodmanFounder – http://www.CentigonSolutions.com (SAP SoftwareSolution Partner)

Xcelsius Evangelist / Blogger (ryangoodman.net/blog)

SAP BOBJ Alumni

Who are We?

Page 3: XML Data Connections

@ Everything Xcelsius.com 2009Slide 3

Quick Agenda Preview & Links

Mico IntroductionRecap of Part 1: Utilizing BOE Connections for Xcelsius

Review Xcelsius 12 Connectivity Options (BOE vs. Non-BOE)

Ryan DiscussesXML Maps vs. XML Data Button vs. SOAP Web Service Connection

Soap Web Services

Mico discussesExcel XML Maps

XML Data

Ryan ClosesApplication Integration (Flash Vars, Custom Components)

Custom Components (New data connectivity Option!)

Stay Connected to the Xcelsius Gurus Network

Page 4: XML Data Connections

@ Everything Xcelsius.com 2009Slide 4

Part 1: Recap Webinar Highlights

Webinar Part 1 (click to view)Use Live office when connecting to Webi and/or Crystal Reports as a DataSource

Use Query as a Web Service when connecting to one or more Universes

Live screenshots showing how to use both connections!

Dashboard Builder provides new exciting options for Xcelsius

Download the Presentation

Page 5: XML Data Connections

@ Everything Xcelsius.com 2009Slide 5

Data MangerHouses Xcelsius 12 live data connectivity options. Userswith Engage and Enterprise licenses are allowed to mixconnection types in a single dashboard!

Xcelsius Data Manager

Page 6: XML Data Connections

@ Everything Xcelsius.com 2009Slide 6

Xcelsius 12 Connectivity Options

Non - BO Enterprise BO EnterpriseWeb Service Connection

XML Data

Portal Data

LCDS Connection (Adobe)

External InterfaceConnections

Excel XML Maps

(Add-on) GoogleSpreadsheet Connector

Query as a Web Service

Live Office

Crystal Report DataConsumer

Flash Variables

FS Commands

Non-BO Enterprise vs. BO Enterprise

Page 7: XML Data Connections

@ Everything Xcelsius.com 2009

Side-by-Side Comparison

Architecture Overview

Developer Caveats

Excel XML Maps vs. XML Data vs. Web ServiceConnections

Sometimes I wish that QaaWs could connect to Reports…- Mico Yuk, Found of Xcelsius Gurus

Page 8: XML Data Connections

@ Everything Xcelsius.com 2009Slide 8

XML Connectivity - Comparison

Web Service

• Invoke SOAPweb services

• Configurationthrough WSDL

XML Data

• Send or LoadXML

• Specific XMLschema

Excel XMLMaps

• Read Only XMLConnection

• Use of ExcelXML Mapsfeature

Page 9: XML Data Connections

@ Everything Xcelsius.com 2009Slide 9

HTTPData PublishedClient DevelopmentMiddleware

XML Connectivity – Design Time

Xcelsius SWF

WebService

ExcelXML

Maps

XMLData

Any XMLstructure

.NET/J2EE

SOAP

<row><column>structure

Page 10: XML Data Connections

@ Everything Xcelsius.com 2009Slide 10

HTTPData PublishedMiddleware

XML Connectivity – Run Time

SWFAny XML Structure.NET/J2EE

SOAP

<row><column> Structure

XML Data

Excel XML Maps

Web Service

Page 11: XML Data Connections

@ Everything Xcelsius.com 2009Slide 11

XML Connectivity - Caveats

Developer CaveatsBoth have the same data volume restrictions for Xcelsius

Require additional skill sets to and knowledge of J2EE/.NET andweb services

SOAP Web services are difficult to write

Xcelsius will not support all SOAP web service configurations.

XML Data Button has non-flexible, flat <row><column> structure.

Excel XML Maps requires lots of steps to set up, though XMLstructure is extremely flexible

Database write back capabilities can only be accomplished withXML Data and Web Service connections

Xcelsius Engage only allows 1 data connection

Use Fiddler for troubleshooting: http://fiddler2.com

Page 12: XML Data Connections

@ Everything Xcelsius.com 2009

Example

Benefits

DO’s / DONT’s (Scenarios)

Ryan discusses Web Services…

Sometimes I wish that QaaWs could connect to Reports…- Mico Yuk, Found of Xcelsius Gurus

Page 13: XML Data Connections

@ Everything Xcelsius.com 2009Slide 13

Page 14: XML Data Connections

@ Everything Xcelsius.com 2009Slide 14

Page 15: XML Data Connections

@ Everything Xcelsius.com 2009Slide 15

Page 16: XML Data Connections

@ Everything Xcelsius.com 2009Slide 16

Page 17: XML Data Connections

@ Everything Xcelsius.com 2009Slide 17

Page 18: XML Data Connections

@ Everything Xcelsius.com 2009Slide 18

Page 19: XML Data Connections

@ Everything Xcelsius.com 2009Slide 19

Page 20: XML Data Connections

@ Everything Xcelsius.com 2009Slide 20

Page 21: XML Data Connections

@ Everything Xcelsius.com 2009Slide 21

Page 22: XML Data Connections

@ Everything Xcelsius.com 2009Slide 22

Page 23: XML Data Connections

@ Everything Xcelsius.com 2009Slide 23

Page 24: XML Data Connections

@ Everything Xcelsius.com 2009Slide 24

Web Service Connector Benefits

4 Reasons to use Web Service Connections….

1. Non-technical Xcelsius designers can easily configure services using WSDLinput and output nodes.

2. More structure and control over data output

3. Potential use for data base write-back

4. flynet Viewer eliminates writing web services from scratch(Included with Xcelsius 2008 Engage Server)

Page 25: XML Data Connections

@ Everything Xcelsius.com 2009Slide 25

flynet Viewer - Architecture

HTTPData PublishedClient DevelopmentMiddlewareIIS (.NET)

Xcelsius

SWF

WebService

SOAPWeb

Service

WSDL

Publish

http://flynetviewer.com

Page 26: XML Data Connections

@ Everything Xcelsius.com 2009Slide 26

flynet Viewer - Architecture

Data PublishedMiddlewareIIS (.NET)

SWFSOAPWeb

Service

SOAP

Web Service

http://flynetviewer.com

Page 27: XML Data Connections

@ Everything Xcelsius.com 2009Slide 27

flynet Viewer – Data Sources

Connects to 30+

data sources

http://flynetviewer.com

Page 28: XML Data Connections

@ Everything Xcelsius.com 2009Slide 28

Web Service Connection DO’s

5 Scenarios …1. DO use separate tabs for each data source

2. DO use the Microsoft SOAP standard for building webservices for Xcelsius

3. DO Use String data types

4. DO Use arrays

5. DO Take advantage of Flynet viewer

Page 29: XML Data Connections

@ Everything Xcelsius.com 2009Slide 29

Web Service Connection DON’Ts

5 Scenarios ….X DO NOT include data formatting characters ($, %, “,”)

X DO NOT trigger all queries to “Refresh on Load”

X DO NOT place formulas in data output cells

X DO NOT return more than 1,000 rows of data at a time

X DO NOT use complex data types in SOAP web services

Page 30: XML Data Connections

@ Everything Xcelsius.com 2009

Example

Benefits

DO’s / DONT’s (Scenarios)

Mico discusses using Excel XML Maps …

Sometimes I wish that QaaWs could connect to Reports…- Mico Yuk, Found of Xcelsius Gurus

Page 31: XML Data Connections

@ Everything Xcelsius.com 2009Slide 31

Page 32: XML Data Connections

@ Everything Xcelsius.com 2009Slide 32

Page 33: XML Data Connections

@ Everything Xcelsius.com 2009Slide 33

Page 34: XML Data Connections

@ Everything Xcelsius.com 2009Slide 34

Page 35: XML Data Connections

@ Everything Xcelsius.com 2009Slide 35

Page 36: XML Data Connections

@ Everything Xcelsius.com 2009Slide 36

Page 37: XML Data Connections

@ Everything Xcelsius.com 2009Slide 37

Page 38: XML Data Connections

@ Everything Xcelsius.com 2009Slide 38

Page 39: XML Data Connections

@ Everything Xcelsius.com 2009Slide 39

Page 40: XML Data Connections

@ Everything Xcelsius.com 2009Slide 40

Page 41: XML Data Connections

@ Everything Xcelsius.com 2009Slide 41

Page 42: XML Data Connections

@ Everything Xcelsius.com 2009Slide 42

Excel XML Map Benefits

3 Reasons to use the Excel XML Map….1. When you need to load an XML or XML stream directly into

your dashboard

2. Already familiar with technology

3. Excel based and can be configured in Excel externally beforeimporting spreadsheet into Excel

Page 43: XML Data Connections

@ Everything Xcelsius.com 2009Slide 43

Excel XML Map DO’s

5 Scenarios …1. DO enable the task pane in Excel 2003 to access XML Maps

window

2. DO enable the developer toolbar in Excel 2007 to accessXML Maps window

3. DO Use XML Maps for read-only connectivity requirements

4. DO Delete Re-import your Excel XML Maps connection inXcelsius when your XML structure changes

5. DO reference Xcelsius 2008 Best Practice Book, chapter 15for more information (includes sample files)

Page 44: XML Data Connections

@ Everything Xcelsius.com 2009Slide 44

Excel XML Map DON’Ts

6 Scenarios ...X DO NOT use the home and student versions of Excel

X DO NOT include data formatting characters ($, %, “,”)

X DO NOT create an excessive amount of queries

X DO NOT trigger all queries to “Refresh on Load”

X DO NOT place formulas in data output cells

X DO NOT return more than 1,000 rows of data at a time

Page 45: XML Data Connections

@ Everything Xcelsius.com 2009

Example

Benefits

DO’s / DONT’s (Scenarios)

Mico discusses the XML Data Connection…

Sometimes I wish that QaaWs could connect to Reports…- Mico Yuk, Found of Xcelsius Gurus

Page 46: XML Data Connections

@ Everything Xcelsius.com 2009Slide 46

XML Data Connection DO’s

Page 47: XML Data Connections

@ Everything Xcelsius.com 2009Slide 47

XML Data Connection Benefits

3 Reasons to use the XML Data Connection….1. Utilize the ASP .NET script in guide to connect

2. Simple and provides ability to write back to database

3. Ability to query database based on filters

Page 48: XML Data Connections

@ Everything Xcelsius.com 2009Slide 48

XML Data Connection DO’s

5 Scenarios …1. DO specify XML version in header of output XML

2. DO use the Preview button to obtain exact XML structure

3. DO change IE setting to avoid caching of data or us a RAND()variable at the end of the URL

4. DO preview the service in the browser before importing intoXcelsius

5. DO Use Fiddler for troubleshooting

Page 49: XML Data Connections

@ Everything Xcelsius.com 2009Slide 49

XML Data Connection DON’Ts

7 Scenarios ….X DO NOT include any data in the XML header

X DO NOT deviate from the specific <ROW><COLUMN> xmlstructure

X DO NOT include data formatting characters ($, %, “,”)

X DO NOT create an excessive amount of connections

X DO NOT trigger all connections to “Refresh on Load”

X DO NOT place formulas in data output cells

X DO NOT return more than 1,000 rows of data at a time

Page 50: XML Data Connections

@ Everything Xcelsius.com 2009

Crossdomain.xml

Portal Data

LCDS Connections (Adobe)

Flash Variables

External Interface Connection

Ryan discusses Application Integration…

Sometimes I wish that QaaWs could connect to Reports…- Mico Yuk, Found of Xcelsius Gurus

Page 51: XML Data Connections

@ Everything Xcelsius.com 2009Slide 51

Crossdomain.xml

Data Portal or WebSite

Application/Web Server

SWF.NET/J2EE

Web Service

CrossDomain.XML

<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM"http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy>

<allow-http-request-headers-from domain="*"headers="*" secure="false" />

<allow-access-from domain="*" secure="false" /></cross-domain-policy>

Page 52: XML Data Connections

@ Everything Xcelsius.com 2009Slide 52

No Crossdomain.xml

Data Application/Web Server

SWF

.NET/J2EE

No Crossdomain.xml file is required if:

1. If the SWF and service are locatedon the same application/web server

2. The URL for the web service isrelative to the SWF

3. If the SWF is launched from yourdesktop

Page 53: XML Data Connections

@ Everything Xcelsius.com 2009Slide 53

External Interface Connection

Additional Features to take advantage of…

1. Loading data into an Xcelsius SWF using JavaScript

2. Communicate with Java or active X controls in real-time

HTML<SCRIPT language="Javascript">

Dashboard (SWF)

External InterfaceConnection

Page 54: XML Data Connections

@ Everything Xcelsius.com 2009Slide 54

Page 55: XML Data Connections

@ Everything Xcelsius.com 2009Slide 55

Flash VariablesHTMLFLASHVARS=“abc123”

Dashboard (SWF)

abc123

Pass parameters to into a SWF on-load

Page 56: XML Data Connections

@ Everything Xcelsius.com 2009Slide 56

LCDS Connection (Adobe)

http://www.adobe.com/devnet/livecycle/pdfs/streaming_xcelsius.pdf

Page 57: XML Data Connections

@ Everything Xcelsius.com 2009Slide 57

Portal Connections

WebSphere or SharePoint Portal

Dashboard (SWF)

Dashboard (SWF)

Provider

Consumer

SWF to SWF communication in WebSphere and Sharepoint

Xcelsius Portal Integration Kits are available with the Engage Server and

Enterprise products

Page 58: XML Data Connections

@ Everything Xcelsius.com 2009

Centigon NEW CSV Connector – ‘No more XML’

Add- on: Google Spreadsheet Connector

Ryan discusses Custom Connections…

Sometimes I wish that QaaWs could connect to Reports…- Mico Yuk, Found of Xcelsius Gurus

Page 59: XML Data Connections

@ Everything Xcelsius.com 2009Slide 59

CSV Connector

Dashboard (SWF)

CSV Connector

Connect directly to CSV files from Xcelsius

http://wwww.centigonsolutions.com/components/csv_beta.html

Page 60: XML Data Connections

@ Everything Xcelsius.com 2009Slide 60

Page 61: XML Data Connections

@ Everything Xcelsius.com 2009Slide 61

Google Spreadsheet

Connect directly to Google spreadsheets

https://www.sdn.sap.com/irj/boc/innovation-center

Dashboard (SWF)

Page 62: XML Data Connections

@ Everything Xcelsius.com 2009Slide 62

Page 63: XML Data Connections

@ Everything Xcelsius.com 2009Slide 63

Stay connected…

For more Guru tips, tricks, news, videos, etc.Visit: http://EverythingXcelsius.com

Mico YukEmail: [email protected]

Company: Everything Xcelsius

Ryan GoodmanEmail: [email protected]

Company: Centigon Solutions

http://www.centigonsolutions.com

http://www.twitter.com/XcelsiusGurus

Join our popular Xcelsius Guru social communities…

http://www.youtube.com/XcelsiusGurus

http://www.linkedin.com/groups?gid=1847619&trk=hb_side_g