|
|
soap_transport_http
nusoap_base | +-- soap_transport_http
|
public class soap_transport_http extends nusoap_base
transport class for sending/receiving data via HTTP and HTTPS
NOTE: PHP must be compiled with the CURL extension for HTTPS support
HTTPS support is experimental!
|
|
|
Methods inherited from nusoap_base |
nusoap_base, debug, geterror, seterror, serialize_val, serializeenvelope, soapclient, call, getoperationdata, parseresponse, setheaders, getheaders, sethttpproxy, getproxy, soapval, serialize, decode, soap_parser, start_element, end_element, character_data, get_response, decode_entities, buildval, buildsoapval, soap_server, service, parse_request, verify_method, add_to_map, register, fault, webdescription, configurewsdl, xmlschema, parsefile, parsestring, schemastartelement, schemaendelement, schemacharacterdata, serializeschema, expandqname, xdebug, getphptype, getlocalpart, getprefix, getnamespacefromprefix, getprefixfromnamespace, gettypedef, serializetypedef, typetoform, wsdl, parsewsdl, getoperations, serializerpcparameters, serializetype, soap_fault, timestamp_to_iso8601, iso8601_to_timestamp, formatdump, lib_bwcheck, makeobj, b_writeit, popup, popout, getbindingdata, getmessagedata |
|
|
Fields inherited from nusoap_base |
$soap_defencoding, $namespaces, $typemap, $xmlentities, $fault, $title, $version, $error_str, $requestheaders, $responseheaders, $endpoint, $portname, $operations, $headers, $request, $xml_encoding, $result, $faultcode, $faultactor, $faultstring, $faultdetail |
|
|
|
Public Method Details |
soap_transport_http |
public void soap_transport_http( $url)
|
|
constructor
Warning: documentation is missing.
|
Parameter |
|
|
$url |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
setCredentials |
public void setCredentials(string $user, string $pass)
|
|
if authenticating, set user credentials here
Warning: documentation is missing.
|
Parameter |
|
|
|
|
Returns |
void |
|
setSOAPAction |
public void setSOAPAction(string $soapaction)
|
|
set the soapaction value
Warning: documentation is missing.
|
Parameter |
|
|
Returns |
void |
|
setProxy |
public void setProxy(string $proxyhost, string $proxyport)
|
|
set proxy info here
Warning: documentation is missing.
|
Parameter |
|
|
|
|
Returns |
void |
|
send |
public string send(string $data, [ integer $timeout ])
|
|
send the SOAP message via HTTP 1.0
Warning: documentation is missing.
|
Parameter |
|
string |
$data |
|
|
message data |
|
|
integer |
$timeout |
= >>0<< |
|
set timeout in seconds |
|
Returns |
string data |
|
sendHTTPS |
public string sendHTTPS(string $data, [ integer $timeout ])
|
|
send the SOAP message via HTTPS 1.0 using CURL
Warning: documentation is missing.
|
Parameter |
|
string |
$data |
|
|
message data |
|
|
integer |
$timeout |
= >>0<< |
|
set timeout in seconds |
|
Returns |
string data |
|
|
Private Field Details |
$username |
private unknown $username
>> <<
|
|
$password |
private unknown $password
>> <<
|
|
$url |
private unknown $url
>> <<
|
|
|
|
|
PHPDoc 1.0beta |