Öffentliche Methoden | |
nusoap_client ($endpoint, $wsdl=false, $proxyhost=false, $proxyport=false, $proxyusername=false, $proxypassword=false, $timeout=0, $response_timeout=30, $portName= '') | |
call ($operation, $params=array(), $namespace='http://tempuri.org', $soapAction='', $headers=false, $rpcParams=null, $style='rpc', $use='encoded') | |
checkWSDL () | |
loadWSDL () | |
getOperationData ($operation) | |
send ($msg, $soapaction= '', $timeout=0, $response_timeout=30) | |
parseResponse ($headers, $data) | |
setCurlOption ($option, $value) | |
setEndpoint ($endpoint) | |
setHeaders ($headers) | |
getHeaders () | |
getHeader () | |
setHTTPProxy ($proxyhost, $proxyport, $proxyusername= '', $proxypassword= '') | |
setCredentials ($username, $password, $authtype= 'basic', $certRequest=array()) | |
setHTTPEncoding ($enc='gzip, deflate') | |
setUseCURL ($use) | |
useHTTPPersistentConnection () | |
getDefaultRpcParams () | |
setDefaultRpcParams ($rpcParams) | |
getProxy () | |
_getProxyClassCode ($r) | |
getProxyClassCode () | |
getHTTPBody ($soapmsg) | |
getHTTPContentType () | |
getHTTPContentTypeCharset () | |
decodeUTF8 ($bool) | |
setCookie ($name, $value) | |
getCookies () | |
checkCookies () | |
UpdateCookies ($cookies) | |
nusoap_client ($endpoint, $wsdl=false, $proxyhost=false, $proxyport=false, $proxyusername=false, $proxypassword=false, $timeout=0, $response_timeout=30, $portName= '') | |
call ($operation, $params=array(), $namespace='http://tempuri.org', $soapAction='', $headers=false, $rpcParams=null, $style='rpc', $use='encoded') | |
checkWSDL () | |
loadWSDL () | |
getOperationData ($operation) | |
send ($msg, $soapaction= '', $timeout=0, $response_timeout=30) | |
parseResponse ($headers, $data) | |
setCurlOption ($option, $value) | |
setEndpoint ($endpoint) | |
setHeaders ($headers) | |
getHeaders () | |
getHeader () | |
setHTTPProxy ($proxyhost, $proxyport, $proxyusername= '', $proxypassword= '') | |
setCredentials ($username, $password, $authtype= 'basic', $certRequest=array()) | |
setHTTPEncoding ($enc='gzip, deflate') | |
setUseCURL ($use) | |
useHTTPPersistentConnection () | |
getDefaultRpcParams () | |
setDefaultRpcParams ($rpcParams) | |
getProxy () | |
_getProxyClassCode ($r) | |
getProxyClassCode () | |
getHTTPBody ($soapmsg) | |
getHTTPContentType () | |
getHTTPContentTypeCharset () | |
decodeUTF8 ($bool) | |
setCookie ($name, $value) | |
getCookies () | |
checkCookies () | |
UpdateCookies ($cookies) | |
Öffentliche Attribute | |
$username = '' | |
$password = '' | |
$authtype = '' | |
$certRequest = array() | |
$requestHeaders = false | |
$responseHeaders = '' | |
$responseHeader = NULL | |
$document = '' | |
$endpoint | |
$forceEndpoint = '' | |
$proxyhost = '' | |
$proxyport = '' | |
$proxyusername = '' | |
$proxypassword = '' | |
$portName = '' | |
$xml_encoding = '' | |
$http_encoding = false | |
$timeout = 0 | |
$response_timeout = 30 | |
$endpointType = '' | |
$persistentConnection = false | |
$defaultRpcParams = false | |
$request = '' | |
$response = '' | |
$responseData = '' | |
$cookies = array() | |
$decode_utf8 = true | |
$operations = array() | |
$curl_options = array() | |
$bindingType = '' | |
$use_curl = false | |
$fault | |
$faultcode | |
$faultstring | |
$faultdetail |
usage:
// instantiate client with server info $soapclient = new nusoap_client( string path [ ,mixed wsdl] );
// call method, get results echo $soapclient->call( string methodname [ ,array parameters] );
// bye bye client unset($soapclient);
[nu]soapclient higher level class for easy usage.
usage:
// instantiate client with server info $soapclient = new nusoap_client( string path [ ,mixed wsdl] );
// call method, get results echo $soapclient->call( string methodname [ ,array parameters] );
// bye bye client unset($soapclient);
Definiert in Zeile 26 der Datei class.soapclient.php.
nusoap_client::_getProxyClassCode | ( | $ | r | ) |
dynamically creates proxy class code
Definiert in Zeile 7857 der Datei nusoap.php.
07857 { 07858 $this->debug("in getProxy endpointType=$this->endpointType"); 07859 $this->appendDebug("wsdl=" . $this->varDump($this->wsdl)); 07860 if ($this->endpointType != 'wsdl') { 07861 $evalStr = 'A proxy can only be created for a WSDL client'; 07862 $this->setError($evalStr); 07863 $evalStr = "echo \"$evalStr\";"; 07864 return $evalStr; 07865 } 07866 if ($this->endpointType == 'wsdl' && is_null($this->wsdl)) { 07867 $this->loadWSDL(); 07868 if ($this->getError()) { 07869 return "echo \"" . $this->getError() . "\";"; 07870 } 07871 } 07872 $evalStr = ''; 07873 foreach ($this->operations as $operation => $opData) { 07874 if ($operation != '') { 07875 // create param string and param comment string 07876 if (sizeof($opData['input']['parts']) > 0) { 07877 $paramStr = ''; 07878 $paramArrayStr = ''; 07879 $paramCommentStr = ''; 07880 foreach ($opData['input']['parts'] as $name => $type) { 07881 $paramStr .= "\$$name, "; 07882 $paramArrayStr .= "'$name' => \$$name, "; 07883 $paramCommentStr .= "$type \$$name, "; 07884 } 07885 $paramStr = substr($paramStr, 0, strlen($paramStr)-2); 07886 $paramArrayStr = substr($paramArrayStr, 0, strlen($paramArrayStr)-2); 07887 $paramCommentStr = substr($paramCommentStr, 0, strlen($paramCommentStr)-2); 07888 } else { 07889 $paramStr = ''; 07890 $paramArrayStr = ''; 07891 $paramCommentStr = 'void'; 07892 } 07893 $opData['namespace'] = !isset($opData['namespace']) ? 'http://testuri.com' : $opData['namespace']; 07894 $evalStr .= "// $paramCommentStr 07895 function " . str_replace('.', '__', $operation) . "($paramStr) { 07896 \$params = array($paramArrayStr); 07897 return \$this->call('$operation', \$params, '".$opData['namespace']."', '".(isset($opData['soapAction']) ? $opData['soapAction'] : '')."'); 07898 } 07899 "; 07900 unset($paramStr); 07901 unset($paramCommentStr); 07902 } 07903 } 07904 $evalStr = 'class nusoap_proxy_'.$r.' extends nusoap_client { 07905 '.$evalStr.' 07906 }'; 07907 return $evalStr; 07908 }
nusoap_client::_getProxyClassCode | ( | $ | r | ) |
dynamically creates proxy class code
Definiert in Zeile 749 der Datei class.soapclient.php.
00749 { 00750 $this->debug("in getProxy endpointType=$this->endpointType"); 00751 $this->appendDebug("wsdl=" . $this->varDump($this->wsdl)); 00752 if ($this->endpointType != 'wsdl') { 00753 $evalStr = 'A proxy can only be created for a WSDL client'; 00754 $this->setError($evalStr); 00755 $evalStr = "echo \"$evalStr\";"; 00756 return $evalStr; 00757 } 00758 if ($this->endpointType == 'wsdl' && is_null($this->wsdl)) { 00759 $this->loadWSDL(); 00760 if ($this->getError()) { 00761 return "echo \"" . $this->getError() . "\";"; 00762 } 00763 } 00764 $evalStr = ''; 00765 foreach ($this->operations as $operation => $opData) { 00766 if ($operation != '') { 00767 // create param string and param comment string 00768 if (sizeof($opData['input']['parts']) > 0) { 00769 $paramStr = ''; 00770 $paramArrayStr = ''; 00771 $paramCommentStr = ''; 00772 foreach ($opData['input']['parts'] as $name => $type) { 00773 $paramStr .= "\$$name, "; 00774 $paramArrayStr .= "'$name' => \$$name, "; 00775 $paramCommentStr .= "$type \$$name, "; 00776 } 00777 $paramStr = substr($paramStr, 0, strlen($paramStr)-2); 00778 $paramArrayStr = substr($paramArrayStr, 0, strlen($paramArrayStr)-2); 00779 $paramCommentStr = substr($paramCommentStr, 0, strlen($paramCommentStr)-2); 00780 } else { 00781 $paramStr = ''; 00782 $paramArrayStr = ''; 00783 $paramCommentStr = 'void'; 00784 } 00785 $opData['namespace'] = !isset($opData['namespace']) ? 'http://testuri.com' : $opData['namespace']; 00786 $evalStr .= "// $paramCommentStr 00787 function " . str_replace('.', '__', $operation) . "($paramStr) { 00788 \$params = array($paramArrayStr); 00789 return \$this->call('$operation', \$params, '".$opData['namespace']."', '".(isset($opData['soapAction']) ? $opData['soapAction'] : '')."'); 00790 } 00791 "; 00792 unset($paramStr); 00793 unset($paramCommentStr); 00794 } 00795 } 00796 $evalStr = 'class nusoap_proxy_'.$r.' extends nusoap_client { 00797 '.$evalStr.' 00798 }'; 00799 return $evalStr; 00800 }
nusoap_client::call | ( | $ | operation, | |
$ | params = array() , |
|||
$ | namespace = 'http://tempuri.org' , |
|||
$ | soapAction = '' , |
|||
$ | headers = false , |
|||
$ | rpcParams = null , |
|||
$ | style = 'rpc' , |
|||
$ | use = 'encoded' | |||
) |
calls method, returns PHP native type
string | $operation SOAP server URL or path | |
mixed | $params An array, associative or simple, of the parameters for the method call, or a string that is the XML for the call. For rpc style, this call will wrap the XML in a tag named after the method, as well as the SOAP Envelope and Body. For document style, this will only wrap with the Envelope and Body. IMPORTANT: when using an array with document style, in which case there is really one parameter, the root of the fragment used in the call, which encloses what programmers normally think of parameters. A parameter array *must* include the wrapper. | |
string | $namespace optional method namespace (WSDL can override) | |
string | $soapAction optional SOAPAction value (WSDL can override) | |
mixed | $headers optional string of XML with SOAP header content, or array of soapval objects for SOAP headers, or associative array | |
boolean | $rpcParams optional (no longer used) | |
string | $style optional (rpc|document) the style to use when serializing parameters (WSDL can override) | |
string | $use optional (encoded|literal) the use when serializing parameters (WSDL can override) |
Definiert in Zeile 7265 der Datei nusoap.php.
07265 ://tempuri.org',$soapAction='',$headers=false,$rpcParams=null,$style='rpc',$use='encoded'){ 07266 $this->operation = $operation; 07267 $this->fault = false; 07268 $this->setError(''); 07269 $this->request = ''; 07270 $this->response = ''; 07271 $this->responseData = ''; 07272 $this->faultstring = ''; 07273 $this->faultcode = ''; 07274 $this->opData = array(); 07275 07276 $this->debug("call: operation=$operation, namespace=$namespace, soapAction=$soapAction, rpcParams=$rpcParams, style=$style, use=$use, endpointType=$this->endpointType"); 07277 $this->appendDebug('params=' . $this->varDump($params)); 07278 $this->appendDebug('headers=' . $this->varDump($headers)); 07279 if ($headers) { 07280 $this->requestHeaders = $headers; 07281 } 07282 if ($this->endpointType == 'wsdl' && is_null($this->wsdl)) { 07283 $this->loadWSDL(); 07284 if ($this->getError()) 07285 return false; 07286 } 07287 // serialize parameters 07288 if($this->endpointType == 'wsdl' && $opData = $this->getOperationData($operation)){ 07289 // use WSDL for operation 07290 $this->opData = $opData; 07291 $this->debug("found operation"); 07292 $this->appendDebug('opData=' . $this->varDump($opData)); 07293 if (isset($opData['soapAction'])) { 07294 $soapAction = $opData['soapAction']; 07295 } 07296 if (! $this->forceEndpoint) { 07297 $this->endpoint = $opData['endpoint']; 07298 } else { 07299 $this->endpoint = $this->forceEndpoint; 07300 } 07301 $namespace = isset($opData['input']['namespace']) ? $opData['input']['namespace'] : $namespace; 07302 $style = $opData['style']; 07303 $use = $opData['input']['use']; 07304 // add ns to ns array 07305 if($namespace != '' && !isset($this->wsdl->namespaces[$namespace])){ 07306 $nsPrefix = 'ns' . rand(1000, 9999); 07307 $this->wsdl->namespaces[$nsPrefix] = $namespace; 07308 } 07309 $nsPrefix = $this->wsdl->getPrefixFromNamespace($namespace); 07310 // serialize payload 07311 if (is_string($params)) { 07312 $this->debug("serializing param string for WSDL operation $operation"); 07313 $payload = $params; 07314 } elseif (is_array($params)) { 07315 $this->debug("serializing param array for WSDL operation $operation"); 07316 $payload = $this->wsdl->serializeRPCParameters($operation,'input',$params,$this->bindingType); 07317 } else { 07318 $this->debug('params must be array or string'); 07319 $this->setError('params must be array or string'); 07320 return false; 07321 } 07322 $usedNamespaces = $this->wsdl->usedNamespaces; 07323 if (isset($opData['input']['encodingStyle'])) { 07324 $encodingStyle = $opData['input']['encodingStyle']; 07325 } else { 07326 $encodingStyle = ''; 07327 } 07328 $this->appendDebug($this->wsdl->getDebug()); 07329 $this->wsdl->clearDebug(); 07330 if ($errstr = $this->wsdl->getError()) { 07331 $this->debug('got wsdl error: '.$errstr); 07332 $this->setError('wsdl error: '.$errstr); 07333 return false; 07334 } 07335 } elseif($this->endpointType == 'wsdl') { 07336 // operation not in WSDL 07337 $this->appendDebug($this->wsdl->getDebug()); 07338 $this->wsdl->clearDebug(); 07339 $this->setError( 'operation '.$operation.' not present.'); 07340 $this->debug("operation '$operation' not present."); 07341 return false; 07342 } else { 07343 // no WSDL 07344 //$this->namespaces['ns1'] = $namespace; 07345 $nsPrefix = 'ns' . rand(1000, 9999); 07346 // serialize 07347 $payload = ''; 07348 if (is_string($params)) { 07349 $this->debug("serializing param string for operation $operation"); 07350 $payload = $params; 07351 } elseif (is_array($params)) { 07352 $this->debug("serializing param array for operation $operation"); 07353 foreach($params as $k => $v){ 07354 $payload .= $this->serialize_val($v,$k,false,false,false,false,$use); 07355 } 07356 } else { 07357 $this->debug('params must be array or string'); 07358 $this->setError('params must be array or string'); 07359 return false; 07360 } 07361 $usedNamespaces = array(); 07362 if ($use == 'encoded') { 07363 $encodingStyle = 'http://schemas.xmlsoap.org/soap/encoding/'; 07364 } else { 07365 $encodingStyle = ''; 07366 } 07367 } 07368 // wrap RPC calls with method element 07369 if ($style == 'rpc') { 07370 if ($use == 'literal') { 07371 $this->debug("wrapping RPC request with literal method element"); 07372 if ($namespace) { 07373 // http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html R2735 says rpc/literal accessor elements should not be in a namespace 07374 $payload = "<$nsPrefix:$operation xmlns:$nsPrefix=\"$namespace\">" . 07375 $payload . 07376 "</$nsPrefix:$operation>"; 07377 } else { 07378 $payload = "<$operation>" . $payload . "</$operation>"; 07379 } 07380 } else { 07381 $this->debug("wrapping RPC request with encoded method element"); 07382 if ($namespace) { 07383 $payload = "<$nsPrefix:$operation xmlns:$nsPrefix=\"$namespace\">" . 07384 $payload . 07385 "</$nsPrefix:$operation>"; 07386 } else { 07387 $payload = "<$operation>" . 07388 $payload . 07389 "</$operation>"; 07390 } 07391 } 07392 } 07393 // serialize envelope 07394 $soapmsg = $this->serializeEnvelope($payload,$this->requestHeaders,$usedNamespaces,$style,$use,$encodingStyle); 07395 $this->debug("endpoint=$this->endpoint, soapAction=$soapAction, namespace=$namespace, style=$style, use=$use, encodingStyle=$encodingStyle"); 07396 $this->debug('SOAP message length=' . strlen($soapmsg) . ' contents (max 1000 bytes)=' . substr($soapmsg, 0, 1000)); 07397 // send 07398 $return = $this->send($this->getHTTPBody($soapmsg),$soapAction,$this->timeout,$this->response_timeout); 07399 if($errstr = $this->getError()){ 07400 $this->debug('Error: '.$errstr); 07401 return false; 07402 } else { 07403 $this->return = $return; 07404 $this->debug('sent message successfully and got a(n) '.gettype($return)); 07405 $this->appendDebug('return=' . $this->varDump($return)); 07406 07407 // fault? 07408 if(is_array($return) && isset($return['faultcode'])){ 07409 $this->debug('got fault'); 07410 $this->setError($return['faultcode'].': '.$return['faultstring']); 07411 $this->fault = true; 07412 foreach($return as $k => $v){ 07413 $this->$k = $v; 07414 $this->debug("$k = $v<br>"); 07415 } 07416 return $return; 07417 } elseif ($style == 'document') { 07418 // NOTE: if the response is defined to have multiple parts (i.e. unwrapped), 07419 // we are only going to return the first part here...sorry about that 07420 return $return; 07421 } else { 07422 // array of return values 07423 if(is_array($return)){ 07424 // multiple 'out' parameters, which we return wrapped up 07425 // in the array 07426 if(sizeof($return) > 1){ 07427 return $return; 07428 } 07429 // single 'out' parameter (normally the return value) 07430 $return = array_shift($return); 07431 $this->debug('return shifted value: '); 07432 $this->appendDebug($this->varDump($return)); 07433 return $return; 07434 // nothing returned (ie, echoVoid) 07435 } else { 07436 return ""; 07437 } 07438 } 07439 } 07440 }
nusoap_client::call | ( | $ | operation, | |
$ | params = array() , |
|||
$ | namespace = 'http://tempuri.org' , |
|||
$ | soapAction = '' , |
|||
$ | headers = false , |
|||
$ | rpcParams = null , |
|||
$ | style = 'rpc' , |
|||
$ | use = 'encoded' | |||
) |
calls method, returns PHP native type
string | $operation SOAP server URL or path | |
mixed | $params An array, associative or simple, of the parameters for the method call, or a string that is the XML for the call. For rpc style, this call will wrap the XML in a tag named after the method, as well as the SOAP Envelope and Body. For document style, this will only wrap with the Envelope and Body. IMPORTANT: when using an array with document style, in which case there is really one parameter, the root of the fragment used in the call, which encloses what programmers normally think of parameters. A parameter array *must* include the wrapper. | |
string | $namespace optional method namespace (WSDL can override) | |
string | $soapAction optional SOAPAction value (WSDL can override) | |
mixed | $headers optional string of XML with SOAP header content, or array of soapval objects for SOAP headers, or associative array | |
boolean | $rpcParams optional (no longer used) | |
string | $style optional (rpc|document) the style to use when serializing parameters (WSDL can override) | |
string | $use optional (encoded|literal) the use when serializing parameters (WSDL can override) |
Definiert in Zeile 157 der Datei class.soapclient.php.
00157 ://tempuri.org',$soapAction='',$headers=false,$rpcParams=null,$style='rpc',$use='encoded'){ 00158 $this->operation = $operation; 00159 $this->fault = false; 00160 $this->setError(''); 00161 $this->request = ''; 00162 $this->response = ''; 00163 $this->responseData = ''; 00164 $this->faultstring = ''; 00165 $this->faultcode = ''; 00166 $this->opData = array(); 00167 00168 $this->debug("call: operation=$operation, namespace=$namespace, soapAction=$soapAction, rpcParams=$rpcParams, style=$style, use=$use, endpointType=$this->endpointType"); 00169 $this->appendDebug('params=' . $this->varDump($params)); 00170 $this->appendDebug('headers=' . $this->varDump($headers)); 00171 if ($headers) { 00172 $this->requestHeaders = $headers; 00173 } 00174 if ($this->endpointType == 'wsdl' && is_null($this->wsdl)) { 00175 $this->loadWSDL(); 00176 if ($this->getError()) 00177 return false; 00178 } 00179 // serialize parameters 00180 if($this->endpointType == 'wsdl' && $opData = $this->getOperationData($operation)){ 00181 // use WSDL for operation 00182 $this->opData = $opData; 00183 $this->debug("found operation"); 00184 $this->appendDebug('opData=' . $this->varDump($opData)); 00185 if (isset($opData['soapAction'])) { 00186 $soapAction = $opData['soapAction']; 00187 } 00188 if (! $this->forceEndpoint) { 00189 $this->endpoint = $opData['endpoint']; 00190 } else { 00191 $this->endpoint = $this->forceEndpoint; 00192 } 00193 $namespace = isset($opData['input']['namespace']) ? $opData['input']['namespace'] : $namespace; 00194 $style = $opData['style']; 00195 $use = $opData['input']['use']; 00196 // add ns to ns array 00197 if($namespace != '' && !isset($this->wsdl->namespaces[$namespace])){ 00198 $nsPrefix = 'ns' . rand(1000, 9999); 00199 $this->wsdl->namespaces[$nsPrefix] = $namespace; 00200 } 00201 $nsPrefix = $this->wsdl->getPrefixFromNamespace($namespace); 00202 // serialize payload 00203 if (is_string($params)) { 00204 $this->debug("serializing param string for WSDL operation $operation"); 00205 $payload = $params; 00206 } elseif (is_array($params)) { 00207 $this->debug("serializing param array for WSDL operation $operation"); 00208 $payload = $this->wsdl->serializeRPCParameters($operation,'input',$params,$this->bindingType); 00209 } else { 00210 $this->debug('params must be array or string'); 00211 $this->setError('params must be array or string'); 00212 return false; 00213 } 00214 $usedNamespaces = $this->wsdl->usedNamespaces; 00215 if (isset($opData['input']['encodingStyle'])) { 00216 $encodingStyle = $opData['input']['encodingStyle']; 00217 } else { 00218 $encodingStyle = ''; 00219 } 00220 $this->appendDebug($this->wsdl->getDebug()); 00221 $this->wsdl->clearDebug(); 00222 if ($errstr = $this->wsdl->getError()) { 00223 $this->debug('got wsdl error: '.$errstr); 00224 $this->setError('wsdl error: '.$errstr); 00225 return false; 00226 } 00227 } elseif($this->endpointType == 'wsdl') { 00228 // operation not in WSDL 00229 $this->appendDebug($this->wsdl->getDebug()); 00230 $this->wsdl->clearDebug(); 00231 $this->setError( 'operation '.$operation.' not present.'); 00232 $this->debug("operation '$operation' not present."); 00233 return false; 00234 } else { 00235 // no WSDL 00236 //$this->namespaces['ns1'] = $namespace; 00237 $nsPrefix = 'ns' . rand(1000, 9999); 00238 // serialize 00239 $payload = ''; 00240 if (is_string($params)) { 00241 $this->debug("serializing param string for operation $operation"); 00242 $payload = $params; 00243 } elseif (is_array($params)) { 00244 $this->debug("serializing param array for operation $operation"); 00245 foreach($params as $k => $v){ 00246 $payload .= $this->serialize_val($v,$k,false,false,false,false,$use); 00247 } 00248 } else { 00249 $this->debug('params must be array or string'); 00250 $this->setError('params must be array or string'); 00251 return false; 00252 } 00253 $usedNamespaces = array(); 00254 if ($use == 'encoded') { 00255 $encodingStyle = 'http://schemas.xmlsoap.org/soap/encoding/'; 00256 } else { 00257 $encodingStyle = ''; 00258 } 00259 } 00260 // wrap RPC calls with method element 00261 if ($style == 'rpc') { 00262 if ($use == 'literal') { 00263 $this->debug("wrapping RPC request with literal method element"); 00264 if ($namespace) { 00265 // http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html R2735 says rpc/literal accessor elements should not be in a namespace 00266 $payload = "<$nsPrefix:$operation xmlns:$nsPrefix=\"$namespace\">" . 00267 $payload . 00268 "</$nsPrefix:$operation>"; 00269 } else { 00270 $payload = "<$operation>" . $payload . "</$operation>"; 00271 } 00272 } else { 00273 $this->debug("wrapping RPC request with encoded method element"); 00274 if ($namespace) { 00275 $payload = "<$nsPrefix:$operation xmlns:$nsPrefix=\"$namespace\">" . 00276 $payload . 00277 "</$nsPrefix:$operation>"; 00278 } else { 00279 $payload = "<$operation>" . 00280 $payload . 00281 "</$operation>"; 00282 } 00283 } 00284 } 00285 // serialize envelope 00286 $soapmsg = $this->serializeEnvelope($payload,$this->requestHeaders,$usedNamespaces,$style,$use,$encodingStyle); 00287 $this->debug("endpoint=$this->endpoint, soapAction=$soapAction, namespace=$namespace, style=$style, use=$use, encodingStyle=$encodingStyle"); 00288 $this->debug('SOAP message length=' . strlen($soapmsg) . ' contents (max 1000 bytes)=' . substr($soapmsg, 0, 1000)); 00289 // send 00290 $return = $this->send($this->getHTTPBody($soapmsg),$soapAction,$this->timeout,$this->response_timeout); 00291 if($errstr = $this->getError()){ 00292 $this->debug('Error: '.$errstr); 00293 return false; 00294 } else { 00295 $this->return = $return; 00296 $this->debug('sent message successfully and got a(n) '.gettype($return)); 00297 $this->appendDebug('return=' . $this->varDump($return)); 00298 00299 // fault? 00300 if(is_array($return) && isset($return['faultcode'])){ 00301 $this->debug('got fault'); 00302 $this->setError($return['faultcode'].': '.$return['faultstring']); 00303 $this->fault = true; 00304 foreach($return as $k => $v){ 00305 $this->$k = $v; 00306 $this->debug("$k = $v<br>"); 00307 } 00308 return $return; 00309 } elseif ($style == 'document') { 00310 // NOTE: if the response is defined to have multiple parts (i.e. unwrapped), 00311 // we are only going to return the first part here...sorry about that 00312 return $return; 00313 } else { 00314 // array of return values 00315 if(is_array($return)){ 00316 // multiple 'out' parameters, which we return wrapped up 00317 // in the array 00318 if(sizeof($return) > 1){ 00319 return $return; 00320 } 00321 // single 'out' parameter (normally the return value) 00322 $return = array_shift($return); 00323 $this->debug('return shifted value: '); 00324 $this->appendDebug($this->varDump($return)); 00325 return $return; 00326 // nothing returned (ie, echoVoid) 00327 } else { 00328 return ""; 00329 } 00330 } 00331 } 00332 }
nusoap_client::checkCookies | ( | ) |
checks all Cookies and delete those which are expired
Definiert in Zeile 8000 der Datei nusoap.php.
08000 { 08001 if (sizeof($this->cookies) == 0) { 08002 return true; 08003 } 08004 $this->debug('checkCookie: check ' . sizeof($this->cookies) . ' cookies'); 08005 $curr_cookies = $this->cookies; 08006 $this->cookies = array(); 08007 foreach ($curr_cookies as $cookie) { 08008 if (! is_array($cookie)) { 08009 $this->debug('Remove cookie that is not an array'); 08010 continue; 08011 } 08012 if ((isset($cookie['expires'])) && (! empty($cookie['expires']))) { 08013 if (strtotime($cookie['expires']) > time()) { 08014 $this->cookies[] = $cookie; 08015 } else { 08016 $this->debug('Remove expired cookie ' . $cookie['name']); 08017 } 08018 } else { 08019 $this->cookies[] = $cookie; 08020 } 08021 } 08022 $this->debug('checkCookie: '.sizeof($this->cookies).' cookies left in array'); 08023 return true; 08024 }
nusoap_client::checkCookies | ( | ) |
checks all Cookies and delete those which are expired
Definiert in Zeile 892 der Datei class.soapclient.php.
00892 { 00893 if (sizeof($this->cookies) == 0) { 00894 return true; 00895 } 00896 $this->debug('checkCookie: check ' . sizeof($this->cookies) . ' cookies'); 00897 $curr_cookies = $this->cookies; 00898 $this->cookies = array(); 00899 foreach ($curr_cookies as $cookie) { 00900 if (! is_array($cookie)) { 00901 $this->debug('Remove cookie that is not an array'); 00902 continue; 00903 } 00904 if ((isset($cookie['expires'])) && (! empty($cookie['expires']))) { 00905 if (strtotime($cookie['expires']) > time()) { 00906 $this->cookies[] = $cookie; 00907 } else { 00908 $this->debug('Remove expired cookie ' . $cookie['name']); 00909 } 00910 } else { 00911 $this->cookies[] = $cookie; 00912 } 00913 } 00914 $this->debug('checkCookie: '.sizeof($this->cookies).' cookies left in array'); 00915 return true; 00916 }
nusoap_client::checkWSDL | ( | ) |
check WSDL passed as an instance or pulled from an endpoint
private
Definiert in Zeile 7447 der Datei nusoap.php.
07447 { 07448 $this->appendDebug($this->wsdl->getDebug()); 07449 $this->wsdl->clearDebug(); 07450 $this->debug('checkWSDL'); 07451 // catch errors 07452 if ($errstr = $this->wsdl->getError()) { 07453 $this->appendDebug($this->wsdl->getDebug()); 07454 $this->wsdl->clearDebug(); 07455 $this->debug('got wsdl error: '.$errstr); 07456 $this->setError('wsdl error: '.$errstr); 07457 } elseif ($this->operations = $this->wsdl->getOperations($this->portName, 'soap')) { 07458 $this->appendDebug($this->wsdl->getDebug()); 07459 $this->wsdl->clearDebug(); 07460 $this->bindingType = 'soap'; 07461 $this->debug('got '.count($this->operations).' operations from wsdl '.$this->wsdlFile.' for binding type '.$this->bindingType); 07462 } elseif ($this->operations = $this->wsdl->getOperations($this->portName, 'soap12')) { 07463 $this->appendDebug($this->wsdl->getDebug()); 07464 $this->wsdl->clearDebug(); 07465 $this->bindingType = 'soap12'; 07466 $this->debug('got '.count($this->operations).' operations from wsdl '.$this->wsdlFile.' for binding type '.$this->bindingType); 07467 $this->debug('**************** WARNING: SOAP 1.2 BINDING *****************'); 07468 } else { 07469 $this->appendDebug($this->wsdl->getDebug()); 07470 $this->wsdl->clearDebug(); 07471 $this->debug('getOperations returned false'); 07472 $this->setError('no operations defined in the WSDL document!'); 07473 } 07474 }
nusoap_client::checkWSDL | ( | ) |
check WSDL passed as an instance or pulled from an endpoint
private
Definiert in Zeile 339 der Datei class.soapclient.php.
00339 { 00340 $this->appendDebug($this->wsdl->getDebug()); 00341 $this->wsdl->clearDebug(); 00342 $this->debug('checkWSDL'); 00343 // catch errors 00344 if ($errstr = $this->wsdl->getError()) { 00345 $this->appendDebug($this->wsdl->getDebug()); 00346 $this->wsdl->clearDebug(); 00347 $this->debug('got wsdl error: '.$errstr); 00348 $this->setError('wsdl error: '.$errstr); 00349 } elseif ($this->operations = $this->wsdl->getOperations($this->portName, 'soap')) { 00350 $this->appendDebug($this->wsdl->getDebug()); 00351 $this->wsdl->clearDebug(); 00352 $this->bindingType = 'soap'; 00353 $this->debug('got '.count($this->operations).' operations from wsdl '.$this->wsdlFile.' for binding type '.$this->bindingType); 00354 } elseif ($this->operations = $this->wsdl->getOperations($this->portName, 'soap12')) { 00355 $this->appendDebug($this->wsdl->getDebug()); 00356 $this->wsdl->clearDebug(); 00357 $this->bindingType = 'soap12'; 00358 $this->debug('got '.count($this->operations).' operations from wsdl '.$this->wsdlFile.' for binding type '.$this->bindingType); 00359 $this->debug('**************** WARNING: SOAP 1.2 BINDING *****************'); 00360 } else { 00361 $this->appendDebug($this->wsdl->getDebug()); 00362 $this->wsdl->clearDebug(); 00363 $this->debug('getOperations returned false'); 00364 $this->setError('no operations defined in the WSDL document!'); 00365 } 00366 }
nusoap_client::decodeUTF8 | ( | $ | bool | ) |
nusoap_client::decodeUTF8 | ( | $ | bool | ) |
nusoap_client::getCookies | ( | ) |
gets all Cookies
Definiert in Zeile 7990 der Datei nusoap.php.
nusoap_client::getCookies | ( | ) |
gets all Cookies
Definiert in Zeile 882 der Datei class.soapclient.php.
nusoap_client::getDefaultRpcParams | ( | ) |
gets the default RPC parameter setting. If true, default is that call params are like RPC even for document style. Each call() can override this value.
This is no longer used.
Definiert in Zeile 7783 der Datei nusoap.php.
nusoap_client::getDefaultRpcParams | ( | ) |
gets the default RPC parameter setting. If true, default is that call params are like RPC even for document style. Each call() can override this value.
This is no longer used.
Definiert in Zeile 675 der Datei class.soapclient.php.
nusoap_client::getHeader | ( | ) |
get the SOAP response Header (parsed)
Definiert in Zeile 7702 der Datei nusoap.php.
nusoap_client::getHeader | ( | ) |
get the SOAP response Header (parsed)
Definiert in Zeile 594 der Datei class.soapclient.php.
nusoap_client::getHeaders | ( | ) |
get the SOAP response headers (namespace resolution incomplete)
Definiert in Zeile 7692 der Datei nusoap.php.
nusoap_client::getHeaders | ( | ) |
get the SOAP response headers (namespace resolution incomplete)
Definiert in Zeile 584 der Datei class.soapclient.php.
nusoap_client::getHTTPBody | ( | $ | soapmsg | ) |
gets the HTTP body for the current request.
string | $soapmsg The SOAP payload |
Erneute Implementation in nusoap_client_mime.
Definiert in Zeile 7928 der Datei nusoap.php.
nusoap_client::getHTTPBody | ( | $ | soapmsg | ) |
gets the HTTP body for the current request.
string | $soapmsg The SOAP payload |
Erneute Implementation in nusoap_client_mime.
Definiert in Zeile 820 der Datei class.soapclient.php.
nusoap_client::getHTTPContentType | ( | ) |
gets the HTTP content type for the current request.
Note: getHTTPBody must be called before this.
Erneute Implementation in nusoap_client_mime.
Definiert in Zeile 7940 der Datei nusoap.php.
nusoap_client::getHTTPContentType | ( | ) |
gets the HTTP content type for the current request.
Note: getHTTPBody must be called before this.
Erneute Implementation in nusoap_client_mime.
Definiert in Zeile 832 der Datei class.soapclient.php.
nusoap_client::getHTTPContentTypeCharset | ( | ) |
gets the HTTP content type charset for the current request. returns false for non-text content types.
Note: getHTTPBody must be called before this.
Erneute Implementation in nusoap_client_mime.
Definiert in Zeile 7953 der Datei nusoap.php.
nusoap_client::getHTTPContentTypeCharset | ( | ) |
gets the HTTP content type charset for the current request. returns false for non-text content types.
Note: getHTTPBody must be called before this.
Erneute Implementation in nusoap_client_mime.
Definiert in Zeile 845 der Datei class.soapclient.php.
nusoap_client::getOperationData | ( | $ | operation | ) |
get available data pertaining to an operation
string | $operation operation name |
Definiert in Zeile 7496 der Datei nusoap.php.
07496 { 07497 if ($this->endpointType == 'wsdl' && is_null($this->wsdl)) { 07498 $this->loadWSDL(); 07499 if ($this->getError()) 07500 return false; 07501 } 07502 if(isset($this->operations[$operation])){ 07503 return $this->operations[$operation]; 07504 } 07505 $this->debug("No data for operation: $operation"); 07506 }
nusoap_client::getOperationData | ( | $ | operation | ) |
get available data pertaining to an operation
string | $operation operation name |
Definiert in Zeile 388 der Datei class.soapclient.php.
00388 { 00389 if ($this->endpointType == 'wsdl' && is_null($this->wsdl)) { 00390 $this->loadWSDL(); 00391 if ($this->getError()) 00392 return false; 00393 } 00394 if(isset($this->operations[$operation])){ 00395 return $this->operations[$operation]; 00396 } 00397 $this->debug("No data for operation: $operation"); 00398 }
nusoap_client::getProxy | ( | ) |
dynamically creates an instance of a proxy class, allowing user to directly call methods from wsdl
Definiert in Zeile 7809 der Datei nusoap.php.
07809 { 07810 $r = rand(); 07811 $evalStr = $this->_getProxyClassCode($r); 07812 //$this->debug("proxy class: $evalStr"); 07813 if ($this->getError()) { 07814 $this->debug("Error from _getProxyClassCode, so return NULL"); 07815 return null; 07816 } 07817 // eval the class 07818 eval($evalStr); 07819 // instantiate proxy object 07820 eval("\$proxy = new nusoap_proxy_$r('');"); 07821 // transfer current wsdl data to the proxy thereby avoiding parsing the wsdl twice 07822 $proxy->endpointType = 'wsdl'; 07823 $proxy->wsdlFile = $this->wsdlFile; 07824 $proxy->wsdl = $this->wsdl; 07825 $proxy->operations = $this->operations; 07826 $proxy->defaultRpcParams = $this->defaultRpcParams; 07827 // transfer other state 07828 $proxy->soap_defencoding = $this->soap_defencoding; 07829 $proxy->username = $this->username; 07830 $proxy->password = $this->password; 07831 $proxy->authtype = $this->authtype; 07832 $proxy->certRequest = $this->certRequest; 07833 $proxy->requestHeaders = $this->requestHeaders; 07834 $proxy->endpoint = $this->endpoint; 07835 $proxy->forceEndpoint = $this->forceEndpoint; 07836 $proxy->proxyhost = $this->proxyhost; 07837 $proxy->proxyport = $this->proxyport; 07838 $proxy->proxyusername = $this->proxyusername; 07839 $proxy->proxypassword = $this->proxypassword; 07840 $proxy->http_encoding = $this->http_encoding; 07841 $proxy->timeout = $this->timeout; 07842 $proxy->response_timeout = $this->response_timeout; 07843 $proxy->persistentConnection = &$this->persistentConnection; 07844 $proxy->decode_utf8 = $this->decode_utf8; 07845 $proxy->curl_options = $this->curl_options; 07846 $proxy->bindingType = $this->bindingType; 07847 $proxy->use_curl = $this->use_curl; 07848 return $proxy; 07849 }
nusoap_client::getProxy | ( | ) |
dynamically creates an instance of a proxy class, allowing user to directly call methods from wsdl
Definiert in Zeile 701 der Datei class.soapclient.php.
00701 { 00702 $r = rand(); 00703 $evalStr = $this->_getProxyClassCode($r); 00704 //$this->debug("proxy class: $evalStr"); 00705 if ($this->getError()) { 00706 $this->debug("Error from _getProxyClassCode, so return NULL"); 00707 return null; 00708 } 00709 // eval the class 00710 eval($evalStr); 00711 // instantiate proxy object 00712 eval("\$proxy = new nusoap_proxy_$r('');"); 00713 // transfer current wsdl data to the proxy thereby avoiding parsing the wsdl twice 00714 $proxy->endpointType = 'wsdl'; 00715 $proxy->wsdlFile = $this->wsdlFile; 00716 $proxy->wsdl = $this->wsdl; 00717 $proxy->operations = $this->operations; 00718 $proxy->defaultRpcParams = $this->defaultRpcParams; 00719 // transfer other state 00720 $proxy->soap_defencoding = $this->soap_defencoding; 00721 $proxy->username = $this->username; 00722 $proxy->password = $this->password; 00723 $proxy->authtype = $this->authtype; 00724 $proxy->certRequest = $this->certRequest; 00725 $proxy->requestHeaders = $this->requestHeaders; 00726 $proxy->endpoint = $this->endpoint; 00727 $proxy->forceEndpoint = $this->forceEndpoint; 00728 $proxy->proxyhost = $this->proxyhost; 00729 $proxy->proxyport = $this->proxyport; 00730 $proxy->proxyusername = $this->proxyusername; 00731 $proxy->proxypassword = $this->proxypassword; 00732 $proxy->http_encoding = $this->http_encoding; 00733 $proxy->timeout = $this->timeout; 00734 $proxy->response_timeout = $this->response_timeout; 00735 $proxy->persistentConnection = &$this->persistentConnection; 00736 $proxy->decode_utf8 = $this->decode_utf8; 00737 $proxy->curl_options = $this->curl_options; 00738 $proxy->bindingType = $this->bindingType; 00739 $proxy->use_curl = $this->use_curl; 00740 return $proxy; 00741 }
nusoap_client::getProxyClassCode | ( | ) |
dynamically creates proxy class code
Definiert in Zeile 7916 der Datei nusoap.php.
07916 { 07917 $r = rand(); 07918 return $this->_getProxyClassCode($r); 07919 }
nusoap_client::getProxyClassCode | ( | ) |
dynamically creates proxy class code
Definiert in Zeile 808 der Datei class.soapclient.php.
00808 { 00809 $r = rand(); 00810 return $this->_getProxyClassCode($r); 00811 }
nusoap_client::loadWSDL | ( | ) |
instantiate wsdl object and parse wsdl file
public
Definiert in Zeile 7481 der Datei nusoap.php.
07481 { 07482 $this->debug('instantiating wsdl class with doc: '.$this->wsdlFile); 07483 $this->wsdl =& new wsdl('',$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout,$this->curl_options,$this->use_curl); 07484 $this->wsdl->setCredentials($this->username, $this->password, $this->authtype, $this->certRequest); 07485 $this->wsdl->fetchWSDL($this->wsdlFile); 07486 $this->checkWSDL(); 07487 }
nusoap_client::loadWSDL | ( | ) |
instantiate wsdl object and parse wsdl file
public
Definiert in Zeile 373 der Datei class.soapclient.php.
00373 { 00374 $this->debug('instantiating wsdl class with doc: '.$this->wsdlFile); 00375 $this->wsdl =& new wsdl('',$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout,$this->curl_options,$this->use_curl); 00376 $this->wsdl->setCredentials($this->username, $this->password, $this->authtype, $this->certRequest); 00377 $this->wsdl->fetchWSDL($this->wsdlFile); 00378 $this->checkWSDL(); 00379 }
nusoap_client::nusoap_client | ( | $ | endpoint, | |
$ | wsdl = false , |
|||
$ | proxyhost = false , |
|||
$ | proxyport = false , |
|||
$ | proxyusername = false , |
|||
$ | proxypassword = false , |
|||
$ | timeout = 0 , |
|||
$ | response_timeout = 30 , |
|||
$ | portName = '' | |||
) |
constructor
mixed | $endpoint SOAP server or WSDL URL (string), or wsdl instance (object) | |
mixed | $wsdl optional, set to 'wsdl' or true if using WSDL | |
string | $proxyhost optional | |
string | $proxyport optional | |
string | $proxyusername optional | |
string | $proxypassword optional | |
integer | $timeout set the connection timeout | |
integer | $response_timeout set the response timeout | |
string | $portName optional portName in WSDL document public |
Definiert in Zeile 7206 der Datei nusoap.php.
07206 { 07207 parent::nusoap_base(); 07208 $this->endpoint = $endpoint; 07209 $this->proxyhost = $proxyhost; 07210 $this->proxyport = $proxyport; 07211 $this->proxyusername = $proxyusername; 07212 $this->proxypassword = $proxypassword; 07213 $this->timeout = $timeout; 07214 $this->response_timeout = $response_timeout; 07215 $this->portName = $portName; 07216 07217 $this->debug("ctor wsdl=$wsdl timeout=$timeout response_timeout=$response_timeout"); 07218 $this->appendDebug('endpoint=' . $this->varDump($endpoint)); 07219 07220 // make values 07221 if($wsdl){ 07222 if (is_object($endpoint) && (get_class($endpoint) == 'wsdl')) { 07223 $this->wsdl = $endpoint; 07224 $this->endpoint = $this->wsdl->wsdl; 07225 $this->wsdlFile = $this->endpoint; 07226 $this->debug('existing wsdl instance created from ' . $this->endpoint); 07227 $this->checkWSDL(); 07228 } else { 07229 $this->wsdlFile = $this->endpoint; 07230 $this->wsdl = null; 07231 $this->debug('will use lazy evaluation of wsdl from ' . $this->endpoint); 07232 } 07233 $this->endpointType = 'wsdl'; 07234 } else { 07235 $this->debug("instantiate SOAP with endpoint at $endpoint"); 07236 $this->endpointType = 'soap'; 07237 } 07238 }
nusoap_client::nusoap_client | ( | $ | endpoint, | |
$ | wsdl = false , |
|||
$ | proxyhost = false , |
|||
$ | proxyport = false , |
|||
$ | proxyusername = false , |
|||
$ | proxypassword = false , |
|||
$ | timeout = 0 , |
|||
$ | response_timeout = 30 , |
|||
$ | portName = '' | |||
) |
constructor
mixed | $endpoint SOAP server or WSDL URL (string), or wsdl instance (object) | |
mixed | $wsdl optional, set to 'wsdl' or true if using WSDL | |
string | $proxyhost optional | |
string | $proxyport optional | |
string | $proxyusername optional | |
string | $proxypassword optional | |
integer | $timeout set the connection timeout | |
integer | $response_timeout set the response timeout | |
string | $portName optional portName in WSDL document public |
Definiert in Zeile 98 der Datei class.soapclient.php.
00098 { 00099 parent::nusoap_base(); 00100 $this->endpoint = $endpoint; 00101 $this->proxyhost = $proxyhost; 00102 $this->proxyport = $proxyport; 00103 $this->proxyusername = $proxyusername; 00104 $this->proxypassword = $proxypassword; 00105 $this->timeout = $timeout; 00106 $this->response_timeout = $response_timeout; 00107 $this->portName = $portName; 00108 00109 $this->debug("ctor wsdl=$wsdl timeout=$timeout response_timeout=$response_timeout"); 00110 $this->appendDebug('endpoint=' . $this->varDump($endpoint)); 00111 00112 // make values 00113 if($wsdl){ 00114 if (is_object($endpoint) && (get_class($endpoint) == 'wsdl')) { 00115 $this->wsdl = $endpoint; 00116 $this->endpoint = $this->wsdl->wsdl; 00117 $this->wsdlFile = $this->endpoint; 00118 $this->debug('existing wsdl instance created from ' . $this->endpoint); 00119 $this->checkWSDL(); 00120 } else { 00121 $this->wsdlFile = $this->endpoint; 00122 $this->wsdl = null; 00123 $this->debug('will use lazy evaluation of wsdl from ' . $this->endpoint); 00124 } 00125 $this->endpointType = 'wsdl'; 00126 } else { 00127 $this->debug("instantiate SOAP with endpoint at $endpoint"); 00128 $this->endpointType = 'soap'; 00129 } 00130 }
nusoap_client::parseResponse | ( | $ | headers, | |
$ | data | |||
) |
processes SOAP message returned from server
array | $headers The HTTP headers | |
string | $data unprocessed response data from server |
Erneute Implementation in nusoap_client_mime.
Definiert in Zeile 7601 der Datei nusoap.php.
07601 { 07602 $this->debug('Entering parseResponse() for data of length ' . strlen($data) . ' headers:'); 07603 $this->appendDebug($this->varDump($headers)); 07604 if (!isset($headers['content-type'])) { 07605 $this->setError('Response not of type text/xml (no content-type header)'); 07606 return false; 07607 } 07608 if (!strstr($headers['content-type'], 'text/xml')) { 07609 $this->setError('Response not of type text/xml: ' . $headers['content-type']); 07610 return false; 07611 } 07612 if (strpos($headers['content-type'], '=')) { 07613 $enc = str_replace('"', '', substr(strstr($headers["content-type"], '='), 1)); 07614 $this->debug('Got response encoding: ' . $enc); 07615 if(eregi('^(ISO-8859-1|US-ASCII|UTF-8)$',$enc)){ 07616 $this->xml_encoding = strtoupper($enc); 07617 } else { 07618 $this->xml_encoding = 'US-ASCII'; 07619 } 07620 } else { 07621 // should be US-ASCII for HTTP 1.0 or ISO-8859-1 for HTTP 1.1 07622 $this->xml_encoding = 'ISO-8859-1'; 07623 } 07624 $this->debug('Use encoding: ' . $this->xml_encoding . ' when creating nusoap_parser'); 07625 $parser = new nusoap_parser($data,$this->xml_encoding,$this->operation,$this->decode_utf8); 07626 // add parser debug data to our debug 07627 $this->appendDebug($parser->getDebug()); 07628 // if parse errors 07629 if($errstr = $parser->getError()){ 07630 $this->setError( $errstr); 07631 // destroy the parser object 07632 unset($parser); 07633 return false; 07634 } else { 07635 // get SOAP headers 07636 $this->responseHeaders = $parser->getHeaders(); 07637 // get SOAP headers 07638 $this->responseHeader = $parser->get_soapheader(); 07639 // get decoded message 07640 $return = $parser->get_soapbody(); 07641 // add document for doclit support 07642 $this->document = $parser->document; 07643 // destroy the parser object 07644 unset($parser); 07645 // return decode message 07646 return $return; 07647 } 07648 }
nusoap_client::parseResponse | ( | $ | headers, | |
$ | data | |||
) |
processes SOAP message returned from server
array | $headers The HTTP headers | |
string | $data unprocessed response data from server |
Erneute Implementation in nusoap_client_mime.
Definiert in Zeile 493 der Datei class.soapclient.php.
00493 { 00494 $this->debug('Entering parseResponse() for data of length ' . strlen($data) . ' headers:'); 00495 $this->appendDebug($this->varDump($headers)); 00496 if (!isset($headers['content-type'])) { 00497 $this->setError('Response not of type text/xml (no content-type header)'); 00498 return false; 00499 } 00500 if (!strstr($headers['content-type'], 'text/xml')) { 00501 $this->setError('Response not of type text/xml: ' . $headers['content-type']); 00502 return false; 00503 } 00504 if (strpos($headers['content-type'], '=')) { 00505 $enc = str_replace('"', '', substr(strstr($headers["content-type"], '='), 1)); 00506 $this->debug('Got response encoding: ' . $enc); 00507 if(eregi('^(ISO-8859-1|US-ASCII|UTF-8)$',$enc)){ 00508 $this->xml_encoding = strtoupper($enc); 00509 } else { 00510 $this->xml_encoding = 'US-ASCII'; 00511 } 00512 } else { 00513 // should be US-ASCII for HTTP 1.0 or ISO-8859-1 for HTTP 1.1 00514 $this->xml_encoding = 'ISO-8859-1'; 00515 } 00516 $this->debug('Use encoding: ' . $this->xml_encoding . ' when creating nusoap_parser'); 00517 $parser = new nusoap_parser($data,$this->xml_encoding,$this->operation,$this->decode_utf8); 00518 // add parser debug data to our debug 00519 $this->appendDebug($parser->getDebug()); 00520 // if parse errors 00521 if($errstr = $parser->getError()){ 00522 $this->setError( $errstr); 00523 // destroy the parser object 00524 unset($parser); 00525 return false; 00526 } else { 00527 // get SOAP headers 00528 $this->responseHeaders = $parser->getHeaders(); 00529 // get SOAP headers 00530 $this->responseHeader = $parser->get_soapheader(); 00531 // get decoded message 00532 $return = $parser->get_soapbody(); 00533 // add document for doclit support 00534 $this->document = $parser->document; 00535 // destroy the parser object 00536 unset($parser); 00537 // return decode message 00538 return $return; 00539 } 00540 }
nusoap_client::send | ( | $ | msg, | |
$ | soapaction = '' , |
|||
$ | timeout = 0 , |
|||
$ | response_timeout = 30 | |||
) |
send the SOAP message
Note: if the operation has multiple return values the return value of this method will be an array of those values.
string | $msg a SOAPx4 soapmsg object | |
string | $soapaction SOAPAction value | |
integer | $timeout set connection timeout in seconds | |
integer | $response_timeout set response timeout in seconds |
Definiert in Zeile 7522 der Datei nusoap.php.
07522 { 07523 $this->checkCookies(); 07524 // detect transport 07525 switch(true){ 07526 // http(s) 07527 case ereg('^http',$this->endpoint): 07528 $this->debug('transporting via HTTP'); 07529 if($this->persistentConnection == true && is_object($this->persistentConnection)){ 07530 $http =& $this->persistentConnection; 07531 } else { 07532 $http = new soap_transport_http($this->endpoint, $this->curl_options, $this->use_curl); 07533 if ($this->persistentConnection) { 07534 $http->usePersistentConnection(); 07535 } 07536 } 07537 $http->setContentType($this->getHTTPContentType(), $this->getHTTPContentTypeCharset()); 07538 $http->setSOAPAction($soapaction); 07539 if($this->proxyhost && $this->proxyport){ 07540 $http->setProxy($this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword); 07541 } 07542 if($this->authtype != '') { 07543 $http->setCredentials($this->username, $this->password, $this->authtype, array(), $this->certRequest); 07544 } 07545 if($this->http_encoding != ''){ 07546 $http->setEncoding($this->http_encoding); 07547 } 07548 $this->debug('sending message, length='.strlen($msg)); 07549 if(ereg('^http:',$this->endpoint)){ 07550 //if(strpos($this->endpoint,'http:')){ 07551 $this->responseData = $http->send($msg,$timeout,$response_timeout,$this->cookies); 07552 } elseif(ereg('^https',$this->endpoint)){ 07553 //} elseif(strpos($this->endpoint,'https:')){ 07554 //if(phpversion() == '4.3.0-dev'){ 07555 //$response = $http->send($msg,$timeout,$response_timeout); 07556 //$this->request = $http->outgoing_payload; 07557 //$this->response = $http->incoming_payload; 07558 //} else 07559 $this->responseData = $http->sendHTTPS($msg,$timeout,$response_timeout,$this->cookies); 07560 } else { 07561 $this->setError('no http/s in endpoint url'); 07562 } 07563 $this->request = $http->outgoing_payload; 07564 $this->response = $http->incoming_payload; 07565 $this->appendDebug($http->getDebug()); 07566 $this->UpdateCookies($http->incoming_cookies); 07567 07568 // save transport object if using persistent connections 07569 if ($this->persistentConnection) { 07570 $http->clearDebug(); 07571 if (!is_object($this->persistentConnection)) { 07572 $this->persistentConnection = $http; 07573 } 07574 } 07575 07576 if($err = $http->getError()){ 07577 $this->setError('HTTP Error: '.$err); 07578 return false; 07579 } elseif($this->getError()){ 07580 return false; 07581 } else { 07582 $this->debug('got response, length='. strlen($this->responseData).' type='.$http->incoming_headers['content-type']); 07583 return $this->parseResponse($http->incoming_headers, $this->responseData); 07584 } 07585 break; 07586 default: 07587 $this->setError('no transport found, or selected transport is not yet supported!'); 07588 return false; 07589 break; 07590 } 07591 }
nusoap_client::send | ( | $ | msg, | |
$ | soapaction = '' , |
|||
$ | timeout = 0 , |
|||
$ | response_timeout = 30 | |||
) |
send the SOAP message
Note: if the operation has multiple return values the return value of this method will be an array of those values.
string | $msg a SOAPx4 soapmsg object | |
string | $soapaction SOAPAction value | |
integer | $timeout set connection timeout in seconds | |
integer | $response_timeout set response timeout in seconds |
Definiert in Zeile 414 der Datei class.soapclient.php.
00414 { 00415 $this->checkCookies(); 00416 // detect transport 00417 switch(true){ 00418 // http(s) 00419 case ereg('^http',$this->endpoint): 00420 $this->debug('transporting via HTTP'); 00421 if($this->persistentConnection == true && is_object($this->persistentConnection)){ 00422 $http =& $this->persistentConnection; 00423 } else { 00424 $http = new soap_transport_http($this->endpoint, $this->curl_options, $this->use_curl); 00425 if ($this->persistentConnection) { 00426 $http->usePersistentConnection(); 00427 } 00428 } 00429 $http->setContentType($this->getHTTPContentType(), $this->getHTTPContentTypeCharset()); 00430 $http->setSOAPAction($soapaction); 00431 if($this->proxyhost && $this->proxyport){ 00432 $http->setProxy($this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword); 00433 } 00434 if($this->authtype != '') { 00435 $http->setCredentials($this->username, $this->password, $this->authtype, array(), $this->certRequest); 00436 } 00437 if($this->http_encoding != ''){ 00438 $http->setEncoding($this->http_encoding); 00439 } 00440 $this->debug('sending message, length='.strlen($msg)); 00441 if(ereg('^http:',$this->endpoint)){ 00442 //if(strpos($this->endpoint,'http:')){ 00443 $this->responseData = $http->send($msg,$timeout,$response_timeout,$this->cookies); 00444 } elseif(ereg('^https',$this->endpoint)){ 00445 //} elseif(strpos($this->endpoint,'https:')){ 00446 //if(phpversion() == '4.3.0-dev'){ 00447 //$response = $http->send($msg,$timeout,$response_timeout); 00448 //$this->request = $http->outgoing_payload; 00449 //$this->response = $http->incoming_payload; 00450 //} else 00451 $this->responseData = $http->sendHTTPS($msg,$timeout,$response_timeout,$this->cookies); 00452 } else { 00453 $this->setError('no http/s in endpoint url'); 00454 } 00455 $this->request = $http->outgoing_payload; 00456 $this->response = $http->incoming_payload; 00457 $this->appendDebug($http->getDebug()); 00458 $this->UpdateCookies($http->incoming_cookies); 00459 00460 // save transport object if using persistent connections 00461 if ($this->persistentConnection) { 00462 $http->clearDebug(); 00463 if (!is_object($this->persistentConnection)) { 00464 $this->persistentConnection = $http; 00465 } 00466 } 00467 00468 if($err = $http->getError()){ 00469 $this->setError('HTTP Error: '.$err); 00470 return false; 00471 } elseif($this->getError()){ 00472 return false; 00473 } else { 00474 $this->debug('got response, length='. strlen($this->responseData).' type='.$http->incoming_headers['content-type']); 00475 return $this->parseResponse($http->incoming_headers, $this->responseData); 00476 } 00477 break; 00478 default: 00479 $this->setError('no transport found, or selected transport is not yet supported!'); 00480 return false; 00481 break; 00482 } 00483 }
nusoap_client::setCookie | ( | $ | name, | |
$ | value | |||
) |
adds a new Cookie into $this->cookies array
string | $name Cookie Name | |
string | $value Cookie Value |
Definiert in Zeile 7976 der Datei nusoap.php.
07976 { 07977 if (strlen($name) == 0) { 07978 return false; 07979 } 07980 $this->cookies[] = array('name' => $name, 'value' => $value); 07981 return true; 07982 }
nusoap_client::setCookie | ( | $ | name, | |
$ | value | |||
) |
adds a new Cookie into $this->cookies array
string | $name Cookie Name | |
string | $value Cookie Value |
Definiert in Zeile 868 der Datei class.soapclient.php.
00868 { 00869 if (strlen($name) == 0) { 00870 return false; 00871 } 00872 $this->cookies[] = array('name' => $name, 'value' => $value); 00873 return true; 00874 }
nusoap_client::setCredentials | ( | $ | username, | |
$ | password, | |||
$ | authtype = 'basic' , |
|||
$ | certRequest = array() | |||
) |
if authenticating, set user credentials here
string | $username | |
string | $password | |
string | $authtype (basic|digest|certificate|ntlm) | |
array | $certRequest (keys must be cainfofile (optional), sslcertfile, sslkeyfile, passphrase, verifypeer (optional), verifyhost (optional): see corresponding options in cURL docs) public |
Definiert in Zeile 7731 der Datei nusoap.php.
07731 { 07732 $this->debug("setCredentials username=$username authtype=$authtype certRequest="); 07733 $this->appendDebug($this->varDump($certRequest)); 07734 $this->username = $username; 07735 $this->password = $password; 07736 $this->authtype = $authtype; 07737 $this->certRequest = $certRequest; 07738 }
nusoap_client::setCredentials | ( | $ | username, | |
$ | password, | |||
$ | authtype = 'basic' , |
|||
$ | certRequest = array() | |||
) |
if authenticating, set user credentials here
string | $username | |
string | $password | |
string | $authtype (basic|digest|certificate|ntlm) | |
array | $certRequest (keys must be cainfofile (optional), sslcertfile, sslkeyfile, passphrase, verifypeer (optional), verifyhost (optional): see corresponding options in cURL docs) public |
Definiert in Zeile 623 der Datei class.soapclient.php.
00623 { 00624 $this->debug("setCredentials username=$username authtype=$authtype certRequest="); 00625 $this->appendDebug($this->varDump($certRequest)); 00626 $this->username = $username; 00627 $this->password = $password; 00628 $this->authtype = $authtype; 00629 $this->certRequest = $certRequest; 00630 }
nusoap_client::setCurlOption | ( | $ | option, | |
$ | value | |||
) |
sets user-specified cURL options
mixed | $option The cURL option (always integer?) | |
mixed | $value The cURL option value public |
Definiert in Zeile 7657 der Datei nusoap.php.
07657 { 07658 $this->debug("setCurlOption option=$option, value="); 07659 $this->appendDebug($this->varDump($value)); 07660 $this->curl_options[$option] = $value; 07661 }
nusoap_client::setCurlOption | ( | $ | option, | |
$ | value | |||
) |
sets user-specified cURL options
mixed | $option The cURL option (always integer?) | |
mixed | $value The cURL option value public |
Definiert in Zeile 549 der Datei class.soapclient.php.
00549 { 00550 $this->debug("setCurlOption option=$option, value="); 00551 $this->appendDebug($this->varDump($value)); 00552 $this->curl_options[$option] = $value; 00553 }
nusoap_client::setDefaultRpcParams | ( | $ | rpcParams | ) |
sets the default RPC parameter setting. If true, default is that call params are like RPC even for document style Each call() can override this value.
This is no longer used.
boolean | $rpcParams public |
Definiert in Zeile 7798 der Datei nusoap.php.
nusoap_client::setDefaultRpcParams | ( | $ | rpcParams | ) |
sets the default RPC parameter setting. If true, default is that call params are like RPC even for document style Each call() can override this value.
This is no longer used.
boolean | $rpcParams public |
Definiert in Zeile 690 der Datei class.soapclient.php.
nusoap_client::setEndpoint | ( | $ | endpoint | ) |
sets the SOAP endpoint, which can override WSDL
string | $endpoint The endpoint URL to use, or empty string or false to prevent override public |
Definiert in Zeile 7669 der Datei nusoap.php.
07669 { 07670 $this->debug("setEndpoint(\"$endpoint\")"); 07671 $this->forceEndpoint = $endpoint; 07672 }
nusoap_client::setEndpoint | ( | $ | endpoint | ) |
sets the SOAP endpoint, which can override WSDL
string | $endpoint The endpoint URL to use, or empty string or false to prevent override public |
Definiert in Zeile 561 der Datei class.soapclient.php.
00561 { 00562 $this->debug("setEndpoint(\"$endpoint\")"); 00563 $this->forceEndpoint = $endpoint; 00564 }
nusoap_client::setHeaders | ( | $ | headers | ) |
set the SOAP headers
mixed | $headers String of XML with SOAP header content, or array of soapval objects for SOAP headers public |
Definiert in Zeile 7680 der Datei nusoap.php.
07680 { 07681 $this->debug("setHeaders headers="); 07682 $this->appendDebug($this->varDump($headers)); 07683 $this->requestHeaders = $headers; 07684 }
nusoap_client::setHeaders | ( | $ | headers | ) |
set the SOAP headers
mixed | $headers String of XML with SOAP header content, or array of soapval objects for SOAP headers public |
Definiert in Zeile 572 der Datei class.soapclient.php.
00572 { 00573 $this->debug("setHeaders headers="); 00574 $this->appendDebug($this->varDump($headers)); 00575 $this->requestHeaders = $headers; 00576 }
nusoap_client::setHTTPEncoding | ( | $ | enc = 'gzip , |
|
deflate' | ||||
) |
use HTTP encoding
string | $enc HTTP encoding public |
Definiert in Zeile 7746 der Datei nusoap.php.
07746 { 07747 $this->debug("setHTTPEncoding(\"$enc\")"); 07748 $this->http_encoding = $enc; 07749 }
nusoap_client::setHTTPEncoding | ( | $ | enc = 'gzip , |
|
deflate' | ||||
) |
use HTTP encoding
string | $enc HTTP encoding public |
Definiert in Zeile 638 der Datei class.soapclient.php.
00638 { 00639 $this->debug("setHTTPEncoding(\"$enc\")"); 00640 $this->http_encoding = $enc; 00641 }
nusoap_client::setHTTPProxy | ( | $ | proxyhost, | |
$ | proxyport, | |||
$ | proxyusername = '' , |
|||
$ | proxypassword = '' | |||
) |
set proxy info here
string | $proxyhost | |
string | $proxyport | |
string | $proxyusername | |
string | $proxypassword public |
Definiert in Zeile 7715 der Datei nusoap.php.
07715 { 07716 $this->proxyhost = $proxyhost; 07717 $this->proxyport = $proxyport; 07718 $this->proxyusername = $proxyusername; 07719 $this->proxypassword = $proxypassword; 07720 }
nusoap_client::setHTTPProxy | ( | $ | proxyhost, | |
$ | proxyport, | |||
$ | proxyusername = '' , |
|||
$ | proxypassword = '' | |||
) |
set proxy info here
string | $proxyhost | |
string | $proxyport | |
string | $proxyusername | |
string | $proxypassword public |
Definiert in Zeile 607 der Datei class.soapclient.php.
00607 { 00608 $this->proxyhost = $proxyhost; 00609 $this->proxyport = $proxyport; 00610 $this->proxyusername = $proxyusername; 00611 $this->proxypassword = $proxypassword; 00612 }
nusoap_client::setUseCURL | ( | $ | use | ) |
Set whether to try to use cURL connections if possible
boolean | $use Whether to try to use cURL public |
Definiert in Zeile 7757 der Datei nusoap.php.
07757 { 07758 $this->debug("setUseCURL($use)"); 07759 $this->use_curl = $use; 07760 }
nusoap_client::setUseCURL | ( | $ | use | ) |
Set whether to try to use cURL connections if possible
boolean | $use Whether to try to use cURL public |
Definiert in Zeile 649 der Datei class.soapclient.php.
00649 { 00650 $this->debug("setUseCURL($use)"); 00651 $this->use_curl = $use; 00652 }
nusoap_client::UpdateCookies | ( | $ | cookies | ) |
updates the current cookies with a new set
array | $cookies new cookies with which to update current ones |
Definiert in Zeile 8033 der Datei nusoap.php.
08033 { 08034 if (sizeof($this->cookies) == 0) { 08035 // no existing cookies: take whatever is new 08036 if (sizeof($cookies) > 0) { 08037 $this->debug('Setting new cookie(s)'); 08038 $this->cookies = $cookies; 08039 } 08040 return true; 08041 } 08042 if (sizeof($cookies) == 0) { 08043 // no new cookies: keep what we've got 08044 return true; 08045 } 08046 // merge 08047 foreach ($cookies as $newCookie) { 08048 if (!is_array($newCookie)) { 08049 continue; 08050 } 08051 if ((!isset($newCookie['name'])) || (!isset($newCookie['value']))) { 08052 continue; 08053 } 08054 $newName = $newCookie['name']; 08055 08056 $found = false; 08057 for ($i = 0; $i < count($this->cookies); $i++) { 08058 $cookie = $this->cookies[$i]; 08059 if (!is_array($cookie)) { 08060 continue; 08061 } 08062 if (!isset($cookie['name'])) { 08063 continue; 08064 } 08065 if ($newName != $cookie['name']) { 08066 continue; 08067 } 08068 $newDomain = isset($newCookie['domain']) ? $newCookie['domain'] : 'NODOMAIN'; 08069 $domain = isset($cookie['domain']) ? $cookie['domain'] : 'NODOMAIN'; 08070 if ($newDomain != $domain) { 08071 continue; 08072 } 08073 $newPath = isset($newCookie['path']) ? $newCookie['path'] : 'NOPATH'; 08074 $path = isset($cookie['path']) ? $cookie['path'] : 'NOPATH'; 08075 if ($newPath != $path) { 08076 continue; 08077 } 08078 $this->cookies[$i] = $newCookie; 08079 $found = true; 08080 $this->debug('Update cookie ' . $newName . '=' . $newCookie['value']); 08081 break; 08082 } 08083 if (! $found) { 08084 $this->debug('Add cookie ' . $newName . '=' . $newCookie['value']); 08085 $this->cookies[] = $newCookie; 08086 } 08087 } 08088 return true; 08089 }
nusoap_client::UpdateCookies | ( | $ | cookies | ) |
updates the current cookies with a new set
array | $cookies new cookies with which to update current ones |
Definiert in Zeile 925 der Datei class.soapclient.php.
00925 { 00926 if (sizeof($this->cookies) == 0) { 00927 // no existing cookies: take whatever is new 00928 if (sizeof($cookies) > 0) { 00929 $this->debug('Setting new cookie(s)'); 00930 $this->cookies = $cookies; 00931 } 00932 return true; 00933 } 00934 if (sizeof($cookies) == 0) { 00935 // no new cookies: keep what we've got 00936 return true; 00937 } 00938 // merge 00939 foreach ($cookies as $newCookie) { 00940 if (!is_array($newCookie)) { 00941 continue; 00942 } 00943 if ((!isset($newCookie['name'])) || (!isset($newCookie['value']))) { 00944 continue; 00945 } 00946 $newName = $newCookie['name']; 00947 00948 $found = false; 00949 for ($i = 0; $i < count($this->cookies); $i++) { 00950 $cookie = $this->cookies[$i]; 00951 if (!is_array($cookie)) { 00952 continue; 00953 } 00954 if (!isset($cookie['name'])) { 00955 continue; 00956 } 00957 if ($newName != $cookie['name']) { 00958 continue; 00959 } 00960 $newDomain = isset($newCookie['domain']) ? $newCookie['domain'] : 'NODOMAIN'; 00961 $domain = isset($cookie['domain']) ? $cookie['domain'] : 'NODOMAIN'; 00962 if ($newDomain != $domain) { 00963 continue; 00964 } 00965 $newPath = isset($newCookie['path']) ? $newCookie['path'] : 'NOPATH'; 00966 $path = isset($cookie['path']) ? $cookie['path'] : 'NOPATH'; 00967 if ($newPath != $path) { 00968 continue; 00969 } 00970 $this->cookies[$i] = $newCookie; 00971 $found = true; 00972 $this->debug('Update cookie ' . $newName . '=' . $newCookie['value']); 00973 break; 00974 } 00975 if (! $found) { 00976 $this->debug('Add cookie ' . $newName . '=' . $newCookie['value']); 00977 $this->cookies[] = $newCookie; 00978 } 00979 } 00980 return true; 00981 }
nusoap_client::useHTTPPersistentConnection | ( | ) |
use HTTP persistent connections if possible
public
Definiert in Zeile 7767 der Datei nusoap.php.
07767 { 07768 $this->debug("useHTTPPersistentConnection"); 07769 $this->persistentConnection = true; 07770 }
nusoap_client::useHTTPPersistentConnection | ( | ) |
use HTTP persistent connections if possible
public
Definiert in Zeile 659 der Datei class.soapclient.php.
00659 { 00660 $this->debug("useHTTPPersistentConnection"); 00661 $this->persistentConnection = true; 00662 }
nusoap_client::$authtype = '' |
Definiert in Zeile 30 der Datei class.soapclient.php.
nusoap_client::$bindingType = '' |
Definiert in Zeile 57 der Datei class.soapclient.php.
nusoap_client::$certRequest = array() |
Definiert in Zeile 31 der Datei class.soapclient.php.
nusoap_client::$cookies = array() |
Definiert in Zeile 53 der Datei class.soapclient.php.
nusoap_client::$curl_options = array() |
Definiert in Zeile 56 der Datei class.soapclient.php.
nusoap_client::$decode_utf8 = true |
Definiert in Zeile 54 der Datei class.soapclient.php.
nusoap_client::$defaultRpcParams = false |
Definiert in Zeile 49 der Datei class.soapclient.php.
nusoap_client::$document = '' |
Definiert in Zeile 35 der Datei class.soapclient.php.
nusoap_client::$endpoint |
Definiert in Zeile 36 der Datei class.soapclient.php.
nusoap_client::$endpointType = '' |
Definiert in Zeile 47 der Datei class.soapclient.php.
nusoap_client::$fault |
Definiert in Zeile 67 der Datei class.soapclient.php.
nusoap_client::$faultcode |
Definiert in Zeile 72 der Datei class.soapclient.php.
nusoap_client::$faultdetail |
Definiert in Zeile 82 der Datei class.soapclient.php.
nusoap_client::$faultstring |
Definiert in Zeile 77 der Datei class.soapclient.php.
nusoap_client::$forceEndpoint = '' |
Definiert in Zeile 37 der Datei class.soapclient.php.
nusoap_client::$http_encoding = false |
Definiert in Zeile 44 der Datei class.soapclient.php.
nusoap_client::$operations = array() |
Definiert in Zeile 55 der Datei class.soapclient.php.
nusoap_client::$password = '' |
Definiert in Zeile 29 der Datei class.soapclient.php.
nusoap_client::$persistentConnection = false |
Definiert in Zeile 48 der Datei class.soapclient.php.
nusoap_client::$portName = '' |
Definiert in Zeile 42 der Datei class.soapclient.php.
nusoap_client::$proxyhost = '' |
Definiert in Zeile 38 der Datei class.soapclient.php.
nusoap_client::$proxypassword = '' |
Definiert in Zeile 41 der Datei class.soapclient.php.
nusoap_client::$proxyport = '' |
Definiert in Zeile 39 der Datei class.soapclient.php.
nusoap_client::$proxyusername = '' |
Definiert in Zeile 40 der Datei class.soapclient.php.
nusoap_client::$request = '' |
Definiert in Zeile 50 der Datei class.soapclient.php.
nusoap_client::$requestHeaders = false |
Definiert in Zeile 32 der Datei class.soapclient.php.
nusoap_client::$response = '' |
Definiert in Zeile 51 der Datei class.soapclient.php.
nusoap_client::$response_timeout = 30 |
Definiert in Zeile 46 der Datei class.soapclient.php.
nusoap_client::$responseData = '' |
Definiert in Zeile 52 der Datei class.soapclient.php.
nusoap_client::$responseHeader = NULL |
Definiert in Zeile 34 der Datei class.soapclient.php.
nusoap_client::$responseHeaders = '' |
Definiert in Zeile 33 der Datei class.soapclient.php.
nusoap_client::$timeout = 0 |
Definiert in Zeile 45 der Datei class.soapclient.php.
nusoap_client::$use_curl = false |
Definiert in Zeile 58 der Datei class.soapclient.php.
nusoap_client::$username = '' |
Definiert in Zeile 28 der Datei class.soapclient.php.
nusoap_client::$xml_encoding = '' |
Definiert in Zeile 43 der Datei class.soapclient.php.
Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved. MyOOS [Shopsystem] is Free Software released under the GNU/GPL License. Webmaster: info@r23.de (Impressum) |
|