Retour à une signature iso PROD
This commit is contained in:
parent
6d5f9ff9e5
commit
95706abbd7
@ -12,8 +12,6 @@
|
||||
|
||||
namespace BeSimple\SoapCommon\Definition;
|
||||
|
||||
use BeSimple\SoapCommon\Definition\Type\TypeRepository;
|
||||
|
||||
/**
|
||||
* @author Francis Besset <francis.besset@gmail.com>
|
||||
*/
|
||||
@ -53,7 +51,7 @@ class Method
|
||||
|
||||
public function getUse()
|
||||
{
|
||||
return \SOAP_ENCODED;
|
||||
return \SOAP_LITERAL;
|
||||
}
|
||||
|
||||
public function addHeader($name, $type)
|
||||
@ -68,11 +66,7 @@ class Method
|
||||
|
||||
public function setOutput($type, $name = 'return')
|
||||
{
|
||||
if ('return' !== $name) {
|
||||
$this->output = new Message($name);
|
||||
}
|
||||
|
||||
$this->output->add($name, $type);
|
||||
$this->output->add('return', $type);
|
||||
}
|
||||
|
||||
public function getHeaders()
|
||||
|
@ -61,7 +61,7 @@ abstract class AbstractVersion implements VersionInterface
|
||||
{
|
||||
if (!$this->bindingNode) {
|
||||
$this->bindingNode = $this->document->createElement('binding');
|
||||
$this->bindingNode->setAttribute('name', $this->name.'_SOAP');
|
||||
$this->bindingNode->setAttribute('name', $this->name.'Binding');
|
||||
$this->bindingNode->setAttribute('type', $this->portTypeName);
|
||||
|
||||
$this->addSoapBinding();
|
||||
@ -75,7 +75,7 @@ abstract class AbstractVersion implements VersionInterface
|
||||
if (!$this->servicePortNode) {
|
||||
$this->servicePortNode = $this->document->createElement('port');
|
||||
$this->servicePortNode->setAttribute('name', $this->name.'Port');
|
||||
$this->servicePortNode->setAttribute('binding', $this->typeNs.':'.$this->name.'_SOAP');
|
||||
$this->servicePortNode->setAttribute('binding', $this->typeNs.':'.$this->name.'Binding');
|
||||
|
||||
$this->addSoapAddress();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user