Skip to content

Commit

Permalink
handle warning for undefined key
Browse files Browse the repository at this point in the history
  • Loading branch information
nathantobin authored and f3l1x committed Feb 28, 2025
1 parent c6ef948 commit cb1e795
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/nusoap.php
Original file line number Diff line number Diff line change
Expand Up @@ -4463,8 +4463,9 @@ function parseRequest($headers, $data)

// get/set custom response tag name
$opData = $this->wsdl->getOperationData($this->methodname);
$outputMessage = $this->wsdl->getOperationData($this->methodname)['output']['message'];
$this->responseTagName = $outputMessage;
if ($message = $opData['output']['message']) {
$this->responseTagName = $message;
}
$this->debug('responseTagName: ' . $this->responseTagName . ' methodURI: ' . $this->methodURI);

$this->debug('calling parser->get_soapbody()');
Expand Down

0 comments on commit cb1e795

Please sign in to comment.