{"id":18427107,"url":"https://github.com/nowisesys/uup-soap","last_synced_at":"2025-08-17T13:15:02.886Z","repository":{"id":57028817,"uuid":"167275047","full_name":"nowisesys/uup-soap","owner":"nowisesys","description":"SOAP services from PHP class/object with automatic generated WSDL and API documentation.","archived":false,"fork":false,"pushed_at":"2019-10-15T02:50:59.000Z","size":189,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-17T20:04:24.415Z","etag":null,"topics":["php-library","soap-web-services","wsdl-generation"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nowisesys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-24T00:28:59.000Z","updated_at":"2023-12-06T16:16:09.000Z","dependencies_parsed_at":"2022-08-23T18:50:07.001Z","dependency_job_id":null,"html_url":"https://github.com/nowisesys/uup-soap","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/nowisesys/uup-soap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowisesys%2Fuup-soap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowisesys%2Fuup-soap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowisesys%2Fuup-soap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowisesys%2Fuup-soap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nowisesys","download_url":"https://codeload.github.com/nowisesys/uup-soap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowisesys%2Fuup-soap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270852230,"owners_count":24656843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php-library","soap-web-services","wsdl-generation"],"created_at":"2024-11-06T05:09:39.706Z","updated_at":"2025-08-17T13:15:02.857Z","avatar_url":"https://github.com/nowisesys.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## UUP-SOAP - PHP classes as SOAP services.\n\nExport your PHP classes as SOAP services with automatic service documentation gathered \nfrom annotations on class, methods and parameters and availible for service consumer thru \nwsdl:documentation tags.\n\n### FEATURES:\n\n* Uses the native SOAP extension (fast).\n* Generates web service description (WSDL).\n* Generates web service API documentation (HTML).\n\n### HOMEPAGE:\n\nVisit project homepage for more information and extended examples:\n\n* https://nowise.se/oss/uup/soap/\n\n### INTRODUCTION:\n\nThe exported service uses either the class name or an object. The latter is is prefered in\ncase some special initialization has to be done. The parameter processing (i.e. detect if\nWSDL mode) can be simplified by using the SOAP request class:\n\n```php\npublic function response($request, $service)\n{\n    $request-\u003eprocess($service);            // Request mode detected\n}\n```\n\nOr more more detailed where the `$request` is either some custom class or the one supplied\nby this library:\n\n```php\npublic function response($request, $service)\n{\n    switch ($request-\u003etarget) {\n        case 'soap':\n            $service-\u003ehandleRequest();      // Handle SOAP request\n            break;\n        case 'wsdl':\n            $service-\u003esendDescription();    // Send WSDL\n            break;\n        case 'docs':\n            $service-\u003esendDocumentation();  // Send API doc\n            break;\n    }\n}\n```\n\n### TESTING:\n\nExample Java files can be found in the example/java/client directory. Generate SOAP proxy\nusing wsimport or download the full project from:\n\n* https://nowise.se/oss/uup/soap/demo\n\nTo test service documentation (assume examples is accessable as uup-soap under i.e.\nhtdocs):\n\n* http://localhost/uup-soap/server/employees.php?docs=syntax\n* http://localhost/uup-soap/server/employees.php?docs=html\n* http://localhost/uup-soap/server/employees.php?docs=text\n* http://localhost/uup-soap/server/employees.php?docs=wsdl\n* http://localhost/uup-soap/server/employees.php?docs=xslt\n\nThese shortcut (commonly used query strings) are also supported:\n\n* http://localhost/uup-soap/server/employees.php?docs=1       # Same as ?docs=html\n* http://localhost/uup-soap/server/employees.php?wsdl=1       # Same as ?docs=wsdl\n\nThe mode has been superseeded:\n\n* http://localhost/uup-soap/server/employees.php?docs=code    # use ?docs=html instead\n\n### ABOUT DERIVED WORK:\n\nThe WSDL generation uses the WSDL_Gen class (its author is unknown), but was republished\nby [Martin Goldhahn](mailto:mgoldhahn@gmail.com) on Google Code. The license for php-wsdl-generator \nthat bundles that class is Apache 2.0 (same as this package license). A number of improvements\nhas been done on that class (see file header).\n\n##### Related links:\n\n1. http://web.archive.org/web/* \n2. http://www.schlossnagle.org/~george/php/WSDL_Gen.tgz\n3. http://code.google.com/p/php-wsdl-generator/downloads\n\nThe other code was taken from the OpenExam project (openexam.io), re-licensed from GPL2\nas Apache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnowisesys%2Fuup-soap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnowisesys%2Fuup-soap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnowisesys%2Fuup-soap/lists"}