Wednesday, 27 October 2010
SOAP provides for a large variety of synchronous and asynchronous usage scenarios, depending on the transport protocol used. What are they?
What are the requirements that a SOAP message must conform to?
A SOAPMessage object consists of a SOAP part and optionally one or more attachment parts. The SOAP part for a SOAPMessage object is a SOAPPart object, which contains information used for message routing and identification, and which can contain application-specific content. All data in the SOAP Part of a message must be in XML format.
A new SOAPMessage object contains the following by default:
* A SOAPPart object
* A SOAPEnvelope object
* A SOAPBody object
* A SOAPHeader object
The SOAP part of a message can be retrieved by calling the method SOAPMessage.getSOAPPart(). The SOAPEnvelope object is retrieved from the SOAPPart object, and the SOAPEnvelope object is used to retrieve the SOAPBody and SOAPHeader objects.
SOAPPart sp = message.getSOAPPart();
SOAPEnvelope se = sp.getEnvelope();
SOAPBody sb = se.getBody();
SOAPHeader sh = se.getHeader();
Why is SOAP used, after all we can use XML quite well without it?
It is important for application development to allow Internet communication between programs.
Today's applications communicate using Remote Procedure Calls (RPC) between objects like DCOM and CORBA, but HTTP was not designed for this. RPC represents a compatibility and security problem; firewalls and proxy servers will normally block this kind of traffic.
A better way to communicate between applications is over HTTP, because HTTP is supported by all Internet browsers and servers. SOAP was created to accomplish this.
SOAP provides a way to communicate between applications running on different operating systems, with different technologies and programming languages.
Thursday, 21 October 2010
Tutorial on XML
An XML document must have a single root element that encloses all other elements. This means that the fragment below can't be a well-formed XML document as it stands:
Q. How could you correct the fragment above so that it becomes a well-formed XML document?
Wednesday, 13 October 2010
Kingsley's Blog for Internet App. & Web Services: WHAT IS THE DIFFERENCE BETWEEN URI AND URL
WHAT IS THE DIFFERENCE BETWEEN URI AND URL
URL therefore can be seen as a part of the URI.
URL as described above provides a location and the protocol that would be used to access the stored data.
So it would be safe to call a hyperlink as a URI no matter what it points to, what the name is, and what protocol is used to access the data.
To sum it up, URL is simply a subgroup that is contained by the URI. It was only meant to point to the location of the resource with an indication of the protocol needed.
Read more: Difference Between URI and URL | Difference Between | URI vs URL http://www.differencebetween.net/technology/difference-between-uri-and-url/
Monday, 11 October 2010
Kingsley's Blog for Internet App. & Web Services: Tutorial on Gmail, Docs and Wave (7th October, 201...
GMAIL...GOOGLE DOC....& GOOGLE WAVE
CAN THESE TECHNOLOGIES BE CALLED A RE-INVENTION OR INNOVATION ON E-MAIL
With These Technologies, a business large or small can possibly function under one roof and onto one platform all of its office applications: A place where people can communicate and work together with richly formatted text, photos, videos, maps and more, Rasmussen wrote in a posting on the official Google blog.
Think of an open-source version of Gmail constructed via instant messaging. To start a wave, two users start what is essentially an instant-message session, which can be archived as a conversation. Other users can then be invited to join each wave or conversation, and there's even a "playback" feature to track the process of the conversation.
http://www.pcmag.com/article2/0,2817,2347795,00.asp
1. From a video i watched on youtube (see link)
http://www.youtube.com/watch?v=3ykZYKCK7AM&feature=player_embedded. It shows that these Technologies are both distributive and runs concurrently.
2. if two or more people have been working in parallel on the same document and they now come to upload the different cached copies to the server. i think there will be interrupts and slow time in processing from the server end since these document is being stored as a single copy on the server and now two clients are uploading 2 different version of a single document, the server may find it difficult to dictate which copy is actually from a particular client and there may also be slow time in processing because the clients are trying to use the same shared memory on the server. but thanks to Service Oriented Approach (SOA) which tends to handle these discrepancy or problems.
3. From Video i watched on SOA (see link) http://www-01.ibm.com/software/solutions/soa/flash/Build03.swf
SOA can be described as loosely coupled platforms or set of programs that allows internet users to read, use and share the internet applications and web services. SOA is an approach that allows different application to run on different platforms thereby allowing internet users to use applications and web services not minding the programming language or tools that was used to design them. SOA is an innovative idea which is required since most if not all sectors of the global economy now migrate from traditional to the world wide web.