diff --git a/src/BeSimple/SoapCommon/Definition/Method.php b/src/BeSimple/SoapCommon/Definition/Method.php index b6af064..7ef7e93 100644 --- a/src/BeSimple/SoapCommon/Definition/Method.php +++ b/src/BeSimple/SoapCommon/Definition/Method.php @@ -53,7 +53,7 @@ class Method public function getUse() { - return \SOAP_LITERAL; + return \SOAP_ENCODED; } public function addHeader($name, $type) diff --git a/src/BeSimple/SoapWsdl/Dumper/AbstractVersion.php b/src/BeSimple/SoapWsdl/Dumper/AbstractVersion.php index f8a394b..e56f2df 100644 --- a/src/BeSimple/SoapWsdl/Dumper/AbstractVersion.php +++ b/src/BeSimple/SoapWsdl/Dumper/AbstractVersion.php @@ -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);