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

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

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

Big-M Method and Two-Phase Method

Big-M Method The Big-M method of handling instances with artificial  variables is the “commonsense approach”. Essentially, the notion is to make the artificial variables, through their coefficients in the objective function, so costly or unprofitable that any feasible solution to the real problem would be preferred, unless the original instance possessed no feasible solutions at all. But this means that we need to assign, in the objective function, coefficients to the artificial variables that are either very small (maximization problem) or very large (minimization problem); whatever this value,let us call it Big M . In fact, this notion is an old trick in optimization in general; we  simply associate a penalty value with variables that we do not want to be part of an ultimate solution(unless such an outcome is unavoidable). Indeed, the penalty is so costly that unless any of the  respective variables' inclusion is warranted algorithmically, such variables will never be p