<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>C#, VS Deployment and all geek talk : Web Services</title><link>http://msmvps.com/blogs/vipul/archive/tags/Web+Services/default.aspx</link><description>Tags: Web Services</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Is my webservice really a webservice </title><link>http://msmvps.com/blogs/vipul/archive/2006/01/27/Is-my-webservice-a-webservice.aspx</link><pubDate>Sat, 28 Jan 2006 00:22:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:81961</guid><dc:creator>Vipul Patel</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/vipul/rsscomments.aspx?PostID=81961</wfw:commentRss><comments>http://msmvps.com/blogs/vipul/archive/2006/01/27/Is-my-webservice-a-webservice.aspx#comments</comments><description>&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;How to tell if your webservice is really a webservice which will interact seamlessly with external entities?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Well, keep the following in mind&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;1.&amp;nbsp;Uses WSDL.&lt;/STRONG&gt;&amp;nbsp; A Web Service should expose its service contract using WSDL.&amp;nbsp; If it can’t give you a WSDL document, it’s probably just XML over HTTP…&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;2.&amp;nbsp;Uses SOAP.&lt;/STRONG&gt;&amp;nbsp; All messages sent from and received by the Web Service must use SOAP formatting.&amp;nbsp; If it’s not using SOAP it’s probably just XML over HTTP…&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;3.&amp;nbsp;Uses XSD.&lt;/STRONG&gt;&amp;nbsp; All data types in the SOAP payload must be XSD compliant.&amp;nbsp; No platform native types are allowed.&amp;nbsp; If it’s not using XSD it’s probably just XML over HTTP…&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;4.&amp;nbsp;Uses XML.&lt;/STRONG&gt;&amp;nbsp; The underlying messages should of course be formatted using XML.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;5.&amp;nbsp;No Arbitrary Binary Data.&lt;/STRONG&gt;&amp;nbsp; The message payload should 7 bit ASCII and should contain no embedded binary blobs.&amp;nbsp; Any binary data passed over a Web Service should be&amp;nbsp;sent using either SwA, DIME or MTOM (preferably MTOM).&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;6.&amp;nbsp;Transport is likely to be HTTP.&lt;/STRONG&gt;&amp;nbsp; Although not a requirement, the majority of Web Services today use HTTP as the transport.&amp;nbsp; Compliant Web Services should definitely work over HTTP.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;7.&amp;nbsp;Discovery can be through UDDI.&lt;/STRONG&gt;&amp;nbsp; Again although not a requirement, it should be possible to host the Web Service endpoint using UDDI.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;8.&amp;nbsp;Agreed Versions of Specifications.&lt;/STRONG&gt;&amp;nbsp; The versions of the above specifications (WSDL, SOAP, XSD, XML, HTTP, UDDI) should be in line with the latest version of the&amp;nbsp;WS-I Basic Profile (&lt;A href="http://www.ws-i.org/"&gt;&lt;FONT color=#355ea0&gt;http://www.ws-i.org&lt;/FONT&gt;&lt;/A&gt;)&amp;nbsp;– to ensure Web Service compliance between vendors.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;9.&amp;nbsp;Operations should be Document Style.&lt;/STRONG&gt;&amp;nbsp; Operations to/from a Web Service should be Document/Message Style (e.g. &lt;FONT face="Courier New"&gt;SendOrder(order o)&lt;/FONT&gt;).&amp;nbsp; RPC style should be avoided (e.g. &lt;FONT face="Courier New"&gt;SetOrderLine1(orderId id)&lt;/FONT&gt;).&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;10.&amp;nbsp;Should be compliant with WS-*.&lt;/STRONG&gt;&amp;nbsp; Compliant Web Services should be able to accept WS-* payloads and extensions for Security, Reliability and Transactions (although not all stacks today support these yet).&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;Source: &lt;A href="http://blogs.msdn.com/smguest/archive/2006/01/26/518020.aspx"&gt;http://blogs.msdn.com/smguest/archive/2006/01/26/518020.aspx&lt;/A&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=81961" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/vipul/archive/tags/Web+Services/default.aspx">Web Services</category></item></channel></rss>