snaplogic best practices: using the soap snap

9
SnapLogic Best Practices: Tips and Tricks in 30 Minutes Praneal Narayan Jason Slater

Upload: snaplogic-inc

Post on 05-Dec-2014

303 views

Category:

Technology


4 download

DESCRIPTION

In our bi-weekly TechTalks designed for SnapLogic partners and customers, our cloud integration experts talk about tips and tricks for the SnapLogic Elastic Integration Platform not covered in basic training. This week’s TechTalk focuses on how to use the SOAP Snap including the functionality that it covers, configuring the Snap and a pipeline example. To learn more, visit: SnapLogic.com/techtalk

TRANSCRIPT

Page 1: SnapLogic Best Practices: Using the SOAP Snap

SnapLogic Best Practices:Tips and Tricks in 30 Minutes

Praneal NarayanJason Slater

Page 2: SnapLogic Best Practices: Using the SOAP Snap

2

Agenda

Today’s Topic: How to use the SOAP Snap– What is SOAP? What is a WSDL?

– What functionality does the SOAP Snap cover?

– Configuring the SOAP Snap

– Pipeline Example

Wrap Up and Topics for the Next Session

Page 3: SnapLogic Best Practices: Using the SOAP Snap

3

Before We Get Started…..

Documentation

Download the following:– Snaplex

– JSDK

– Snap Packs

– Mac, Linux and Windows Installers

Community Board and Ideas

Don’t forget to use our Developer Community

www.developer.snaplogic.com

Page 4: SnapLogic Best Practices: Using the SOAP Snap

4

What is SOAP? What is a WSDL?

Page 5: SnapLogic Best Practices: Using the SOAP Snap

5

The SnapLogic SOAP Snap Functionality

Page 6: SnapLogic Best Practices: Using the SOAP Snap

6

Configuring the SOAP Snap

WSDL Url: URL or file

Service Name

Endpoint: sometimes Soap 1.0 vs 1.2

Operation: function

Timeout: seconds / 0 for no timeout

Encode Attribute: Value substitution

Envelope– Mappings

– generation & customization

– re-generating when things change

Authentication– Account tab - specifying basic auth

HTTP Header

Key/Value pairs

Custom authentication

Custom headers for things like dev vs. prod SOAP servers

Page 7: SnapLogic Best Practices: Using the SOAP Snap

7

Pipeline Example

Weather Service (SOAP 1.0 & SOAP 1.2)

Testing w/ a JSON generator Snap for input

Mapping output to JSON or XML using respective formatters

Parameterization of your pipeline

Publishing to expose your pipeline as a RESTful endpoint

Result: Wrapped SOAP endpoint, which is now consumable by modern (non-SOAP) clients

Page 8: SnapLogic Best Practices: Using the SOAP Snap

8

A Few Tips

✔ Remember to re-generate SOAP envelope when necessary

Use a Data Snap or Structure snap before SOAP call

Consider running long-running SOAP calls in parallel, if it makes sense

Page 9: SnapLogic Best Practices: Using the SOAP Snap

9

Connecting with the SnapLogic Team

@SnapLogic

Facebook/SnapLogic

developer.snaplogic.com

www.snaplogic.com/techtalk