<?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>Engwar &#187; stonehenge</title>
	<atom:link href="http://engwar.com/tags/stonehenge/feed" rel="self" type="application/rss+xml" />
	<link>http://engwar.com</link>
	<description>Chintana Wilamuna&#039;s weblog</description>
	<lastBuildDate>Wed, 30 Nov 2011 13:28:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Using WSAS business service with .Net trader client</title>
		<link>http://engwar.com/post/264?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-wsas-business-service-with-net-trader-client</link>
		<comments>http://engwar.com/post/264#comments</comments>
		<pubDate>Thu, 11 Feb 2010 06:29:03 +0000</pubDate>
		<dc:creator>Chintana</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[stonehenge]]></category>
		<category><![CDATA[wcf]]></category>

		<guid isPermaLink="false">http://engwar.com/?p=264</guid>
		<description><![CDATA[Stonehenge is an Apache project started to demonstrate interoperability between different Web services platforms. Until we get this into the Stonehenge documentation, this is to record how to configure .Net trader client (a web interface written in .Net and is &#8230; <a href="http://engwar.com/post/264">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://incubator.apache.org/stonehenge/">Stonehenge</a> is an Apache project started to demonstrate interoperability between different Web services platforms. Until we get this into the Stonehenge documentation, this is to record how to configure .Net trader client (a web interface written in .Net and is operating in the presentation layer) to talk to business service written using Java and is hosted in <a href="http://wso2.org/projects/wsas/java">WSAS</a>. Prerequisites and installation steps can be found in the <a href="http://cwiki.apache.org/STONEHENGE/">Stonehenge wiki</a>.</p>
<p>IMO (also I&#8217;ve raised this issue numerous times in the Stonehenge mailing list) problem with .Net WCF code we have now in Stonehenge defines bindings to each and every endpoint. Currently Stonehenge .Net trader client program can talk to business services implemented in .Net, Java (deployed in WSO2 WSAS and <a href="https://metro.dev.java.net/">Sun Metro</a>) and PHP (implemented using <a href="http://wso2.org/projects/wsf/php">WSF/PHP</a>). Each of these implementations runs on a different port and is having their own URL that they&#8217;re exposing the services. When there is a new implementation of the business service using a different framework, in order to point the .Net trader client program to talk to this new business service we have to add a binding into the trader client configuration with a binding specific to that. This, IMHO, defeats the whole purpose of Web services. When you compare .Net WCF to WSO2 Web services frameworks, in the WSO2 family of open source frameworks for many languages, only need the end point. When you want to talk to a different service with similar semantics, you just change the end point URL and everything else just work. There&#8217;s no &#8220;boilerplate&#8221; configuration necessary. That&#8217;s loose coupling. Anyhoo, back to the steps,</p>
<ol>
<li>Open SQL Management Studio</li>
<li>Connect to your StockTraderDB database</li>
<li>Open up <code>ClientToBs</code> table and make sure <code>DOTNET_CLIENT</code> is using <code>DOTNET_BS</code></li>
<li>Open up <code>Service</code> table and change the URL of <code>DOTNET_BS</code> to <code>http://localhost:9763/services/TradeServiceWsas</code> </li>
<li>Open <code>Web.config</code> in <code><stocktrader>\dotnet\trader_client\Trade</code> and add <code>requireSignatureConfirmation="false"</code> to line 99. After the change the line should look like the following,
<p><code>messageSecurityVersion="WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10" requireSignatureConfirmation="false"></code> </li>
<li><a href="http://cwiki.apache.org/STONEHENGE/stonehenge-php-and-wsas-stocktrader-installation-guide.html#StonehengePHPandWSASStocktraderInstallationGuide-wsas">Build WSAS trunk</a></li>
<li>Start WSAS by running <code>&lt;WSAS dir&gt;\bin\wso2server.bat</code>
<li>Import BS.jks and OPS.jks in <code>&lt;stonehenge trunk&gt;\stocktrader\wsas\resources\conf</code>. Go to https://localhost:9443/carbon  and login as admin. Username: admin, password: admin.</li>
<li>Click on Key Stores -&gt; Add New Key Store. For BS.jks password is &#8216;yyy&#8217;. For OPS.jks password is &#8216;password&#8217;.</li>
<li>Start .Net services by running <code>RunServices.bat </code></li>
<li>Login to .Net trader client by going to http://localhost/trade and tryout the operations </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://engwar.com/post/264/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache Asia Roadshow</title>
		<link>http://engwar.com/post/168?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=apache-asia-roadshow</link>
		<comments>http://engwar.com/post/168#comments</comments>
		<pubDate>Sat, 21 Nov 2009 04:57:34 +0000</pubDate>
		<dc:creator>Chintana</dc:creator>
				<category><![CDATA[apachecon]]></category>
		<category><![CDATA[stonehenge]]></category>

		<guid isPermaLink="false">http://engwar.com/?p=168</guid>
		<description><![CDATA[Apache Asia Roadshow 2009 will be happening from 3rd to 5th December this year. It&#8217;s scheduled with two days conference and one day unconference. It&#8217;s packed with a great set of talks and um .. yours truly will be talking &#8230; <a href="http://engwar.com/post/168">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.apacheasia09.foss.lk/agenda">Apache Asia Roadshow 2009</a> will be happening from 3rd to 5th December this year. It&#8217;s scheduled with two days conference and one day unconference. It&#8217;s packed with a great set of talks and um .. yours truly will be talking on the 3rd about Web services interoperability demoing the <a href="http://incubator.apache.org/stonehenge/">Apache Stonehenge</a> project. Do drop by and chat if you&#8217;re interested.</p>
]]></content:encoded>
			<wfw:commentRss>http://engwar.com/post/168/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

