Saturday, February 25, 2012

Web services


Web Services refers to the technologies that allow for making connections. Services are what you connect together using Web Services. A service is the endpoint of a connection. Also, a service has some type of underlying computer system that supports the connection offered. The combination of services - internal and external to an organization - make up a service-oriented architecture.

Service-oriented architecture (SOA) definition
A service-oriented architecture is essentially a collection of services. These services communicate with each other. The communication can involve either simple data passing or it could involve two or more services coordinating some activity. Some means of connecting services to each other is needed.

Service-oriented architectures are not a new thing. The first service-oriented architecture for many people in the past was with the use DCOM or Object Request Brokers (ORBs) based on the CORBA specification. 

Services
If a service-oriented architecture is to be effective, we need a clear understanding of the term service. A service is a function that is well-defined, self-contained, and does not depend on the context or state of other services. 

Connections
The technology of Web services is the most likely connection technology of service-oriented architectures. Web services essentially use XML to create a robust connection.

The following figure illustrates a basic service-oriented architecture. It shows a service consumer at the right sending a service request message to a service provider at the left. The service provider returns a response message to the service consumer. The request and subsequent response connections are defined in some way that is understandable to both the service consumer and service provider. How those connections are defined is explained in Web Services explained. A service provider can also be a service consumer.

Web Services Description Language (WSDL) 
Web Services Description Language (WSDL) is a format for describing a Web Services interface. It is a way to describe services and how they should be bound to specific network addresses. WSDL has three parts: 

  • Definitions 
  • Operations 
  • Service bindings 

Definitions are generally expressed in XML and include both data type definitions and message definitions that use the data type definitions. These definitions are usually based upon some agreed upon XML vocabulary. This agreement could be within an organization or between organizations. Vocabularies within an organization could be designed specifically for that organization. They may or may not be based on some industry-wide vocabulary. If data type and message definitions need to be used between organizations, then most likely an industry-wide vocabulary will be used. 

XML, however, is not necessary required for definitions. The OMG Interface Definition Language (IDL), for example, could be used instead of XML. If a different definitional format were used, senders and receivers would need to agree on the format as well as the vocabulary. Nevertheless, over time, XML-based vocabularies and messages are likely to dominate. XML Namespaces (new window) are used to ensure uniqueness of the XML element names in the definitions, operations, and service bindings. 

Operations describe actions for the messages supported by a Web service. There are four types of operations: 

§ One-way: Messages sent without a reply required 
§ Request/response: The sender sends a message and the received sends a reply. 
§ Solicit response: A request for a response. (The specific definition for this action is pending.) 
§ Notification: Messages sent to multiple receivers. (The specific definition for this action is pending.) 

Operations are grouped into port types. Port types define a set of operations supported by the Web service. 

Service bindings connect port types to a port. A port is defined by associating a network address with a port type. A collection of ports defines a service. This binding is commonly created using SOAP (new window), but other forms may be used. These other forms could include CORBA Internet Inter-ORB Protocol (IIOP), DCOM, .NET, Java Message Service (JMS), or WebSphere MQ to name a few. 

Web Services explained 
First, defining Web Services using Web Services Description Language (WSDL) will be reviewed. That will be followed by SOAP, which provides means of sending messages. 

Using the Web Services Description Language (WSDL)

The Web Services Description Language (WSDL) forms the basis for Web Services. The following figure illustrates the use of WSDL. At the left is a service provider. At the right is a service consumer. The steps involved in providing and consuming a service are: 
A service provider describes its service using WSDL. This definition is published to a directory of services. The directory could use Universal Description, Discovery, and Integration (UDDI). Other forms of directories can also be used. 
A service consumer issues one or more queries to the directory to locate a service and determine how to communicate with that service. 
Part of the WSDL provided by the service provider is passed to the service consumer. This tells the service consumer what the requests and responses are for the service provider. 
The service consumer uses the WSDL to send a request to the service provider. 
The service provider provides the expected response to the service consumer. 


Using Universal Description, Discovery, and Integration (UDDI) 

