Presentation is loading. Please wait.

Presentation is loading. Please wait.

Module 14: WCF Send Adapters. Overview Lesson 1: Introduction to WCF Send Adapters Lesson 2: Consuming a Web Service Lesson 3: Consuming Services from.

Similar presentations


Presentation on theme: "Module 14: WCF Send Adapters. Overview Lesson 1: Introduction to WCF Send Adapters Lesson 2: Consuming a Web Service Lesson 3: Consuming Services from."— Presentation transcript:

1 Module 14: WCF Send Adapters

2 Overview Lesson 1: Introduction to WCF Send Adapters Lesson 2: Consuming a Web Service Lesson 3: Consuming Services from Orchestrations Lesson 4: WCF Send Adapter Security

3 Lesson 1: Introduction to WCF Send Adapters WCF Send Adapter Scenarios WCF Send Adapter Architecture

4 WCF Send Adapter Scenarios Microsoft BizTalk Server 2010 Send Invoice to Web Service Send PO to Vendor and to Purchasing DB Partner Supply Chain System Query Warehouse DB for inventory Oracle DB Vendor Web Service SQL Server 2008 Atomic Transaction

5 Send Port Send Pipeline MessageBox Database WCF Send Adapter Architecture PO Message Map Send Adapter WCF Channel Channel Layer

6 Steps for Consuming a Web Service The BizTalk WCF Service Consuming Wizard Demonstration: Consuming a Web Service Lesson 2: Consuming a Web Service

7 Running the BizTalk WCF Service Consuming Wizard Consumes a WSDL document Generates XML schemas and orchestration type definitions Generates bindings files Generated files added to a Visual Studio 2010 BizTalk Project Consumes a WSDL document Generates XML schemas and orchestration type definitions Generates bindings files Generated files added to a Visual Studio 2010 BizTalk Project Steps for Consuming a Web Service Add Generated Item : Consume WCF Service 1 1 Complete the BizTalk WCF Service Consuming Wizard 2 2 Build and Deploy the Project 3 3 Import Generated Binding File 4 4

8 Add Generated Item : Consume WCF Service 1 1 The BizTalk WCF Service Consuming Wizard Complete the BizTalk WCF Service Consuming Wizard 2 2

9 Demonstration: Consuming a Web Service In this demonstration, you will see how to: Run the WCF Service Consuming Wizard Deploy the Generated Schemas Import the Generated WCF Send Port Binding

10 Steps for Consuming a Service from an Orchestration Mapping Operations to Actions Formatting the Request Message Selecting Content from the Response Message Demo: Consuming a Service from an Orchestration Lesson 3: Consuming Services from Orchestrations

11 Calling a Web Service from an Orchestration A web service is represented as an orchestration send port Each web service operation maps to a send port operation Type definitions created by WCF Service Consuming Wizard A web service is represented as an orchestration send port Each web service operation maps to a send port operation Type definitions created by WCF Service Consuming Wizard Steps for Consuming a Service from an Orchestration Create a new configured port in the orchestration 1 1 Define message variables of the generated types 2 2 Construct the web service request message 3 3 Connect send and receive shapes to the new port 4 4

12 Mapping Operations to Actions SOAP Action Header Required header in request message Value that corresponds to the service operation being called Configure with a simple string if send port always calls the same operation Otherwise, configure with a list of operation names and corresponding actions Required header in request message Value that corresponds to the service operation being called Configure with a simple string if send port always calls the same operation Otherwise, configure with a list of operation names and corresponding actions

13 Formatting the Request Message Outbound Message Body Template Option Requires a template that defines a wrapper for the BizTalk message body Use the bts-msg-body element to specify the location of BizTalk message body Can specify encoding of XML node Resulting XML is used as SOAP body Requires a template that defines a wrapper for the BizTalk message body Use the bts-msg-body element to specify the location of BizTalk message body Can specify encoding of XML node Resulting XML is used as SOAP body Default is to send BizTalk Message as body of the SOAP message Use the Template option to customize the SOAP message body Default is to send BizTalk Message as body of the SOAP message Use the Template option to customize the SOAP message body

14 Selecting Content from the Response Message OptionDescription SOAP:Body The XML of the SOAP body is published to the MessageBox. This is the default setting. SOAP:Envelope The entire SOAP message is published, preserving encryption and digital signatures. Path Node selected from the SOAP body is published to the MessageBox. Propagate fault message Option to publish detailed fault messages to the MessageBox Default is a generic error message Option to publish detailed fault messages to the MessageBox Default is a generic error message

15 Demo: Consuming a Service from an Orchestration In this demonstration, you will see how to: Set up a Web Service Call in the Orchestration Designer

16 Configuring WCF Send Adapter Security Configuring WCF-Custom Send Adapter Security Lesson 4: WCF Send Adapter Security

17 Configuring WCF Send Adapter Security Transport Specific Adapters Username Credentials Can assign a set of static credentials to be used for all messages Use Single Sign-On to allow BizTalk to look up user’s credentials for each message Can assign a set of static credentials to be used for all messages Use Single Sign-On to allow BizTalk to look up user’s credentials for each message Select a Security mode Configure properties required by mode Select a Security mode Configure properties required by mode

18 Configuring WCF-Custom Send Adapter Security WCF-Custom Security Options Behavior Tab Use for other types of client credentials Must configure WCF endpoint behavior Behavior Tab Use for other types of client credentials Must configure WCF endpoint behavior Credentials Tab User name and password Single Sign-On Proxy credentials for http(s) Credentials Tab User name and password Single Sign-On Proxy credentials for http(s)

19 Lab: Calling a Web Service from an Orchestration Exercise 1:Set up a web service call in the Orchestration Designer Exercise 2:Configure the Orchestration and Send Ports Exercise 3: Test the Orchestration


Download ppt "Module 14: WCF Send Adapters. Overview Lesson 1: Introduction to WCF Send Adapters Lesson 2: Consuming a Web Service Lesson 3: Consuming Services from."

Similar presentations


Ads by Google