| Major version | PHP Compatibility |
|---|---|
| WSDL Creator 1 | Legacy version, not supported. |
| WSDL Creator 2 | PHP 7.1, PHP 7.2, PHP 7.3 |
| WSDL Creator 3 | PHP 7.3, PHP 7.4 |
| WSDL Creator 4 | PHP 8.0, PHP 8.1 |
Parameters:
name(string "WebServiceAnnotations") default: service nametargetNamespace(string "http://foo.bar/webserviceannotations")location(string "http://localhost/wsdl-creator/service.php")ns(string "http://foo.bar/webserviceannotations/types")portName(string "PortNameWebService") default: service name
Parameters:
value(enum {"SOAP_11", "SOAP_12"}) default:"SOAP_11"
Parameters:
style(enum {"RPC", "DOCUMENT"}) default:"RPC"use(enum {"LITERAL", "ENCODED"}) default:"LITERAL"parameterStyle(enum {"BARE", "WRAPPED"}) default:"BARE"
No parameters - mark method as a Web Service method
param(string "string $userName") look at the param examples sectionheader(bool true|false) default:false
param(string "string $uppercasedUserName") look at the param examples section
string $userName- simple typeobject $user { string $name int $age }- complex typeint[] $numbers- array of simple or complex types


