NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpClientProtocol.Invoke

Invokes a method of a HTTP web service.

[Visual Basic]
Protected Function Invoke( _
   ByVal methodName As String, _
   ByVal url As String, _
   ByVal parameters() As Object _
) As Object
[C#]
protected object Invoke(
   string methodName,
   string url,
   object[] parameters
);
[C++]
protected: Object* Invoke(
   String* methodName,
   String* url,
   Object* parameters[]
);
[JScript]
protected function Invoke(
   methodName : String,
   url : String,
   parameters : Object[]
) : Object;

Parameters

methodName
The name of the method in the derived class that is invoking Invoke.
url
[To be supplied.]
parameters
[To be supplied.]

Return Value

An array of objects containing the return value and any by-reference or out parameters of the derived class method.

Exceptions

Exception Type Condition
Exception The request reached the server machine, but was not processed successfully.

Remarks

The methodName is used to find the types of the parameters and return values of the method that is invoking Invoke. It is also used to find custom attributes which may have been added to the method. HttpMethodAttribute, System.Web.Services.Protocols.HttpParameterAttribute, and System.Web.Services.Protocols.HttpReturnAttribute provide additional information on the derived method which is required for the SOAP protocol.

See Also

HttpClientProtocol Class | HttpClientProtocol Members | System.Web.Services.Protocols Namespace