The directory shown in the above figure could be a UDDI registry. The UDDI registry is intended to eventually serve as a means of "discovering" Web Services described using WSDL . The idea is that the UDDI registry can be searched in various ways to obtain contact information and the Web Services available for various organizations. How much "discovery" will be used in the early days of Web Services is open to discussion. Nevertheless, even without the discovery portion, the UDDI registry is a way to keep up-to-date on the Web Services your organization currently uses. More on Universal Description, Discovery, and Integration (new window). An alternative to UDDI is the ebXML Registry (new window).



Using SOAP 

All the messages shown in the above figure are sent using SOAP. (SOAP at one time stood for Simple Object Access Protocol. Now, the letters in the acronym have no particular meaning .) SOAP essentially provides the envelope for sending the Web Services messages. SOAP generally uses HTTP , but other means of connection may be used. HTTP is the familiar connection we all use for the Internet. In fact, it is the pervasiveness of HTTP connections that will help drive the adoption of Web Services. More on SOAP and Messaging (new window)

The next figure provides more detail on the messages sent using Web Services. At the left of the figure is a fragment of the WSDL sent to the directory. It shows a CustomerInfoRequest that requires the customer's account to object information. Also shown is the CustomerInfoResponse that provides a series of items on customer including name, phone, and address items. 


At the right of this figure is a fragment of the WSDL being sent to the service consumer. This is the same fragment sent to the directory by the service provider. The service consumer uses this WSDL to create the service request shown above the arrow connecting the service consumer to the service provider. Upon receiving the request, the service provider returns a message using the format described in the original WSDL. That message appears at the bottom of the figure.

Using XML with WSDL 

WSDL uses XML to define messages. XML has a tagged message format. This is shown in the above figure. The tag <city> has the value of Burnsville. And </city> is the ending tag indicating the end of the value of city. Both the service provider and service consumer use these tags. In fact, the service provider could send the data shown at the bottom of this figure in any order. The service consumer uses the tags and not the order of the data to get the data values. More on the use of XML tags and a comparison of XML to using fixed record formats can be found in chapter 3 of Web Services and Service-Oriented Architectures: The Savvy Manager's Guide. Also see XML processing (new window) for an overview of the XML processing in a service. 
Simplified Web Services notation 

For other figures on this site, a simplified notation will be used for Web Services. This is shown below. In the simplified notation, the directory is implicit in the wide rectangle labeled "Web Services" at the top of this figure. You could think of Web Services much like the bus in a PC in which you plug various circuit boards. Other middleware solutions appear similar and use the same "bus" concept. See Prior Service-Oriented Architecture specifications (new window)

Another important concept in service-oriented architectures is that any service provider could also be a service consumer. This is why the figure below shows only services at the bottom of the figure under the Web Services bus rather than a "service provider" and a "service consumer". 


SOAP provides the envelope for sending Web Services messages over the Internet/Internet. It is part of the set of standards specified by the W3C. Those standards are an alternative to the principles of Representational State Transfer (REST) (new window).




The SOAP envelope contains two parts: 
  1. An optional header providing information on authentication, encoding of data, or how a recipient of a SOAP message should process the message. 
  2. The body that contains the message. These messages can be defined using the WSDL specification. 

SOAP commonly uses HTTP, but other protocols such as Simple Mail Transfer Protocol (SMTP) may byused. SOAP can be used to exchange complete documents or to call a remote procedure. 

NOTE: SOAP at one time stood for Simple Object Access Protocol. Starting with SOAP Version 1.2, the letters in the acronym have no particular meaning 

Thursday, February 9, 2012

Best grading of HTC Desire ROMs


