diff --git a/phpgwapi/inc/soap_functions.inc.php b/phpgwapi/inc/soap_functions.inc.php index ac8de14cbc..c97cbdaf2e 100644 --- a/phpgwapi/inc/soap_functions.inc.php +++ b/phpgwapi/inc/soap_functions.inc.php @@ -1,6 +1,25 @@ 1, 'int' => 1, 'boolean' => 1, @@ -18,18 +37,18 @@ 'ur-type' => 2 ); - while(list($key,$val) = each($soapTypes)) + while(list($key,$val) = each($GLOBALS['soapTypes'])) { - $soapKeys[] = $val; + $GLOBALS['soapKeys'][] = $val; } - $typemap = array( + $GLOBALS['typemap'] = array( 'http://soapinterop.org/xsd' => array('SOAPStruct'), 'http://schemas.xmlsoap.org/soap/encoding/' => array('base64'), - 'http://www.w3.org/1999/XMLSchema' => $soapKeys + 'http://www.w3.org/1999/XMLSchema' => $GLOBALS['soapKeys'] ); - $namespaces = array( + $GLOBALS['namespaces'] = array( 'http://schemas.xmlsoap.org/soap/envelope/' => 'SOAP-ENV', 'http://www.w3.org/1999/XMLSchema-instance' => 'xsi', 'http://www.w3.org/1999/XMLSchema' => 'xsd', @@ -37,6 +56,7 @@ 'http://soapinterop.org/xsd' => 'si' ); + /* $xmlEntities = array( 'quot' => '"', 'amp' => '&', @@ -44,6 +64,7 @@ 'gt' => '>', 'apos' => "'" ); + */ - $soap_defencoding = 'UTF-8'; + $GLOBALS['soap_defencoding'] = 'UTF-8'; ?>