Skip to content

Commit

Permalink
Updated to fix Unit Test Exceptions
Browse files Browse the repository at this point in the history
Updated to fix Unit Test exceptions.
  • Loading branch information
David-Hoagland authored Aug 16, 2022
1 parent 4802b35 commit 56c5426
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SoapClientPlus.php
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ public function createArgumentArrayFromXML($arguments, $function_name)
{
try {
libxml_use_internal_errors(true);
$sxe = new \SimpleXMLElement(trim($arguments), $this->_sxeArgs);
$sxe = new \SimpleXMLElement(trim($arguments), $this->_sxeArgs, str_contains($arguments, 'http'));
}
catch (\Exception $e)
{
Expand Down Expand Up @@ -498,7 +498,7 @@ public function __doRequest($request, $location, $action, $version, $one_way = 0
$this->getCurlClient()->setRequestHeader($k, $v);
}
$this->curlPlusClient->setRequestHeader('SOAPAction', $action);

$ret = $this->curlPlusClient->execute();

if ($this->debugEnabled())
Expand Down

0 comments on commit 56c5426

Please sign in to comment.