IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Web.IWSBase Interface Reference

Interface for basic web service. More...

+ Inheritance diagram for IG.Web.IWSBase:
+ Collaboration diagram for IG.Web.IWSBase:

Public Member Functions

string GetServiceName ()
 Returns the name of the web service. More...
 
void SetServiceName (string name)
 Sets the name of the web service. More...
 
string TestService ()
 Tests whether the web service is alive. More...
 
string TestServiceCmd (string commandlineArguments)
 Tests whether the web service is alive. More...
 
string TestServiceArgs (string[] commandlineArguments)
 Tests whether the web service is alive. More...
 
string TestCount ()
 Web service method example. Increments a static counter. More...
 

Properties

string Url [get, set]
 URL of the web service. More...
 
System.Net.CookieContainer CookieContainer [get, set]
 Cookie container, for compatibility with proxy classes that are derived from the System.Web.Services.Protocols.HttpWebClientProtocol class. More...
 
- Properties inherited from IG.Lib.IIdentifiable
int Id [get]
 Returns unique ID (in the scope of a given type) of the current object. More...
 
- Properties inherited from IG.Lib.ILockable
object Lock [get]
 

Detailed Description

Interface for basic web service.

Member Function Documentation

string IG.Web.IWSBase.GetServiceName ( )

Returns the name of the web service.

Usually, address (URL) of the web service will consists of some base address and service name.

Implemented in IG.Web.WSBaseClass.

Referenced by IG.Script.AppTestShell.WebServiceFunctionCustomTest().

void IG.Web.IWSBase.SetServiceName ( string  name)

Sets the name of the web service.

Usually, address (URL) of the web service will consists of some base address and service name.

Implemented in IG.Web.WSBaseClass.

string IG.Web.IWSBase.TestService ( )

Tests whether the web service is alive.

Returns a string identifying web service' class and object ID.

To test, right-click the Web Service's .asmx file and select View in a browser.

Returns

Implemented in IG.Web.WSBaseClass, and IG.Web.WSBase.

string IG.Web.IWSBase.TestServiceCmd ( string  commandlineArguments)

Tests whether the web service is alive.

Returns a string identifying web service' class and object ID.

To test, right-click the Web Service's .asmx file and select View in a browser.

Returns

Implemented in IG.Web.WSBaseClass.

Referenced by IG.Script.AppTestShell.WebServiceFunctionCustomTest().

string IG.Web.IWSBase.TestServiceArgs ( string[]  commandlineArguments)

Tests whether the web service is alive.

Returns a string identifying web service' class and object ID.

To test, right-click the Web Service's .asmx file and select View in a browser.

Returns

Implemented in IG.Web.WSBaseClass, and IG.Web.WSBase.

Referenced by IG.Script.AppTestShell.WebServiceFunctionCustomTest().

string IG.Web.IWSBase.TestCount ( )

Web service method example. Increments a static counter.

To test, right-click the Web Service's .asmx file and select View in Browser

Returns

Implemented in IG.Web.WSBaseClass, IG.Web.WSBase, and IG.Web.WSBase.

Property Documentation

string IG.Web.IWSBase.Url
getset

URL of the web service.

This is put into Web service such that base service classes can be used instead of proxy classes, which may be useful when the appropriate service references are not available to generate the proxy classes.

Referenced by IG.Script.AppTestShell.WebServiceFunctionCustomTest().

System.Net.CookieContainer IG.Web.IWSBase.CookieContainer
getset

Cookie container, for compatibility with proxy classes that are derived from the System.Web.Services.Protocols.HttpWebClientProtocol class.

Referenced by IG.Script.AppTestShell.WebServiceFunctionCustomTest().


The documentation for this interface was generated from the following file: