| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 17 | { |
||
| 18 | $this->output = $output; |
||
| 19 | $this->soapClient = new SoapClient('http://localhost/wsdl-creator/examples/rpc_encoded/SimpleExampleSoapServer.php?wsdl', array( |
||
| 20 | 'trace' => true, 'cache_wsdl' => WSDL_CACHE_NONE |
||
| 21 | )); |
||
| 22 | |||
| 23 | $this->serviceInfo('Client Simple - rpc/encoded'); |
||
| 24 | |||
| 25 | $this->renderMethodsTable(); |
||
| 26 | |||
| 27 | $response = $this->soapClient->getNameWithAge('john', 5); |
||
| 28 | $this->method('getNameWithAge', array('john', 5), $response); |
||
| 29 | |||
| 30 | $response = $this->soapClient->getNameForUsers(array('john', 'billy', 'peter')); |
||
| 31 | $this->method('getNameForUser', array(array('john', 'billy', 'peter')), $response); |
||
| 32 | |||
| 33 | $response = $this->soapClient->countTo(5); |
||
| 34 | $this->method('countTo', array(5), $response); |
||
| 35 | } |
||
| 36 | } |