Back to index

php5  5.3.10
Classes | Defines | Typedefs | Functions | Variables
php_soap.h File Reference
#include "php.h"
#include "php_globals.h"
#include "ext/standard/info.h"
#include "ext/standard/php_standard.h"
#include "ext/standard/php_smart_str.h"
#include "php_ini.h"
#include "SAPI.h"
#include <libxml/parser.h>
#include <libxml/xpath.h>
#include "php_xml.h"
#include "php_encoding.h"
#include "php_sdl.h"
#include "php_schema.h"
#include "php_http.h"
#include "php_packet_soap.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _soapMapping
struct  _soapService
struct  _soapService::_soap_functions
struct  _soapService::_soap_class

Defines

#define TRUE   1
#define FALSE   0
#define stricmp   strcasecmp
#define SOAP_CLASS   1
#define SOAP_FUNCTIONS   2
#define SOAP_OBJECT   3
#define SOAP_FUNCTIONS_ALL   999
#define SOAP_MAP_FUNCTION   1
#define SOAP_MAP_CLASS   2
#define SOAP_PERSISTENCE_SESSION   1
#define SOAP_PERSISTENCE_REQUEST   2
#define SOAP_1_1   1
#define SOAP_1_2   2
#define SOAP_ACTOR_NEXT   1
#define SOAP_ACTOR_NONE   2
#define SOAP_ACTOR_UNLIMATERECEIVER   3
#define SOAP_1_1_ACTOR_NEXT   "http://schemas.xmlsoap.org/soap/actor/next"
#define SOAP_1_2_ACTOR_NEXT   "http://www.w3.org/2003/05/soap-envelope/role/next"
#define SOAP_1_2_ACTOR_NONE   "http://www.w3.org/2003/05/soap-envelope/role/none"
#define SOAP_1_2_ACTOR_UNLIMATERECEIVER   "http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
#define SOAP_COMPRESSION_ACCEPT   0x20
#define SOAP_COMPRESSION_GZIP   0x00
#define SOAP_COMPRESSION_DEFLATE   0x10
#define SOAP_AUTHENTICATION_BASIC   0
#define SOAP_AUTHENTICATION_DIGEST   1
#define SOAP_SINGLE_ELEMENT_ARRAYS   (1<<0)
#define SOAP_WAIT_ONE_WAY_CALLS   (1<<1)
#define SOAP_USE_XSI_ARRAY_TYPE   (1<<2)
#define WSDL_CACHE_NONE   0x0
#define WSDL_CACHE_DISK   0x1
#define WSDL_CACHE_MEMORY   0x2
#define WSDL_CACHE_BOTH   0x3
#define soap_module_ptr   &soap_module_entry
#define phpext_soap_ptr   soap_module_ptr
#define SOAP_GLOBAL(v)   (soap_globals.v)
#define soap_error0(severity, format)   php_error(severity, "SOAP-ERROR: " format)
#define soap_error1(severity, format, param1)   php_error(severity, "SOAP-ERROR: " format, param1)
#define soap_error2(severity, format, param1, param2)   php_error(severity, "SOAP-ERROR: " format, param1, param2)
#define soap_error3(severity, format, param1, param2, param3)   php_error(severity, "SOAP-ERROR: " format, param1, param2, param3)

Typedefs

typedef struct _encodeType
typedef struct * encodeTypePtr
typedef struct _encode
typedef struct * encodePtr
typedef struct _sdl
typedef struct * sdlPtr
typedef struct _sdlRestrictionInt
typedef struct * sdlRestrictionIntPtr
typedef struct _sdlRestrictionChar
typedef struct * sdlRestrictionCharPtr
typedef struct _sdlRestrictions
typedef struct * sdlRestrictionsPtr
typedef struct _sdlType
typedef struct * sdlTypePtr
typedef struct _sdlParam
typedef struct * sdlParamPtr
typedef struct _sdlFunction
typedef struct * sdlFunctionPtr
typedef struct _sdlAttribute
typedef struct * sdlAttributePtr
typedef struct _sdlBinding
typedef struct * sdlBindingPtr
typedef struct _sdlSoapBinding
typedef struct * sdlSoapBindingPtr
typedef struct _sdlSoapBindingFunction
typedef struct * sdlSoapBindingFunctionPtr
typedef struct _sdlSoapBindingFunctionBody
typedef struct * sdlSoapBindingFunctionBodyPtr
typedef struct _soapMapping
typedef struct * soapMappingPtr
typedef struct _soapService
typedef struct * soapServicePtr

Functions

zval * add_soap_fault (zval *obj, char *fault_code, char *fault_string, char *fault_actor, zval *fault_detail TSRMLS_DC)

Variables

int le_url
HashTable defEncNs
HashTable defEnc
HashTable defEncIndex
HashTabletypemap
int cur_uniq_ns
int soap_version
sdlPtr sdl
zend_bool use_soap_error_handler
char * error_code
zval * error_object
char cache
char cache_mode
char cache_enabled
char * cache_dir
long cache_ttl
long cache_limit
HashTablemem_cache
xmlCharEncodingHandlerPtr encoding
HashTableclass_map
int features
HashTable wsdl_cache
int cur_uniq_ref
HashTableref_map
zend_module_entry soap_module_entry
zend_class_entry * soap_var_class_entry

