Use encoded instead of literal

This commit is contained in:
Gianluigi 'cocciagialla' Mammarella 2019-06-27 13:08:26 +02:00
parent a7a49b793a
commit 679b44ba13
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ class Method
public function getUse()
{
return \SOAP_LITERAL;
return \SOAP_ENCODED;
}
public function addHeader($name, $type)

View File

@ -89,7 +89,7 @@ abstract class AbstractVersion implements VersionInterface
$operation->setAttribute('name', $method->getName());
$soapOperation = $this->document->createElement($this->soapNs.':operation');
$soapOperation->setAttribute('soapAction', $this->namespace.'/'.$method->getName());
$soapOperation->setAttribute('soapAction', $this->namespace.$method->getName());
$operation->appendChild($soapOperation);
$this->getBindingNode()->appendChild($operation);