what’s right & wrong with wcf-webhttp adapter?

31
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

Upload: biztalk360

Post on 16-Apr-2017

412 views

Category:

Technology


1 download

TRANSCRIPT

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

Sponsored & Brought to you by

What is right & wrong with the WCF-WebHTTP Adapter?

Colin DijkgraafIntegration Consultant at Datacom

http://www.twitter.com/CDijkgraaf

Mark BrimblePrincipal Integration Architect at Datacomhttp://www.twitter.com/brimblemark

Page 2: What’s right & wrong with WCF-WebHTTP Adapter?
Page 3: What’s right & wrong with WCF-WebHTTP Adapter?

+

Mark Brimble
Do you have another picture you want to use
Page 4: What’s right & wrong with WCF-WebHTTP Adapter?

+

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

Premises for this talk

•The WCF-WebHTTP adapter requires some custom workarounds

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

SFTP FILE WCF-ORACLEWCF-WEBHTTPWCF-SQL

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

•What do use the WCF-Web HTTP adapter for?•Why does this adapter not do what it is supposed to

do?•How do you workaround these issues?

The Good, Bad and Ugly Story

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

•Send & receive messages to & from ReSTful services•Representational State Transfer

What do you use the WCF-Web HTTP Adapter for?

Mark Brimble
I do a picture like this
Page 9: What’s right & wrong with WCF-WebHTTP Adapter?

•There are 5 Issues with WCF-WebHTTP adapter•There are 4 Issues with the JSON decoder/encoder

Why does the adapter not do what it is supposed to do?

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

•Azure service bus relays only work for the base URL•Does not detect HTTP 500 error •Does not set message type on error•Does not set http status code on error•Missing ability to suppress 404 status code

Issues with WCF-WebHTTP adapter

Page 11: What’s right & wrong with WCF-WebHTTP Adapter?
Page 12: What’s right & wrong with WCF-WebHTTP Adapter?
Page 13: What’s right & wrong with WCF-WebHTTP Adapter?

Azure service bus relays only work for the base URL

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

Demo

WCF-WebHTTP adapter and Azure Service Bus Relays

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

HTTP 500 error not detected and other error codes are missing

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

Message type not set on error

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

HTTP status code not set on error

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

No OOTB way to suppress 404 status code

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

Demo

Other WCF-WebHTTP adapter issues – Colin

Page 21: 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

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

Issues with JSON Encoder and Decoder

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

Decoder drops trailing 0’s after the decimal

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

Encoder adds a outputs a Integer as a decimal

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

Encoder adds a time to a Date

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

Encoder changes date-time timezone

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

Demo

JSON Encoder and Decoder Issues and Workarounds

Page 28: 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

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

Premises for this talk

•The WCF-WebHTTP adapter requires some custom workarounds

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

•Deepa Kamalanathan•Leelavinoth Pachaiyappan•Aravindh Kathiresan•Shikhar Bhagat

Acknowledgements

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

Thank You

Twitter: #integrationmonday Website: http://www.integrationusergroup.com/