Home
Products & Services
Developers
XML
XML-RPC
Contents Table
On-Line Help
Release Notes
Install Notes
Binaries
Sources
RSS
About

XMLRPCRequest Object

See Also   Example   Properties   Methods   Events

The XMLRPCRequest object is used to build a request to the remote XML-RPC server.

Class Diagram

Remarks

Use the XMLRPCRequest object to build a request to the remote XML-RPC server. First set up the server parameters using the HostName, HostPort and HostURI properties. The ConnectTimeOut, SendTimeOut and ReceiveTimeOut all allow you to set timeouts. If you wish to use a proxy server then use the ProxyName and ProxyBypass properties to set up the details. If you wish to use SSL then use the SSLFlags property. If you wish to use HTTP basic authentication then use the Username and Password property. Then use the Params property to set up the data to be sent. Finally set the MethodName property with the remote method to be called. Use the Submit method to execute the request which returns an XMLRPCResponse object which can be used to decode the response from the remote server.

An example code fragment follows:

Dim X As New XMLRPCRequest
Dim Y As XMLRPCResponse

' ...
' ...
' Put code to set up the request to the remote XML-RPC server here
' ...
' ...

Set Y = X.Submit

' ...
' ...
' Put code to process the response from the remote XML-RPC server here
' ...
' ...
Terms of Use, Cookie and Privacy Policies All Materials on this Website are Copyright EnAppSys Ltd. ©2002 - 2008