Archive for the ‘Web Service’ Category

Web porcess service

Tuesday, October 2nd, 2007

A Web of OGC that processes the service (WPS) it is a service of the Web that takes a defined system from entrances, it applies a calculation, and it produces a defined system of exits. WPS is designed to work with referred spatial data but it is possible to be used with other classes of data. WPS is a generic service of the Web in which the specific processes provided by a putting in WPS practice are defined by the owner of that putting in practice.

WPS allows to create, to publish, to find, and to tie to the services of the fabric. The platform (like the SOAP) is theoretically neutral thread of transporte/de, but it is tied actually to the HTTP. It is described more better possible like type service of the RPC of not-REST.

WPS defines three operations:

1. GetCapabilities returns goal data from the service-level
2. DescribeProcess returns a description from a “process” including its entrances and exits
3. To execute the returns the exit of a “process”

The operations of WPS can be invoked using a standard web browser putting under requests under the form of resource localizers uniforms (URLs) via the HTTP documents OBTAIN, or of XML via the POST of the HTTP. The content of such documents of URLs or XML depends is asked for of what operation. For example, when soliciing an operation of executing the request of the HTTP identifies the entrances, the process that will be executed, and the form of exit that will be provided.

WPS has the following characteristics

1. For a single exit as an image of the GIF, WPS can directly return the exit
2. For the multiple exits, WPS returns the exits fitted or referred a document of the XML answer.
3. The entrances can be fabric-accessible URLs
4. The exits can be stored like fabric-accessible URLs
5. It supports multiple formats of the entrance and the exit
6. It supports lasting processes

A WPS is not invoked generally directly. More often, it is invoked by a use of the client who provides with the user interactive controls. This use of the client can or it cannot fabric-be based.

WPS version 1.0.0 was approved like specification of civil employee OGC in August of 2007. The public launching of the specification is anticipated soon. Version 0.4.0 was sent as requested of OGC the public commentary in 2005 and has been put in execution by some adopters early.

What is Web Service

Tuesday, October 2nd, 2007

The W3C defines largely, when „the software which is developed, to support apparatus interopérable, to work a service of network (many sources write also the second word, as in the services of network) interaction on a network. “Of the services of network are a APIs network frequently right that on a network, such as that Internet are reached, and on a ferninstallierten with system to implement one can who receives the services requested.

The W3C definition of service of network gives more much of different systems, but in designation refers to general consumption customers and with the operators who are with XML the advertisements in a relation which follow SOAP the standard. COMMON in auffangene and the terminology is the adoption that there is also a description readable by computer of the companies which are supported by the operator who is written in the description of service of network to language (WSDL). The last is not a requirement of the SOAP of term, but it is a stipulation for automated page of customer production of code in Hauptströmungsjava and the .NET OF SOAP tally. Some industrial engineering, like the WS-I, subordinate to the SOAP and the WSDL in their definition of a service of network.

Create C# Web Service In 4 Setps

Wednesday, September 26th, 2007

You can create simple web service using visual studio 2005. let get start.
1. Click File>>News>>Website. then appear “New Web Site” dialog
2. Select ASP.net Web Service and select language for C# in language field.
3. Click OK button. and then you can see this code.
using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;

[WebService(Namespace = “http://tempuri.org/”)]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class Service : System.Web.Services.WebService
{
public Service () {

//Uncomment the following line if using designed components
//InitializeComponent();
}

[WebMethod]
public string HelloWorld() {
return “Hello World”;
}

}

This code is default then replace this code on HelloWorld() method
public string Hello(string name) {
string hello = “Hello ” + name;
return hello;
}
4. Run via “Ctrl+F5″ and Internet explorer will open you can enter name then click “invoke” button it how result “Hello yourname” in xml format.