Last active
November 26, 2025 10:20
-
-
Save bgrgicak/03bc0e2dfea3c19369408be8c7701150 to your computer and use it in GitHub Desktop.
SOAP server
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 characters
| <?php | |
| /* | |
| * Plugin Name: SOAP server | |
| */ | |
| class TestSoapServer | |
| { | |
| public function getMessage() | |
| { | |
| return 'Hello, World!'; | |
| } | |
| } | |
| $options = ['uri' => 'http://localhost:12312/']; | |
| $server = new SoapServer(null, $options); | |
| $server->setClass('TestSoapServer'); | |
| $server->handle(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment