SOAP
[ class tree: SOAP ] [ index: SOAP ] [ all elements ]

Class: SOAP_Transport_HTTP

Source Location: /SOAP-0.13.0/SOAP/Transport/HTTP.php

Class Overview

PEAR
   |
   --SOAP_Base_Object
      |
      --SOAP_Base
         |
         --SOAP_Transport
            |
            --SOAP_Transport_HTTP

HTTP Transport for SOAP


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: SOAP_Transport

SOAP_Transport::getTransport()
SOAP_Transport::send()
Sends and receives SOAP data.

Class: SOAP_Base

SOAP_Base::SOAP_Base()
Constructor.
SOAP_Base::makeEnvelope()
Creates the SOAP envelope with the SOAP envelop data.
SOAP_Base::setDefaultNamespace()
Sets the default namespace.
SOAP_Base::setTypeTranslation()
Explicitly sets the translation for a specific class.
SOAP_Base::SOAPENCPrefix()
Sets the SOAP-ENC prefix and returns the current value.
SOAP_Base::SOAPENVPrefix()
Sets the SOAP-ENV prefix and returns the current value.

Class: SOAP_Base_Object

SOAP_Base_Object::SOAP_Base_Object()
Constructor.

Class Details

[line 43]
HTTP Transport for SOAP


[ Top ]


Class Variables

$cookies =

[line 57]

Cookies.

Type:   array


[ Top ]

$headers = array()

[line 50]

Basic Auth string.

Type:   array


[ Top ]

$result_content_type =

[line 69]

HTTP-Response Content-Type.

Type:   mixed


[ Top ]

$result_cookies = array()

[line 73]


Type:   mixed


[ Top ]

$result_headers = array()

[line 71]


Type:   mixed


[ Top ]

$timeout =  4

[line 64]

Connection timeout in seconds. 0 = none.

Type:   integer


[ Top ]



Method Detail

SOAP_Transport_HTTP (Constructor)   [line 83]

SOAP_Transport_HTTP SOAP_Transport_HTTP( string $url, [string $encoding = SOAP_DEFAULT_ENCODING])

SOAP_Transport_HTTP Constructor
  • Access: public

Parameters:

string   $url     HTTP url to SOAP endpoint.
string   $encoding     Encoding to use.

[ Top ]

addCookie   [line 142]

void addCookie( string $name, mixed $value)

Adds a cookie.
  • Access: public

Parameters:

string   $name     Cookie name.
mixed   $value     Cookie value.

[ Top ]

send   [line 101]

string|SOAP_Fault send( string $msg, [array $options = array()])

Sends and receives SOAP data.
  • Access: public

Overrides SOAP_Transport::send() (Sends and receives SOAP data.)

Parameters:

string   $msg     Outgoing SOAP data.
array   $options     Options.

[ Top ]

setCredentials   [line 130]

void setCredentials( string $username, string $password)

Sets data for HTTP authentication, creates authorization header.
  • Access: public

Parameters:

string   $username     Username.
string   $password     Response data, minus HTTP headers.

[ Top ]


Documentation generated on Thu, 26 Jan 2012 14:00:11 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.