SlideShare a Scribd company logo
Sponsored & Brought to you by
What is right & wrong with the
WCF-WebHTTP Adapter?
Colin Dijkgraaf
Integration Consultant at Datacom
http://www.twitter.com/CDijkgraaf
Mark Brimble
Principal Integration Architect at Datacom
http://www.twitter.com/brimblemark
What’s right & wrong with WCF-WebHTTP Adapter?
What’s right & wrong with WCF-WebHTTP Adapter?
What’s right & wrong with WCF-WebHTTP Adapter?
Premises for this talk
SFTP FILE WCF-ORACLEWCF-WEBHTTPWCF-SQL
The Good, Bad and Ugly Story
•Re S T
What do you use the WCF-Web HTTP Adapter for?
Why does the adapter not do what it is supposed
to do?
Issues with WCF-WebHTTP adapter
What’s right & wrong with WCF-WebHTTP Adapter?
What’s right & wrong with WCF-WebHTTP Adapter?
Azure service bus relays only work for the base URL
What’s right & wrong with WCF-WebHTTP Adapter?
https://adventuresinsidethemessagebox.wordpress.co
m/2015/04/12/getting-azure-service-bus-relays-and-
the-biztalk-wcf-webhttp-adapter-to-play-nice-with-
each-other/
Workarounds for Relays
HTTP 500 error not detected and other error
codes are missing
Message type not set on error
HTTP status code not set on error
No OOTB way to suppress 404 status code
What’s right & wrong with WCF-WebHTTP Adapter?
https://cdijkgraaf.wordpress.com/2016/08/12/biztalk-
2013-r2-known-bugs-issues-quirks/
Workarounds for other WCF-WebHTTP issues
Issues with JSON Encoder and Decoder
Decoder drops trailing 0’s after the decimal
Encoder adds a outputs a Integer as a decimal
Encoder adds a time to a Date
Encoder changes date-time timezone
What’s right & wrong with WCF-WebHTTP Adapter?
https://cdijkgraaf.wordpress.com/2016/08/12/biztalk-
2013-r2-known-bugs-issues-quirks/
Workarounds for the JSON Encoder and Decoder
Premises for this talk
Acknowledgements
Thank You
Twitter: #integrationmonday
Website: http://www.integrationusergroup.com/

More Related Content

PPTX
Rural -Nutirne
PPT
Chapter 12 Toshiba Case Study
DOC
Business Plan
PPTX
Pepsi-Cola Products Philippines, Inc
PDF
Krispy Kreme Production Process
PDF
PPTX
BRE Deep Dive
PPTX
Modifying and Extending the ESB Toolkit
Rural -Nutirne
Chapter 12 Toshiba Case Study
Business Plan
Pepsi-Cola Products Philippines, Inc
Krispy Kreme Production Process
BRE Deep Dive
Modifying and Extending the ESB Toolkit

Viewers also liked (11)

PPTX
2 Speed IT powered by Microsoft Azure and Minecraft
PDF
BizTalk Server Extensibility
PPTX
The fall of the BizTalk Architect – From something abstract to something useful
PPTX
Create a modern(ish) BAM portal in (roughly) one hour!
PPTX
BizTalk ALM
PPTX
BizTalk on FHIR
PPTX
Azure Web Jobs
PPTX
BizTalk Server with SQL Server AlwaysOn
PPTX
Service Bus Premium Messaging: Understanding how it works and when to use Sta...
PPTX
Using ELK-Stack (Elasticsearch, Logstash and Kibana) with BizTalk Server
PPTX
Serverless integration - Logic Apps the most comprehensive integration service
2 Speed IT powered by Microsoft Azure and Minecraft
BizTalk Server Extensibility
The fall of the BizTalk Architect – From something abstract to something useful
Create a modern(ish) BAM portal in (roughly) one hour!
BizTalk ALM
BizTalk on FHIR
Azure Web Jobs
BizTalk Server with SQL Server AlwaysOn
Service Bus Premium Messaging: Understanding how it works and when to use Sta...
Using ELK-Stack (Elasticsearch, Logstash and Kibana) with BizTalk Server
Serverless integration - Logic Apps the most comprehensive integration service
Ad

More from BizTalk360 (20)

