Fix binding name and soapAction attribute on wsdl
This commit is contained in:
parent
19326bccdd
commit
ceb69d97c3
|
@ -61,7 +61,7 @@ abstract class AbstractVersion implements VersionInterface
|
||||||
{
|
{
|
||||||
if (!$this->bindingNode) {
|
if (!$this->bindingNode) {
|
||||||
$this->bindingNode = $this->document->createElement('binding');
|
$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->bindingNode->setAttribute('type', $this->portTypeName);
|
||||||
|
|
||||||
$this->addSoapBinding();
|
$this->addSoapBinding();
|
||||||
|
@ -75,7 +75,7 @@ abstract class AbstractVersion implements VersionInterface
|
||||||
if (!$this->servicePortNode) {
|
if (!$this->servicePortNode) {
|
||||||
$this->servicePortNode = $this->document->createElement('port');
|
$this->servicePortNode = $this->document->createElement('port');
|
||||||
$this->servicePortNode->setAttribute('name', $this->name.'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();
|
$this->addSoapAddress();
|
||||||
}
|
}
|
||||||
|
@ -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