@@ -115,6 +115,9 @@ |
||
| 115 | 115 | return $operation; |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | + /** |
|
| 119 | + * @param string $direction |
|
| 120 | + */ |
|
| 118 | 121 | protected function generateInOut(Operation $operation, OperationMessage $operationMessage, Param $param, $direction, Service $service) |
| 119 | 122 | { |
| 120 | 123 | $xmlNs = $operation->getOperation()->getDefinition()->getTargetNamespace(); |
@@ -80,6 +80,9 @@ |
||
| 80 | 80 | } |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | + /** |
|
| 84 | + * @param string $namespace |
|
| 85 | + */ |
|
| 83 | 86 | private function setAttributeOnNode(\DOMElement $node, $name, $value, $namespace) |
| 84 | 87 | { |
| 85 | 88 | if (!($prefix = $node->lookupPrefix($namespace)) && !($prefix = $node->ownerDocument->lookupPrefix($namespace))) { |
@@ -9,11 +9,9 @@ |
||
| 9 | 9 | use GoetasWebservices\SoapServices\SoapClient\Envelope\SoapEnvelope12\Messages\Fault as Fault12; |
| 10 | 10 | use GoetasWebservices\SoapServices\SoapClient\Exception\ClientException; |
| 11 | 11 | use GoetasWebservices\SoapServices\SoapClient\Exception\ServerException; |
| 12 | -use GoetasWebservices\SoapServices\SoapClient\Exception\SoapException; |
|
| 13 | 12 | use GoetasWebservices\SoapServices\SoapClient\Exception\UnexpectedFormatException; |
| 14 | 13 | use GoetasWebservices\SoapServices\SoapClient\Result\ResultCreator; |
| 15 | 14 | use GoetasWebservices\SoapServices\SoapClient\Result\ResultCreatorInterface; |
| 16 | -use GoetasWebservices\SoapServices\SoapEnvelope; |
|
| 17 | 15 | use Http\Client\Exception\HttpException; |
| 18 | 16 | use Http\Client\HttpClient; |
| 19 | 17 | use Http\Message\MessageFactory; |
@@ -139,6 +139,9 @@ |
||
| 139 | 139 | return $this->responseMessage; |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | + /** |
|
| 143 | + * @return string |
|
| 144 | + */ |
|
| 142 | 145 | protected function findFaultClass(ResponseInterface $response) |
| 143 | 146 | { |
| 144 | 147 | if (strpos($response->getHeaderLine('Content-Type'), 'application/soap+xml') === 0) { |
@@ -72,6 +72,11 @@ |
||
| 72 | 72 | $this->reader = $reader; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | + /** |
|
| 76 | + * @param string $wsdl |
|
| 77 | + * @param string $portName |
|
| 78 | + * @param string $serviceName |
|
| 79 | + */ |
|
| 75 | 80 | private function getSoapService($wsdl, $portName = null, $serviceName = null) |
| 76 | 81 | { |
| 77 | 82 | $servicesMetadata = $this->reader->load($wsdl); |