<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>WCFBizTalk Work Item Rss Feed</title><link>http://www.codeplex.com/WorkItem/List.aspx?ProjectName=WCFBizTalk</link><description>WCFBizTalk Work Item Rss Description</description><item><title>CLOSED ISSUE: Using hides errors</title><link>http://www.codeplex.com/WCFBizTalk/WorkItem/View.aspx?WorkItemId=6634</link><description>There are some code sections using the "using" statement. This can hide errors happening inside the statement. See more at: http://msdn2.microsoft.com/en-us/library/aa355056.aspx

instead of 

using(ITransmitMessageOneWayNative channel = serviceFactory.CreateClient&lt;ITransmitMessageOneWayNative&gt;()){

    channel.SendOneWay(msg);
    channel.Close();
}

one can use

ITransmitMessageOneWayNative channel = serviceFactory.CreateClient&lt;ITransmitMessageOneWayNative&gt;();
try
{
    channel.SendOneWay(msg);
    channel.Close();
}
catch (Exception e)
{
    channel.Abort();
    throw;
} </description><author>Morty</author><pubDate>Sun, 18 Feb 2007 23:16:43 GMT</pubDate><guid isPermaLink="false">CLOSED ISSUE: Using hides errors 20070218111643P</guid></item><item><title>CREATED ISSUE: Endpoint Wizard uses Wsdl Url instead of Endpoint Uri</title><link>http://www.codeplex.com/WCFBizTalk/WorkItem/View.aspx?WorkItemId=7241</link><description>When using the "Endpoint-wizard" it saves the Wsdl url instead of the service uri. </description><author>MartinBring</author><pubDate>Fri, 12 Jan 2007 13:49:18 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Endpoint Wizard uses Wsdl Url instead of Endpoint Uri 20070112014918P</guid></item><item><title>COMMENTED ISSUE: Using hides errors</title><link>http://www.codeplex.com/WCFBizTalk/WorkItem/View.aspx?WorkItemId=6634</link><description>There are some code sections using the "using" statement. This can hide errors happening inside the statement. See more at: http://msdn2.microsoft.com/en-us/library/aa355056.aspx

instead of 

using(ITransmitMessageOneWayNative channel = serviceFactory.CreateClient&lt;ITransmitMessageOneWayNative&gt;()){

    channel.SendOneWay(msg);
    channel.Close();
}

one can use

ITransmitMessageOneWayNative channel = serviceFactory.CreateClient&lt;ITransmitMessageOneWayNative&gt;();
try
{
    channel.SendOneWay(msg);
    channel.Close();
}
catch (Exception e)
{
    channel.Abort();
    throw;
} Comments: ** Comment from web user: MartinBring ** &lt;p&gt;Impact should be high&lt;/p&gt;</description><author>MartinBring</author><pubDate>Tue, 19 Dec 2006 08:29:28 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Using hides errors 20061219082928A</guid></item><item><title>CREATED ISSUE: Using hides errors</title><link>http://www.codeplex.com/WCFBizTalk/WorkItem/View.aspx?WorkItemId=6634</link><description>There are some code sections using the "using" statement. This can hide errors happening inside the statement. See more at: http://msdn2.microsoft.com/en-us/library/aa355056.aspx

instead of 

using(ITransmitMessageOneWayNative channel = serviceFactory.CreateClient&lt;ITransmitMessageOneWayNative&gt;()){

    channel.SendOneWay(msg);
    channel.Close();
}

one can use

ITransmitMessageOneWayNative channel = serviceFactory.CreateClient&lt;ITransmitMessageOneWayNative&gt;();
try
{
    channel.SendOneWay(msg);
    channel.Close();
}
catch (Exception e)
{
    channel.Abort();
    throw;
} </description><author>MartinBring</author><pubDate>Tue, 19 Dec 2006 08:28:56 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Using hides errors 20061219082856A</guid></item><item><title>COMMENTED ISSUE: Adapter demands Wcf InboundTransportLocation</title><link>http://www.codeplex.com/WCFBizTalk/WorkItem/View.aspx?WorkItemId=6480</link><description>Regarding "WcfAdapterProperties".

In the constructor the private member "_uri" is set with value from InboundTransportLocation. That value is then used in "WcfTransmitterProperties" for "DynamicSend" and where "wcf://" is stripped off from the uri. There are situations the message has no InboundTransportLocation and "_uri" will be null, causing an error.

Either "_uri" has to get its value from either InboundTransportLocation or OutboundTransportLocation, depending on direction, or the strip function must deal with null.

See code below.

WcfAdapterProperties
--------------------
SystemMessageContext smc = new SystemMessageContext(msg.Context);
_uri = smc.InboundTransportLocation;   

WcfTransmitterProperties
------------------------
public void UpdateUriForDynamicSend()
{
     // Strip off the adapters alias
     int i = Uri.LastIndexOf("wcf://");
     if (i &gt; 0)
     {
          string newUri = Uri.Substring(i);
          Uri = newUri;
     }
 } Comments: ** Comment from web user: MartinBring ** &lt;p&gt;Sorry, forgot to change the subject. It should be just &amp;#34;Adapter demands InboundTransportLocation&amp;#34;.&lt;/p&gt;</description><author>MartinBring</author><pubDate>Thu, 14 Dec 2006 08:02:37 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Adapter demands Wcf InboundTransportLocation 20061214080237A</guid></item><item><title>CREATED ISSUE: Adapter demands Wcf InboundTransportLocation</title><link>http://www.codeplex.com/WCFBizTalk/WorkItem/View.aspx?WorkItemId=6480</link><description>Regarding "WcfAdapterProperties".

In the constructor the private member "_uri" is set with value from InboundTransportLocation. That value is then used in "WcfTransmitterProperties" for "DynamicSend" and where "wcf://" is stripped off from the uri. There are situations the message has no InboundTransportLocation and "_uri" will be null, causing an error.

Either "_uri" has to get its value from either InboundTransportLocation or OutboundTransportLocation, depending on direction, or the strip function must deal with null.

See code below.

WcfAdapterProperties
--------------------
SystemMessageContext smc = new SystemMessageContext(msg.Context);
_uri = smc.InboundTransportLocation;   

WcfTransmitterProperties
------------------------
public void UpdateUriForDynamicSend()
{
     // Strip off the adapters alias
     int i = Uri.LastIndexOf("wcf://");
     if (i &gt; 0)
     {
          string newUri = Uri.Substring(i);
          Uri = newUri;
     }
 } </description><author>MartinBring</author><pubDate>Thu, 14 Dec 2006 08:01:02 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Adapter demands Wcf InboundTransportLocation 20061214080102A</guid></item></channel></rss>