<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>webservices &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/webservices/</link>
	<description>Feed of posts on WordPress.com tagged "webservices"</description>
	<pubDate>Wed, 08 Oct 2008 09:56:35 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Atom too SOAPy for me]]></title>
<link>http://billburke.wordpress.com/?p=141</link>
<pubDate>Mon, 06 Oct 2008 19:58:21 +0000</pubDate>
<dc:creator>billburke</dc:creator>
<guid>http://bill.burkecentral.com/2008/10/06/atom-too-soapy-for-me/</guid>
<description><![CDATA[I&#8217;ve heard a lot of talk lately about using the Atom protocol for something other than a bette]]></description>
<content:encoded><![CDATA[<p>I've heard a lot of talk lately about using the <a href="http://atomenabled.org/developers/protocol/">Atom protocol</a> for something other than a better RSS feed, like using it as a messaging protocol.  For instance, I was reading this excellent article on using R<a href="http://www.infoq.com/articles/webber-rest-workflow">EST to design a workflow on Infoq.com</a> where they use the Atom format to describe and interact with a work queue.  The example was that a order fulfilment worker would the server and would get back an Atom feed of what jobs needed to be fulfilled.  Other, like James Strachan, had <a href="http://macstrac.blogspot.com/2007/11/atompub-services-and-auto-detecting.html">talked about using atom</a> as well.</p>
<p>For me, the value of Atom haven't really clicked with me yet.  Its just too SOAPy for me.  If you look at ATOM, the ATOM protocol, and how people are talking about using it, they're really using it as an envelope.  One of the things that attracted me to REST was that I could focus on the problem at hand and ignore bulky middleware protocols (like SOAP) and lean on HTTP as a rich application protocol.</p>
<p>For example, if you want to get a list of messaging, why not just <a href="http://www.freesoft.org/CIE/RFC/1521/16.htm">multipart/mixed</a>?  Its a very simple format.  Its easy to parse.  You can assign specify headers to each body and use well-known headers like Content-Location if you want to replace actual content with a link. Its all much more compact.  Better yet, why not just send back a comma-delimited list of URLs.</p>
<p>Maybe I just haven't seen the light yet.  It took me months to accept REST as a viable way of doing things.  Maybe I just need somebody to yell at me about ATOM.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Marketing technology in a downturn ]]></title>
<link>http://digitalassetmanagementorguk.wordpress.com/?p=798</link>
<pubDate>Mon, 06 Oct 2008 05:55:50 +0000</pubDate>
<dc:creator>digitalassetmanagment</dc:creator>
<guid>http://digitalassetmanagementorguk.pt-br.wordpress.com/2008/10/06/marketing-technology-in-a-downturn/</guid>
<description><![CDATA[Steve Rubel has a positive post titled The Collaboration Economy that encourages marketers to face t]]></description>
<content:encoded><![CDATA[<p>Steve Rubel has a positive post titled <a href="http://www.micropersuasion.com/2008/10/the-collaborati.html">The Collaboration Economy</a> that encourages marketers to face the current economic downturn as an opportunity to become more efficient, open, and collaborative.</p>
<p>Those drivers have the potential to usher in a new generation of marketing technology, especially geared towards optimizing the communication and coordination between agencies and in-house teams.</p>
<p>Rubel talks about using wikis, internal blogs, and microblogs — which I agree are a great start — to tackle the "huge inefficiencies in the way agencies manage workflow internally and also how they collaborate with clients."</p>
<p>However, I also think there will be a wave of new marketing-specific applications — primarily offered as <a href="http://www.chiefmartec.com/2008/04/cloud-computing.html">software-as-a-service (SaaS)</a> — that help address challenges with implementing and managing:</p>
<ul>
<li>Long Tail strategies in search marketing and online advertising;</li>
<li><a href="http://www.chiefmartec.com/2008/09/social-media-management-software.html">social media marketing at scale</a> across a plethora of microchannels;</li>
<li>closed-loop (or semi-closed-loop) tracking of marketing ROI;</li>
</ul>
<p>Continues @ <a href="http://www.chiefmartec.com/2008/10/marketing-technology-in-a-downturn.html" target="_blank">Cheifmartec.com</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[What do we mean when we say Web Services? (part 1)]]></title>
<link>http://nicopaez.wordpress.com/?p=116</link>
<pubDate>Mon, 06 Oct 2008 02:59:29 +0000</pubDate>
<dc:creator>npaez</dc:creator>
<guid>http://nicopaez.pt-br.wordpress.com/2008/10/06/what-do-we-mean-when-we-say-web-services/</guid>
<description><![CDATA[To some people this could be a very simple question today, but I think that there are still some con]]></description>
<content:encoded><![CDATA[<p>To some people this could be a very simple question today, but I think that there are still some confused people around. I remember one of the last projects I was involved, we were build an application that should exchange information with an external application, the technical person that spoke to us when we tried to connect both applications called web service to a simple ASP page that returned data in a raw string. Well this situations leads me to this post.</p>
<p>When we talk about web service we are referring to a technology stack that include HTTP and SOAP among others. A web service is a software component that can be accessed by sending SOAP messages following the rules defined in the corresponding WSDL document. For those that are not familiar with this terms here is a short glossary with some common terminology in the world of Web services:</p>
<ul>
<li>SOAP: Simple Object Access Protocol, it specifies how to create the messages, its parts, how each part should be used.</li>
<li>WSDL: Web Service Definition Language, it is just a XML document that describes how to interact with an specific web service. Every Web Service must have an associated WSDL. The only thing needed to consume a web service is its WSDL.</li>
<li>HTTP: Hyper Text Transfer Protocol, it is the main transport protocol of Internet.</li>
<li>UDDI: Universal Description, Discovery and Integration, defines how to maintain a structure of directories to share information about web services.</li>
</ul>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Web Services series (introduction)]]></title>
<link>http://nicopaez.wordpress.com/?p=112</link>
<pubDate>Sun, 05 Oct 2008 01:06:24 +0000</pubDate>
<dc:creator>npaez</dc:creator>
<guid>http://nicopaez.pt-br.wordpress.com/2008/10/05/web-services-series-introduction/</guid>
<description><![CDATA[I have been working with web services for a long time, I have came across with many design and imple]]></description>
<content:encoded><![CDATA[<p>I have been working with web services for a long time, I have came across with many design and implementation issues and I have reviewed many web service applications. During the last years I have been asked the same kind questions several times, and that is why I have decided to write this series to write down all the answers to that questions. The posts I have in mind at this moment are:</p>
<ul>
<li>What do we mean when we say "Web Services"?</li>
<li>What do we use Web Services for?</li>
<li>Please don´t use DataSets in your Web Services</li>
<li>Tools for Web Services developers</li>
</ul>
<p>Well, this all for now and walcomen to this series, I hope you to enjoy it.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[What file extension does web service file has?]]></title>
<link>http://dotnetresource.wordpress.com/?p=38</link>
<pubDate>Sat, 04 Oct 2008 20:36:49 +0000</pubDate>
<dc:creator>shanutha</dc:creator>
<guid>http://dotnetresource.pt-br.wordpress.com/2008/10/04/4-what-file-extension-does-web-service-file-has/</guid>
<description><![CDATA[Answer: 
.asmx
View All Questions In WebServices 
]]></description>
<content:encoded><![CDATA[<p><strong>Answer:</strong> </p>
<p>.asmx</p>
<p><a href="http://dotnetresource.wordpress.com/web-services/"><strong>View All Questions In WebServices</strong> </a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[What is a Web Service?]]></title>
<link>http://dotnetresource.wordpress.com/?p=12</link>
<pubDate>Sat, 04 Oct 2008 18:20:14 +0000</pubDate>
<dc:creator>shanutha</dc:creator>
<guid>http://dotnetresource.pt-br.wordpress.com/2008/10/04/3-what-is-a-web-service/</guid>
<description><![CDATA[Answer: 
                  Web service is a application, which exposes the data and functionality in]]></description>
<content:encoded><![CDATA[<p><strong>Answer:</strong> </p>
<p>                  Web service is a application, which exposes the data and functionality in the distributed environment. Web service is highly interoperable and accessible from any platform. Web services are XML based. Distributed applications access them over the internet through a communication protocol named SOAP (Simple Object Access Protocol)</p>
<p><a href="http://dotnetresource.wordpress.com/web-services/"><strong>View All Questions In WebServices</strong> </a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[What are the types of Distributed applications Dot Net support?]]></title>
<link>http://dotnetresource.wordpress.com/?p=9</link>
<pubDate>Sat, 04 Oct 2008 18:18:08 +0000</pubDate>
<dc:creator>shanutha</dc:creator>
<guid>http://dotnetresource.pt-br.wordpress.com/2008/10/04/2-what-are-the-types-of-distributed-applications-dot-net-support/</guid>
<description><![CDATA[Answer: 
•	Web Services.
•	Dot Net Remoting.
•	Dot Net Enterprise Services
View All Questions ]]></description>
<content:encoded><![CDATA[<p><strong>Answer:</strong> </p>
<p>•	Web Services.<br />
•	Dot Net Remoting.<br />
•	Dot Net Enterprise Services</p>
<p><a href="http://dotnetresource.wordpress.com/web-services/"><strong>View All Questions In WebServices</strong> </a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Web Services Contract First]]></title>
<link>http://enerosweb.wordpress.com/?p=31</link>
<pubDate>Wed, 01 Oct 2008 21:09:34 +0000</pubDate>
<dc:creator>enerosweb</dc:creator>
<guid>http://enerosweb.pt-br.wordpress.com/2008/10/01/web-service-contract-first/</guid>
<description><![CDATA[There are lots and lots of reasons to design the contract for the webservice (interface,messages etc]]></description>
<content:encoded><![CDATA[<p>There are lots and lots of reasons to design the contract for the webservice (interface,messages etc) and only then proceed to the actual coding. Anyway it's a common practice to any software project, but it is not that strightforward process in Visual Studio ASMX webservices.</p>
<p>With all the Vistual studio pre-generated project artifacts and templates it's so much easier to get your[WebMethod] and voila! WSDL is genareted and contract is ready.</p>
<p>Here is nice article to address the doubts <a href="http://soa.sys-con.com/node/143909">"Contract-First Web Services: 6 Reasons to Start with WSDL and Schema"</a> on SOA Magazine</p>
<p>After doing some research and blogs scanning <a href="http://www.thinktecture.com/resourcearchive/tools-and-software/wscf">WSCF </a>tool from thinktecture looks promising.<br />
To get running WSCF 0.7 in Visual Studio 2008 look at this post:<br />
<a href="http://blogs.thinktecture.com/cweyer/archive/2007/12/07/415049.aspx">http://blogs.thinktecture.com/cweyer/archive/2007/12/07/415049.aspx</a></p>
<p>(For the default .AddIn file locations for Visual Studio add-ins <a href="http://www.mztools.com/articles/2008/MZ2008001.aspx">http://www.mztools.com/articles/2008/MZ2008001.aspx</a> )</p>
<p>Nice post on the WebServiceContractFirst topic<br />
<a href="http://www.dotneteer.com/Weblog/post/2008/04/WSDL-first-(Contract-first)-Web-Service-development-with-Visual-Studio-2008.aspx">http://www.dotneteer.com/Weblog/post/2008/04/WSDL-first-(Contract-first)-Web-Service-development-with-Visual-Studio-2008.aspx</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Is CMIS RESTful? Or merely HYPEful? ]]></title>
<link>http://digitalassetmanagementorguk.wordpress.com/2008/10/01/is-cmis-restful-or-merely-hypeful/</link>
<pubDate>Wed, 01 Oct 2008 08:35:36 +0000</pubDate>
<dc:creator>digitalassetmanagment</dc:creator>
<guid>http://digitalassetmanagementorguk.pt-br.wordpress.com/2008/10/01/is-cmis-restful-or-merely-hypeful/</guid>
<description><![CDATA[Is CMIS RESTful? Or merely HYPEful?
30-Sep-2008- Submitted by: Kas Thomas,  Analyst 
Not long ago I ]]></description>
<content:encoded><![CDATA[<h3>Is CMIS RESTful? Or merely HYPEful?</h3>
<p>30-Sep-2008- Submitted by: <a href="http://www.cmswatch.com/Analyst/23-Thomas">Kas Thomas,  Analyst </a></p>
<p>Not long ago I <a href="http://www.cmswatch.com/Trends/1361-CMIS-the-new-Lingua-Franca-of-ECM">blogged</a> about the newly announced <a href="http://community.emc.com/docs/DOC-1605">Content Management Interoperability Services specification</a>, which is a joint effort of <a href="http://www.cmswatch.com/ECM/Vendors/EMC">EMC</a>, <a href="http://www.cmswatch.com/ECM/Vendors/IBM">IBM</a>, <a href="http://www.cmswatch.com/ECM/Vendors/OpenText">Open Text</a>, <a href="http://www.cmswatch.com/ECM/Vendors/Oracle">Oracle</a>, <a href="http://www.cmswatch.com/Portal/Vendors/SAP">SAP</a>, <a href="http://www.cmswatch.com/ECM/Vendors/Alfresco">Alfresco</a>, and <a href="http://www.cmswatch.com/CMS/Vendors/Microsoft">Microsoft</a>. If you close your eyes and sniff, CMIS smells a bit like <a href="http://en.wikipedia.org/wiki/Content_repository_API_for_Java">JCR</a> minus the coffee aroma. It's a high-level spec aimed at making content repositories reachable via platform-neutral (<a href="http://en.wikipedia.org/wiki/Representational_State_Transfer">REST</a>ful and <a href="http://en.wikipedia.org/wiki/SOAP">SOAP</a>-based) protocols.</p>
<p>As such, CMIS opens the way (in theory, at least) to faster development, easier integrations between the <a href="http://www.cmswatch.com/ECM/Report/">ECM</a> and enterprise-middleware worlds, less dependence on proprietary SDKs (thus less vendor lock-in), and so on.</p>
<p>At first glance, CMIS seems too good to be true. Certainly it seems well motivated (as was <a href="http://jcp.org/en/jsr/detail?id=170">JSR 170</a>, which failed to set the world on fire), and it has drawn considerable attention based on its use of technologies like Atom Publishing Protocol and REST.</p>
<p>But there are those who think it's all a bit strange... including <a href="http://roy.gbiv.com/">Roy T. Fielding</a>, the father of REST.</p>
<p>Fielding said in his <a href="http://roy.gbiv.com/untangled/2008/no-rest-in-cmis">blog</a> yesterday: "I am getting tired of big companies making idiotic claims about REST and their so-called RESTful architectures. The only similarity between CMIS and REST is that they both have four-letter acronyms."</p>
<p>Continues at <a href="http://www.cmswatch.com/Trends/1379-Is-CMIS-RESTful-Or-merely-HYPEful?source=RSS" target="_blank">CMSWatch</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[DigiLeen in Vlaanderen]]></title>
<link>http://johanmijs.wordpress.com/?p=69</link>
<pubDate>Tue, 30 Sep 2008 15:58:23 +0000</pubDate>
<dc:creator>johanmijs</dc:creator>
<guid>http://bibliotheekr.org/2008/09/30/digileen-in-vlaanderen/</guid>
<description><![CDATA[Vanaf 1 oktober 2008 kunnen Vlamingen DigiLenen. DigiLeen is een product van de Centrale Discotheek ]]></description>
<content:encoded><![CDATA[<p>Vanaf 1 oktober 2008 kunnen Vlamingen DigiLenen. DigiLeen is een product van de Centrale Discotheek van Rotterdam en biedt 10.000 cd's oftewel meer dan 100.000 tracks digitaal te leen aan voor een 'uitleenperiode' van 7 dagen. Auteursrechtelijk beveiligd. Gratis. Zonder lid te zijn van een bibliotheek.</p>
<p>Download DigiLeen hier:</p>
<p style="text-align:center;"><a href="http://www.muziekweb.nl/shared/digileen/DigiLeenInstallTest.php?returnurl=http://www.bibliotheek.be/digileen/splash.html" target="blank"><img class="aligncenter" src="http://farm4.static.flickr.com/3242/2900307138_13f412d8f3_t.jpg" border="0" alt="" /></a></p>
<p>Over DigiLeen valt veel te zeggen. Je leest heel wat op de <a href="http://www.vcob.be/portaal/DIGITALEBIBLIOTHEEK/DIGILEEN" target="_blank">VCOB-website</a> (voor de professional) of <a href="http://www.muziekweb.nl/digileen/" target="_blank">Muziekweb</a> (voor de eindgebruiker). Hier focussen we op drie dingen:</p>
<p><strong>Auteursrechtelijk beveiligd.</strong> Digital Rights Management (DRM) wordt door een eindgebruiker als restrictief ervaren. DigiLeen is een van de weinige toepassingen waar DRM net kansen biedt. De keuze voor een standaard alom gebruikte DRM is vrij beperkt en leidt onherroepelijk naar Microsoft. Apple geeft geen licenties vrij voor zijn DRM <a href="http://en.wikipedia.org/wiki/FairPlay" target="_blank">Fairplay</a> en open source (contradictio in terminis met DRM) initiatieven zijn vrij <a href="http://en.wikipedia.org/wiki/Digital_rights_management#Table_of_DRM_technologies_and_associated_devices" target="_blank">zeldzaam</a>. DigiLeen DRM is niet te kraken (alle un-DRM's ten spijt) en enkel mits veel kwaliteitsverlies analoog op te nemen met sommige audiorecorders.</p>
<p>Dat brengt ons bij <strong>gratis</strong>. De kosten voor DigiLeen worden voor de Vlaamse overheid betaalbaar gehouden door de goedwil van  platenlabels en auteursrechtenmaatschappijen die brood zien in het 'try before you buy' principe van DigiLeen. Tegelijk geven zij bibliotheken en eindgebruikers de mogelijkheid om te gidsen en te grasduinen in een groot en kwalitatief aanbod van klassieke muziek, wereldmuziek en jazz.</p>
<p><strong>Lokale bibliotheken</strong> worden aangespoord DigiLeen zoveel mogelijk te promoten en te integreren in hun aanbod. Hoewel DigiLeengebruikers geen lid moeten zijn van een bibliotheek, doen we er alles aan om de bibliotheek als uitgangspunt van DigiLeen te nemen. Op <a href="http://zoeken.bibliotheek.be" target="_blank">Zoeken.bibliotheek.be</a> hebben we DigiLeen naadloos geïntegreerd (met de <a href="http://zoeken.bibliotheek.be?q=id:*" target="_blank">verfijningen</a> van Aquabrowser wordt DigiLeen opeens een hele andere belevenis!) en we bieden wekelijkse exports en webservices aan aan de lokale bibs om hetzelfde te doen in hun catalogus. Daarin gaan we alvast een stap verder dan in Nederland.</p>
<p><a href="http://www.flickr.com/photos/johanmijs/2899463125/" target="blank"><img src="http://farm4.static.flickr.com/3077/2899463125_cb3365985b_s.jpg" border="0" alt="" /></a> <a href="http://www.flickr.com/photos/johanmijs/2899463481/" target="blank"><img src="http://farm4.static.flickr.com/3045/2899463481_efd6bf237e_s.jpg" border="0" alt="" /></a> <a href="http://www.flickr.com/photos/johanmijs/2900307054/" target="blank"><img src="http://farm4.static.flickr.com/3073/2900307054_5b55b8d851_s.jpg" border="0" alt="" /></a></p>
<p><!--more-->Het oorspronkelijke plan was om DigiLeen officieel te lanceren op 16 oktober. De pers besliste er vandaag door stom toeval anders over. Op 16 oktober volgt nog een infomoment met de lancering van een nieuw (Vlaams) label in DigiLeen. Geniet ondertussen alvast van de andere muziek ...</p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Calibri;"><strong>Pers:</strong></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Calibri;">VTM-nieuws 19u: </span><br />
<a href="http://www.vtm.be/asx/vtmnieuws/index_opgeknipt.php?20080930_194359_3G_MUZIEKBIB.mxf"><span style="font-size:small;font-family:Calibri;">http://www.vtm.be/asx/vtmnieuws/index_opgeknipt.php?<br />
20080930_194359_3G_MUZIEKBIB.mxf</span></a></p>
<p class="MsoNormal" style="margin:0;"><span lang="EN-US"><span style="font-size:small;"><span style="font-family:Calibri;">4FM, QMusic, Radio Nostalgie</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Calibri;">StuBru Volt:<br />
<span lang="EN-US"><a href="http://internetradio.vrt.be/radiospeler/v2_prod/wmp.html?qsbrand=41&#38;qsODfile=/internetradio_master/productiesysteem2/programma_od/41_od_080930_bib.xml"><span lang="NL-BE">http://internetradio.vrt.be/radiospeler/v2_prod/wmp.html?qsbrand=41&#38;qsODfile=/internetradio_master/productiesysteem2/<br />
programma_od/41_od_080930_bib.xml</span></a></span>) </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Calibri;">Donna Stereo Spécial:<br />
<span lang="EN-US"><a href="http://internetradio.vrt.be/radiospeler/v2_prod/wmp.html?qsbrand=51"><span lang="NL-BE">http://internetradio.vrt.be/radiospeler/<br />
v2_prod/wmp.html?qsbrand=51</span></a></span> (klik op net gemist en Stereo Spécial en schuif naar 30:00) </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Calibri;">Radio 2 Middagpost:<br />
<a href="http://internetradio.vrt.be/popups/radio2/radioplayer.html?qsbrand=22&#38;qsODfile=/internetradio_master/productiesysteem2/programma_od/21_22mp30110.xml">http://internetradio.vrt.be/popups/radio2/radioplayer.html?qsbrand=22&#38;<br />
qsODfile=/internetradio_master/productiesysteem2/<br />
programma_od/21_22mp30110.xml</a>)</span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Android = Goldmine For Mobile Marketing &amp; Google ]]></title>
<link>http://digitalassetmanagementorguk.wordpress.com/?p=782</link>
<pubDate>Tue, 30 Sep 2008 07:40:24 +0000</pubDate>
<dc:creator>digitalassetmanagment</dc:creator>
<guid>http://digitalassetmanagementorguk.pt-br.wordpress.com/2008/09/30/android-goldmine-for-mobile-marketing-google/</guid>
<description><![CDATA[
Posted by justin on Sep 29, 2008 in Marketing Strategy,  Mobile Search
With so much speculation sur]]></description>
<content:encoded><![CDATA[<h2><a title="Permanent Link to Android = Goldmine For Mobile Marketing &#38; Google" rel="bookmark" href="http://www.mobilemarketingwatch.com/android-goldmine-for-mobile-marketing-google/" target="_blank"><img class="alignnone" title="http://www.mobilemarketingwatch.com/wp-content/themes/MMW20/images/mmwlogo.gif" src="http://www.mobilemarketingwatch.com/wp-content/themes/MMW20/images/mmwlogo.gif" alt="" width="200" height="91" /></a></h2>
<p class="postinfo">Posted by <a title="Posts by justin" href="http://www.mobilemarketingwatch.com/author/justin/">justin</a> on Sep 29, 2008 in <a title="View all posts in Marketing Strategy" rel="category tag" href="http://www.mobilemarketingwatch.com/category/marketing-strategy/">Marketing Strategy</a>,  <a title="View all posts in Mobile Search" rel="category tag" href="http://www.mobilemarketingwatch.com/category/mobile-search/">Mobile Search</a></p>
<p><img class="alignright size-medium wp-image-1350" src="http://www.mobilemarketingwatch.com/wp-content/uploads/2008/09/android_robot.gif" alt="" width="200" height="137" />With so much speculation surrounding the main reasoning behind the Android platform and its intentions, I think it should be obviously clear.  While some argue its Google’s attempt to tread into the enterprise, and maybe some day it will, its main intention is to dominate the mobile-based advertising market like it did on the desktop.</p>
<p>The Android platform, while being open source and available to any carrier and handset maker, will always have numerous entrance points to Google by way of Google search, Google Apps, GMail, GTalk, etc.  Each entrance point to Google services is yet another opportunity for relevant advertising- the kind Google does so well.</p>
<p>With the future onslaught of developers vying to build the latest and greatest apps for Android, the usage of the platform will increase, as well opportunities for Google to advertise.  Beyond Google, any smart company or brand can use the platform, much like the iPhone, to promote their image using various apps, websites, etc.</p>
<p>Continues @ <a href="http://www.mobilemarketingwatch.com/android-goldmine-for-mobile-marketing-google/" target="_blank">http://www.mobilemarketingwatch.com</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Get ready for the session variable user object!]]></title>
<link>http://aspnetteam.wordpress.com/?p=38</link>
<pubDate>Thu, 25 Sep 2008 22:13:49 +0000</pubDate>
<dc:creator>wmsmith</dc:creator>
<guid>http://aspnetteam.pt-br.wordpress.com/2008/09/25/get-ready-for-the-session-variable-user-object/</guid>
<description><![CDATA[http://msdn.microsoft.com/en-us/library/aa479313.aspx 
Here is an interesting article, &#8220;How t]]></description>
<content:encoded><![CDATA[<p><a href="http://msdn.microsoft.com/en-us/library/aa479313.aspx">http://msdn.microsoft.com/en-us/library/aa479313.aspx</a> </p>
<p>Here is an interesting article, "How to Share Session State Between Classic ASP and ASP.NET"</p>
<p>May be important when we start consuming the web service.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Calling a REST WebService from Java (without libs)]]></title>
<link>http://ghads.wordpress.com/?p=41</link>
<pubDate>Wed, 24 Sep 2008 13:31:00 +0000</pubDate>
<dc:creator>ghads</dc:creator>
<guid>http://ghads.pt-br.wordpress.com/2008/09/24/calling-a-rest-webservice-from-java-without-libs/</guid>
<description><![CDATA[I needed to geocode an address today by using free WebServices. The final solution is to use yahoo, ]]></description>
<content:encoded><![CDATA[<p>I needed to geocode an address today by using free WebServices. The final solution is to use yahoo, but here is the full list of other usefull services:</p>
<ul>
<li>Yahoo: <a title="http://developer.yahoo.com/maps/rest/V1/geocode.html" href="http://developer.yahoo.com/maps/rest/V1/geocode.html" target="_blank">http://developer.yahoo.com/maps/rest/V1/geocode.html</a></li>
<li>Yahoo (without app-id): <a title="http://www.batchgeocode.com/lookup/" href="http://www.batchgeocode.com/lookup/" target="_blank">http://www.batchgeocode.com/lookup/</a></li>
<li>Lookup for ZIP/Place only, but many more free services: <a title="http://www.geonames.org/export/web-services.html" href="http://www.geonames.org/export/web-services.html" target="_blank">http://www.geonames.org/export/web-services.html</a></li>
</ul>
<p>Anyway, still needed to call the WS from Java, but thanks to google I found a solution quickly (<a title="http://xml.nig.ac.jp/tutorial/rest/index.html" href="http://xml.nig.ac.jp/tutorial/rest/index.html" target="_blank">http://xml.nig.ac.jp/tutorial/rest/index.html</a>) and expanded it to my usecase:</p>
<p>[sourcecode language='java']<br />
    private static String buildWebQuery(Map<String, String> parameters) throws Exception {<br />
        StringBuilder sb = new StringBuilder();<br />
        for (Map.Entry<String, String> entry : parameters.entrySet()) {<br />
            String key = URLEncoder.encode(entry.getKey(), "UTF-8");<br />
            String value = URLEncoder.encode(entry.getValue(), "UTF-8");<br />
            sb.append(key).append("=").append(value).append("&");<br />
        }<br />
        return sb.toString().substring(0, sb.length() - 1);<br />
    }</p>
<p>    public static String callRestfulWebService(String address, Map<String, String> parameters) throws Exception {<br />
        return callRestfulWebService(address, parameters, null, 0);<br />
    }</p>
<p>    public static String callRestfulWebService(String address, Map<String, String> parameters, String proxy, String port) throws Exception {<br />
        return callRestfulWebService(address, parameters, proxy, Integer.parseInt(port));<br />
    }</p>
<p>    public static String callRestfulWebService(String address, Map<String, String> parameters, String proxy, int port) throws Exception {</p>
<p>        Proxy proxyObject = null;<br />
        if (StringUtils.isNotBlank(proxy) && port > 0) {<br />
            InetSocketAddress proxyAddress = new InetSocketAddress(proxy, port);<br />
            proxyObject = new Proxy(Proxy.Type.HTTP, proxyAddress);<br />
        }</p>
<p>        String response = "";<br />
        String query = buildWebQuery(parameters);</p>
<p>        // More info: http://xml.nig.ac.jp/tutorial/rest/index.html<br />
        URL url = new URL(address);</p>
<p>        // make post mode connection<br />
        URLConnection urlc = null;<br />
        if (proxyObject == null) {<br />
            urlc = url.openConnection();<br />
        } else {<br />
            urlc = url.openConnection(proxyObject);<br />
        }<br />
        urlc.setDoOutput(true);<br />
        urlc.setAllowUserInteraction(false);</p>
<p>        // send query<br />
        PrintStream ps = new PrintStream(urlc.getOutputStream());<br />
        ps.print(query);<br />
        ps.close();</p>
<p>        // retrieve result<br />
        BufferedReader br = new BufferedReader(new InputStreamReader(urlc.getInputStream(), "UTF-8"));<br />
        StringBuilder sb = new StringBuilder();<br />
        String line;<br />
        while ((line = br.readLine()) != null) {<br />
            sb.append(line);<br />
            sb.append("\n");<br />
        }<br />
        br.close();<br />
        response = sb.toString();</p>
<p>        return response;<br />
    }<br />
[/sourcecode]</p>
<p>With these few methods you can call any REST WebService with any parameters (as Map) and use a proxy per call. The code also takes care of right encoding of parameters. The result is a xml string, which can be processed by regexp in an easy way.</p>
<p>Greetz, GHad</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Virtual DB for Enterprise Mashup]]></title>
<link>http://waimingmok.wordpress.com/?p=319</link>
<pubDate>Wed, 24 Sep 2008 06:07:32 +0000</pubDate>
<dc:creator>waimingmok</dc:creator>
<guid>http://waimingmok.pt-br.wordpress.com/2008/09/23/virtual-db-for-enterprise-mashup/</guid>
<description><![CDATA[Wei Zheng from Informatica gave an interesting talk on the the company&#8217;s plan to do federated ]]></description>
<content:encoded><![CDATA[<p><span style="color:#000000;"><a title="Wei Zheng" href="http://www.linkedin.com/profile?viewProfile=&#38;key=44542&#38;fromSearch=0&#38;sik=1222238295271&#38;split_page=1&#38;rd=in&#38;authToken=SaEH&#38;authType=NAME_SEARCH&#38;goback=%2Esrp_1_1222238295271_in" target="_blank">Wei Zheng</a> from <a title="Informatica" href="http://www.informatica.com/Pages/index.aspx" target="_blank">Informatica</a> gave an interesting talk on the the company's plan to do <a title="Federated database" href="http://en.wikipedia.org/wiki/Federated_database_system" target="_blank">federated database </a>or virtual DB using an abstraction layer for data access.  She indicated that previous attempts at virtual DB failed because people were trying to solve the <a title="business intelligence" href="http://en.wikipedia.org/wiki/Business_intelligence" target="_blank">BI</a> problem, which requires access of multiple <a title="terabytes" href="http://en.wikipedia.org/wiki/Terabyte" target="_blank">TB</a>s of data all at once.  Now Informatica is looking to solve the web service data access problem (e.g. customer service query on customer) on multiple sets of data (e.g. from merger of companies), where results of the query tend to be small.  <a title="Naresh Govindaraj" href="http://www.linkedin.com/profile?viewProfile=&#38;key=6514514&#38;fromSearch=0&#38;sik=1222238295380&#38;split_page=1&#38;rd=in&#38;authToken=wAYy&#38;authType=NAME_SEARCH&#38;goback=%2Esrp_1_1222238295380_in" target="_blank">Naresh Govindaraj </a>then followed with how that the abstration layer could be used for enterprise <a title="Mashup" href="http://en.wikipedia.org/wiki/Mashup_(web_application_hybrid)" target="_blank">mashup</a> and showed examples involving <a title="Google Maps API" href="http://code.google.com/apis/maps/" target="_blank">Google Maps</a>.   Event held by <a title="SDForum Webservices SIG" href="http://sdforum.org/index.cfm?fuseaction=Page.viewPage&#38;pageId=652&#38;parentID=483&#38;nodeID=1" target="_blank">SDForum Web Services SIG</a>.</span></p>
<p>Copyright (c) 2008 by Waiming Mok</p>
<p><span style="color:#000000;"><strong> </strong></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[RESTEasy DZone articles and Beta 8]]></title>
<link>http://billburke.wordpress.com/?p=131</link>
<pubDate>Mon, 22 Sep 2008 17:41:24 +0000</pubDate>
<dc:creator>billburke</dc:creator>
<guid>http://bill.burkecentral.com/2008/09/22/resteasy-dzone-articles-and-beta-8/</guid>
<description><![CDATA[If you&#8217;re wondering why I haven&#8217;t done a signficant blog since June, wonder no more.  I]]></description>
<content:encoded><![CDATA[<p>If you're wondering why I haven't done a signficant blog since June, wonder no more.  Instead of creating content for my blog, I've written a couple of articles for DZone.com:</p>
<ul>
<li><a href="http://java.dzone.com/articles/intro-rest">Introduction to REST</a></li>
<li><a href="http://architects.dzone.com/articles/putting-java-rest">Putting Java to REST</a></li>
</ul>
<p>Also, today I put out RESTEasy 1.0 Beta 8.  I small tiny bug was found by the community which I rolled up quick into a release.  Follow the downloads link at <a href="http://jboss.org/resteasy">http://jboss.org/resteasy</a> to check it out.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Is FriendFeed My Friend?]]></title>
<link>http://socialdelight.wordpress.com/?p=9</link>
<pubDate>Sun, 21 Sep 2008 16:26:33 +0000</pubDate>
<dc:creator>craftydlib</dc:creator>
<guid>http://socialdelight.pt-br.wordpress.com/2008/09/21/is-friendfeed-my-friend/</guid>
<description><![CDATA[I thought I&#8217;d begin this post with a few thoughts on a social networking tool that seems to ha]]></description>
<content:encoded><![CDATA[<p>I thought I'd begin this post with a few thoughts on a social networking tool that seems to have some mixed reviews: <a title="FriendFeed" href="http://friendfeed.com/">FriendFeed.</a> In sum, this is what I would call a social aggregator service or tool. It was unleashed early in 2008 and I started trying to use it soon thereafter. Basically, this tool will check the social services you already use, if you allow it, and aggregate your posts, which you then share with your friends. i.e. Or another way to put it is that FriendFeed is your personal social media RSS feed, of course, with commentary capabilities.  For more details, check out this post on <a title="FriendFeed Explained" href="http://www.cagedether.com/2008/08/04/friendfeed-explained/">FriendFeed Explained</a> with a nice slide share.</p>
<ul>
<li>So how do I like FriendFeed? You can see me on <a title="FriendFeed here" href="http://friendfeed.com/deannabriggs">FriendFeed</a> here. I now have a whopping 4 friends in friendfeed, two of whom I know in real life, two of whom I do not know. Granted, I have not actively tried to find my friends' feeds and get them to use FriendFeed.</li>
<li>I also only set up a few of my own personal feeds into the tool. I think FriendFeed supports the aggregation of activity from 43 tools now. I've only allowed it to aggregate from 3 of mine: <a title="Amazon WishList" href="http://www.amazon.com/gp/registry/wishlist/20SNQ50XK078B" target="_blank">Amazon WishList</a>, <a title="StumbleUpon" href="http://rockskunk.stumbleupon.com/" target="_blank">StumbleUpon</a>, and <a title="Twitter" href="https://twitter.com/craftydlib" target="_blank">Twitter</a>.</li>
<li>Do you really want to know the obscure Sundance award-winning film in my Netflix queue? I don't think so. Or even if that was of interest (which is a scary thought), would you have time to review the minutia in my feed? I tend to want to keep the FriendFeed feed to more of a minimum - less is more.</li>
<li>Have I added enough value to make it worthwhile? Perhaps the best way to use FriendFeed is ensure that your selectivity filter is on, i.e. You don't want to seek out all your Twitter followings, Facebook etc. and start following each person or provide every nuanced move of your entire social life in your own feed to the friends who are devoted enough to follow you.</li>
<li>I really do like the UI - it's simple, clean, and I haven't yet said "wait, how do I do that?"</li>
<li>For me, I definitely see more utility in this tool to a certain extent. I want to follow knowledgeable people who post topics that can inform me about work topics, social networking, and the like.</li>
<li>Today it comes back to this question: <a title="How Many Web Services Can One Person Use?" href="http://bits.blogs.nytimes.com/2008/09/18/how-many-web-services-can-one-person-use/?scp=2&#38;sq=social%20networks&#38;st=cse" target="_blank">How Many Web Services Can One Person Use?</a> I am saturated. FriendFeed is one of many tools I use, but with so many tools, it seems to take more effort to absorb each new one. Selectivity is king.</li>
</ul>
<p>Conclusion: I should selectively seek out some more appropriate feeds to follow (i.e. feeds which share my non-overload philosophy) and share my FriendFeed and see what happens?  I may try to make FriendFeed a little more sticky for my daily life. Is the tool still useful? I'll do all of this, that is when I get time to seek out more feeds!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[REST in WCF ]]></title>
<link>http://info4tech.wordpress.com/?p=110</link>
<pubDate>Sat, 20 Sep 2008 22:51:08 +0000</pubDate>
<dc:creator>Imran Aziz</dc:creator>
<guid>http://info4tech.pt-br.wordpress.com/2008/09/20/rest-in-wcf/</guid>
<description><![CDATA[While reading Joe Stagner&#8217;s blog I came across a very interesting screencast series about usin]]></description>
<content:encoded><![CDATA[<p>While reading <a href="http://www.misfitgeek.com" target="_blank">Joe Stagner's blog </a>I came across a very interesting screencast series about using RESTful services using WCF, after going throw few of them I realized how easy it was to put a RESTful service infront of your existing API, The list of screencasts from <a href="www.robbagby.com" target="_blank">Rob Bagby</a> can be found on his blog or at <a href="http://www.misfitgeek.com/REST+In+WCF+Series.aspx" target="_blank">Joe Stagners blog post</a>.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Behavioral Economics 2.0]]></title>
<link>http://maasmedia.wordpress.com/?p=316</link>
<pubDate>Sat, 20 Sep 2008 12:05:09 +0000</pubDate>
<dc:creator>Tobias</dc:creator>
<guid>http://maasmedia.pt-br.wordpress.com/2008/09/20/behavioral-economics-20/</guid>
<description><![CDATA[Most of you may know amazon.com merely as a company that sells books, CDs, DVDs and pretty much ever]]></description>
<content:encoded><![CDATA[<p>Most of you may know amazon.com merely as a company that sells books, CDs, DVDs and pretty much everything else under the sun. But amazon has also become an important player in the market for web services, selling its vast expertise in massively distributed web and database hosting. One of these webservices, <a href="http://www.mturk.com/mturk/welcome">Mechanical Turk</a>, however, is a bit different. Mechanical Turk can be used to find real people to perform tasks that are cognitively very simple, often even mindless, but have so far resisted attempts to solve them via artificial intelligence. This includes choosing between alternative photographs, tagging photos with keywords, text recognition and similar things. Amazon has cleverly called it artificial artificial intelligence. Anyone can submit such tasks to Mechanical Turk for a small fee and anyone can in turn sign up with Mechanical Turk and get paid a few pennies per solved task.</p>
<p>Instead of its original purpose, <a href="http://joshua.schachter.org/2008/09/amateur-economist.html">Joshua Schachter</a> is instead using Mechanical Turk as a platform to conduct behavioral economic experiments, paying only a fraction of what such experiments usually cost and waiting only hours instead of weeks to get results back.</p>
<p>He only uses the system to reveal utility functions, but I'm sure it could be coaxed into conducting much more interesting experiments. And all without the biases that you get from using economics and business students who have usually been drilled in game theory before they take part in these experiments and tend to act more selfish than members of the general population.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Yubikeys]]></title>
<link>http://waimingmok.wordpress.com/?p=209</link>
<pubDate>Sat, 20 Sep 2008 05:49:59 +0000</pubDate>
<dc:creator>waimingmok</dc:creator>
<guid>http://waimingmok.pt-br.wordpress.com/2008/09/19/yubikeys/</guid>
<description><![CDATA[ Yubikey is a new way to provide security and authentication for web 2.0 deployment.  It consists ]]></description>
<content:encoded><![CDATA[<div class="mceTemp"><a href="http://community.stratadirect.com/products/yubikey/"><img class="alignright size-full wp-image-217" title="yubikey and keys" src="http://waimingmok.wordpress.com/files/2008/09/yubikey_keys1.jpg" alt="" width="146" height="125" /></a> <a href="http://community.stratadirect.com/products/yubikey/"><img class="alignleft size-full wp-image-216" title="yubikey" src="http://waimingmok.wordpress.com/files/2008/09/yubikey_start.jpg" alt="" width="79" height="48" /></a>Yubikey is a new way to provide security and authentication for web 2.0 deployment.  It consists of a USB device with a single button, which when pushed, generates a unique identity and a different pass code that is effective for one second.  The authentication is done on a server over the internet.  The <a title="Yubikey webservices API" href="http://community.stratadirect.com/developers/api/" target="_blank">API</a> is open so any web services developer can quickly incorporate the authentication capability into the service.</div>
<p>What a neat way to combine a physical key, server based computing, and web services.</p>
<p>The company, <a title="Yubico" href="http://community.stratadirect.com/home/" target="_blank">Yubico</a>, that invented it is based in Stockholm.</p>
<p>Copyright (c) 2008 by Waiming Mo</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[RESTEasy 1.0-beta-7: quick bug fixes]]></title>
<link>http://billburke.wordpress.com/?p=126</link>
<pubDate>Tue, 16 Sep 2008 18:15:09 +0000</pubDate>
<dc:creator>billburke</dc:creator>
<guid>http://bill.burkecentral.com/2008/09/16/resteasy-10-beta-7-quick-bug-fixes/</guid>
<description><![CDATA[A quick release from our beta-6 to fix a few quick bugs that users found.  See our main project pag]]></description>
<content:encoded><![CDATA[<p>A quick release from our beta-6 to fix a few quick bugs that users found.  See our main project page at:</p>
<p><a href="http://jboss.org/resteasy">http://jboss.org/resteasy</a></p>
<p>to download and browse docs.  Have fun.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Using Web Services: How to Consume]]></title>
<link>http://aspnetteam.wordpress.com/?p=34</link>
<pubDate>Tue, 16 Sep 2008 17:54:21 +0000</pubDate>
<dc:creator>fadams327</dc:creator>
<guid>http://aspnetteam.pt-br.wordpress.com/2008/09/16/using-web-services-how-to-consume/</guid>
<description><![CDATA[Consuming a web service is easier that creating one. All you have to do is create a reference and th]]></description>
<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">Consuming a web service is easier that creating one. All you have to do is create a reference and then add a couple of lines of code and you have the web service to use in your application. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">The way to add a web reference to your web service is to first figure out where the web service resides.<span>  </span>It can be a full web address or it can be a local folder.<span>  </span>Once you figure that out you need to create a reference to it. To do this:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">Right click on the project and select add web reference. When you do this you are presented with a box - Add Web Reference. From here you will choose the correct link under Browse to: and select the web service you will use.<span>  </span>I chose local machine since I am working within an Intranet.<span>  </span>The service URL shows up. I just have to click it and the URL at the top auto fills with the URL of the web service. Then you choose add reference under the right window to add the reference to your application.<span>  </span>Visual Studio will ask you if you want to put it in its own folder or not. I like to keep my things separate so I choose to keep them separate.<span>  </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">Once you do that, all you have to do is add one of code to start using it in your application:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:blue;">Protected</span><span style="font-size:12pt;"> <span style="color:blue;">Sub</span> Page_Load(<span style="color:blue;">ByVal</span> sender <span style="color:blue;">As</span> <span style="color:blue;">Object</span>, <span style="color:blue;">ByVal</span> e <span style="color:blue;">As</span> System.EventArgs) <span style="color:blue;">Handles</span> <span style="color:blue;">Me</span>.Load</span><span style="font-size:12pt;"></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:blue;">Dim</span><span style="font-size:12pt;"> wcConvert <span style="color:blue;">As</span> <span style="color:blue;">New</span> foldername.Servicename()</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">When you create the web service it will be in a folder called App_WebReferences. Under that will be the folder name mentioned above. Under the folder is the service file. So you want to reference it by foldername.servicename().<span>  </span>That is it! You can start using it now. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">What I did was convert it to a DataView so I could extract the data out of the dataset I needed. In order to do this, it woul dbe best to convert the dataset (web service) to a dataview. You have more options with a dataview.<span>  </span>I found out through trial and error that you cannot set up a dataview as a web service.<span>  </span>It is not a recognized XML format apparently. <span> </span>So to convert you need to add this to your code: </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:blue;">Imports</span><span style="font-size:12pt;"> System.Data</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:blue;">Imports</span><span style="font-size:12pt;"> System.Data.DataView</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:blue;">Dim</span><span style="font-size:12pt;"> dv <span style="color:blue;">As</span> <span style="color:blue;">New</span> DataView</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;">dv = wcConvert.functionname().Tables(0).DefaultView</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">With the dataview you can now sort (dv.sort) and select distinct values </span><span style="font-size:12pt;"><span style="font-family:Times New Roman;">DDLcontrolname.DataSource = dv.ToTable(<span style="color:blue;">True</span>, <span style="color:#a31515;">"columnName"</span>).</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">With all the above in place you can now use the DataSource to bind to a control.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;">DDLcontrolname.DataTextField = <span style="color:#a31515;">"Name"</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;">DDLcontrolname.DataValueField = <span style="color:#a31515;">"Name"</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;">DDLcontrolname.DataBind()</span></span><span style="font-size:12pt;"><span style="font-family:Times New Roman;"> </span></span></p>
<p><span style="font-size:12pt;font-family:Arial;">That is all there is to it. Now I have to figure out how to implament caching so not to hit the web service every page refresh. Until next time, always remember, with great power comes great responsibility.</span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[SOAP Message Using Sockets]]></title>
<link>http://ashwinrayaprolu.wordpress.com/?p=35</link>
<pubDate>Mon, 15 Sep 2008 18:48:02 +0000</pubDate>
<dc:creator>ashwinrayaprolu</dc:creator>
<guid>http://ashwinrayaprolu.pt-br.wordpress.com/2008/09/15/soap-message-using-sockets/</guid>
<description><![CDATA[Recently i had to call a webservice for creation of a demo. And i had no time to learn any packages ]]></description>
<content:encoded><![CDATA[<p>Recently i had to call a webservice for creation of a demo. And i had no time to learn any packages which create SOAP envelope's. The only thing i know is plan old java. Then i thought why not use sockets for sending messages. Here is a sample Program which sends soap messages and gets response using sockets in Java</p>
<pre>/*
 * To change this template, choose Tools &#124; Templates
 * and open the template in the editor.
 */
package com;

import java.net.*;
import java.io.*;
/**
 *
 * @author Ashwin
 */
public class PostXml {

    public static void main(String[] args) {

        try {
            String xmldata = "&#60;?xml version=\"1.0\" encoding=\"UTF-8\"?&#62;&#60;soapenv:Envelope xsi:schemaLocation=\"http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi = \"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd = \"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv = \"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:tab = \"http://j2ee.netbeans.org/xsd/tableSchema\" &#62; &#60;soapenv:Body&#62;&#60;tab:PURCHASE_ORDER&#62; &#60;tab:PURCHASE_ORDER_Record&#62;&#60;tab:CUSTOMER_ID&#62;1&#60;/tab:CUSTOMER_ID&#62;&#60;tab:ORDER_NUM&#62;14&#60;/tab:ORDER_NUM&#62;&#60;tab:QUANTITY&#62;1&#60;/tab:QUANTITY&#62;&#60;tab:SHIPPING_DATE&#62;2006-07-28&#60;/tab:SHIPPING_DATE&#62;&#60;tab:FREIGHT_COMPANY&#62;PRimeSOft&#60;/tab:FREIGHT_COMPANY&#62;&#60;tab:SALES_DATE&#62;2006-07-26&#60;/tab:SALES_DATE&#62;&#60;tab:SHIPPING_COST&#62;901&#60;/tab:SHIPPING_COST&#62;&#60;tab:PRODUCT_ID&#62;980001&#60;/tab:PRODUCT_ID&#62;&#60;/tab:PURCHASE_ORDER_Record&#62;&#60;/tab:PURCHASE_ORDER&#62;&#60;/soapenv:Body&#62;&#60;/soapenv:Envelope&#62;";

            //http://localhost:11080/PlaceOrderService/PlaceOrderPort
            //Create socket
            String hostname = "localhost";
            int port = 11080;
            InetAddress addr = InetAddress.getByName(hostname);
            Socket sock = new Socket(addr, port);

            //Send header
            String path = "/PlaceOrderService/PlaceOrderPort";
            BufferedWriter wr = new BufferedWriter(new OutputStreamWriter(sock.getOutputStream(), "UTF-8"));
            // You can use "UTF8" for compatibility with the Microsoft virtual machine.
            wr.write("POST " + path + " HTTP/1.0\r\n");
            wr.write("Host: localhost\r\n");
            wr.write("Content-Length: " + xmldata.length() + "\r\n");
            wr.write("Content-Type: text/xml; charset=\"utf-8\"\r\n");
            wr.write("\r\n");

            //Send data
            wr.write(xmldata);
            wr.flush();

            // Response
            BufferedReader rd = new BufferedReader(new InputStreamReader(sock.getInputStream()));
            String line;
            while ((line = rd.readLine()) != null) {
                System.out.println("Response :"+line);
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}</pre>
<p>:- More to Continue On Webservices</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Using Web Services: How to Create]]></title>
<link>http://aspnetteam.wordpress.com/?p=25</link>
<pubDate>Thu, 11 Sep 2008 18:25:41 +0000</pubDate>
<dc:creator>fadams327</dc:creator>
<guid>http://aspnetteam.pt-br.wordpress.com/2008/09/11/using-web-services-how-to-create/</guid>
<description><![CDATA[This post will go into how to create a web service using VS. 
 
The first thing that needs to be do]]></description>
<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">This post will go into how to create a web service using VS. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"><span> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">The first thing that needs to be done is create a web site and choose ASP.NET Web Service from the Template window.<span>  </span>If you are thinking about using the web service as it is intended for, reusability, then you will want to place it in a directory folder that will be accessible to all application that can use it on the intranet (although you can reference a web service by using a web address, we will not go into that). An example of a folder would be ‘WebServices’. This folder would hold all web service created. We will name this web service ‘getAllStationInfo’.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">Once you have your web site started you will see that the default page opens up and is ready for coding.<span>  </span>It has already imported the namespaces needed at the top and has a public class named Service.<span>  </span>We will be adding more namespaces to ours because of the nature of the service – database query.<span>  </span>It will look like the below: </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:#0000ff;">Imports</span><span style="font-size:12pt;"> System.Web</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:#0000ff;">Imports</span><span style="font-size:12pt;"> System.Web.Services</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:#0000ff;">Imports</span><span style="font-size:12pt;"> System.Web.Services.Protocols</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:#0000ff;">Imports</span><span style="font-size:12pt;"> System.Data.SqlClient</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:#0000ff;">Imports</span><span style="font-size:12pt;"> System.Data</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">It also has its first function called HelloWorld() for editing. All we are going to do this time is create a web method that can be consumed. Here is what it looks like at first:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;">&#60;WebMethod()&#62; _</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>    </span><span style="color:#0000ff;">Public</span> <span style="color:#0000ff;">Function</span> HelloWorld() <span style="color:#0000ff;">As</span> <span style="color:#0000ff;">String</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span><span style="color:#0000ff;">Return</span> <span style="color:#a31515;">"Hello World"</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;"><span>    </span><span style="color:#0000ff;">End</span> <span style="color:#0000ff;">Function</span></span><span style="font-size:12pt;"> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">This is what a finished one looks like:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><a name="OLE_LINK2"></a><a name="OLE_LINK1"><span><span style="font-size:12pt;"><span style="font-family:Times New Roman;">&#60;WebMethod()&#62; _</span></span></span></a> </p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>    </span><span style="color:#0000ff;">Public</span> <span style="color:#0000ff;">Function</span> getAllStationInfo() <span style="color:#0000ff;">As</span> DataSet</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span><span style="color:#0000ff;">Dim</span> conn <span style="color:#0000ff;">As</span> <span style="color:#0000ff;">New</span> SqlConnection(ConfigurationManager.ConnectionStrings(<span style="color:#a31515;">"DatabaseNameHere"</span>).ConnectionString)</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span>conn.Open()</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span><span style="color:#0000ff;">Dim</span> adapter <span style="color:#0000ff;">As</span> <span style="color:#0000ff;">New</span> SqlDataAdapter(<span style="color:#a31515;">"Select statement"</span>, conn)</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span><span style="color:#0000ff;">Dim</span> ds <span style="color:#0000ff;">As</span> <span style="color:#0000ff;">New</span> DataSet()</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span>adapter.Fill(ds, <span style="color:#a31515;">"name of function here"</span>)</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span>conn.Close()</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>        </span><span style="color:#0000ff;">Return</span> ds</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;"><span>    </span><span style="color:#0000ff;">End</span> <span style="color:#0000ff;">Function</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0000ff;"><span style="font-family:Times New Roman;"> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">You will notice that the SqlConnection is referencing a named connection string:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:#0000ff;">Dim</span><span style="font-size:12pt;"> conn <span style="color:#0000ff;">As</span> <span style="color:#0000ff;">New</span> SqlConnection(ConfigurationManager.ConnectionStrings(<span style="color:#a31515;">"DatabaseNameHere"</span>).ConnectionString)</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">This is referencing code from the web.config file.<span>  </span>The connection string there looks like so:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:#0000ff;">……&#60;</span><span style="font-size:12pt;color:#a31515;">configuration</span><span style="font-size:12pt;color:#0000ff;">&#62;</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:#0000ff;"><span>            </span>&#60;</span><span style="font-size:12pt;color:#a31515;">appSettings</span><span style="font-size:12pt;color:#0000ff;">/&#62;</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:#0000ff;"><span>            </span>&#60;</span><span style="font-size:12pt;color:#a31515;">connectionStrings</span><span style="font-size:12pt;color:#0000ff;">&#62;</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:#0000ff;"><span>                        </span>&#60;</span><span style="font-size:12pt;color:#a31515;">add</span><span style="font-size:12pt;color:#0000ff;"> </span><span style="font-size:12pt;color:#ff0000;">name</span><span style="font-size:12pt;color:#0000ff;">=</span><span style="font-size:12pt;">"<span style="color:#0000ff;">databaseName</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">connectionString</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">server=Servername'; Database=databaseName; uid=; pwd=;</span>"<span style="color:#0000ff;"> </span><span style="color:#ff0000;">providerName</span><span style="color:#0000ff;">=</span>"<span style="color:#0000ff;">System.Data.SqlClient</span>"<span style="color:#0000ff;">/&#62;</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:#0000ff;"><span>            </span>&#60;/</span><span style="font-size:12pt;color:#a31515;">connectionStrings</span><span style="font-size:12pt;color:#0000ff;">&#62;</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:#0000ff;"><span>            </span>&#60;</span><span style="font-size:12pt;color:#a31515;">system.web</span><span style="font-size:12pt;color:#0000ff;">&#62;……</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;color:#0000ff;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">Now to get back to the web service. You will notice that right before the function there is a line: </span><span style="font-family:Times New Roman;"><span style="font-size:12pt;">&#60;WebMethod()&#62; _</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">This attribute enables the web service method to communicate with we appications located at local or remote locations. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">Something I failed to mention previously is that there is a web service attribute that can be set. The syntax is like so: </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Times New Roman;">&#60;WebService(Namespace:=<span style="color:#a31515;">"http://servername"</span>)&#62; _</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">This will provide additional information about the webservices, such as information about the functionality of the web service itself. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">All we are doing in this web service is creating a dataset to be consumed by anyone who wants to use it. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;">To test the web service, all you have to do is right click on the service.asmx file and view in browser. If it works you will see the function name that you can click and then the next page allows you to invoke the function. The reuslt of clicking on invoke is a new page filled with XML data. If you see this, you have accomplished creatign a web service. <span> </span>You can create a web service to do anything you want it to do.<span>  </span>Just keep in mind that the key is reusablity. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;font-family:Arial;"> </span></p>
<p><span style="font-size:12pt;font-family:Arial;">In the next post, we will look at how to actually consume a web service in an appication and how to display the results of a web service.</span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[RESTEasy 1.0-Beta-6 Released!]]></title>
<link>http://billburke.wordpress.com/?p=123</link>
<pubDate>Wed, 10 Sep 2008 14:47:26 +0000</pubDate>
<dc:creator>billburke</dc:creator>
<guid>http://bill.burkecentral.com/2008/09/10/resteasy-10-beta-6-released/</guid>
<description><![CDATA[A lot of changes in this release.  The specification is basically done and going final any day now.]]></description>
<content:encoded><![CDATA[<p>A lot of changes in this release.  The <a href="https://jsr311.dev.java.net/">specification</a> is basically done and going final any day now.  The spec lead just needs to finish the TCK and it will go to a vote with the JCP EC and become final.  We are up to date with the specification.  We have a lot more providers in this release.  YAML, JSON, to name a few.  The distribution now contains docbook generated documentation and a bunch of example apps so you can see RESTEasy in action.  I want to especially thank:</p>
<ul>
<li>Ryan McDonnough, for his hard work on writing the JAXB+XML,  JAXB+JSON, and Multipart providers.</li>
<li>Olivier Brand, for his Spring/Hibernate/RESTEasy example application</li>
<li>Martin Algesten, for all his bug fixing, patching, and the YAML provider</li>
</ul>
<p>One final thing,  The main project page has moved off of JBoss WIKI to jboss.org:</p>
<p><a href="http://jboss.org/resteasy">http://jboss.org/resteasy</a></p>
<p>Have fun. The next release will be focusing on innovations, specifically:  Asynchronous JAX-RS, JAX-RS Messaging, Asynchronous HTTP, and HTTP Caching.</p>
]]></content:encoded>
</item>

</channel>
</rss>
