Web Service SOAP.Demo
A simple demonstration Web Service
To try this, visit
/csp/samples/SOAP.Demo.cls
This web service inherits from the SOAP.BaseService sample class
to pickup common error handling.
This web service is using http://tempuri.org as its default namespace.
The name of this web service is SOAPDemo
The following operations are supported. For a formal definition, please review the Service Description
- AddInteger
Adds two integers and returns the result.
- DivideInteger
- FindPerson
Returns data about the person in the database with object ID of id.
- GetByName
A sample web method to invoke dynamic SQL to query the Sample.Person class and return the results as a .NET untyped DataSet
- GetDataSetByName
A sample web method to invoke the ByName query of the Sample.Person class and return the results as a .NET typed DataSet
- GetListByName
A sample web method to invoke dynamic SQL to query the Sample.Person class and return the results as a list of objects.
- LookupCity
Returns the city and state for the given U.S. ZIP Code packaged within a
Sample.Address object. - Mission
Returns a corporate mission statement.
- QueryByName
A sample class query as a WebMethod that defines a typed dataset that returns Person data ordered by
Name .
This query also generates a WebMethod of the same name that may be called using SOAP in order to return a typed .Net DataSet.