<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Jon Cole's WebLog : Soap</title><link>http://blogs.msdn.com/joncole/archive/tags/Soap/default.aspx</link><description>Tags: Soap</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Be consistent in your configuration</title><link>http://blogs.msdn.com/joncole/archive/2007/03/23/be-consistent-in-your-configuration.aspx</link><pubDate>Fri, 23 Mar 2007 21:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1938793</guid><dc:creator>joncole</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/joncole/comments/1938793.aspx</comments><wfw:commentRss>http://blogs.msdn.com/joncole/commentrss.aspx?PostID=1938793</wfw:commentRss><description>&lt;P&gt;I recently worked with a customer using BizTalk 2004.&amp;nbsp; They were experiencing some very odd behavior where a WebService client would call into a BizTalk WebService and experience a long wait before the client finally got a timeout error.&amp;nbsp; The timeout happend to correspond to the 120 second timeout configured in IIS.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Being fairly new to the Soap Receive Adapter code, I spent a couple hours looking over the code and some trace logs trying to understand what was happening.&amp;nbsp; I finally noticed one very simple (yet easy to miss) mistake that the customer was making.&amp;nbsp; They weren't being consistent in the configuration of the WebService.&amp;nbsp; The Receive Port in BizTalk was configured as a Request-Response (two-way) port, as was the Web Method defined in the WSDL.&amp;nbsp; However, within the WebMethod implementation, when&amp;nbsp;they were calling the &lt;EM&gt;base.Invoke(...)&lt;/EM&gt;&lt;STRONG&gt; &lt;/STRONG&gt;function on the ServiceProxy base class they were passing &lt;EM&gt;true&lt;/EM&gt; for the &lt;EM&gt;oneway &lt;/EM&gt;parameter.&amp;nbsp;&amp;nbsp;This inconsistency broke the contract between the WebService Implementation and the code that interacted with the Message Box, thus leading to the inconsistent behavior.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1938793" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/joncole/archive/tags/BizTalk+Adapters/default.aspx">BizTalk Adapters</category><category domain="http://blogs.msdn.com/joncole/archive/tags/Soap/default.aspx">Soap</category></item></channel></rss>