Overview

Packages

  • akismet
  • None
  • PHP
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • plugins
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Signatures
    • Signed
    • Transport
  • wa-apps
    • blog
      • actions
        • backend
        • blog
        • comment
        • cron
        • design
        • frontend
        • page
        • plugin
        • post
      • api
        • v1
      • cli
      • layout
      • model
      • plugin
        • aksimet
        • category
        • emailsubscription
        • favorite
        • gravatar
        • import
        • markdown
        • myposts
        • tag
        • troll
      • settings
    • checklists
      • backend
      • json
    • contacts
      • backend
    • developer
    • dummy
    • guestbook
    • guestbook2
    • photos
      • album
      • api
        • v1
      • backend
      • design
      • dialog
      • frontend
      • page
      • photo
      • plugin
        • comment
        • imageeffects
        • import
        • publicgallery
        • watermark
      • search
      • settings
      • stack
      • tag
      • upload
    • site
      • backend
      • blocks
      • config
      • design
      • domains
      • files
      • frontend
      • helper
      • layout
      • pages
      • routing
      • setting
    • stickies
      • api
        • v1
      • sheet
      • stiky
  • wa-plugin
    • payment
    • shipping
    • sms
  • wa-plugins
    • shipping
      • usps
  • wa-system
    • API
    • Auth
      • Adapters
    • Autoload
    • Cache
      • Adapter
    • Captcha
    • Config
    • Contact
    • controller
    • currency
    • database
    • datetime
    • design
    • event
    • exception
    • files
    • image
    • layout
    • locale
    • log
    • mail
    • page
      • action
      • model
    • payment
    • plugin
    • request
    • response
    • routing
    • shipping
    • sms
    • storage
    • user
    • util
    • validator
    • view
    • webasyst
      • api
      • backend
      • cli
      • config
      • layout
      • login
      • model
      • password
      • payment
      • profile
      • settings
      • shipment
    • widget
    • workflow
  • waPlugins
    • Payment
  • webasyst
    • wa-system
      • helper

Classes

  • cancelBill
  • cancelBillResponse
  • checkBill
  • checkBillResponse
  • createBill
  • createBillResponse
  • getBillList
  • getBillListResponse
  • idna_convert
  • IShopClientWSService
  • IShopServerWSService
  • nusoap_base
  • nusoap_client
  • nusoap_fault
  • nusoap_parser
  • nusoap_server
  • nusoap_xmlschema
  • ReCaptchaResponse
  • Smarty_Internal_Configfileparser
  • Smarty_Internal_Templateparser
  • soap_fault
  • soap_parser
  • soap_server
  • soap_transport_http
  • soapclient
  • soapval
  • TP_yyStackEntry
  • TPC_yyStackEntry
  • updateBill
  • updateBillResponse
  • waIdna
  • wsdl
  • xmlrpc_client
  • xmlrpcmsg
  • xmlrpcresp
  • xmlrpcval
  • XMLSchema

Functions

  • _recaptcha_aes_encrypt
  • _recaptcha_aes_pad
  • _recaptcha_http_post
  • _recaptcha_mailhide_email_parts
  • _recaptcha_mailhide_urlbase64
  • _recaptcha_qsencode
  • _swiftmailer_init
  • decode_chunked
  • generateUpToDateMimeArray
  • guess_encoding
  • is_valid_charset
  • iso8601_decode
  • iso8601_encode
  • iso8601_to_timestamp
  • php_xmlrpc_decode
  • php_xmlrpc_decode_xml
  • php_xmlrpc_encode
  • recaptcha_check_answer
  • recaptcha_get_html
  • recaptcha_get_signup_url
  • recaptcha_mailhide_html
  • recaptcha_mailhide_url
  • smarty_block_wa_js
  • smarty_function_escape_special_chars
  • smarty_function_wa_action
  • smarty_function_wa_block
  • smarty_function_wa_header
  • smarty_function_wa_pagination
  • smarty_function_wa_print_tree
  • smarty_function_wa_snippet
  • smarty_gettext_s_translate
  • smarty_gettext_translate
  • smarty_prefilter_content_nofilter
  • smarty_prefilter_translate
  • timestamp_to_iso8601
  • usleepWindows
  • wa_array_diff_r
  • wa_currency_html
  • xmlrpc_cd
  • xmlrpc_dh
  • xmlrpc_ee
  • xmlrpc_ee_fast
  • xmlrpc_encode_entitites
  • xmlrpc_se
  • xmlrpc_se_any
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class soap_transport_http

