This class provides a simple method for sending and receiving XML documents to a web server using the HTTP 1.0 protocol. |
PROPERTY Hostname$ The destination hostname or IP address for this message |
PROPERTY WebPage$ The web page to be accessed |
PROPERTY Port$ The TCP port to be used |
PROPERTY URL$ The URL that will be accessed |
PROPERTY ContentType$ The default is 'application/x-wwwform-urlencoded' |
PROPERTY MessagePrefix$ An optional prefix string to be added to the transmit data XML document |
PROPERTY MessageSuffix$ An optional suffix to be added to the transmit data XML document |
PROPERTY WaitTime The timeout (in seconds) for reply from the web server |
PROPERTY Header$ The formatted HTTP header data for sending the message |
PROPERTY Data$ The formatted HTTP data string for sending the message |
PROPERTY ReplyHeader$ The formatted HTTP header data of the received message |
PROPERTY ReplyData$ The formatted HTTP data string of the received message |
PROPERTY Error$ Error message (if any) |
PROPERTY DebugLog Set this to a file channel for a text file where the detailed communications log will be written |
PROPERTY DebugLevel Set this the level of detail (0-9) for the communications log |
FUNCTION AddParameter(Parameter$, Value$)
|
FUNCTION ClosePort()
|
FUNCTION FormatPost(TransDoc)
|
FUNCTION OpenPort()
|
FUNCTION Receive(RecvDoc)
|
FUNCTION ResetParameters()
|
FUNCTION SendReceive(xmldoc)
|
FUNCTION SendReceive(TransDoc, RecvDoc)
|
FUNCTION SetURL(_url$)
|
FUNCTION Transmit(TransDoc)
|
![]() |