Skip to main content

Understanding Web services

http://webservicesmysite.com/weather/india/webservice - this will give a 4xx error as webservice is not a page. This URI can only be used by a s/w. It is similar to url. In case u type URI of the browser ,this URI needs to give to the program as requested by the program. the description of a web service along with the web interface is required to invoke a web service. once wsdl is written for a web service a source code is always generated and interpreted. the soft that is needed by a client to invoke a web service is called a "stub". there are plenty of tools available on net that will help us to generate the stuff as these things are based on the wsdl of the web service.


What is a client stub or a server stub?
Client stub that generates soap request and interprets the soap responses sent by the server.
E.g. A gadget wants to knw the temp and d gadget has to access from weather forecast then it will use a soft who will generate a soap msg(collection of xml) and then send the msg to server stub which then responses and the weather is available.Using the stubs signifies the apps as one does not need to write complex client program that dynamically generate the soap request and interpret the soap responses so we can just write the client site and site code and forget about the server site The steps are generated once , once the client recognizes a stub , stub is generated and this stub can be used multiple times to get the desired result.
The web server may include :
  1. http://webservicesmysite.com/weather/india/webservice - this will give a 4xx error as webservice is not a page. this URI can only be used by a s/w. It is similar to url. In case u type URI of the browser ,this URI needs to give to the program as requested by the program. the description of a web service along with the web interface is required to invoke a web service. once wsdl is written for a web service a source code is always generated and interpreted. the soft that is needed by a client to invoke a web service is called a "stub". there are plenty of tools available on net that will help us to generate the stuff as these things are based on the wsdl of the web service.
    What is a client stub or a server stub?
    Client stub that generates soap request and interprets the soap responses sent by the server. E.g. a gadget wants to knw the temp and d gadget has to access from weather forecast then it will use a soft who will generate a soap msg(collection of xml) and then send the msg to server stub which then responses and the weather is available. Using the stubs signifies the apps as one does not need to write complex client program that dynamically generate the soap request and interpret the soap responses so we can just write the client site and site code and forget about the server site The steps are generated once , once the client recognizes a stub , stub is generated and this stub can be used multiple times to get the desired result. the web server may include
    1. web service- if this service is in java then it will be stored as a class , since the web service cannot interpret soap request and generate soap response then we need to have soap engine. soap engine is a piece of soft that handles soap request and responses. it is common to use a generic soap engine rather than generating stubs for individual web service (apache axis is a very common soap engine).
    2. Application server - it is a piece of soft that provide the living space that can be explained for ex which is a java servlet jsp in apache axis tool kit. the soap picture runs as an application server. http server also called web server into a piece of soft that can handle http msgs. for ex apache http server. in most cases application server includes some http functionality so we can have http services up and running by installing soap engine and the application server. however in case the application server lacks the http functionality, we need to havehttp server

Comments

Popular posts from this blog

Inter-Organizational Value Chain

The value chain of   a company is part of over all value chain. The over all competitive advantage of an organization is not just dependent on the quality and efficiency of the company and quality of products but also upon the that of its suppliers and wholesalers and retailers it may use. The analysis of overall supply chain is called the value system. Different parts of the value chain 1.  Supplier     2.  Firm       3.   Channel 4 .   Buyer
Advantages and Disadvantages of EIS Advantages of EIS Easy for upper-level executives to use, extensive computer experience is not required in operations Provides timely delivery of company summary information Information that is provided is better understood Filters data for management Improves to tracking information Offers efficiency to decision makers Disadvantages of EIS System dependent Limited functionality, by design Information overload for some managers Benefits hard to quantify High implementation costs System may become slow, large, and hard to manage Need good internal processes for data management May lead to less reliable and less secure data

System Analysis and Design (SAD)

Introduction to System Analysis and Design (SAD) System are created to solve Problems. One can think of the systemsapproch as an organised way of dealing with a problem. In this dynamic world , the subject system analysis and design, mainly deals with the software development activities. This post include:- What is System? What are diffrent Phases of System Development Life Cycle? What are the component of system analysis? What are the component of system designing? What is System? A collection of components that work together to realize some objectives forms a system. Basically there are three major components in every system, namely input, processing and output. In a system the different components are connected with each other and they are interdependent. For example, human body represents a complete natural system. We are also bound by many national systems such as political system, economic system, educational system and so forth. The objective of the system demands tha...