<?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>Specialec.NET</title>
	<atom:link href="http://specialec.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://specialec.net</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sun, 06 Feb 2011 02:13:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Sharepoint 2010 &#8211; Client Object Model</title>
		<link>http://specialec.net/2011/02/06/sharepoint-2010/</link>
		<comments>http://specialec.net/2011/02/06/sharepoint-2010/#comments</comments>
		<pubDate>Sun, 06 Feb 2011 02:13:59 +0000</pubDate>
		<dc:creator>cime</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[client object model]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://specialec.net/?p=25</guid>
		<description><![CDATA[Sample code for Sharepoint 2010 Client Object Model. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 using System; using Microsoft.SharePoint.Client; &#160; class Program &#123; static void Main&#40;&#41; &#123; using&#40;var ctx = new ClientContext&#40;&#34;http://mysharepoint&#34;&#41;&#41; &#123; var list = ctx.Web.Lists.GetByTitle&#40;&#34;Announcements&#34;&#41;; var items = list.GetItems&#40;new [...]]]></description>
			<content:encoded><![CDATA[<p>Sample code for Sharepoint 2010 Client Object Model.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">Microsoft.SharePoint.Client</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #6666cc; font-weight: bold;">class</span> Program
<span style="color: #008000;">&#123;</span>
    <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">void</span> Main<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
    <span style="color: #008000;">&#123;</span>
        <span style="color: #0600FF; font-weight: bold;">using</span><span style="color: #008000;">&#40;</span>var ctx <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> ClientContext<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;http://mysharepoint&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#123;</span>
            var list <span style="color: #008000;">=</span> ctx<span style="color: #008000;">.</span><span style="color: #0000FF;">Web</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Lists</span><span style="color: #008000;">.</span><span style="color: #0000FF;">GetByTitle</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Announcements&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            var items <span style="color: #008000;">=</span> list<span style="color: #008000;">.</span><span style="color: #0000FF;">GetItems</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">new</span> CamlQuery<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            ctx<span style="color: #008000;">.</span><span style="color: #0000FF;">Load</span><span style="color: #008000;">&#40;</span>items<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            ctx<span style="color: #008000;">.</span><span style="color: #0000FF;">ExecuteQuery</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #0600FF; font-weight: bold;">foreach</span> <span style="color: #008000;">&#40;</span>var item <span style="color: #0600FF; font-weight: bold;">in</span> items<span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                Console<span style="color: #008000;">.</span><span style="color: #0000FF;">WriteLine</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Id: {0}, Title: {1}&quot;</span>, item<span style="color: #008000;">.</span><span style="color: #0000FF;">Id</span>, item<span style="color: #008000;">&#91;</span><span style="color: #666666;">&quot;Title&quot;</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #008000;">&#125;</span>
        <span style="color: #008000;">&#125;</span>
    <span style="color: #008000;">&#125;</span>
<span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://specialec.net/2011/02/06/sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WCF with Zend_Soap</title>
		<link>http://specialec.net/2011/02/05/wcf-with-zend-framework-soap/</link>
		<comments>http://specialec.net/2011/02/05/wcf-with-zend-framework-soap/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 13:41:22 +0000</pubDate>
		<dc:creator>cime</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wcf]]></category>
		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://specialec.net/?p=14</guid>
		<description><![CDATA[If you want to get Zend Framework SOAP working as a WCF service, you must change line 85 in file Zend/Soap/AutoDiscover.php from: 85 86 87 88 protected $_operationBodyStyle = array&#40; 'use' =&#62; 'encoded', 'encodingStyle' =&#62; &#34;http://schemas.xmlsoap.org/soap/encoding/&#34; &#41;; to: 85 protected $_operationBodyStyle = array&#40;'use' =&#62; 'literal'&#41;;]]></description>
			<content:encoded><![CDATA[<p>If you want to get Zend Framework SOAP working as a WCF service, you must change line 85 in file Zend/Soap/AutoDiscover.php from:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>85
86
87
88
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">protected</span> <span style="color: #000088;">$_operationBodyStyle</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
    <span style="color: #0000ff;">'use'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'encoded'</span><span style="color: #339933;">,</span>
    <span style="color: #0000ff;">'encodingStyle'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;http://schemas.xmlsoap.org/soap/encoding/&quot;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>to:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>85
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">protected</span> <span style="color: #000088;">$_operationBodyStyle</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'use'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'literal'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://specialec.net/2011/02/05/wcf-with-zend-framework-soap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

