Invokes a method of a SOAP web service.
[Visual Basic] Protected Function Invoke( _ ByVal methodName As String, _ ByVal parameters() As Object _ ) As Object () [C#] protected object[] Invoke( string methodName, object[] parameters ); [C++] protected: Object* Invoke( String* methodName, Object* parameters[] ) []; [JScript] protected function Invoke( methodName : String, parameters : Object[] ) : Object[];
An array of objects containing the return value and any by-reference or out parameters of the derived class method.
Exception Type | Condition |
---|---|
SoapException | The request reached the server machine, but was not processed successfully. |
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. SoapMethodAttribute, SoapParameterAttribute, and SoapReturnAttribute provide additional information on the derived method which is required for the SOAP protocol.
SoapClientProtocol Class | SoapClientProtocol Members | System.Web.Services.Protocols Namespace