what’s right & wrong with wcf-webhttp adapter?
TRANSCRIPT
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
+
+
Premises for this talk
•The WCF-WebHTTP adapter requires some custom workarounds
SFTP FILE WCF-ORACLEWCF-WEBHTTPWCF-SQL
•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
•Send & receive messages to & from ReSTful services•Representational State Transfer
What do you use the WCF-Web HTTP Adapter for?
•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?
•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
Azure service bus relays only work for the base URL
Demo
WCF-WebHTTP adapter and Azure Service Bus Relays
•https://adventuresinsidethemessagebox.wordpress.com/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
Demo
Other WCF-WebHTTP adapter issues – Colin
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
Demo
JSON Encoder and Decoder Issues and Workarounds
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
•The WCF-WebHTTP adapter requires some custom workarounds
•Deepa Kamalanathan•Leelavinoth Pachaiyappan•Aravindh Kathiresan•Shikhar Bhagat
Acknowledgements
Thank You
Twitter: #integrationmonday Website: http://www.integrationusergroup.com/