transport class for sending/receiving data via HTTP and HTTPS NOTE: PHP must be compiled with the CURL extension for HTTPS support

nusoap_base
Extended by soap_transport_http
Author: Dietrich Ayala <dietrich@ganx4.com>
Author: Scott Nichol <snichol@users.sourceforge.net>
Version: $Id: nusoap.php,v 1.123 2010/04/26 20:15:08 snichol Exp $
Located at wa-plugins/payment/qiwi/vendors/nusoap/nusoap.php
Methods summary
public
# soap_transport_http( string $url, array $curl_options = NULL, boolean $use_curl = false )

constructor

constructor

Parameters

$url
string
$url The URL to which to connect
$curl_options
array
$curl_options User-specified cURL options
$use_curl
boolean
$use_curl Whether to try to force cURL use
public
# setCurlOption( mixed $option, mixed $value )

sets a cURL option

sets a cURL option

Parameters

$option
mixed
$option The cURL option (always integer?)
$value
mixed
$value The cURL option value
public
# setHeader( string $name, string $value )

sets an HTTP header

sets an HTTP header

Parameters

$name
string
$name The name of the header
$value
string
$value The value of the header
public
# unsetHeader( string $name )

unsets an HTTP header

unsets an HTTP header

Parameters

$name
string
$name The name of the header
public
# setURL( string $url )

sets the URL to which to connect

sets the URL to which to connect

Parameters

$url
string
$url The URL to which to connect
public string
# io_method( )

gets the I/O method to use

gets the I/O method to use

Returns

string
I/O method to use (socket|curl|unknown)
public boolean
# connect( integer $connection_timeout = 0, integer $response_timeout = 30 )

establish an HTTP connection

establish an HTTP connection

Parameters

$connection_timeout
integer
$timeout set connection timeout in seconds
$response_timeout
integer
$response_timeout set response timeout in seconds

Returns

boolean
true if connected, false if not
public string
# send( string $data, integer $timeout = 0, integer $response_timeout = 30, array $cookies = NULL )

sends the SOAP request and gets the SOAP response via HTTP[S]

sends the SOAP request and gets the SOAP response via HTTP[S]

Parameters

$data
string
$data message data
$timeout
integer
$timeout set connection timeout in seconds
$response_timeout
integer
$response_timeout set response timeout in seconds
$cookies
array
$cookies cookies to send

Returns

string
data
public string
# sendHTTPS( string $data, integer $timeout = 0, integer $response_timeout = 30, array $cookies )

sends the SOAP request and gets the SOAP response via HTTPS using CURL

sends the SOAP request and gets the SOAP response via HTTPS using CURL

Deprecated

Parameters

$data
string
$data message data
$timeout
integer
$timeout set connection timeout in seconds
$response_timeout
integer
$response_timeout set response timeout in seconds
$cookies
array
$cookies cookies to send

Returns

string
data
public
# setCredentials( string $username, string $password, string $authtype = 'basic', array $digestRequest = array(), array $certRequest = array() )

if authenticating, set user credentials here

if authenticating, set user credentials here

Parameters

$username
string
$username
$password
string
$password
$authtype
string
$authtype (basic|digest|certificate|ntlm)
$digestRequest
array
$digestRequest (keys must be nonce, nc, realm, qop)
$certRequest
array
$certRequest (keys must be cainfofile (optional), sslcertfile, sslkeyfile, passphrase, certpassword (optional), verifypeer (optional), verifyhost (optional): see corresponding options in cURL docs)
public
# setSOAPAction( string $soapaction )

set the soapaction value

set the soapaction value

Parameters

$soapaction
string
$soapaction
public
# setEncoding( string $enc = 'gzip, deflate' )

use http encoding

use http encoding

Parameters

$enc
string
$enc encoding style. supported values: gzip, deflate, or both
public
# setProxy( string $proxyhost, string $proxyport, string $proxyusername = '', string $proxypassword = '', string $proxyauthtype = 'basic' )

