25 require_once dirname(__FILE__).
'/class.ilBMFBase.php';
91 $this->name = $this->nqn->name;
92 $this->
namespace = $this->nqn->namespace;
94 $this->type = $this->tqn->name;
95 $this->type_prefix = $this->tqn->ns;
96 $this->type_namespace = $this->tqn->namespace;
111 return $serializer->_serializeValue($this->value,
115 $this->type_namespace,
159 $this->attributes[
'SOAP-ENV:actor'] = $actor;
160 }
elseif (!isset($this->attributes[
'SOAP-ENV:actor'])) {
161 $this->attributes[
'SOAP-ENV:actor'] =
'http://schemas.xmlsoap.org/soap/actor/next';
163 $this->attributes[
'SOAP-ENV:mustUnderstand'] = (int)$mustunderstand;
192 if (!isset(
$GLOBALS[
'SOAP_options'][
'Mime'])) {
193 $this->options[
'attachment'] =
PEAR::raiseError(
'Mail_mime is not installed, unable to support SOAP Attachements');
200 $this->options[
'attachment'] = $filedata;
204 $cid = md5(uniqid(time()));
206 $this->attributes[
'href'] =
'cid:' .
$cid;
208 $this->options[
'attachment'] = array(
'body' => $filedata,
210 'content_type' =>
$type,
211 'encoding' =>
'base64',
230 if (function_exists(
'file_get_contents')) {