PPTX
Optimise Business Activity Tracking – Insights from Smurfit Kappa
PPTX
Optimise Business Activity Tracking – Insights from Smurfit Kappa
PPTX
What's inside "migrating to biz talk server 2020" Book (BizTalk360 Webinar)
PPTX
Integration Monday - Logic Apps: Development Experiences
PPTX
Integration Monday - BizTalk Migrator Deep Dive
PPTX
Testing for Logic App Solutions | Integration Monday
PPTX
No-Slides
PPTX
System Integration using Reactive Programming | Integration Monday
PPTX
Building workflow solution with Microsoft Azure and Cloud | Integration Monday
PPTX
Serverless Minimalism: How to architect your apps to save 98% on your Azure b...
PPTX
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
PPTX
Integration-Monday-Infrastructure-As-Code-With-Terraform
PDF
Integration-Monday-Stateful-Programming-Models-Serverless-Functions
PPTX
Integration-Monday-Serverless-Slackbots-with-Azure-Durable-Functions
PPTX
Integration-Monday-Building-Stateful-Workloads-Kubernetes
PPTX
Integration-Monday-Logic-Apps-Tips-Tricks
PPTX
Integration-Monday-Terraform-Serverless
PPTX
Integration-Monday-Microsoft-Power-Platform
PDF
One name unify them all
PPTX
Securely Publishing Azure Services
Optimise Business Activity Tracking – Insights from Smurfit Kappa
Optimise Business Activity Tracking – Insights from Smurfit Kappa
What's inside "migrating to biz talk server 2020" Book (BizTalk360 Webinar)
Integration Monday - Logic Apps: Development Experiences
Integration Monday - BizTalk Migrator Deep Dive
Testing for Logic App Solutions | Integration Monday
No-Slides
System Integration using Reactive Programming | Integration Monday
Building workflow solution with Microsoft Azure and Cloud | Integration Monday
Serverless Minimalism: How to architect your apps to save 98% on your Azure b...
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
Integration-Monday-Infrastructure-As-Code-With-Terraform
Integration-Monday-Stateful-Programming-Models-Serverless-Functions
Integration-Monday-Serverless-Slackbots-with-Azure-Durable-Functions
Integration-Monday-Building-Stateful-Workloads-Kubernetes
Integration-Monday-Logic-Apps-Tips-Tricks
Integration-Monday-Terraform-Serverless
Integration-Monday-Microsoft-Power-Platform
One name unify them all
Securely Publishing Azure Services
Ad

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
KodekX | Application Modernization Development
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Cloud computing and distributed systems.
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Encapsulation_ Review paper, used for researhc scholars
Teaching material agriculture food technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
The Rise and Fall of 3GPP – Time for a Sabbatical?
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
KodekX | Application Modernization Development
Chapter 3 Spatial Domain Image Processing.pdf
Big Data Technologies - Introduction.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
20250228 LYD VKU AI Blended-Learning.pptx
Cloud computing and distributed systems.
Digital-Transformation-Roadmap-for-Companies.pptx
MYSQL Presentation for SQL database connectivity
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Encapsulation_ Review paper, used for researhc scholars

What’s right & wrong with WCF-WebHTTP Adapter?

Editor's Notes

  • #3: BizTalk has been our integration tool of choice for the last 12 years Colin and I have written a book about it.
  • #4: Colin and I love BizTalk and for many years I have written blogs about integration.
  • #5: Colin and I love BizTalk and for many years I have written blogs about integration.
  • #6: We are going to tell you why the WCF-WebHTTP adapter requires some workarounds. How did we became so grumpy about this adapter? The next slide shows our last project which we worked on for the last year.
  • #7: We decided that all service endpoints would be REST/JSON because we had a view that eventually we would lift everything in to Azure at some point. We have lived with the WCF-WebHTTP adapter and the JSON encoder and decoder for the last year and have had to develop many custom workarounds to make this work. In this talk we are going to share our pain with you.
  • #8: The rest of the talk will be broken into three parts.
  • #9: REST best suited for limited bandwidth and resources where you need to process simple Create, Read, Update , Delete type operations. It uses HTTP protocol to send messages in XML or JSON. It is now ubiquitous for mobile devices
  • #10: Colin has listed many issues on his blog and in this talk we will discuss each one , one by one with demos and workarounds.
  • #12: First we will start by looking at issues with the Azure service Bus Relays with WCF-WebHTTP adapters. This is a pattern we have used a lot. A SaaS application sends a JSON message to a Azure Service Bus Relay from BizTalk server. This overcomes many challenges if you wish to expose a WCF service hosted on premise. There a re no requirements for proxy or firewall changes, provided outbound ports are open for HTTPS traffic. An outbound connection is opened to Azure and once this connection is established, bidirectional communication is enabled between the service and the client. The key point here is that an outbound request is initially being made from within the corporate network boundary and kept open, with no requirement for inbound access for external consumers.
  • #13: The JSON message is decoded on the receive port into an internal XML message. Internal message is map to another format on the send port
  • #14: Relays only work for the base url. As soon as you add a resource you get back a 202 “AddressFilter mismatch. The reasons for this have been comprehensively explained by Johann Cooper in a blog which I will reference after a demo. He used the WCF-WebHTTP adapter in BizTalk 2013 but his comments also apply to BizTalk 2013R2 and BizTalk 2016 Tap release. The demo will show the problem and then a workaround….and for a special treat I will show you this in the BizTalk 2016 TAP release.
  • #16: We have shown in the demo that the WCF-WebHTTP adapter has issue when use a Azure Relay and that you must use a custom behaviour to overcome this problem.
  • #17: 500 HTTP errors behave differently from other non 200 HTTP status codes. Other error codes it throws a fault exception. Hard to handle 404 errors  in a messaging only solution
  • #18: SOAP fault message does not have the context property MessageType Cannot map or catch Fault on the Logical Port in the Orchestration
  • #19: InboundHttpStatusCode or InboundHttpStatusDescription context property not set for faults. Makes handling of exceptions more difficult
  • #23: Next we list some issues with the JSON decode and encoder that are also listed on Colin’s blog. Once again we will demo each one and then present a workaround.
  • #30: We have told you why the WCF-WebHTTP adapter requires some workarounds and demonstrated these to you.