Skip to content

PHP WSDL Creator using PHPdoc (annotations, reflections).

License

Notifications You must be signed in to change notification settings

piotrooo/wsdl-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3a1f377 · Aug 16, 2022
Aug 2, 2022
Aug 2, 2022
Aug 2, 2022
Mar 28, 2019
Mar 15, 2020
Aug 2, 2022
Jul 24, 2016
Mar 15, 2020
Jul 18, 2018
Aug 2, 2022
Aug 2, 2022
Jun 22, 2018
Aug 16, 2022
Aug 2, 2022

Repository files navigation

PHP WSDL Creator

Build Status Scrutinizer Code Quality Code Coverage Total Downloads License Gitter

Supported versions

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

Class annotations

@WebService

Parameters:

  • name (string "WebServiceAnnotations") default: service name
  • targetNamespace (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

@BindingType

Parameters:

  • value (enum {"SOAP_11", "SOAP_12"}) default: "SOAP_11"

@SoapBinding

Parameters:

  • style (enum {"RPC", "DOCUMENT"}) default: "RPC"
  • use (enum {"LITERAL", "ENCODED"}) default: "LITERAL"
  • parameterStyle (enum {"BARE", "WRAPPED"}) default: "BARE"

Method annotations

@WebMethod

No parameters - mark method as a Web Service method

@WebParam

@WebResult

Param examples

  • string $userName - simple type
  • object $user { string $name int $age } - complex type
  • int[] $numbers - array of simple or complex types