constructor
soap_transport_http
soap_transport_http
(mixed $url)
void
buildPayload
(mixed $data, [mixed $cookie_str = ''])
void
connect
(mixed $connection_timeout, [mixed $response_timeout = 30])
decode a string that is encoded w/ "chunked' transfer encoding as defined in RFC2068 19.4.6
string
decodeChunked
(string $buffer, string $lb)
-
string
$buffer
-
string
$lb
send the SOAP message via HTTP
string
send
(string $data, integer $timeout, [integer $response_timeout = 30], [array $cookies = NULL])
-
string
$data: message data
-
integer
$timeout: set connection timeout in seconds
-
integer
$response_timeout: set response timeout in seconds
-
array
$cookies: cookies to send
send the SOAP message via HTTPS 1.0 using CURL
string
sendHTTPS
(mixed $data, integer $timeout, [integer $response_timeout = 30], array $cookies, string $msg)
-
string
$msg: message data
-
integer
$timeout: set connection timeout in seconds
-
integer
$response_timeout: set response timeout in seconds
-
array
$cookies: cookies to send
void
sendRequest
(mixed $data, [mixed $cookies = NULL])
void
setContentType
(mixed $type, [mixed $charset = false])
if authenticating, set user credentials here
void
setCredentials
(string $username, string $password, [string $authtype = 'basic'], [array $digestRequest = array()], [array $certRequest = array()])
-
string
$username
-
string
$password
-
string
$authtype: (basic, digest, certificate)
-
array
$digestRequest: (keys must be nonce, nc, realm, qop)
-
array
$certRequest: (keys must be cainfofile (optional), sslcertfile, sslkeyfile, passphrase, verifypeer (optional), verifyhost (optional): see corresponding options in cURL docs)
use http encoding
void
setEncoding
([string $enc = 'gzip, deflate'])
-
string
$enc: encoding style. supported values: gzip, deflate, or both
set proxy info here
void
setProxy
(string $proxyhost, string $proxyport, [string $proxyusername = ''], [string $proxypassword = ''])
-
string
$proxyhost
-
string
$proxyport
-
string
$proxyusername
-
string
$proxypassword
set the soapaction value
void
setSOAPAction
(string $soapaction)
void
usePersistentConnection
()