Examples with.net & PHP. Martin Haagen, QlikTech, Systems Manager; CRM @sehaagen



Similar documents
Cloud to Cloud Integrations with Force.com. Sandeep Bhanot Developer

Salesforce Admin Course Content: Chapter 1 CRM Introduction Introduction to CRM? Why CRM?

Integrating Remedyforce

Secure Coding SSL, SOAP and REST. Astha Singhal Product Security Engineer salesforce.com

Salesforce integration with Enterprise Open Source. Mischa de Vries László van den Hoek SFDC Consultant OS Consultant

Course Details V1.0. Selinis Technologies Pvt Ltd. 2012, All Rights Reserved

Appendix A: Case Studies

How To Use Salesforce Identity Features

Salesforce Limits Quick Reference Guide

BEST SALESFORCE TRAINING IN CHENNAI WITH 100% PLACEMENT

Report: Salesforce and Microsoft Dynamics CRM Outlook Integration Compared

Identity Implementation Guide

How To Integrate With Salesforce

Hubcase for Salesforce Installation and Configuration Guide

Security and ArcGIS Web Development. Heather Gonzago and Jeremy Bartley

PARTNER INTEGRATION GUIDE. Edition 1.0

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Fairsail REST API: Guide for Developers

PowerCenter Real-Time Development

Set Up and Maintain Customer Support Tools

Automating User Management and Single Sign-on for Salesforce.com OKTA WHITE PAPER. Okta Inc nd Street Suite 350 San Francisco CA, 94107

W H IT E P A P E R. Salesforce CRM Security Audit Guide

Building Secure Applications. James Tedrick

TABLE OF CONTENTS. avaya.com

Force.com Sites Implementation Guide

Secure Coding. External App Integrations. Tim Bach Product Security Engineer salesforce.com. Astha Singhal Product Security Engineer salesforce.

Authentication and Single Sign On

Salesforce Limits Quick Reference Guide Overview

AquaLogic Service Bus

PHP Language Binding Guide For The Connection Cloud Web Services

Indicee Analytics for Salesforce FAQs

Configuration Guide - OneDesk to SalesForce Connector

Apex Code: The World s First On-Demand Programming Language

Getting Started with Clearlogin A Guide for Administrators V1.01

Salesforce Limits Quick Reference Guide

Administering Jive Mobile Apps

Security Implementation Guide

Salesforce.com Winter 14 Release Notes

Security Implementation Guide

SETTING UP YOUR JAVA DEVELOPER ENVIRONMENT

Cloud Sherpas. SALESFORCE Simplified Deployment Strategy Google Partner of the Year

Salesforce Winter 15 Release Notes

The Trusted Technology Partner in Business Innovation PASSION DISCIPLINE INNOVATION TEAMING INTEGRITY

IBM SPSS Collaboration and Deployment Services Version 6 Release 0. Single Sign-On Services Developer's Guide

Single Sign-On Implementation Guide

Project #1: Supporting Development Needs Across Multiple Salesforce Projects for a US Company

INTEGRATE OFFICE 365 WITH ON-PREMISE ERP

dotmailer for Dynamics Frequently Asked Questions v 6,0

Sentinet for BizTalk Server SENTINET

Introduction to the EIS Guide

Hybrid Architecture. Office 365. On-premises Exchange org (Exchange 2007+) Provisioned via DirSync. Secure Mail flow

Welcome to the Force.com Developer Day

twilio-salesforce Documentation

Lytecube Technologies. EnCircle Automation. User Guide

TRAINING & CERTIFICATION

Module 13 Implementing Java EE Web Services with JAX-WS

WEB SERVICES TEST AUTOMATION

Copyright Pivotal Software Inc, of 10

Whats the difference between WCF and Web Services?

Developing an Interoperable Blackboard Proxy Tool

Easy CramBible Lab DEMO ONLY VERSION Test284,IBM WbS.DataPower SOA Appliances, Firmware V3.6.0

Who? Wolfgang Ziegler (fago) Klaus Purer (klausi) Sebastian Gilits (sepgil) epiqo Austrian based Drupal company Drupal Austria user group

Integrating CRM On Demand with the E-Business Suite to Supercharge your Sales Team

Copyright 2013 Consona Corporation. All rights reserved

Salesforce.com Integration Guide

Salesforce Integration User Guide Version 1.1

AAI for Mobile Apps How mobile Apps can use SAML Authentication and Attributes. Lukas Hämmerle

Oracle Cloud Bjarte Drivenes Enterprise Architect. Copyright 2014 Oracle and/or its affiliates. All rights reserved.

Security Implementation Guide

Web Service Facade for PHP5. Andreas Meyer, Sebastian Böttner, Stefan Marr

HOTPin Integration Guide: Salesforce SSO with Active Directory Federated Services

vcommander will use SSL and session-based authentication to secure REST web services.

Advanced Configuration Administration Guide

Security Implementation Guide

Force.com Canvas Developer's Guide

Visual Workflow Guide

CICS Web Service Security. Anthony Papageorgiou IBM CICS Development March 13, 2012 Session: 10282

Okta Identity Management for Portals Built on Salesforce.com. An Architecture Review. Okta Inc. 301 Brannan Street San Francisco, CA 94107

