Re: What are web services ?
On Tue, 31 May 2005, Razvan MIHAIU wrote: > Paul Downey wrote: > > > > > On 29 May 2005, at 17:42, Razvan MIHAIU wrote: > > > >>> > >>> > >>> Were can I find a good definition of this ? > >> > > > > > > my definition is it's a service made available using Web based > > technologies targeted at computer, as opposed to human, agents. > > > It seems that you are right (according to W3C): > > "The World Wide Web is more and more used for application to application > communication. The programmatic interfaces made available are referred > to as Web services." > > ... "applications to application". What this definition implies is that > the term is very generic. Everything can be a web service: > > 1. a cgi > 2. an ejb > 3. a php/perl script > > etc... > > the only restriction is that the above entity must communicate with a > computer and not a human. > > However there must be other restrictions for web services. After > reading the other definitions I came up with the following list: > > 1. interoperable between OSes (a message written on one OS should be > easily readable on another); this seems to imply the use of XML; what > other technology can achieve this ? Look at ASN.1. It has been around since 1984 for interoperablity regardless of OS, machine architecture or programming language. And by the way, it also now has XML as one of its encoding rules. > 2. it must be an open standard (issued by Oasis or W3C); this > restriction should rule out any "cgi, ejb, perl/php script" as a web > service; you could have a cgi acting as a web service but only if it > works according to a certain open protocol (this leads us to the next > restriction) ASN.1 is an ISO/IEC International Standard and an ITU-T Recommendation. You can download the specifications free from the ITU-T website. > 3. it must have an open interface (e.g. it must work according to a > certain protocol); as I read in another reply there are at least 3 > protocols to match this criteria: SOAP, REST, XML-RPC You might want to take a look at ITU-T Rec. X.892 (Fast Web Services). Paul > > Any other restrictions ? > > > Some attempts at definitions: > > > > http://www.w3.org/2002/ws/ > > http://en.wikipedia.org/wiki/Web_services > > http://ws-i.org/about/Default.aspx > > http://msdn.microsoft.com/webservices/ > > Google until your blue in the face .. > > > > > >>> A web service must be based on SOAP in order to belong in this > >>> category ? A web service must use XML for transferring data (like > >>> SOAP) ? > >> > > > > Web services are synonymous with SOAP, WSDL and UDDI in many > > peoples' eyes, though they've taken so long to arrive > > that the marketeers are busy re-branding it 'SOA', I > > guess SOAP is now Service Oriented Architecture Protocol :-) > > > > > >>> Can we have web services without WSDL and UDDI ? > >> > > > > Sure, why ever not? It's the service that's important, not > > how you elect to describe, catalogue or sell them. > > Doesn't a web service imply the fact that it can be found in a > standard way ? Or this is just an add-on to the web service definition > that may or may not be fulfilled. > > The truth is I have yet to see a programmer that answers this > question with a big smile. Why is the question difficult ? Perhaps > because behind web services there are so many technologies or perhaps > because the term has not finished evolving yet. > > -- > Regards, > Razvan > > SCJP preparation material: > > www.mihaiu.name/2004/sun_java_scjp_310_035/index.html > www.mihaiu.name/2004/sun_java_scjp_310_035_test1/index.html > www.mihaiu.name/2004/sun_java_scjp_310_035_test2/index.html > www.mihaiu.name/2004/sun_java_scjp_310_035_test3/index.html > www.mihaiu.name/2004/sun_java_scjp_310_035_test4/index.html > > > ----------------------------------------------------------------- > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > initiative of OASIS <http://www.oasis-open.org> > > The list archives are at http://lists.xml.org/archives/xml-dev/ > > To subscribe or unsubscribe from this list use the subscription > manager: <http://www.oasis-open.org/mlmanage/index.php> > >
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format