htcDesire
*Flash your device at your own risk*
'
(02/06/2012) [SSRunnymede AIO V6.0.1 (2.3.5)(S3.5)
'
(02/05/2012) [SSAlex GB Sense HD V1.8 (2.3.3)
'
(02/06/2011) [SSBlissMod007 v05 (2.3.5)(S3.5)
'
(02/04/2012) [SSBCM b0.3.5_1 (4.0.3)(CM9)
'
(02/04/2012) [SSMIUI_Au v4 2.2.3 (4.0.3)
'
(02/04/2012) [SSAceSMod007-3D v26 (2.3.5)(S3)
'
(02/04/2012) [SSMIUI XJ 2.2.3 (2.3.7)
'
(02/03/2012) [SSICS for Desire BETA 0.3.9 (4.0.3)
'
(02/03/2011) [SSMIUI.us 2.2.3 (2.3.7
'
(02/01/2012) [SSAN-Droid 2.1.0 (3.14)
'
(01/28/2012) [SSdGB v01_28_2012 (2.3.5)
'
(01/24/2012) [SSMildWild V-2.9.5 (2.3.7))
'
(02/03/2012) [SSRSK TEAM v4.0.2
'
(01/12/2012) [SSWP7.0.4 (2.3.7)
'
(01/01/2012) [SSAurora v5 (2.3.5)(S3)
'
(12/31/2011) [SSRunnymede&Bliss.Mix.V1.0
'
(12/31/2011) [SSCool3D RunnyMede v6 (2.3.5)(S3.5)
'
(12/29/2011) [SSAceSMod007 v42 (2.3.3)(S2.1+3)
'
(12/28/2011) [SSSGBS v2.9.1 (2.3.3 S2.1)
'
(12/23/2011) [SSRevolutioN v3.0 (2.1+3.0)
'
(12/18/2011) [SSUnofficial BravoS v10 (S2.1)
'
(12/18/2011) [SSCool Ace/Saga/Vision S 1.4 (S2)
'
(12/18/2011) [SSCool3D AceS v6 (2.3.5)(S3)
'
(12/02/2011) [SSSUPERNOVA (2.3.3)
'
(11/24/2011) [SSLynx-AOSP V3.2
'
(10/30/2011) [SS3D v1.5 (2.3.5)(S3)
'
(10/27/2011) [SSTabasco's Silky ROM V2.1
'
(10/25/2011) [SSStarBurst HTC 2.29.405
'
(10/16/2011) [SSGinger Villain 3.3 (2.3.7)
'
(10/10/2011) [SSCyanogenMod V7.1 (2.3.7)
*All links are from xda-developers forum** – New addition
S – Sense | S3 – Sense 2 | S2.1 – Sense 2.1

Rovio’s Angry Birds RIO 1.4.0 apk download

Angry Birds Rio
The most exciting of avian adventures continues!
What happens when everybody's favourite fierce fowl get caged and shipped to Rio? They get very angry!
In Angry Birds Rio, the original Angry Birds are kidnapped and taken to the magical city of Rio de Janeiro, where they eventually escape their captors and set out to to save their friends, Blu and Jewel – two rare macaws and the stars of the upcoming Fox motion picture, Rio. Angry Birds Rio will pair the physics-based gameplay of the originalgame with unique twists based on the film.
Angry Birds Rio features:
- Six fantastic episodes with 165 exciting levels!
- Completely new achievements!
- Special Hidden fruits - discover them all!
- Put your Angry Birds skills to the ultimate test in a spectacular boss fight!
The most exciting of avian adventures continues! Help the Angry Birds to free their friends and defeat the evil smugglers! Stay tuned for further fun episodes!
Download the 1.4.0 apk here:

Google Maps 6.2.0 application free download



Image
              
Latest features:
  • Tilting: Drag down with two fingers to tilt the map. Tilt while zoomed in on one of the 100+ cities around the world with 3D buildings to see a skyline spring to life.
  • Rotating: Twist with two fingers to rotate the map. After tilting to see 3D buildings, rotate around them to gain a new perspective from any direction.
  • Smooth zooming: Slide two fingers together or apart, and see the map and labels continuously scale to any zoom level, stopping when your fingers stop.
  • Compass mode: Center the map on your location, and then tap the compass button in the top right corner. The map will flip into 3D mode and start rotating to match your perspective, while still keeping all the labels upright and readable.
V6.2.0 update:
Google Maps Navigation (Beta) will enter ‘night mode’ when going through tunnels
You can download the APK here:
To learn more visit Google Maps Mobile page. Enjoy!

Samsung Galaxy S II (I9100) ROM rating



SGS2
*Flash your device at your own risk*
'
(02/08/2012) [SSCheckROM RevoHD™ V4 (KK5) *
'
(02/07/2012) [SSWanamLite V8.2 (LP2) *
'
(02/07/2012) [SSTurkbeyRom V33 (LA2)
'
(02/07/2012) [SSÄ°CS REMÄ°X ROM V9.0 (LPB) *
'
(02/05/2012) [SSMiUi ROM v2.2.3 (2.3.7) *
'
(02/04/2012) [SS] Simplistic ICS RC5 (LPB) *
'
(02/04/2012) [SSWIUI 2.2.3 v4 b1 (4.0.3) *
'
(02/04/2012) [SSIllusion-xT v1.8.0 (LA4) *
'
(02/03/2012) [SSsymphony 3.4.5 (KL1) *
'
(02/03/2012) [SSOmega Series v10.4 (KL1) *
'
(02/01/2012) [SSV3RTR3MA.v.4.7R (KK5) *
'
(02/01/2012) [SSNDT MIUI GINGER V16.0 (2.3.7) *
'
(02/01/2012) [SSHomam.v14 (KL3) *
'
(01/23/2012) [SSKrinyo75’s SlimRom v.1.1.2 (KL1) *
'
(01/22/2012) [SSAndyX ROM v2.4 (KL1)
'
(01/22/2012) [SSICS Maxibon (LP2)
'
(01/20/2012) [SSR3MOR3MA.V.3.7 (KK5)
'
(01/20/2012) [SSGoldenblue Yakkas Edition V.4 (KK5) *
'
(01/19/2012) [SSCriskeloRom V38 (KL1)
'
(01/18/2012) [SSmadmack's 2.5 (LA2)
'
(01/17/2012) [SSNintendolinky Super Stock™ V1 (LA2)
'
(01/10/2012) [SSExynos Extreme 9.2 (KL1)
'
(01/09/2012) [SSEvira Project release 2.9
'
(01/08/2012) [SSEaster 2nd-Installment (KL1)
'
(01/07/2012) [SSUltraToxic Rom v8.0.2 (KK5)
'
(01/02/2012) [SSGaLaXyZeRoS2 V0.6 (KL1)
'
(01/02/2012) [SS] CRYSIS’s SensatioN ROM 2 (2.3.5)
'
(12/30/2011) [SSWickedROM V1.2 (KL1)
'
(12/29/2011) [SSBezke IceCreamed (KL1)
'
(12/23/2011) [SSThe GingerMOD v0.8
'
(12/21/2011) [SSinsanity ii cm 57
'
(12/17/2011) [SSCM7 Untouched (2.3.7)
'
(12/16/2011) [SSCyanogenMod V7 Nighty (GWK74)
'
(12/11/2011) [SSHydrOG3NMOD V1.2 (GWK74)
'
(12/11/2011) [SSRomaur miui 1.12.9 (2.3.7)
'
(12/11/2011) [SSMikiMod CarbonOcean v8 (KK5)
'
(12/06/2011) [SSSimple & Clean v2.4.3 (KK2)
'
(11/18/2011) [SSMIUI 1.11.18 (2.3.7)
'
(11/15/2011) [SSCognition 777 r2 (2.3.5)
'
(11/13/2011) [SSSenseStyle (2.3.7)
'
(11/07/2011) [SSOfficial Stock i9100 (KG, KH, KI, KJ)
All links are from xda-developers forum*
+ – new addition
* – updated
4.0.3 – LP2, LPB
2.3.7 - GWK74
2.3.6 - KK2, KK4, KK5, KL1, KL3, LA2
2.3.5 - KI3, KI4, KJ1, KJ3
2.3.4 - 3KH3