diff --git a/src/BeSimple/SoapWsdl/Dumper/AbstractVersion.php b/src/BeSimple/SoapWsdl/Dumper/AbstractVersion.php index c67c035..f8a394b 100644 --- a/src/BeSimple/SoapWsdl/Dumper/AbstractVersion.php +++ b/src/BeSimple/SoapWsdl/Dumper/AbstractVersion.php @@ -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);