Use encoded instead of literal
This commit is contained in:
parent
a7a49b793a
commit
679b44ba13
|
@ -53,7 +53,7 @@ class Method
|
||||||
|
|
||||||
public function getUse()
|
public function getUse()
|
||||||
{
|
{
|
||||||
return \SOAP_LITERAL;
|
return \SOAP_ENCODED;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addHeader($name, $type)
|
public function addHeader($name, $type)
|
||||||
|
|
|
@ -89,7 +89,7 @@ abstract class AbstractVersion implements VersionInterface
|
||||||
$operation->setAttribute('name', $method->getName());
|
$operation->setAttribute('name', $method->getName());
|
||||||
|
|
||||||
$soapOperation = $this->document->createElement($this->soapNs.':operation');
|
$soapOperation = $this->document->createElement($this->soapNs.':operation');
|
||||||
$soapOperation->setAttribute('soapAction', $this->namespace.'/'.$method->getName());
|
$soapOperation->setAttribute('soapAction', $this->namespace.$method->getName());
|
||||||
$operation->appendChild($soapOperation);
|
$operation->appendChild($soapOperation);
|
||||||
|
|
||||||
$this->getBindingNode()->appendChild($operation);
|
$this->getBindingNode()->appendChild($operation);
|
||||||
|
|
Loading…
Reference in New Issue