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