Fix binding name and soapAction attribute on wsdl

This commit is contained in:
Gianluigi 'cocciagialla' Mammarella 2019-04-10 07:20:49 +02:00
parent 19326bccdd
commit ceb69d97c3
1 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ abstract class AbstractVersion implements VersionInterface
{
if (!$this->bindingNode) {
$this->bindingNode = $this->document->createElement('binding');
$this->bindingNode->setAttribute('name', $this->name.'Binding');
$this->bindingNode->setAttribute('name', $this->name.'_SOAP');
$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.'Binding');
$this->servicePortNode->setAttribute('binding', $this->typeNs.':'.$this->name.'_SOAP');
$this->addSoapAddress();
}
@ -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);