Last active
June 13, 2016 15:10
-
-
Save dinamic/29e7f7d6bd3085d903dfa1634c8cd65c to your computer and use it in GitHub Desktop.
Revisions
-
dinamic revised this gist
Jun 13, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ class MySoapServer { public function createItem(array $items, $calculate) { return 'Output is: '. json_encode(func_get_args()); } -
dinamic renamed this gist
Jun 13, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
dinamic created this gist
Jun 13, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ <?php class MySoapServer { public function createItem(array $consignments, $calculate) { return 'Output is: '. json_encode(func_get_args()); } } $options = array( 'uri' => 'http://localhost/test', 'wsdl_cache' => WSDL_CACHE_NONE, ); $server = new SoapServer(NULL, $options); $server->setClass('MySoapServer'); $server->handle();