<?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>Dimuthu's Blog &#187; mashup</title>
	<atom:link href="http://www.dimuthu.org/tag/mashup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dimuthu.org</link>
	<description>Waiting for your comments</description>
	<lastBuildDate>Wed, 07 Jul 2010 12:42:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<image>
  <link>http://www.dimuthu.org</link>
  <url>http://www.dimuthu.org/favicon.ico</url>
  <title>Dimuthu's Blog</title>
</image>
		<item>
		<title>WSO2 Releases Goernance Registry 3.0.1, ESB 2.1.1, WSAS 3.1.1, IS 2.0.1 AND Mashup Server 2.0.0</title>
		<link>http://www.dimuthu.org/blog/2009/10/13/wso2-releases-goernance-registry-3-0-1-esb-2-1-1-wsas-3-1-1-is-2-0-1-and-mashup-server-2-0-0/</link>
		<comments>http://www.dimuthu.org/blog/2009/10/13/wso2-releases-goernance-registry-3-0-1-esb-2-1-1-wsas-3-1-1-is-2-0-1-and-mashup-server-2-0-0/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 02:08:07 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[Governance]]></category>
		<category><![CDATA[Governance Registry]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[carbon]]></category>
		<category><![CDATA[esb]]></category>
		<category><![CDATA[mashup server]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[wsas]]></category>
		<category><![CDATA[wso2]]></category>
		<category><![CDATA[identity]]></category>
		<category><![CDATA[mashup]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=1022</guid>
		<description><![CDATA[WSO2 announced an another round of release of their famous SOA products. WSO2 Governance Registry 3.0.1 WSO2 ESB 2.1.1 WOS2 Web Services Application Server (WSAS) 3.1.1 WSO2 Identity Server (IS) 2.0.1 WSO2 Mashup Server 2.0.0 Although the version numbers say this is minor patch release (Other than the Mashup Server which is shipping as a [...]]]></description>
			<content:encoded><![CDATA[<p>WSO2 announced an another round of release of their famous SOA products.</p>
<ul>
<li><a href="http://wso2.org/projects/governance-registry">WSO2 Governance Registry 3.0.1</a></li>
<li><a href="http://wso2.org/projects/esb/java">WSO2 ESB 2.1.1</a></li>
<li><a href="http://wso2.org/projects/wsas/java">WOS2 Web Services Application Server (WSAS) 3.1.1</a></li>
<li><a href="http://wso2.org/projects/identity">WSO2 Identity Server (IS) 2.0.1</a></li>
<li><a href="http://wso2.org/projects/mashup">WSO2 Mashup Server 2.0.0</a></li>
</ul>
<p>Although the version numbers say this is minor patch release (Other than the Mashup Server which is shipping as a major release), in fact there are new features and improvements. Some basic new features shares among all of these products are</p>
<ol>
<li>Improved registry level transaction Support.</li>
<li>Improved Support for deploying on top of Application Servers other than tomcat like WebSphere, WebLogic, and<br />
JBoss.</li>
<li>Support for Eclipse P2 based provisioning. (Yes, you can add/remove features from these WSO2 products , see <a href="https://wso2.org/wiki/display/carbon/p2-based-provisioning-support">https://wso2.org/wiki/display/carbon/p2-based-provisioning-support</a> for more details)</li>
<li>Improved Remote Registry model</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2009/10/13/wso2-releases-goernance-registry-3-0-1-esb-2-1-1-wsas-3-1-1-is-2-0-1-and-mashup-server-2-0-0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WSO2 Mashup Server 1.5.2 Released</title>
		<link>http://www.dimuthu.org/blog/2009/02/22/wso2-mashup-server-152-released/</link>
		<comments>http://www.dimuthu.org/blog/2009/02/22/wso2-mashup-server-152-released/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 15:00:34 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[DataServices]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[mashup server]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[wso2]]></category>
		<category><![CDATA[dashboard]]></category>
		<category><![CDATA[mashup]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=937</guid>
		<description><![CDATA[WSO2 has announced the release of WSO2 Mashup Server 1.5.2. This release introduced the support for Data Services (Exposing Database, Excel sheet, CSV as a service), Open ID Logins and personalized dashboards to manage mashups and some security improvements. Just have a look at the release note for all the details about the new features, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wso2.com">WSO2</a> has announced the release of <a href="http://wso2.org/projects/mashup">WSO2 Mashup Server 1.5.2</a>. This release introduced the support for Data Services (Exposing Database, Excel sheet, CSV as a service), Open ID Logins and personalized dashboards to manage mashups and some security improvements. Just have a look at the <a href="http://wso2.org/project/mashup/1.5.2/release_note.html">release note </a>for all the details about the new features, fixes of the release.</p>
<p>WSO2 Mashup Server enables you to develop your enterprise mashups very easily. You will write your code for the mashups in javascript with the full help of integrated javascript objects to consume Web services or Atom feeds, manage sessions, scrape web pages and manipulate storage. Once your put your .js file in to the mashup server repository, your services automatically will have the WSDLs, &#8216;Try It&#8217; functionality and SOAP, REST interfaces.</p>
<p>If you are new to Mashup Server or to develop Mashups, just have a look at the <a href="http://wso2.org/library/presentations/wso2-mashup-server-screencast-hello-world">series of screenshots</a> released by WSO2 sometime ago. That will no doubt take you from zero knowledge to a comfortable state to write full-fledged mashups.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2009/02/22/wso2-mashup-server-152-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calling Simple Web Services From Javascript</title>
		<link>http://www.dimuthu.org/blog/2008/12/11/calling-simple-web-services-from-javascript/</link>
		<comments>http://www.dimuthu.org/blog/2008/12/11/calling-simple-web-services-from-javascript/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 12:00:59 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[SOA]]></category>
		<category><![CDATA[Tutorial/Guide]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mashup server]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[mashup]]></category>
		<category><![CDATA[SOAP]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[WSRequest]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=785</guid>
		<description><![CDATA[If you are a web developer, you may have found many occasions you have to create simple mashups for your web site. There you call web services or data services to fill the content of the web page. Most of the time we call web services from a server side script, since there are many [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a web developer, you may have found many occasions you have to create simple mashups for your web site. There you call web services or data services to fill the content of the web page. Most of the time we call web services from a server side script, since there are many server side technologies like Java, PHP, .NET support web services.</p>
<p>But sometime it is in vain that you call your server scripts for a simple web service request. In fact You can use the famous XMLHttpRequest object to do the same thing from the client side itself. But you may need to prepare the complete SOAP envelope (Yea with SOAP headers, if required) in your hand to send it through XMLHttpRequest.</p>
<p>Another option is to  use the WSRequest script (<a href="http://mooshup.com/js/wso2/WSRequest.js">http://mooshup.com/js/wso2/WSRequest.js</a>). We normally use this script in the <a href="http://wso2.org/projects/mashup">WSO2 Mashup Server</a> to call the mashups designed in the serverside using stub. (The server side mashup is also mostly written in Javascript). We can use this script stand alone to call remote web services as well.</p>
<p>It introduce you the WSRequest class. It is exactly similar to the famous XMLHttpRequest class we used in  AJAX. In stead of plain message over HTTP like in the case of XMLHttpRequest, WSRequest send and receive messages in SOAP form. Here is its API in brief.</p>
<pre class="javascript"><span style="font-weight: bold; color: #003366;">var</span> WSRequest = <span style="font-weight: bold; color: #003366;">function</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
    <span style="font-style: italic; color: #009900;">//----------------------------------------------------</span>
    <span style="font-style: italic; color: #009900;">// the public properties - equivalent to XMLHTTPRequest</span>
    <span style="font-style: italic; color: #009900;">//-----------------------------------------------------</span>
    <span style="font-weight: bold; color: #000066;">this</span>.<span style="color: #006600;">readyState</span> = <span style="color: #cc0000;">0</span>;
    <span style="font-weight: bold; color: #000066;">this</span>.<span style="color: #006600;">responseText</span> = <span style="font-weight: bold; color: #003366;">null</span>;
    <span style="font-weight: bold; color: #000066;">this</span>.<span style="color: #006600;">responseXML</span> = <span style="font-weight: bold; color: #003366;">null</span>;
    <span style="font-weight: bold; color: #000066;">this</span>.<span style="color: #006600;">error</span> = <span style="font-weight: bold; color: #003366;">null</span>;  <span style="font-style: italic; color: #009900;">// equivalent to httpErrorCode</span>
    <span style="font-weight: bold; color: #000066;">this</span>.<span style="color: #006600;">onreadystatechange</span> = <span style="font-weight: bold; color: #003366;">null</span>;
    <span style="font-weight: bold; color: #000066;">this</span>.<span style="color: #006600;">proxyAddress</span> = <span style="font-weight: bold; color: #003366;">null</span>;
    <span style="font-weight: bold; color: #000066;">this</span>.<span style="color: #006600;">proxyEngagedCallback</span> = <span style="font-weight: bold; color: #003366;">null</span>
<span style="color: #66cc66;">}</span>

<span style="font-style: italic; color: #009900;">//----------------------------------------------------</span>
<span style="font-style: italic; color: #009900;">// the public operations - equivalent to XMLHTTPRequest</span>
<span style="font-style: italic; color: #009900;">//-----------------------------------------------------</span>

<span style="font-style: italic; color: #009900;">/**
 * @description Prepare a Web Service Request .
 * @method open
 * @param {hash} options,
 *   possible options: possible values for the option
 *            useSOAP : false/true/1.1/1.2
 *            useWSA : true/false/1.0/submission
 *            useWSS : true/false (only for usernametoken &amp; timestamp)
 *
 * @param {string} URL
 * @param {boolean} asyncFlag
 * @param {string} username
 * @param {string} password
 */</span>
WSRequest.<span style="color: #006600;">prototype</span>.<span style="color: #000066;">open</span> = <span style="font-weight: bold; color: #003366;">function</span><span style="color: #66cc66;">(</span>options, URL, asnycFlag, username, password<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>.. <span style="color: #66cc66;">}</span>

<span style="font-style: italic; color: #009900;">/**
 * @description Send the payload to the Web Service.
 * @method send
 * @param {dom} response xml payload
 */</span>
WSRequest.<span style="color: #006600;">prototype</span>.<span style="color: #006600;">send</span> = <span style="font-weight: bold; color: #003366;">function</span><span style="color: #66cc66;">(</span>payload<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>.. <span style="color: #66cc66;">}</span></pre>
<p>I wrote a simple javascript/html demo which calls the data service that I published for my blog. This service is written using <a href="http://wso2.org/projects/wsf/php">WSF/PHP</a> Data Services. Check the demo and client, service sources  from the following links.</p>
<table border="0">
<tbody>
<tr>
<td class="first">AJAX Tag Search</td>
<td class="second"><a href="http://ws.dimuthu.org/blog/WordPressTagSearchJSClientNoAuth.html">Demo</a> |  <a href="http://ws.dimuthu.org/blog/WordPressTagSearchServiceNoAuth.php?wsdl">WSDL</a><a> | </a><a href="http://ws.dimuthu.org/source.php?src=tag.search.NoAuthclient">Client</a> |  <a href="http://ws.dimuthu.org/source.php?src=tag.search.NoAuthservice">Service</a></td>
<td class="third">Demonstrates how you use SOAP Data Services using WSRequest object to retrieve the data asynchronously from javascript</td>
</tr>
</tbody>
</table>
<p>There You can see, how easy to write an AJAX like page for call web services using the WSRequest javascript class.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2008/12/11/calling-simple-web-services-from-javascript/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Writing a Mashup with Maps and Weather</title>
		<link>http://www.dimuthu.org/blog/2008/12/01/writing-a-mashup-with-maps-and-weather/</link>
		<comments>http://www.dimuthu.org/blog/2008/12/01/writing-a-mashup-with-maps-and-weather/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 16:37:23 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[SOA]]></category>
		<category><![CDATA[Tutorial/Guide]]></category>
		<category><![CDATA[mashup server]]></category>
		<category><![CDATA[openlayers]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[wso2]]></category>
		<category><![CDATA[kml]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[mashup]]></category>
		<category><![CDATA[Weather]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=747</guid>
		<description><![CDATA[Few weeks back, I did a screencast on how to consume a web service using WSF/PHP demonstrating an application of US National Digital Weather Forecast Database. In that webservice there are operations like &#8220;GmlLatLonList&#8221; that retrieve a KML for a given longitude and latitude inside USA. I wrote a simple mashup that load this KML [...]]]></description>
			<content:encoded><![CDATA[<p>Few weeks back, I did a screencast on how to consume a web service using WSF/PHP demonstrating an application of <a href="http://www.nws.noaa.gov/forecasts/xml/">US National Digital Weather Forecast Database</a>. In that webservice there are operations like &#8220;<strong>GmlLatLonList&#8221;</strong> that retrieve a KML for a given longitude and latitude inside USA. I wrote a <a href="http://mooshup.com/services/Dimuthu/weatherMap/">simple mashup</a> that load this KML from the web service and set it as a layer in a map which is created using <a href="http://openlayers.org/">openlayers</a>.</p>
<p>There I use the <a href="http://wso2.org/projects/mashup">WSO2 Mashup Server</a> to create the stub to invoke the weather forecasting web service. This stub can be easily used to invoke the service from a javascript in a HTML page.</p>
<p>You can visit the mashup from the <a href="http://www.mooshup.com">Mashup Server community site mooshup.com</a> from here, <a href="http://mooshup.com/services/Dimuthu/weatherMap/">http://mooshup.com/services/Dimuthu/weatherMap/</a>.</p>
<p>Here are the steps I used to create this mashup.</p>
<ol>
<li>First I wrote a javascript to wrap the web service. It has a function that can be used as a stub to invoke the web service operation just as a javascript function call. Here is the <a href="http://mooshup.com/services/Dimuthu/weatherMap?source&amp;content-type=text/plain">source of the javascript </a> I wrote. It wraps the &#8220;GmlLatLonList&#8221; service operation in the &#8220;fetchWeatherInfo&#8221; function. I gave this javascript service the name &#8220;weatherMap&#8221;.
<pre class="javascript"><span style="font-weight: bold; color: #000066;">this</span>.<span style="color: #006600;">serviceName</span> = <span style="color: #3366cc;">"weatherMap"</span>;
<span style="font-weight: bold; color: #000066;">this</span>.<span style="color: #006600;">scope</span> = <span style="color: #3366cc;">"application"</span>;
<span style="font-weight: bold; color: #000066;">this</span>.<span style="color: #006600;">documentation</span> = <span style="color: #3366cc;">"Visit the weather information from just a mouse click"</span>;

fetchWeatherInfo.<span style="color: #006600;">documentation</span> = <span style="color: #3366cc;">"Retrieve the weather information for the given inputs"</span> ;
fetchWeatherInfo.<span style="color: #006600;">inputTypes</span> = <span style="color: #66cc66;">{</span><span style="color: #3366cc;">"listLatLon"</span> : <span style="color: #3366cc;">"string"</span>,
                               <span style="color: #3366cc;">"startTime"</span> : <span style="color: #3366cc;">"string"</span>,
                               <span style="color: #3366cc;">"endTime"</span> : <span style="color: #3366cc;">"string"</span><span style="color: #66cc66;">}</span>;
fetchWeatherInfo.<span style="color: #006600;">outputType</span> = <span style="color: #3366cc;">"xml"</span>;
<span style="font-weight: bold; color: #003366;">function</span> fetchWeatherInfo<span style="color: #66cc66;">(</span>listLatLon, startTime, endTime<span style="color: #66cc66;">)</span><span style="color: #66cc66;">{</span>

    <span style="font-weight: bold; color: #003366;">var</span> url = <span style="color: #3366cc;">"http://www.weather.gov/forecasts/xml/SOAP_server/ndfdXMLserver.php"</span>;

    <span style="font-style: italic; color: #009900;">// setting up the the WSRequest</span>
    <span style="font-weight: bold; color: #003366;">var</span> request = <span style="font-weight: bold; color: #003366;">new</span> WSRequest<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;

    <span style="font-weight: bold; color: #003366;">var</span> options = <span style="font-weight: bold; color: #003366;">new</span> Array<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
    options.<span style="color: #006600;">useSOAP</span> = <span style="color: #cc0000;">1.1</span>;
    options.<span style="color: #006600;">useWSA</span> = <span style="font-weight: bold; color: #003366;">false</span>;

    <span style="font-style: italic; color: #009900;">// do the request</span>
    request.<span style="color: #000066;">open</span><span style="color: #66cc66;">(</span>options, url, <span style="font-weight: bold; color: #003366;">false</span><span style="color: #66cc66;">)</span>;

    <span style="font-weight: bold; color: #003366;">var</span> reqXml =
        &lt;ns:GmlTimeSeries xmlns:ns=<span style="color: #3366cc;">"uri:DWMLgen"</span>&gt;
            &lt;listLatLon&gt;<span style="color: #66cc66;">{</span>listLatLon<span style="color: #66cc66;">}</span>&lt;/listLatLon&gt;
            &lt;startTime&gt;<span style="color: #66cc66;">{</span>startTime<span style="color: #66cc66;">}</span>&lt;/startTime&gt;
            &lt;endTime&gt;<span style="color: #66cc66;">{</span>endTime<span style="color: #66cc66;">}</span>&lt;/endTime&gt;
            &lt;compType&gt;Between&lt;/compType&gt;
            &lt;featureType&gt;Ndfd_KmlPoint&lt;/featureType&gt;
            &lt;propertyName&gt;&lt;/propertyName&gt;
        &lt;/ns:GmlTimeSeries&gt;

    request.<span style="color: #006600;">send</span><span style="color: #66cc66;">(</span>reqXml<span style="color: #66cc66;">)</span>;

    <span style="font-weight: bold; color: #000066;">return</span> request.<span style="color: #006600;">responseXML</span>;
<span style="color: #66cc66;">}</span></pre>
</li>
<li>Deployed it in the <a href="http://wso2.org/projects/mashup">WSO2 Mashup server</a>. I downloaded and setup the mashup server locally. Then I just needed to put the script inside &#8220;scripts/dimuthu&#8221; directory. There is <a href="http://www.mooshup.com">an online instance of mashup server called mooshup.com</a> in which I later deployed my service. After deployed it in the mashup, it will generate the javascript stub for that service. You can view the generated stub by adding a &#8220;?stub&#8221; to the mashup url. Here is the stub for the &#8220;weatherMap&#8221; mashup deployed in the mooshup server, <a href="http://mooshup.com/services/Dimuthu/weatherMap?stub">http://mooshup.com/services/Dimuthu/weatherMap?stub</a>. Similarly you can view the try out page for the service from, <a href="http://mooshup.com/services/Dimuthu/weatherMap?tryit">http://mooshup.com/services/Dimuthu/weatherMap?tryit</a></li>
<li>Wrote an HTML interface for the service. I used the openlayers javascript library to load google map in to my page. And added a custom control that handles the click. In the click handler, I just call the stub and get the response KML string back using a code similar to this.
<pre class="html4strict"><span style="color: #009900;"><span style="font-style: italic; color: #808080;">&lt;!-- include the script for the stub --&gt;</span></span>
<span style="color: #009900;"><a href="http://december.com/html/4/element/script.html"><span style="font-weight: bold; color: #000000;">&lt;script</span></a> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"text/javascript"</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">"../weatherMap?stub"</span><span style="font-weight: bold; color: #000000;">&gt;</span></span><span style="color: #009900;"><span style="font-weight: bold; color: #000000;">&lt;/script&gt;</span></span>

<span style="color: #009900;"><a href="http://december.com/html/4/element/script.html"><span style="font-weight: bold; color: #000000;">&lt;script</span></a> <span style="color: #000066;">language</span>=<span style="color: #ff0000;">"javascript"</span><span style="font-weight: bold; color: #000000;">&gt;</span></span>
...

<span style="font-style: italic; color: #009900;">// the code inside the handler of the click control</span>

   <span style="font-style: italic; color: #009900;">// preparing the stub call</span>
   weatherMap.<span style="color: #006600;">fetchWeatherInfo</span>.<span style="color: #000066;">onError</span> = handleError;
   weatherMap.<span style="color: #006600;">fetchWeatherInfo</span>.<span style="color: #006600;">callback</span> = <span style="font-weight: bold; color: #003366;">function</span><span style="color: #66cc66;">(</span>response<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
       <span style="font-weight: bold; color: #000066;">if</span><span style="color: #66cc66;">(</span>response &amp;&amp; response.<span style="color: #006600;">firstChild</span>.<span style="color: #006600;">firstChild</span>.<span style="color: #006600;">nodeValue</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

           <span style="font-style: italic; color: #009900;">// handling kml document</span>
           <span style="font-weight: bold; color: #003366;">var</span> kmlDoc = response.<span style="color: #006600;">firstChild</span>.<span style="color: #006600;">firstChild</span>.<span style="color: #006600;">nodeValue</span>;

           <span style="font-style: italic; color: #009900;">// the code to add the kml layer to the map and render it</span>
           ....
         <span style="color: #66cc66;">}</span>
    <span style="color: #66cc66;">}</span>;
   <span style="font-style: italic; color: #009900;">// preparing the startTime, endTIme, lat, lon values</span>
   ...

   <span style="font-style: italic; color: #009900;">// doing the request call</span>
   weatherMap.<span style="color: #006600;">fetchWeatherInfo</span><span style="color: #66cc66;">(</span>lat + <span style="color: #3366cc;">","</span> + lon, startTime, endTime<span style="color: #66cc66;">)</span>;

<span style="color: #009900;"><span style="font-weight: bold; color: #000000;">&lt;/script&gt;</span></span></pre>
<p>The KML style icon will be shown in the map after adding the KML layer to the map. And we can render the KML style details which in this case contain the weather forecast data in detail in some other place easily.</li>
</ol>
<p>So this way you can create a mashup using openlayers and the data retrieved from different web services. You can find another mashup that shows the twitter updates on a map in real time at here, <a href="http://mooshup.com/services/tyrell/TwitterMap/">http://mooshup.com/services/tyrell/TwitterMap/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2008/12/01/writing-a-mashup-with-maps-and-weather/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mashup Server Screencasts</title>
		<link>http://www.dimuthu.org/blog/2008/11/14/mashup-server-screencasts/</link>
		<comments>http://www.dimuthu.org/blog/2008/11/14/mashup-server-screencasts/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 12:50:52 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[Tutorial/Guide]]></category>
		<category><![CDATA[mashup server]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[wso2]]></category>
		<category><![CDATA[mashup]]></category>
		<category><![CDATA[mooshup]]></category>
		<category><![CDATA[screencasts]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=606</guid>
		<description><![CDATA[Jonathan Marsh, VP of Business Development of WSO2, recently released three screencasts explaining the features of WSO2 Mashup Server and how you can use these features in building your own Mashups. The first screencast targeted at newbies to introduce the mashup concept and WSO2 Mashup Server and the next two videos present you the topics [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://auburnmarshes.spaces.live.com/">Jonathan Marsh</a>, VP of Business Development of WSO2, recently released three screencasts explaining the features of <a href="http://wso2.org/projects/mashup">WSO2 Mashup Server</a> and how you can use these features in building your own Mashups.</p>
<p>The first screencast targeted at newbies to introduce the mashup concept and WSO2 Mashup Server and the next two videos present you the topics like &#8220;Scraping Web Pages&#8221; and &#8220;Service Composition&#8221; which are useful in building advance mashups.</p>
<p>You can view the high quality version of these videos from wso2.org. Here are the links</p>
<ol>
<li><a href="http://wso2.org/library/presentations/wso2-mashup-server-screencast-hello-world">Hello World</a></li>
<li><a href="http://wso2.org/library/presentations/wso2-mashup-server-screencast-series-2-web-scraping">Scraping Web Pages</a></li>
<li><a href="http://wso2.org/library/presentations/wso2-mashup-server-screencast-3-service-composition">Service Composition</a></li>
</ol>
<h3><a href="&lt;/li">Getting Started With Hello World</a></h3>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/-E67f0TqsDY&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/-E67f0TqsDY&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;fs=1" allowfullscreen="true"></embed></object></p>
<h3><a href="&lt;/li">How To Scrape a Web Page</a></h3>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/V6gLWV9q5aY&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/V6gLWV9q5aY&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;fs=1" allowfullscreen="true"></embed></object></p>
<h3><a href="&lt;/li">Service Composition</a></h3>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/2-Prpsrp328&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/2-Prpsrp328&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;fs=1" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2008/11/14/mashup-server-screencasts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