set proxy info here

set proxy info here

Parameters

$proxyhost
string
$proxyhost use an empty string to remove proxy
$proxyport
string
$proxyport
$proxyusername
string
$proxyusername
$proxypassword
string
$proxypassword
$proxyauthtype
string
$proxyauthtype (basic|ntlm)
public
# isSkippableCurlHeader( string & $data )

Test if the given string starts with a header that is to be skipped. Skippable headers result from chunked transfer and proxy requests.

Test if the given string starts with a header that is to be skipped. Skippable headers result from chunked transfer and proxy requests.

Parameters

$data
string
$data The string to check.

Returns

boolean Whether a skippable header was found.
public
# decodeChunked( string $buffer, string $lb )

decode a string that is encoded w/ "chunked' transfer encoding as defined in RFC2068 19.4.6

decode a string that is encoded w/ "chunked' transfer encoding as defined in RFC2068 19.4.6

Deprecated

Parameters

$buffer
string
$buffer
$lb
string
$lb

Returns

string
public
# buildPayload( string $data, string $cookie_str = '' )

Writes the payload, including HTTP headers, to $this->outgoing_payload.

Writes the payload, including HTTP headers, to $this->outgoing_payload.

Parameters

$data
string
$data HTTP body
$cookie_str
string
$cookie_str data for HTTP Cookie header
public boolean
# sendRequest( string $data, array $cookies = NULL )

sends the SOAP request via HTTP[S]

sends the SOAP request via HTTP[S]

Parameters

$data
string
$data message data
$cookies
array
$cookies cookies to send

Returns

boolean
true if OK, false if problem
public string
# getResponse( )

gets the SOAP response via HTTP[S]

gets the SOAP response via HTTP[S]

Returns

string
the response (also sets member variables like incoming_payload)
public
# setContentType( string $type, mixed $charset = false )

sets the content-type for the SOAP message to be sent

sets the content-type for the SOAP message to be sent

Parameters

$type
string
$type the content type, MIME style
$charset
mixed
$charset character set used for encoding (or false)
public boolean
# usePersistentConnection( )

specifies that an HTTP persistent connection should be used

specifies that an HTTP persistent connection should be used

Returns

boolean
whether the request was honored by this method.
public
# parseCookie( mixed $cookie_str )
public string
# getCookiesForRequest( array $cookies, boolean $secure = false )

sort out cookies for the current request

sort out cookies for the current request

Parameters

$cookies
array
$cookies array with all cookies
$secure
boolean
$secure is the send-content secure or not?

Returns

string
for Cookie-HTTP-Header
Methods inherited from nusoap_base
__toString(), appendDebug(), clearDebug(), contractQname(), debug(), expandEntities(), expandQname(), formatDump(), getDebug(), getDebugAsXMLComment(), getDebugLevel(), getError(), getGlobalDebugLevel(), getLocalPart(), getNamespaceFromPrefix(), getPrefix(), getPrefixFromNamespace(), getmicrotime(), isArraySimpleOrStruct(), nusoap_base(), serializeEnvelope(), serialize_val(), setDebugLevel(), setError(), setGlobalDebugLevel(), varDump()
Properties summary
public string $url ''
#
public string $uri ''
#
public string $digest_uri ''
#
public string $scheme ''
#
public string $host ''
#
public string $port ''
#
public string $path ''
#
public string $request_method 'POST'
#
public string $protocol_version '1.0'
#
public string $encoding ''
#
public array $outgoing_headers array()
#
public array $incoming_headers array()
#
public array $incoming_cookies array()
#
public string $outgoing_payload ''
#
public string $incoming_payload ''
#
public mixed $response_status_line
#
public boolean $useSOAPAction true
#
public boolean $persistentConnection false
#
public boolean $ch false
#
public array $ch_options array()
#
public boolean $use_curl false
#
public mixed $proxy null
#
public string $username ''
#
public string $password ''
#
public string $authtype ''
#
public array $digestRequest array()
#
public array $certRequest array()
#
Properties inherited from nusoap_base
$XMLSchemaVersion, $charencoding, $debugLevel, $debug_str, $error_str, $namespaces, $revision, $soap_defencoding, $title, $typemap, $usedNamespaces, $version, $xmlEntities
My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0