src/WSDL/XML/XMLStyle/XMLDocumentStyle.php 1 location
|
@@ 38-44 (lines=7) @@
|
35 |
|
*/ |
36 |
|
class XMLDocumentStyle implements XMLStyle |
37 |
|
{ |
38 |
|
public function generateBinding(DOMDocument $DOMDocument, string $soapVersion): DOMElement |
39 |
|
{ |
40 |
|
return XMLAttributeHelper::forDOM($DOMDocument) |
41 |
|
->createElementWithAttributes($soapVersion . ':binding', [ |
42 |
|
'style' => 'document', 'transport' => 'http://schemas.xmlsoap.org/soap/http' |
43 |
|
]); |
44 |
|
} |
45 |
|
|
46 |
|
/** |
47 |
|
* @inheritdoc |
src/WSDL/XML/XMLStyle/XMLRpcStyle.php 1 location
|
@@ 38-44 (lines=7) @@
|
35 |
|
*/ |
36 |
|
class XMLRpcStyle implements XMLStyle |
37 |
|
{ |
38 |
|
public function generateBinding(DOMDocument $DOMDocument, string $soapVersion): DOMElement |
39 |
|
{ |
40 |
|
return XMLAttributeHelper::forDOM($DOMDocument) |
41 |
|
->createElementWithAttributes($soapVersion . ':binding', [ |
42 |
|
'style' => 'rpc', 'transport' => 'http://schemas.xmlsoap.org/soap/http' |
43 |
|
]); |
44 |
|
} |
45 |
|
|
46 |
|
/** |
47 |
|
* @inheritdoc |