Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

BizTalk 2009 : Wcf Adapters: Standardizing Your Integration Endpoints - Using the WCF-WSHttp Adapter

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
7/1/2011 6:27:19 PM
Now that we've covered a lot of the concepts with WCF, let's apply them to how BizTalk WCF adapters are configured. The BizTalk Administration tool provides a specific user interface to customize the WCF-BasicHttp, WCF-WSHttp, and WCF-NetTcp adapter properties.

1. Binding Configuration Options

The Binding configuration tab in Figure 1 shows the default configuration.

Figure 1. WCF-WSHttp default binding configuration

The open, close, and send timeouts default to one minute each. One minute may not be enough under certain circumstances. For example, you might have a synchronous service call that executes an orchestration that lasts longer than one minute.

The timeouts in Figure 1 are not just for the orchestration time. The time starts once WCF has submitted a call to the Messagebox, which means you'll need to take into consideration your "warm-up" time as well. Depending on your hardware, that warm-up time alone may be longer than a minute.


2. Security Configuration

The Security configuration tab shown in Figure 2 allows you to modify how the endpoint will be secured for authentication.

Figure 2. WCF-WSHttp security configuration

The default security mode is Message with a credential type of Windows, meaning WCF will require the consumer of the service to attach their Windows credential token as part of the message.

You can change the Security Mode drop-down to either None, Transport, Message, or TransportWithMessageCredential. Depending on the option you choose, either the Transport section or the Message section will be enabled. When choosing Message authentication, two additional check boxes are available that affect authentication: Negotiate Service Credential and Establish Security Context. The Negotiate Service Credential option tells BizTalk whether the service credential is negotiated automatically between the client and the service. The Establish Security Context option specifies whether a security context token is established through a WS-SecureConversation exchange between this send port and the service. If this check box is selected, then the destination service must support WS-SecureConversation.

Depending on the message credential type, the Negotiate Service Credential option has different implementations. Check the MSDN documentation at http://msdn.microsoft.com/en-us/library/bb226397.aspx for more information.


3. Message Options

The Messages tab of the WCF adapter provides the ability to customize which components of a SOAP message get stored in the message box for processing. By default, the entire <soap:body> will be stored, but you can customize your adapter to extract only certain sections of a request.

Figure 3 shows the default properties for the Messages tab.

Figure 3. WCF-WSHttp Receive Adapter default message properties

Table 1 describes the options available in the Messages tab shown in the figure.

Table 1. Message Tab Options
GroupingOptionDescription
InboundEnvelopeThe entire SOAP envelope from the message is imported. The body is ignored.
 BodyThis is the default option. The entire body of the message will be used as the message. If the body contains more than one element, then the first element is imported.
 PathAn XPath query will be used to identify the element to be imported.
 Body Path ExpressionThe XPath query to the element to be imported. This expression is evaluated from the immediate child of the <soap:body>. If the result contains more than one element, then the first element is imported. If you plan on doing content-based routing, then this element must match an entire schema deployed to BizTalk
 Node EncodingSpecifies the type of encoding the adapter will use to decode the text. Options include Base64, Hex, String, or XML (default).
OutboundBodySpecifies the output message will be used as the SOAP body. This option is available only on a request-response receive location.
 TemplateProvides a template for the contents of the SOAP body message. This option is available only on a request-response receive location.
Error HandlingSuspend message on failureWhen chosen, the message will be suspended if the request fails because of a pipeline or routing failure.
 Include exception in faultsWhen chosen and an exception occurs, the error details will be included as part of the SOAP fault message. This option is useful for debugging but should be turned off in production environments.
Other -----------------
- BizTalk 2009 : Wcf Adapters: Standardizing Your Integration Endpoints - Using Metadata Exchange
- BizTalk 2009 : Wcf Adapters: Standardizing Your Integration Endpoints - Securing Your Endpoints
- Microsoft PowerPoint 2010 : Adding a Digital Signature to a Macro Project & Assigning a Macro to a Toolbar or Ribbon
- Microsoft PowerPoint 2010 : Expanding PowerPoint Functionality - Controlling a Macro
- Windows Server 2008 R2 : Configuring Folder Security, Access, and Replication - Configure Offline File Caching
- Windows Server 2008 R2 : Configuring Folder Security, Access, and Replication - Share Folders
- Windows Server 2008 R2 : Configuring Folder Security, Access, and Replication - Implement Permissions
- Microsoft Dynamics CRM 2011 : Working with Leads and Opportunities - Creating an Opportunity
- Microsoft Dynamics CRM 2011 : Qualifying a Lead & Disqualifying a Lead
- Microsoft Dynamics CRM 2011 : Understanding Leads and Opportunities & Creating a Lead and Tracking Lead Sources
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server