snaplogic best practices: using the soap snap
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/techtalkTRANSCRIPT
SnapLogic Best Practices:Tips and Tricks in 30 Minutes
Praneal NarayanJason Slater
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
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
4
What is SOAP? What is a WSDL?
5
The SnapLogic SOAP Snap Functionality
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
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
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
✔
✔
9
Connecting with the SnapLogic Team
@SnapLogic
Facebook/SnapLogic
developer.snaplogic.com
www.snaplogic.com/techtalk