<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Whaly&#039;s World &#187; Config</title>
	<atom:link href="http://baleinoid.com/whaly/tag/config/feed/" rel="self" type="application/rss+xml" />
	<link>http://baleinoid.com/whaly</link>
	<description>tail -f /var/log/whaly</description>
	<lastBuildDate>Wed, 10 Mar 2010 20:19:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Error 415 and WCF Compatibility between .Net 2.0 and 3.5</title>
		<link>http://baleinoid.com/whaly/2010/03/error-415-and-wcf-compatibility-between-net-2-0-and-3-5/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=error-415-and-wcf-compatibility-between-net-2-0-and-3-5</link>
		<comments>http://baleinoid.com/whaly/2010/03/error-415-and-wcf-compatibility-between-net-2-0-and-3-5/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 20:19:26 +0000</pubDate>
		<dc:creator>whaly</dc:creator>
				<category><![CDATA[Microsoft .NET]]></category>
		<category><![CDATA[binding]]></category>
		<category><![CDATA[Config]]></category>
		<category><![CDATA[soap]]></category>
		<category><![CDATA[wcf]]></category>

		<guid isPermaLink="false">http://baleinoid.com/whaly/?p=157</guid>
		<description><![CDATA[If you try to call a 3.5 WCF Service with the framework 2.0 and WCF 3.0, you will have an error 415 : Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8' 'text/xml' is the content type for SOAP 1.1 while 'application/soap+xml' is the content type for [...]]]></description>
			<content:encoded><![CDATA[<p>If you try to call a 3.5 WCF Service with the framework 2.0 and WCF 3.0, you will have an error 415 :</p>
<blockquote><p>Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'</p></blockquote>
<p>'text/xml' is the content type for SOAP 1.1 while 'application/soap+xml' is the content type for SOAP 1.2 and your client WCF 3.0 use SOAP 1.1 while the service with WCF 3.5 use SOAP 1.2.</p>
<p>Here is the solution that worked for me. If you have access to the service config, you just have to change the binding to use SOAP 1.1 :</p>
<p>Add a new custom binding in the 'bindings' section </p>
<pre class="brush: xml; light: true;">
      &lt;customBinding&gt;
        &lt;binding name=&quot;Soap11HttpBinding&quot;&gt;
          &lt;textMessageEncoding messageVersion=&quot;Soap11&quot; /&gt;
          &lt;httpTransport /&gt;
        &lt;/binding&gt;
      &lt;/customBinding&gt;
</pre>
<p>and don't forget to update your endpoint with the new binding :</p>
<pre class="brush: xml; light: true;">
    &lt;endpoint ...
        binding=&quot;customBinding&quot;
        bindingConfiguration=&quot;Soap11HttpBinding&quot;&gt;
        ...
    &lt;/endpoint&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://baleinoid.com/whaly/2010/03/error-415-and-wcf-compatibility-between-net-2-0-and-3-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WWW or NO-WWW ?</title>
		<link>http://baleinoid.com/whaly/2009/09/www-or-no-www/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=www-or-no-www</link>
		<comments>http://baleinoid.com/whaly/2009/09/www-or-no-www/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 19:18:53 +0000</pubDate>
		<dc:creator>whaly</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[301]]></category>
		<category><![CDATA[Config]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[Redirect]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://baleinoid.com/whaly/?p=81</guid>
		<description><![CDATA[For my new domain "frederichusson.com" I used links without "www." like "http://frederichusson.com" mainly because I like when things are simple. Then I realized that maybe it was a mistake and maybe a "www." site can get a better ranking in search engine. Then I searched on this subject and came accross "www. is deprecated" and [...]]]></description>
			<content:encoded><![CDATA[<p>For my new domain "<a href="http://frederichusson.com">frederichusson.com</a>" I used links without "www." like "http://frederichusson.com" mainly because I like when things are simple.</p>
<p>Then I realized that maybe it was a mistake and maybe a "www." site can get a better ranking in search engine.<br />
Then I searched on this subject and came accross "<a href="http://no-www.org">www. is deprecated</a>" and a little after on an article at <a href="http://www.sitepoint.com/blogs/2008/02/19/www-or-no-www/">sitepoint.com</a></p>
<p>And so I decided to stay without "www." and to take some actions :</p>
<ol>
<li>Keep my current link without the www.</li>
<li>Add a .htaccess file to redirect (301) visitors from http://www.frederichusson.com to http://frederichusson.com (for help look at "<a href="http://no-www.org/faq.php">How can I become Class B?</a>")</li>
<li>Use the Google <a href="https://www.google.com/webmasters/tools/">Webmasters Tools</a> to configure my <a href="http://www.google.com/support/webmasters/bin/answer.py?answer=44231">favorite domain</a>.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://baleinoid.com/whaly/2009/09/www-or-no-www/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