Class Documentation

struct _soapMapping

Definition at line 76 of file php_soap.h.

Class Members
zval * to_xml
zval * to_zval
struct _soapService

Definition at line 83 of file php_soap.h.

Collaboration diagram for _soapService:
Class Members
char * actor
HashTable * class_map
xmlCharEncodingHandlerPtr encoding
int features
sdlPtr sdl
int send_errors
struct _soap_class soap_class
struct _soap_functions soap_functions
struct _soapHeader ** soap_headers_ptr
zval * soap_object
int type
HashTable * typemap
char * uri
int version
struct _soapService::_soap_functions

Definition at line 86 of file php_soap.h.

Collaboration diagram for _soapService::_soap_functions:
Class Members
HashTable * ft
int functions_all
struct _soapService::_soap_class

Definition at line 91 of file php_soap.h.

Class Members
int argc
zval ** argv
zend_class_entry * ce
int persistance

Define Documentation

#define FALSE   0

Definition at line 44 of file php_soap.h.

Definition at line 184 of file php_soap.h.

#define SOAP_1_1   1

Definition at line 123 of file php_soap.h.

#define SOAP_1_1_ACTOR_NEXT   "http://schemas.xmlsoap.org/soap/actor/next"

Definition at line 130 of file php_soap.h.

#define SOAP_1_2   2

Definition at line 124 of file php_soap.h.

#define SOAP_1_2_ACTOR_NEXT   "http://www.w3.org/2003/05/soap-envelope/role/next"

Definition at line 132 of file php_soap.h.

#define SOAP_1_2_ACTOR_NONE   "http://www.w3.org/2003/05/soap-envelope/role/none"

Definition at line 133 of file php_soap.h.

#define SOAP_1_2_ACTOR_UNLIMATERECEIVER   "http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"

Definition at line 134 of file php_soap.h.

#define SOAP_ACTOR_NEXT   1

Definition at line 126 of file php_soap.h.

#define SOAP_ACTOR_NONE   2

Definition at line 127 of file php_soap.h.

Definition at line 128 of file php_soap.h.

#define SOAP_AUTHENTICATION_BASIC   0

Definition at line 140 of file php_soap.h.

Definition at line 141 of file php_soap.h.

#define SOAP_CLASS   1

Definition at line 112 of file php_soap.h.

#define SOAP_COMPRESSION_ACCEPT   0x20

Definition at line 136 of file php_soap.h.

#define SOAP_COMPRESSION_DEFLATE   0x10

Definition at line 138 of file php_soap.h.

#define SOAP_COMPRESSION_GZIP   0x00

Definition at line 137 of file php_soap.h.

#define soap_error0 (   severity,
  format 
)    php_error(severity, "SOAP-ERROR: " format)

Definition at line 198 of file php_soap.h.

#define soap_error1 (   severity,
  format,
  param1 
)    php_error(severity, "SOAP-ERROR: " format, param1)

Definition at line 201 of file php_soap.h.

#define soap_error2 (   severity,
  format,
  param1,
  param2 
)    php_error(severity, "SOAP-ERROR: " format, param1, param2)

Definition at line 204 of file php_soap.h.

#define soap_error3 (   severity,
  format,
  param1,
  param2,
  param3 
)    php_error(severity, "SOAP-ERROR: " format, param1, param2, param3)

Definition at line 207 of file php_soap.h.

#define SOAP_FUNCTIONS   2

Definition at line 113 of file php_soap.h.

#define SOAP_FUNCTIONS_ALL   999

Definition at line 115 of file php_soap.h.

#define SOAP_GLOBAL (   v)    (soap_globals.v)

Definition at line 191 of file php_soap.h.

#define SOAP_MAP_CLASS   2

Definition at line 118 of file php_soap.h.

#define SOAP_MAP_FUNCTION   1

Definition at line 117 of file php_soap.h.

Definition at line 183 of file php_soap.h.

#define SOAP_OBJECT   3

Definition at line 114 of file php_soap.h.

#define SOAP_PERSISTENCE_REQUEST   2

Definition at line 121 of file php_soap.h.

#define SOAP_PERSISTENCE_SESSION   1

Definition at line 120 of file php_soap.h.

#define SOAP_SINGLE_ELEMENT_ARRAYS   (1<<0)

Definition at line 143 of file php_soap.h.

#define SOAP_USE_XSI_ARRAY_TYPE   (1<<2)

Definition at line 145 of file php_soap.h.

#define SOAP_WAIT_ONE_WAY_CALLS   (1<<1)

Definition at line 144 of file php_soap.h.

#define stricmp   strcasecmp

Definition at line 45 of file php_soap.h.

#define TRUE   1

Definition at line 43 of file php_soap.h.