Workday Mobile Security FAQ

About Me. Software Architect with ShapeBlue Specialise in. 3 rd party integrations and features in CloudStack

Leveraging Service Oriented Architecture (SOA) to integrate Oracle Applications with SalesForce.com

Salesforce Files Connect Implementation Guide

Polycom. RealPresence Ready Firewall Traversal Tips

Single Sign-On Implementation Guide

How to Integrate Salesforce with Your Constant Contact Account FOR ENTERPRISE & UNLIMITED EDITIONS

Salesforce Certified Data Architecture and Management Designer. Study Guide. Summer 16 TRAINING & CERTIFICATION

Blending Embedded Hardware OTP, SSO, and Out of Band Auth for Secure Cloud Access

Security. TestOut Modules

Pre-authentication XXE vulnerability in the Services Drupal module

DocuSign Connect Guide

Salesforce.com Integration Using SAP PI: A Case Study

SpringCM Troubleshooting Guide for Salesforce

Integrating XACML into JAX-WS and WSIT

PUBLIC Operations Guide

QAS Small Business for Salesforce CRM

300+ APIs Everywhere

Single Sign-On Implementation Guide

CME ClearPort (CP) API v.2.0. Certification Process Checklist

Transcription:

Integrations using Web Services Examples with.net & PHP Martin Haagen, QlikTech, Systems Manager; CRM @sehaagen

Martin Haagen Systems Manager; CRM @sehaagen

Introduction Martin Haagen, QlikTech

What We Solved With Web Service integrations SSO solution Expectations Smooth and seem less experience for users Minimize data maintenance for internal staff Authentication schemes: SAML, form posts, token based Automatic mappings to company for new customer / partner Easy user management for internal staff

What Have We Solved With Web Service integrations Dynamic Sharing Sharing set by field values on objects or related objects Change of data can require sharing rule recalculation Process expensive on SOQL limits

Session Outline Outbound Web Services Originating in Salesforce targeting PHP /.NET web services From APEX using triggers or Visual Force controllers Outbound Message using Workflows Inbound Web Services Host your web service on the force.com platform Security and lessons learned

Outbound Web Service Calls

WSDLs Web Service Description Language XML Contract Salesforce provides WSDLs for the different SOAP APIs Use WSDL to generate Service / Client interfaces Custom or third party Web Services usually provides the WSDL by adding?wsdl to the endpoint.

Generate proxy from WSDL in Salesforce Limitations to WSDL parser (wsdl2apex) http://bit.ly/dudmqv Not supported: RPC/Encoded Services Multiple ports / services @imports

Outbound WSDL -.NET 2.0

Outbound WSDL - WCF

Outbound - Considerations Is @future (Callout = true) when called from triggers. Cannot be called from Controller Constructor use VisualForce action. <apex:page controller="customcreditstatuscontroller" action="{!doredirectionnet}">

Governor Limits Description Total number of callouts in a transaction 10 Maximum timeout for all callouts in a transaction Total number of methods with the @future annotation allowed per Apex invocation Limits 120 seconds 10

Outbound Demo -.NET / C#

Outbound Messages

Outbound message from a Workflow Configure workflow with outbound message Define endpoint Use WSDL to create interfaces / proxy

Outbound message from a Workflow

.NET Generate the interface wsdl.exe /serverinterface file.wsdl SvcUtil.exe for MCF Codeplex Wscfblue http://wscfblue.codeplex.com/ Use session to handle callbacks with SOAP API

PHP Generate class / proxy WSDL2PHP http://sourceforge.net/projects/wsdl2php/ Use session with PHP Toolkit to handle callback

Demo PHP

Inbound Web Services

Web Service SOAP API Enterprise WSDL Custom objects Generated from the structure in the current Salesforce Org Partner WSDL Query field / object existence before use General API

REST API Representational State Transfer Short about all the available APIs - http://bit.ly/nprxhg Typical applications Mobile Web Applications Chatter

Host Web Service on force.com Expose class methods in APEX Class needs to be defined as global Method needs to be declared as webservice static Methods available via SOAP and REST. Generate WSDL from Classes list.

Security, Gotchas and Tip & Tricks

Security Multi tenant platform secure external Web Services IP Filtering Username and Passwords using Basic authentication SSL certificates

Gotchas and Tip & Tricks Outbound calls Limits and triggers 10 outbound calls per context 10 @future calls per context Avoid call in loops just like SOQL Make Web Service methods support collection of data

Gotchas and Tip & Tricks Testing Test methods are aborted if containing outbound calls Use Mock classes to Improve test coverage Simulate responses from web services @future calls runs / completes when test.stoptest() is done

Gotchas and Tip & Tricks Traffic inspection In regular web service development: fiddler2 Force.com: use developer instance Remember to add remote site settings

Summary Outbound web service calls Triggers and VF pages Workflow rules Inbound web service calls Security considerations Tip & Tricks Demo code on GitHub https://github.com/haagen/df13_webservices_netphp

Martin Haagen Systems Manager; CRM, @sehaagen

We want to hear from YOU! Please take a moment to complete our session survey Surveys can be found in the My Agenda portion of the Dreamforce app