#define WSDL_CACHE_BOTH   0x3

Definition at line 150 of file php_soap.h.

#define WSDL_CACHE_DISK   0x1

Definition at line 148 of file php_soap.h.

#define WSDL_CACHE_MEMORY   0x2

Definition at line 149 of file php_soap.h.

#define WSDL_CACHE_NONE   0x0

Definition at line 147 of file php_soap.h.


Typedef Documentation

typedef struct _encode

Definition at line 51 of file php_soap.h.

typedef struct _encodeType

Definition at line 50 of file php_soap.h.

typedef struct _sdl

Definition at line 53 of file php_soap.h.

typedef struct _sdlAttribute

Definition at line 60 of file php_soap.h.

typedef struct _sdlBinding

Definition at line 61 of file php_soap.h.

typedef struct _sdlFunction

Definition at line 59 of file php_soap.h.

typedef struct _sdlParam

Definition at line 58 of file php_soap.h.

typedef struct _sdlRestrictionChar

Definition at line 55 of file php_soap.h.

typedef struct _sdlRestrictionInt

Definition at line 54 of file php_soap.h.

typedef struct _sdlRestrictions

Definition at line 56 of file php_soap.h.

typedef struct _sdlSoapBinding

Definition at line 62 of file php_soap.h.

typedef struct _sdlSoapBindingFunction

Definition at line 63 of file php_soap.h.

Definition at line 64 of file php_soap.h.

typedef struct _sdlType

Definition at line 57 of file php_soap.h.

typedef struct _soapMapping

Definition at line 66 of file php_soap.h.

typedef struct _soapService

Definition at line 67 of file php_soap.h.

typedef struct * encodePtr

Definition at line 51 of file php_soap.h.

typedef struct * encodeTypePtr

Definition at line 50 of file php_soap.h.

typedef struct * sdlAttributePtr

Definition at line 60 of file php_soap.h.

typedef struct * sdlBindingPtr

Definition at line 61 of file php_soap.h.

typedef struct * sdlFunctionPtr

Definition at line 59 of file php_soap.h.

typedef struct * sdlParamPtr

Definition at line 58 of file php_soap.h.

typedef struct * sdlPtr

Definition at line 53 of file php_soap.h.

typedef struct * sdlRestrictionCharPtr

Definition at line 55 of file php_soap.h.

typedef struct * sdlRestrictionIntPtr

Definition at line 54 of file php_soap.h.

typedef struct * sdlRestrictionsPtr

Definition at line 56 of file php_soap.h.

Definition at line 64 of file php_soap.h.

typedef struct * sdlSoapBindingFunctionPtr

Definition at line 63 of file php_soap.h.

typedef struct * sdlSoapBindingPtr

Definition at line 62 of file php_soap.h.

typedef struct * sdlTypePtr

Definition at line 57 of file php_soap.h.

typedef struct * soapMappingPtr

Definition at line 66 of file php_soap.h.

typedef struct * soapServicePtr

Definition at line 67 of file php_soap.h.


Function Documentation

zval* add_soap_fault ( zval *  obj,
char *  fault_code,
char *  fault_string,
char *  fault_actor,
zval *fault_detail  TSRMLS_DC 
)

Definition at line 3424 of file soap.c.

{
       zval *fault;
       ALLOC_INIT_ZVAL(fault);
       set_soap_fault(fault, NULL, fault_code, fault_string, fault_actor, fault_detail, NULL TSRMLS_CC);
#ifdef ZEND_ENGINE_2
       Z_DELREF_P(fault);
#endif
       add_property_zval(obj, "__soap_fault", fault);
       return fault;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

char cache

Definition at line 163 of file php_soap.h.

char* cache_dir

Definition at line 166 of file php_soap.h.

Definition at line 165 of file php_soap.h.

Definition at line 168 of file php_soap.h.

char cache_mode

Definition at line 164 of file php_soap.h.

long cache_ttl

Definition at line 167 of file php_soap.h.

Definition at line 171 of file php_soap.h.

Definition at line 157 of file php_soap.h.

Definition at line 174 of file php_soap.h.

Definition at line 154 of file php_soap.h.

Definition at line 155 of file php_soap.h.

Definition at line 153 of file php_soap.h.

xmlCharEncodingHandlerPtr encoding

Definition at line 170 of file php_soap.h.

char* error_code

Definition at line 161 of file php_soap.h.

zval* error_object

Definition at line 162 of file php_soap.h.

Definition at line 172 of file php_soap.h.

Definition at line 34 of file soap.c.

Definition at line 169 of file php_soap.h.

Definition at line 175 of file php_soap.h.

Definition at line 159 of file php_soap.h.

zend_module_entry soap_module_entry

Definition at line 530 of file soap.c.

zend_class_entry* soap_var_class_entry

Definition at line 185 of file soap.c.

Definition at line 158 of file php_soap.h.

Definition at line 156 of file php_soap.h.

Definition at line 160 of file php_soap.h.

Definition at line 173 of file php_soap.h.